.epaModule {
    background: #2680b4;
}

.epaModule.desktop {
    text-align: center;
    padding: 14px 0 14px;
    border-bottom: 2px solid white;
    position: relative;
    z-index: 100;
    display: table;
    width: 100%;
    box-sizing: border-box;
}

.epaModule.desktop h2 {
    position: relative;
    width: 50%;
    color: #fff;
    font-size: 17px;
    text-align: left;
    line-height: 22px;
    font-family: "Semibold",sans-serif;
    left: 72px;
    display: table-cell;
    vertical-align: middle;
}

.epaModule.desktop a.sharedButton {
    padding: 20px 22px 20px;
    line-height: 0;
    font-size: 16px;
    float: right;
    margin: 0;
    margin-right: 72px;
    top: 20px;
}
@media only screen and (max-width: 1023px) { 
    .epaModule.desktop h2 { 
        left: 40px;
    }

    .epaModule.desktop a.sharedButton {
        margin-right: 40px;
    }
}
.mobile .epaModule {
    padding: 15px !important;
    text-align: center;
    border-bottom: 1px solid white;
}

.mobile .epaModule h2 {
    color: #fff;
    font-size: 15px !important;
    margin: 0 auto 10px auto !important;
}
.mobile .epaModule a.sharedButton {
    font-size: 14px;
    margin: 20px auto 10px;
    padding: 20px 25px 18px;
    line-height: 0;
}

.mobile .epaModule h2, .mobile .epaModule a {
    position: relative;
    left: 0;
    right: 0;
    width: 100%;
    top: 0;
}

/*----- desktop -----*/
.homeHero.heroModel {
    overflow: hidden;
    z-index: 1;
    position: relative;
    max-height: 600px;
    height: 600px;
    color: white;
}

.homeHero.heroModel .backgroundWrapper {
    width: 100%;
    height: 100%;
    position: absolute;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat:no-repeat;
    background-image:url(/content/dam/vwcom/codeInjections/homeHeroes/VW335-255-alltrackAnimated/images/backplate.jpg);
}

.homeHero.heroModel .title {
    font-weight: bold;
    margin-bottom: 25px;
    position: relative;
    z-index: 1000;
    font-size: 60px;
    line-height: 60px;
}

.homeHero.heroModel .divider {
    border-bottom: 4px solid white;
    max-width: 75px;
}

.homeHero.heroModel .price {
    font-weight: bold;
    line-height: 40px;
    font-size: 35px;
    margin-bottom: 5px;
}

.homeHero.heroModel .divider {
    border-bottom: 4px solid white;
    margin-top: -4px;
    margin-bottom: -4px;
}

.homeHero.heroModel .disclaimerText,
.homeHero.heroModel .disclaimers {
    font-size: 14px;
    line-height: 20px;
}

.homeHero.heroModel .description {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 25px;
    position: relative;
    width: 326px;
}

.homeHero.heroModel .bottom {
    position: absolute;
    bottom: 40px;
    z-index: 0;
}

.homeHero.heroModel .bottom sup {
  top: 25px;
  left: -15px;
  font-size: 20px;
}

.homeHero.heroModel .heroModelButton {
    font-size: 15px;
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 80px;
    max-width: 250px;
    padding: 0 20px;
    position: relative;
    z-index: 1000;
}

.homeHero.heroModel .vignette {
    width: 40%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: -webkit-linear-gradient(left, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0) 100%);
    background: -o-linear-gradient(left, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0) 100%);
    background: linear-gradient(to right, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0) 100%); /* FF3.6-15 */ /* Chrome10-25,Safari5.1-6 */ /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#73000000', endColorstr='#00000000',GradientType=1 ); /* IE6-9 */
}

.homeHero.heroModel .main {
    width: 400px;
    margin: 40px 0 0 72px;
}

.mobile .homeHeroList {
    min-width: initial;
}

/*----- video -----*/

.homeHero.heroModel .videoWrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-height: 600px;
    object-fit: cover;
    object-position: 50% 0;
    z-index: 5;
}

.homeHero.heroModel .videoWrapper > video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 0;
}

.homeHero.heroModel .videoWrapper > .videoLegal {
    bottom: 40px;
    position: absolute;
    text-align: center;
    margin: 0 auto;
    width: 100%;
    font-size: 12px;
    color: whitesmoke;
}

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

    .homeHero.heroModel .backgroundWrapper {
        min-width: 100%;
    }
}

@media only screen and (max-width: 1439px) {

    .homeHero.heroModel,
    .homeHero.heroModel .videoWrapper {
        height: 530px;
    }
    .homeHero.heroModel .backgroundWrapper {
        //min-width: 1280px;
    }

    .homeHero.heroModel .bottom {
        bottom: 60px;
    }
}

@media only screen and (min-width: 1024px) and (max-width: 1439px) {
    .homeHeroList {
        min-width: 600px;
    }

    .epaModule h2 {
        left: 45px;
    }

    .epaModule a {
        right: 45px;
    }

    .homeHero.heroModel .backgroundWrapper {
        background-image:url(/content/dam/vwcom/codeInjections/homeHeroes/VW335-255-alltrackAnimated/images/backplate-1024.jpg);
        background-size: cover;
        //min-width: 1024px;
    }

    .homeHero.heroModel .title {
        width: 275px;
        line-height: 45px;
        font-size: 45px;
    }

    .homeHero.heroModel .heroModelButton {
        margin-bottom: 40px;
    }

    .homeHero.heroModel .main {
        margin: 50px 0 0 72px;
    }

    .homeHero.heroModel .bottom {
        bottom: 40px;
    }

}

/* --- tablet ----- */

@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)  {
     .homeHero.heroModel .videoWrapper {
        display: none;
    }
}

@media only screen and (max-width: 1023px) {

    .epaModule h2 {
        left: 28px;
        width: 315px;
    }

    .epaModule a {
        right: 28px;
    }

    .homeHero.heroModel {
        height: 600px;
    }

    .homeHero.heroModel .main {
        width: 500px;
    }

    .homeHero.heroModel .backgroundWrapper {
        background-image:url(/content/dam/vwcom/codeInjections/homeHeroes/VW335-255-alltrackAnimated/images/backplate-768.jpg);
        background-size: cover;
        min-width: 673px;
    }

    .homeHero.heroModel .heroModelButton {
        bottom: 40px;
        margin: 0;
        position: absolute;
        right: 40px;
    }

    .homeHero.heroModel .videoWrapper {
        display: none;
    }

    .homeHero.heroModel .description {
        width: 426px;
    }

    .homeHero.heroModel .main {
        margin: 45px 0 0 40px;
    }

    .homeHero.heroModel .title {
        font-size: 45px;
        width: 100%;
        line-height: 45px;
    }

    .homeHero.heroModel .bottom > div:nth-of-type(2) {
        width: 138px;
    }

    .homeHero.heroModel .bottom {
        bottom: 40px;
    }
}


/*----- mobile -----*/
.homeHero .heroModel-mobile {
    position: relative;
}

.mobile .heroModel-mobile .js-disclaimer.inlineSuperscript {
    display: none;
}

.homeHero .heroModel-mobile .heroModel-mobile-disclaimer {
    color: white;
    font-size: 9px;
    text-decoration: underline;
    position: absolute;
    top: 226px;
    left: 21px;
}

body.mobile.landscape .heroModel-mobile .heroModel-mobile-disclaimer {
    top: 370px;
    left: 35px;
}

.homeHero .heroModel-mobile .heroModel-mobile-button {
    position: relative;
    top: -60px;
    margin: auto;
    max-width: 280px !important;
    line-height: 38px;
    font-weight: bold;
    font-size: 14px;
}
