/**
 *  Intro article
 *  Two versions:
 *  Normal (.at-intro-intro)
 *  Hero (.at-intro-hero)
 */

.at-intro {
    margin-right: auto;
    margin-left: auto;
    background: #fff;
}

.at-intro--intro {
    max-width: 1680px;
}

.at-intro--backgroundColor {
    background: #fbfaf9;
}

.at-intro--hero .at-intro__visual--hasImage {
    height: 70vh;
}

@media screen and (min-width: 1200px) {
    .intro__col .at-intro {
        margin-top: -160px;
    }

    .at-intro--hero .at-intro__visual--hasImage {
        height: 70vw;
        max-height: 100vh;
    }
}

.at-intro__visual {
    position: relative;
    display: block;
    overflow: hidden;
    background: inherit;
}

.at-intro__visual--hasImage {
    padding-top: 480px;
}

.at-intro--hero .at-intro__visual--hasImage:after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0%;
    height: 2em;
    background: url(../../img//heroOverlay.svg) no-repeat 50% 100%;
}

img.at-intro__image {
    position: absolute;
    top: 0;
    left: 50%;
    -webkit-transform: translateX(-50%); /* Ch <36, Saf 5.1+, iOS < 9.2, An =<4.4.4 */
    -ms-transform: translateX(-50%); /* IE 9 */
    transform: translateX(-50%); /* IE 10, Fx 16+, Op 12.1+ */
    min-height: 100%;
    max-width: 10000px;
    min-width: 100%; /** bug fix for smaller images */
}

.at-intro__visual--contentImage {
    padding: 0;
}

img.at-intro__image--contentImage {
    position: relative;
    top: auto;
    left: auto;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
    min-height: 0;
    max-width: none;
    min-width: 0;
    width: 100%;
}

.at-intro__textWrapper {
    position: relative;
    display: table;
    box-shadow: 1px 1px 0 1px #fff;
}

@media screen and (min-width: 768px) {
    .at-intro--alignLeft .at-intro__textWrapper {
        margin-left: 0;
    }

    .at-intro--alignRight .at-intro__textWrapper {
        text-align: left;
        margin-right: 0;
        margin-left: 50%;
    }
}

.at-intro__visual--noImage .at-intro__textWrapper {
    max-width: 55em;
    margin-right: auto;
    margin-left: auto;
}

.at-intro__visual--hasImage .at-intro__textWrapper {
    padding: 10px 10px 0 4%;
    background: #fff;
}

.at-intro__textWrapper--hasArticle {
    background: #fbfaf9 !important;
}

.at-intro__visual--hasImage .at-intro__textWrapper:after {
    content:"";
    background-image: -webkit-linear-gradient(40deg, #fff 45%, transparent 45%);
    top: 0;
    bottom: 0;
    width: 2em;
    display: block;
    left: 100%;
    padding: 50%;
    position: absolute;
}

.at-intro__textWrapper--hasArticle:after {
    background-image: -webkit-linear-gradient(40deg, #fbfaf9 45%, transparent 45%) !important;
}

.at-intro--alignRight .at-intro__textWrapper {
    background-position: left top;
}

.at-intro__heroText {
    position: relative;
    max-width: 1200px;
    margin:auto;
}

.at-intro__heroTextWrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    max-width: 23em;
    right: 0;
    padding-top: 180px;
    padding-bottom: 2em;
    vertical-align: bottom;
    font-size: 1.6em;
    font-weight: bold;
    line-height: 1.2;
    color: #fff;
    text-shadow: 0 1px 2px #000, 0 3px 10px #000;
    margin: 0 1em;
}

.at-intro__heroTextWrapper--hasBackground {
    margin-bottom: 4em !important;
    padding: 1em 1em .5em;
    font-size: 1em;
    text-shadow: none;
    background: rgba(3, 17, 51, 0.6);
}

.at-intro__heroTextWrapper--light {
    max-width: 46em;
    color: #000;
    background: rgba(255,255,255,.9);
}

.at-intro__heroTextWrapper--dark {
    max-width: 46em;
    color: #fff;
    background: rgba(17, 26, 51, 0.7);
}

@media screen and (min-width: 768px) {
    .at-intro__heroTextWrapper--left {
        right: auto;
    }

    .at-intro__heroTextWrapper--right {
        left: auto;
    }
}

.at-intro__heroTextWrapper a {
    color: inherit;
}

.at-intro__button {
    margin-top: 1em;
    font-size: 1em;
    color: #fff !important;
    text-shadow: none;
}

.at-intro__text {
    display: inline-block;
    vertical-align: middle;
}

.at-intro__mainTitle {
    margin: .3em 0 0;
    font-size: 2em;
    font-family: "battling";
    font-weight: normal;
}

.at-intro__visual--hasImage .at-intro__mainTitle em {
    color: #e7b128;
}

.at-intro__heroTitle {
    margin-bottom: .2em;
    line-height: 1;
    font-size: 2em;
    font-family: "battling";
    font-weight: normal;
    color: inherit;
}

.at-intro__heroTextWrapper p {
    margin-bottom: 0;
}

.at-introContent {
    overflow: hidden;
    padding-right: 4%;
    padding-left: 4%;
}

.at-intro__visual + .at-introContent {
    padding-top: 1.5em;
}

.at-intro__intro--bold {
    position: relative;
    max-width: 44em;
    margin: 0 auto 0 0;
    padding-bottom: 1px;
}

.at-intro__intro--bold p {
    margin-bottom: 0;
    font-size: 1.3em;
    word-break: break-word;
}

.at-intro__body {
    overflow: hidden;
    max-width: 38em;
    max-height: 0;
    margin: 1em 0 0;
    text-align: left;
    line-height: 1.4;
    opacity: 0;
    transition: all .5s ease-in-out .2s;
}

.at-intro__body p {
    margin-bottom: .5em;
}

@media screen and (min-width: 768px) {
    .at-intro__mainTitle {
        font-size: 3em;
    }
}

.at-intro__more,
.at-intro__more:hover {
    display: block;
    width: 100%;
    margin-bottom: 1em;
    text-decoration: none;
}

.u-link--plus--close {
    display: none;
}

.u-link--plus--close:before {
    content: '\00d7';
}

.at-introContent.open .u-link--plus--close {
    display: inline;
}

.at-introContent.open .u-link--plus--open {
    display: none;
}

.at-introContent.open .at-intro__body {
    max-height: 1000px;
    opacity: 1;
}

@media screen and (min-width: 1200px) {
    .at-intro {
        font-size: 1.2em;
    }

    .at-intro__heroTextWrapper {
        margin: auto;
    }

    .at-intro__body {
        max-width: 44em;
    }

    .at-intro__visual--hasImage {
        padding-top: 75vh;
    }

    .at-intro__visual--contentImage {
        padding-top: 140px;
    }
}

@media screen and (min-width: 1500px) {
    img.at-intro__image--contentImage {
        width: 92%;
        margin: 0 4%;
    }
}
