/*
 *   Core layout classes
 */

.pageWrap {
    position: relative;
}

.whatsapp-engagement-container {
    position: fixed;
    z-index: 107157;
    right: -2px;
    top: 50%;
    margin-top: 80px;
    width: 42px;
}

.whatsapp-engagement-container a {
    display: block;
    width: 42px;
    height: 122px;
    overflow: hidden;
}

.whatsapp-engagement-container img {
    max-width: none;
}

.openVideo span, .openVideo img {
    pointer-events: none;
}

.contentHolder {
    display:block;
    margin: 0 5%;
    position: relative;
    clear:both;
}

.widthHolder {
    margin:0 auto;
    max-width: 1280px;
    width:100%;
    height: 100%;
    position: relative;
}

.basePage {
    padding-top: 115px;
}
@media only screen and (min-width: 768px) {
    .basePage {
        padding-top: 105px;
    }

    .basePage .breadcrumb {
        top: -3px !important;
    }

    .contentHolder {
        margin: 0 6.25%;
    }
}

@media only screen and (min-width: 1080px) {
    .contentHolder {
        margin: 0 7.4%;
    }
}

@media only screen and (min-width: 1280px) {
    .contentHolder {
        margin: 0 10%;
    }
}


/*
 *   alternative backgrounds and special padding
 */

.altBg {
    background-color: #F5F5F5;
}

.altBlack {
    background-color: #000;
}

.altBG02 {
    background: rgb(245, 245, 245);
    background: linear-gradient(0deg, rgba(245, 245, 245, 1) 60%, rgba(255, 255, 255, 1) 50%);
}
.altBG03 {
    background: rgb(255, 255, 255);
    background: linear-gradient(0deg, rgba(255, 255, 255, 1) 50%, rgba(245, 245, 245, 1) 50%);
}

@media only screen and (min-width: 768px) {
    .altBG02 {
        background: linear-gradient(0deg, rgba(245, 245, 245, 1) 50%, rgba(255, 255, 255, 1) 50%);
    }
}

.homeSpace {
    margin-bottom: 88px;
}


.withWhiteBottom .contentHolder {
    z-index: 2;
}

.withWhiteBottom.widthHolder:after {
    content: "";
    display :block;
    position: absolute;
    background-color: #fff;
    width: 100%;
    height: 200px;
    bottom: 0;
    left: 0;
    z-index: 1;
}

.withWhiteBottom.widthHolder.percentHeight:after {
    height: 66%;
}

.mainBodyHolder {
    background-color: #fff;
}

@media only screen and (min-width: 1280px) {
    .mainBodyHolder .contentHolder {
        margin-left: 10%;
        margin-right: 10%;
    }
}


/*
 *   Layout z-index
 */

header {
    z-index: 10;
}

.tier1Banner {
    z-index: 7;
}

.alertArea {
    z-index: 11;
}

.menuOpen .alertArea {
    opacity: 0;
    z-index: -1;
}

.navButton {
    z-index: 11;
}

.menu {
    z-index: -1;
}

.menuOpen .menu {
    z-index: 9;
}

.fixedBarModel {
    z-index: 11;
}

.engineFlyout {
    z-index: 12;
}


/*
 *   Page Anchors
 */

.pageAnchors {
    opacity: 0;
    z-index: -1;
    -webkit-transition: all .25s;
    -moz-transition: all .25s;
    -o-transition: all .25s;
    -ms-transition: all .25s;
}

.inPage .pageAnchors {
    opacity: 1;
    z-index: 1;
    background-color: #6F6F6F;
    height: 40px;
    width: 100%;
    position: absolute;
    bottom: -40px;
    display: flex;
    justify-content: center;
}

.menuOpen .pageAnchors {
    display:none;
}

.pageAnchors ul {
    height: 40px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pageAnchors li {
    display: inline-block;
    padding:0 22px;
    height:40px;
    position: relative;
    opacity: 0.7;
}

.pageAnchors li.highlight {
    opacity: 1;
}

.pageAnchors li:before {
    content: '';
    position: absolute;
    left: -2px;
    top: 18px;
    width: 4px;
    height: 4px;
    border-radius: 4px;
    background-color: #fff;
}

.pageAnchors li:first-child:before {
    display: none;
}

.pageAnchors a {
    display: block;
    height:40px;
    padding-top: 11px;
    color: #fff;
    font-family: 'MINISansSerif-Bold', sans-serif;
    font-size: 0.75rem;
    text-decoration: none;
}


/*
 *   Breadcrumb
 */

.breadcrumb {
    display: block;
    padding: 0;
    list-style: none;
    position: absolute;
    top: 68px;
    z-index: 10;
    left: auto;
}

.basePage .breadcrumb {
    position: relative;
    top: -6px;
    left: auto;
    padding: 0;
}

.breadcrumb li {
    float: left;
    margin-right: 10px;
    padding-right: 10px;
    position: relative;
}

.breadcrumb li:after {
    content: "";
    position: absolute;
    right: 0;
    top: 4px;
    display: block;
    width: 1px;
    height: 8px;
    background-color: #fff;
    transform: rotate(20deg);
}

.basePage .breadcrumb li:after {
    background-color: #242424;
    opacity: 0.75;
}

.basePage .breadcrumb li:nth-last-child(2):after {
    opacity: 1;
}

.breadcrumb li:last-child:after {
    display: none;
}

.breadcrumb li {
    float: left;
    margin-right: 12px;
    padding-right: 12px;
    font-size: 0.75rem;
    color: #fff;
    line-height: 0.875rem;
}

.basePage .breadcrumb li {
    color: #000;
}

.breadcrumb a {
    float: left;
    color: #fff;
    text-decoration: none;
    padding: 0;
    line-height: 0.875rem;
}

.basePage .breadcrumb a {
    color: #7a7a7a;
}

.basePage .breadcrumb a:hover {
    color: #0085AC;
    text-decoration: underline;
}

@media only screen and (min-width: 768px) {
    .breadcrumb {
        top: 108px;
    }

    .breadcrumb li {
        font-size: 0.875rem;
    }

    .breadcrumb li:after {
        top: 4px;
        height: 9px;
    }
}


/*
 *   Alert area
 */

.alertArea {
    background-color: rgba(0, 0, 0, 0.6);
    min-height:40px;
    position: absolute;
    top: 105px;
    width:100%;
    opacity:1;
    transition: 0.1s;
    -webkit-transition: all .1s;
    -moz-transition: all .1s;
    -o-transition: all .1s;
    -ms-transition: all .1s;
}

.alertArea p {
    color: #fff;
    font-size: 1rem;
    padding: 12px 0;
    float: left;
    max-width: 83%;
}

.alertArea p a {
    color: #fff;
}

.alertArea p a:hover {
    color: #0085AC;
}

.alertClose {
    background: url("../images/icons/iconMiniStack.svg#IconClose") 0 0 no-repeat transparent;
    background-size: cover;
    width: 44px;
    height: 44px;
    float: right;
    text-indent: -9999px;
}

.alertClose:hover {
    background: url("../images/icons/iconMiniStack.svg#IconCloseAlt") 0 0 no-repeat transparent;
    background-size: cover;
}

@media only screen and (min-width: 768px) {
    .alertArea {
        top: 99px;
    }
}

@media only screen and (min-width: 1280px) {
    .mainBodyHolder .alertArea .contentHolder {
        margin-left: 10%;
    }
}


/*
 *   Color tints
 */

.multipleTeaserCMS:before,
.videoReal .openVideo:before,
.imageHolderCMS:before,
.lightTint:after,
.singleTeaser:before,
.singleTeaserCMS:before,
.singleTeaserTwo:before,
.twinImageHolder:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.linkPromo.lightTint:after {
    display: none;
}
.linkPromo.lightTint:before,
.linkPromo.darkTint:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.darkTint:before,
.darkTint:after {
    background-color: rgba(0,0,0,0.6);
}




.lightTint:before,
.lightTint:after {
    background-color: rgba(0,0,0,0.3);
}



.singleTeaser.darkTint:before,
.singleTeaserCMS.darkTint:before,
.singleTeaserTwo.darkTint:before {
    background: -moz-linear-gradient(135deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.7) 100%);
    background: -webkit-linear-gradient(135deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.7) 100%);
    background: linear-gradient(135deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.7) 100%);
}


.singleTeaser.lightTint:before,
.singleTeaserCMS.lightTint:before,
.singleTeaserTwo.lightTint:before {
    background: -moz-linear-gradient(135deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 100%);
    background: -webkit-linear-gradient(135deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 100%);
    background: linear-gradient(135deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 100%);
}


 

.colorPanelCMS.darkTint:after,
.colorPanelCMS.darkTint:after,
.colorPanelCMS.darkTint:after {
    background-color: transparent;
    background: -moz-linear-gradient(315deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.7) 100%);
    background: -webkit-linear-gradient(315deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.7) 100%);
    background: linear-gradient(315deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.7) 100%);
}


.colorPanelCMS.lightTint:after,
.colorPanelCMS.lightTint:after,
.colorPanelCMS.lightTint:after {
    background-color: transparent;
    background: -moz-linear-gradient(315deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 100%);
    background: -webkit-linear-gradient(315deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 100%);
    background: linear-gradient(315deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 100%);
}

.teaserOffers03CMS .darkTint:before,
.teaserOffers03CMS .darkTint:before,
.teaserOffers03CMS .darkTint:before {
    background-color: transparent;
    background: -moz-linear-gradient(315deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.7) 100%);
    background: -webkit-linear-gradient(315deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.7) 100%);
    background: linear-gradient(315deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.7) 100%);
}


.teaserOffers03CMS .lightTint:before,
.teaserOffers03CMS .lightTint:before,
.teaserOffers03CMS .lightTint:before {
    background-color: transparent;
    background: -moz-linear-gradient(315deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 100%);
    background: -webkit-linear-gradient(315deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 100%);
    background: linear-gradient(315deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 100%);
}




.retailerInfo {
    padding-bottom:30px;
}

@media only screen and (min-width: 768px) {

    .retailerInfo {
        float: right;
        width: 300px;
    }

}



/*
 *   Cookie message - overrides from v1 ROLN import
 */

body .bmw-eprivacy .container {
    width: 100%;
    display:block;
    padding: 0 5%;
    margin: 0 auto;
    max-width: 1440px;
    position: relative;
}

body .bmw-eprivacy .bmw-eprivacy-banner__container {
    padding:0;
}

body .bmw-eprivacy .bmw-eprivacy-banner {
    padding: 44px 0;
}

body .bmw-eprivacy .bmw-eprivacy-banner__container h2,
body .bmw-eprivacy .bmw-eprivacy-banner__container h3,
body .bmw-eprivacy .bmw-eprivacy-banner__container h4 {
    margin: 0;
    padding: 0;
    font-family: 'MINISerif-Bold', sans-serif;
    font-size: 1.125rem;
    text-transform: uppercase;
}

body .bmw-eprivacy .bmw-eprivacy-banner__container p {
    font-size: 0.75rem;
    line-height: 170%;
    padding: 0 0 1em;
}

body .bmw-eprivacy .bmw-eprivacy-banner__container a {
    display: block;
    margin: 0;
    padding: 0 0 3em;
    font-size: 0.75rem;
    font-family: 'MINISansSerif-Bold', sans-serif;
    text-decoration: none;
    color: #1C69D4;
}

@media only screen and (min-width: 768px) {
    body .bmw-eprivacy .bmw-eprivacy-banner {
        padding: 60px 0;
    }

    body .bmw-eprivacy .bmw-eprivacy-banner__container p {
        font-size: 0.875rem;
    }

    body .bmw-eprivacy .bmw-eprivacy-banner__container a {
        font-size: 0.875rem;
    }

    body .bmw-eprivacy .container {
        padding: 0 10%;
    }
}



/*
 *   Margin bottom between main body and footer content Generic
 */

.marginBtPad {
    margin-bottom: 55px;
}

@media only screen and (min-width: 768px) {
    .marginBtPad {
        margin-bottom: 92px;
    }
}

@media only screen and (min-width: 1200px) {
    .marginBtPad {
        margin-bottom: 125px;
    }
}

.animatePanels2 {
    padding-bottom: 88px;
}


/*
 *   Video lightbox, text overlay lightbox
 */

body.showVideo,
body.showTextOverlay {
    background-color: #000;
    min-height: calc(100vh - 20px);
}

.videoBox,
.textOverlayBox {
    display: none;
    height:100%;
}

.showVideo .pageWrap,
.showTextOverlay .pageWrap {
    display: none;
}

.showVideo .videoBox,
.showTextOverlay .textOverlayBox {
    display: block;
}

.videoClose,
.textOverlayClose {
    position: absolute;
    right: 10px;
    top: 10px;
    background: url("../images/icons/iconMiniStack.svg#IconClose") 0 0 no-repeat transparent;
    background-size: cover;
    width: 44px;
    height: 44px;
    text-indent: -9999px;
    z-index: 1;
}

.videoCol {
    margin: 0 auto;
    max-width: 1024px;
    height:100%;
    position: relative;
    padding-top: 33%;
}

.videoWrap {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}

.videoWrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media only screen and (max-width: 899px) and (orientation:landscape){
    .videoCol {
        padding: 0 12%;
    }
}

@media only screen and (min-width: 900px) {
    .videoCol {
        padding: 10% 5% 0;
    }
}


@media only screen and (min-width: 1280px) {
    .videoCol {
        padding: 5% 0 0;
    }
}

.textOverlayBox .widthHolder {
    padding-top: 62px;
}

.textOverlayBox .contentHolder {
    background-color: #fff;
    padding: 5%;
}

@media only screen and (min-width: 600px) {
    .textOverlayBox .widthHolder {
        padding-top: 10%;
    }
}

/*
    Cookies
*/

.bmw-eprivacy .bmw-eprivacy-banner__container a {
    color: #0085AC;
    text-decoration: none !important;
}

@media only screen and (min-width: 768px) {
    .bmw-eprivacy .bmw-eprivacy-banner {
        padding-bottom: 30px !important;
    }
}

header .coreLinks .call {
    display: none;
}

@media only screen and (min-width: 1280px) {
    header .coreLinks .call {
        display: block;
    }

    .coreLinks li.call a {
        padding-left: 30px;
        background: url(/v2resources/images/icons/iconMiniStack.svg#IconPhone) no-repeat 1px 7px;
        color: #fff;
        padding-top:10px;
        padding-bottom:10px;
    }

    .inPage .coreLinks li.call a,
    .whiteHeaderBasePage .coreLinks li.call a {
        padding-left: 30px;
        background: url(/v2resources/images/icons/iconMiniStack.svg#IconPhoneDark) no-repeat 1px 10px;
        color: #000;
        padding-top:10px;
        padding-bottom:10px;
    }

    .inPage .coreLinks li.call a:hover,
    .whiteHeaderBasePage .coreLinks li.call a:hover {
        background: url(/v2resources/images/icons/iconMiniStack.svg#IconPhoneAlt) no-repeat 1px 10px;
        color: #0085AC;
    }

    .menuOpen .coreLinks li.call a,
    .menuOpen .inPage .coreLinks li.call a,
    .menuOpen.whiteHeaderBasePage .coreLinks li.call a {
        padding-left: 30px;
        background: url(/v2resources/images/icons/iconMiniStack.svg#IconPhoneDark) no-repeat  1px 10px;
        padding-top:10px;
        padding-bottom:10px;
    }
}