html {
    -webkit-font-smoothing: antialiased;
    font-family: Helvetica, Arial, sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Ubuntu', Helvetica, Arial, sans-serif;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 0 !important;
}

a {
    color: #d01a24;
    text-decoration: none;
}

a:hover, a:focus {
    color: #961f0d;
    text-decoration: underline;
}

h1, h2, h3, h4, h5, h6, .footer-address, .cta  {
    color: #3e3e3e;
}

h2 {
    font-size: 1.5em;
    line-height: 1.08333333333333;
}

strong {
    line-height: 1.5;
}

.col-left {
    width: 48%;
}

.col-right {
    width: 48%;
}

.constraint {
    margin: 0 auto;
    max-width: 65em;
    width: 98%;
}

.stage .constraint {
    max-width: 65em;
}

.spacing {
    margin-top: 2em;
    margin-bottom: 2em;
}

.top-margin {
    margin-top: 1em;
}

.left-aligned {
    text-align: left;
}

.right-aligned {
    text-align: right;
}

/* HEADER SECTION */
.header {
    position: absolute;
    z-index: 999;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(0,0,0,0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.logo-container {
    height: 3.75em;
    width: 100%;
    padding-top: .75em;
}

.logo-container a {
    margin-top: 0.5em;
    display: inline-block;
}

.logo-container img {
    width: 17.5em;
    height: auto;
}

.header-bg {
    position: relative;
    display: block;
    overflow: hidden;
    text-align: center;
}

.header-bg:before {
    left: 0;
    transform: skewY(4.5deg);
}

.header-bg:after {
    transform: skewY(-4.5deg);
    right: 0;
}

.header-bg:before, .header-bg:after {
    background-color: #f5f5f5;
    height: 6vw;
    position: absolute;
    bottom: -3vw;
    width: 50.01%;
    z-index: 101;
    content: '';
}

.header-bg__inner {
    background-image: url("/vp_pages/themes/atl_automotive/assets/images/atl-automotive-bg-generic.jpg");
    background-position-y: 50%;
    padding-top: 120px;
    padding-bottom: 60px;
    background-size: cover;
}

.service .header-bg__inner {
    background-image: url("/vp_pages/themes/atl_automotive/assets/images/atl-automotive-bg-aftersales.jpg");
    background-position-y: 100%;
}

.header-bg__overlay {
    background: rgba(178, 34, 34, 0.8);
    display: inline-block;
    position: absolute !important;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.service .header-bg__overlay {
    background-color: rgba(0,0,0,0.8);
}

.header-bg__overlay:after {
    display: block;
    content: '';
    background-color: rgba(0, 0, 0, 0.1);
    position: absolute;
    left: 0;
    top: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
}

.header-bg__title-container {
    padding-top: 1.875em;
    padding-right: 1.25em;
    padding-bottom: 3.125em;
    padding-left: 1.25em;
    position: relative;
    z-index: 10;
}

.header-bg__title-container__title {
    font-family: 'Ubuntu', Helvetica, Arial, sans-serif;
    font-style: italic;
    font-weight: 700;
    font-size: 3.25em;
    color: #fff;
    text-transform: uppercase;
    margin: 0 0 .75em 0;
}

.header-bg__title-container__subtitle {
    color: #FFF;
    font-size: 1.25em;
    line-height: 19px;
 }

.header h3 {
    color: #FFF;
    text-transform: uppercase;
    font-size: 13px;
    line-height: 21px;
 }

.decor-1 {
    width: 170px;
    margin-bottom: 20px;
    border-top: 1px solid #ccc;
}

.decor-1:after {
    display: block;
    width: 170px;
    margin-top: 2px;
    margin-left: 20px;
    border-top: 1px solid #ccc;
    content: '';
}

.center-block {
    display: block;
    margin-right: auto;
    margin-left: auto;
}


/* MAIN SECTION */
.main {
    background-color: #f5f5f5;
    padding: 5em 0;
}

.video-error__message {
    font-size: 0.75em !important;
}

.details-table {
    padding: 0.625em;
    width: 100%;
    border-width: 0;
}

.details-table tr, .details-table tr:nth-of-type(even) {
    background-color: #f5f5f5;
}

td {
    border-bottom-width: 0;
}

.details-table__title {
    font-family: 'Raleway', Helvetica, Arial, sans-serif;
    font-weight: 700;
    color: #000;
    width: 7.5em;
    white-space: nowrap;
    padding: 0.25em 0 0.25em 0 !important;
    vertical-align: top;
}

.details-table__detail {
    padding: 0.25em 0 0.125em 0;
}


/* BUTTONS */
.cta, .button--rating, .evhc-cta--primary {
    text-align: center;
    cursor: pointer;
    display: inline-block;
    background-color: #d01a24;
    border: none;
    padding: 15px 29px 14px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
}

.cta:focus, .cta:hover, .button--rating:focus, .button--rating:hover, .evhc-cta--primary:focus, .evhc-cta--primary:hover {
    background-color: #d33333;
    border: none;
}

.evhc-cta--secondary {
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    padding: 15px 29px 14px;
    border-bottom-width: 0;
    box-shadow: 5px 0 0 0 #6f6e6e;
}

.evhc-cta--secondary:focus, .evhc-cta--secondary:hover {
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    padding: 15px 29px 14px;
    border-bottom-width: 0;
    box-shadow: 5px 0 0 0 #6f6e6e;
    background-color: #888;
}

.button--rating {
    margin-right: 1em !important;
}

.button--rating:focus, .button--rating:hover, .evhc-cta--primary:focus, .evhc-cta--primary:hover {
    cursor: pointer;
    background-color: #d01a24;
    border: none;
    padding: 15px 29px 14px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    border: none;
    box-shadow: 5px 0 0 0 #555;
    text-transform: uppercase;
}

/* FOOTER */
.footer {
    text-align: center;
    overflow: hidden;
    padding-top: 0;
    margin-top: 0;
}

.footer-bg__inner {
    position: relative;
    overflow: hidden;
    padding-top: 110px;
    z-index: 99 !important;
    margin-top: -25px;
    padding-bottom: 80px;
    top: -10px;
    background-color: #161C1F;
}

.service .footer-bg__inner {
    padding-bottom: 30px;
}

.footer-bg__inner:before {
    background-color: #d01a24;
    left: -70px;
    box-shadow: 4px 1px 0 2px #f5f5f5;
    transform: skew(-58deg, 10deg);
    position: absolute;
    top: 20px;
    width: 170px;
    height: 80px;
    content: '';
}

.footer-bg__inner:after {
    background-color: #d01a24;
    right: -70px;
    box-shadow: -4px 1px 0 2px #f5f5f5;
    transform: skew(58deg, -10deg);
    position: absolute;
    top: 20px;
    width: 170px;
    height: 80px;
    content: '';
}

.footer__logo {
    max-width: 100%;
    width: 46em;
    height: auto;
    margin: 0 auto;
    padding: 0 2em;
}

.col-left-footer {
    float: left;
    width: 63%;
    padding-top: 3em;
    text-align: left;
}

.service .col-left-footer {
    width: 100%;
    text-align: center;
}

.col-right-footer {
    float: right;
    width: 33%;
    padding-top: 3em;
    text-align: left;
}

.footer-dealername {
    font-family: 'Ubuntu', Helvetica, Arial, sans-serif;
    font-weight: 700;
    color: #8b8e8f;
    font-size: 20px;
    line-height: 29px;
    text-transform: uppercase;
}

.footer-address {
    font-family: 'Ubuntu', Helvetica, Arial, sans-serif;
    font-weight: 400;
    color: #FFF;
}


/* SOCIAL */
.social {
    text-align: right;
    margin: .5em 0 0 0;
}

.social a {
    text-decoration: none;
    margin-left: 1.5625em;
}

.social a:first-of-type {
    padding-left: 0;
}

.social .icon {
    display: inline-block;
    -webkit-font-smoothing: antialiased;
    line-height: 1;
    text-decoration: inherit;
    font-weight: normal;
    font-style: normal;
    vertical-align: top;
    transition: 0.2s ease;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #999;
    font-size: 1.5em;
    color: #FFF;
    margin-right: .625em;
    cursor: pointer;
}

.social .icon:hover {
    color: #BBB;
}

.social .ion-social-facebook {
    padding: 6px 13px;
}

.social .ion-social-twitter {
    padding: 6px 7px;
}

.social .ion-email {
    padding: 6px 8px;
}


/* EXTRA */
.box:first-of-type {
    margin-top: 0;
}

.tradein-advert {
    margin-bottom: 0;
}

.photo-gallery {
    text-align: center;
    padding: 2em 0;
}

.evhc-report-container {
    margin-top: 19em;
    margin-bottom: 0;
}


/* ==========================================================================
   MEDIA QUERIES
   ========================================================================== */

@media screen and (max-width: 47.5em) {
    body {
        font-size: 15px;
    }

    .constraint {
        width: 95%;
    }

    .col-right, .col-left, .col-left-footer, .col-right-footer {
        float: none;
        width: 100%;
        margin: 0;
    }

    .col-right, .col-right-footer {
        margin-top: 1em;
    }

    .col-one-third {
        display: block;
        float: none;
        width: 100%;
        text-align: center;
        margin-top: 2em;
    }

    .header-bg__title-container__title {
        font-size: 2.5em;
    }

    /*.cta {
        display: block;
        width: 100%;
        margin-right: 0;
        padding: 0.3125em .75em;
        margin-bottom: 1em;
    }

    .cta:last-of-type {
        margin-bottom: 0;
    }*/

    .main {
        padding: 3em 0;
    }

    .footer {
        border-top-width: 0;
    }

    .footer-bg__inner:before, .footer-bg__inner:after {
        display: none;
    }

    .col-left-footer, .col-right-footer {
        padding-top: 0;
    }

    .footer__logo {
        padding: 0 1em;
    }

    .footer-dealername, .footer-address {
        text-align: center;
    }

    .social {
        text-align: center;
        padding-top: 0.9375em;
    }

    .social .ion-social-facebook {
        padding: 6px 7px;
    }

    .social .ion-social-twitter {
        padding: 8px 7px;
    }

    .social .ion-email {
        padding: 7px 9px;
    }

   .social a:first-of-type {
        margin-left: 0;
    }

    .social a {
        margin-left: 1em;
        margin-right: 0.9375em;
    }

    .social a:last-of-type {
        margin-right: 0;
    }

    .evhc-report-container {
        margin-top: 3em;
    }
}
