@import url("font-awesome.min.css");
@import url("https://fonts.googleapis.com/css?family=Lato:300,400,900");

body {
    margin: 0px;
    padding: 0px;
    font-family: 'Lato', sans-serif;
    font-size: 13pt;
    color: #7c8081;
    letter-spacing: 0.025em;
    line-height: 1.5em;
    font-weight: 300;
}

#header {
    top: 0;
    left: 0;
    width: 100%;
    font-size: 0.8em;
    padding: 0.8em 0em 0.8em 0em;
    position: relative;
    z-index: 10000;
    background-color: #FFF;
}

#header_inner {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 2em;
}

.header_right {
    padding-left: 100px;
    margin: 0px;
}

#header_logo {
    background-image: url('../images/car-driving-logo.png');
    background-repeat: no-repeat;
    height: 100px;
    width: 96px;
    position: absolute;
    top: 0px;
}

#header_logo_text {
    padding: 0px;
}

#header_nav_container {
    padding-top: 0.7em;
}

#header_nav {
    padding-left: 0;
    display: inline;
    color: #b0adac;
    text-transform: uppercase;
}

.nav_menu {
    margin-left: 2em;
    display: inline;
}

    .nav_menu > a {
        border: solid 1px transparent;
        color: inherit;
        display: inline-block;
        line-height: 1em;
        padding: 0.6em 0.75em;
        text-decoration: none;
        -webkit-transition: background-color 0.2s, border 0.2s;
        transition: background-color 0.2s, border 0.2s;
    }

        .nav_menu > a:hover {
            background-color: #f5f7f8;
            border: 1px solid #b0adac;
        }

.nav_submenu {
    position: relative;
}

    .nav_submenu:hover .nav_dropmenu {
        visibility: visible;
        opacity: 1;
    }

    .nav_submenu > a:before {
        font-family: FontAwesome;
        font-style: normal;
        font-weight: normal;
        text-transform: none !important;
        content: '\f107';
        margin-right: 0.65em;
    }

.nav_dropmenu {
    background: #fff;
    list-style: none;
    position: absolute;
    left: 0;
    top: 1.9em;
    padding: 0px;
    opacity: 0;
    visibility: hidden;
    transition: visibility 0s, opacity 0.2s;
    -webkit-transition: visibility 0s, opacity 0.2s;
}

.nav_dropmenuitem {
    padding-top: 1px; /* Introducing a padding between the li and the a give the illusion spaced items */
    float: none;
}

    .nav_dropmenuitem a {
        white-space: nowrap;
        text-decoration: none;
        width: 100%;
        border: solid 1px transparent;
        color: inherit;
        display: inline-block;
        line-height: 1em;
        padding: 0.6em 0.75em;
        text-decoration: none;
    }

        .nav_dropmenuitem a:hover {
            background-color: #82c0a1;
            border: 1px solid #b0adac;
            color: #FFF;
        }



/* Banner */

video#bgvid {
    background-attachment: scroll;
    min-width: 100%;
    height: auto;
    cursor: default;
    text-align: center;
    position: relative;
    margin-top: -100px; /*** CW ***/
    top: -50%;
}

@-moz-keyframes reveal-banner {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes reveal-banner {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-o-keyframes reveal-banner {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-ms-keyframes reveal-banner {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes reveal-banner {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

#banner {
    background-attachment: scroll, scroll, scroll, fixed;
    background-color: #5F5F5F;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
    position: relative;
    float: unset;
    /*padding: 8em 6em 6em 6em;*/
    text-align: center;
    vertical-align: top;
    height: 425px;
    overflow: hidden;
}

    #banner .inner {
        -moz-animation: reveal-banner 1s 0.25s ease-in-out;
        -webkit-animation: reveal-banner 1s 0.25s ease-in-out;
        -o-animation: reveal-banner 1s 0.25s ease-in-out;
        -ms-animation: reveal-banner 1s 0.25s ease-in-out;
        animation: reveal-banner 1s 0.25s ease-in-out;
        -moz-animation-fill-mode: forwards;
        -webkit-animation-fill-mode: forwards;
        -o-animation-fill-mode: forwards;
        -ms-animation-fill-mode: forwards;
        animation-fill-mode: forwards;
        background: rgba(59, 59, 59, 0.6);
        color: white;
        display: inline-block;
        opacity: 0;
        padding: 1.5em;
        text-align: center;
        cursor: pointer;
        margin: 6.5em 6em 6em 6em;
        -webkit-transition: background 0.5s linear;
        -moz-transition: background 0.5s linear;
        -ms-transition: background 0.5s linear;
        -o-transition: background 0.5s linear;
        transition: background 0.5s linear;
    }

        #banner .inner:hover {
            background: rgba(59, 59, 59, 0.8);
            -webkit-transition: background 0.5s linear;
            -moz-transition: background 0.5s linear;
            -ms-transition: background 0.5s linear;
            -o-transition: background 0.5s linear;
            transition: background 0.5s linear;
        }

    #banner .trans {
        background: none !important;
    }

    #banner .inner header {
        display: inline-block;
        border-bottom: solid 2px;
        border-top: solid 2px;
        margin: 0 0 2em 0;
        padding: 3px 0 3px 0;
    }

        #banner .inner header h2 {
            border-bottom: solid 2px;
            border-top: solid 2px;
            font-size: 2.5em;
            font-weight: 900;
            letter-spacing: 0.2em;
            margin: 0;
            padding-left: 0.05em;
            position: relative;
            text-transform: uppercase;
        }

    #banner .inner p {
        letter-spacing: 0.1em;
        margin: 0;
        text-transform: uppercase;
    }

        #banner .inner p a {
            font-weight: 400;
            text-decoration: none;
        }

    #banner .inner footer {
        margin: 2em 0 0 0;
    }

    #banner .inner a {
        color: #ffffff;
    }

    #banner .inner h2 {
        margin-bottom: 0.3em;
    }



.banner-block-title {
    background: none repeat scroll 0 0 rgba(59, 59, 59, 0.6);
    padding: 0.4em;
    z-index: 1;
    position: relative;
    margin-left: -15px;
}

.banner-block-image {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    z-index: 2;
}




#container {
    max-width: 1200px;
    margin: 0 auto;
}



/* Mobile only overrides */

@media (max-width: 540px) {

    #header_nav_container {
        padding-left: 0px;
        padding-right: 0px;
    }

    .nav_menu {
        margin-left: 0em;
        display: inline;
    }

        .nav_menu a {
            padding: 0.2em;
        }
}


/* Browse */

.titlebar {
    background-color: #4c4c4c;
    color: white;
    padding: 0.2em;
    text-align: center;
}

.headingbar {
    background-color: #82c0a0;
    min-height: 45px;
    line-height: 45px;
    font-weight: bold;
    border-radius: 4px;
    color: #FFF;
}

.browsetype {
    vertical-align: middle;
}

#makelist, #modellist, #attributelist {
    border-bottom: none;
    border-left: none;
    border-right: none;
    margin-bottom: 10px;
}



    #makelist .makelogo {
        height: 100px;
        -webkit-transition: opacity 0.5s; /* Safari */
        transition: opacity 0.5s;
        cursor:pointer;
    }

        #makelist .makelogo:hover {
            opacity: 0.7;
        }



    #browsetype .btnbrowsetype, #attributelist .btnattribute {
        background-color: #dadbdc;
        min-height: 85px;
        line-height: 20px;
        font-family: Lato, sans-serif;
        font-size: 0.9em;
        font-weight: normal;
        text-align: center;
        color: #333;
        -webkit-transition: opacity 0.2s; /* Safari */
        transition: opacity 0.2s;
        border: 2px solid #fff;
        cursor: pointer;
    }

    .btnmodel {
        background-color: #eeeeee;
        min-height: 85px;
        line-height: 20px;
        font-family: Lato, sans-serif;
        font-size: 0.9em;
        font-weight: normal;
        text-align: center;
        color: #333;
        -webkit-transition: opacity 0.2s; /* Safari */
        transition: opacity 0.2s;
        border: 2px solid #fff;
        cursor: pointer;
        border: solid 2px white;
        display: table;
    }

        .btnmodel > p {
            position: relative;
            min-height: 90px;
            display: table-cell;
            vertical-align: middle;
        }

        #browsetype .btnbrowsetype:hover, #modellist .btnmodel:hover, #attributelist .btnattribute:hover {
            opacity: 0.7;
        }

/* search results */

.row {
    margin: 0px;
    font-weight: 600;
}

.gridelement {
    padding: 0px;
}

.searchvideo, .searchimage {
    cursor: pointer;
}

.searchvideo {
    border: 1px solid #fff;
    -webkit-transition: opacity 0.5s; /* Safari */
    transition: opacity 0.5s;
}

    .searchvideo:hover {
        opacity: 0.5;
    }

        .searchvideo:hover + .playicon {
            opacity: 1.0;
        }

.searchimage {
    border: 1px solid #fff;
    -webkit-transition: opacity 0.5s; /* Safari */
    transition: opacity 0.5s;
    margin: 0px;
}

    .searchimage:hover {
        opacity: 0.5;
    }

.playicon {
    opacity: 0.5;
    -webkit-transition: opacity 0.5s; /* Safari */
    transition: opacity 0.5s;
    cursor: pointer;
}

    .playicon:hover {
        opacity: 1.0;
    }

    #searchtext {
        width: 100%;
        background-color: #ffffaa;
    }

    .cd-store-search-box, .cd-store-search-label {
        padding-top: 5px;
        padding-bottom: 5px;
        height: 47px;
        vertical-align: middle;
        border: solid 1px white;
    }




.row {
    margin-top: 1em;
    margin-left: 1em;
    margin-right: 1em;
}

    .store-title {
        color: #ffffff;
        background-color: #7c7b7b;
        width: 100%;
        text-align: center;
        vertical-align: middle;
        padding-bottom: 0.3em;
        padding-top: 0.3em;
     }

    .store-title h2 {
        margin-top: 10px;
        margin-bottom: 10px;
        font-weight: 900;
        font-size: 1.5em;
        margin-top: 0.5em;
        margin-bottom: 0.5em;
    }

    .store-h3 {
        text-align: center;

    }

    

/* Footer */

@media screen and (max-width: 800px) {
    #footer li {
        text-align: center !important;
    }
}

@media screen and (min-width: 800px) {
    #footer li {
        text-align: left !important;
    }
}

#footer {
    background: #383a39;
    color: #ffffff;
    padding: 2em;
    margin-top: 2em;
    vertical-align: middle;
    text-align: center;
    font-weight: 900;
}

    #footer .copyright {
    }

        #footer .copyright a {
            color: inherit;
        }

        #footer .copyright li {
            list-style-type: none;
            display: inline-table;
            margin-left: 1em;
            padding: 0px;
            margin-right: 1em;
            vertical-align: middle;
        }

            #footer .copyright li:first-child {
            display: inline-table;
            margin-left: 1em;
            margin-right: 1em;
            }

    #footer p {
        margin-bottom: 10px;
    }

    #footer .footercontact {
        font-size: 30px;
        line-height: 30px;
    }

    #footer .footeraddress {
        font-size: 20px;
        line-height: 20px;
    }

    #footer .footercopy {
        font-size: 18px;
        line-height: 18px;
    }

    #footer .footercontact-mobile {
        font-size: 1em;
        line-height: 1.2em;
    }

    #footer .footeraddress-mobile {
        font-size: 1em;
        line-height: 1.2em;
    }

    #footer .footercopy-mobile {
        font-size: 1em;
        line-height: 1.2em;
    }

    .store-header-text {
        padding-top: 1em;
        color: #b0adac;
        font-weight: normal;
    }

    .nopadding {
        padding-left: 0px;
        padding-right: 0px;
    }

    .store-image {
        width: 100%;
        padding: 0px 0px 0px 0px;
    }

    .basket-amount {
    }

    .basket-description {
        color: #666666;
    }

    .basket-header {
        padding-top: 1em;
        text-decoration: underline;
        color: #82c0a0;
    }

    .btnbasket-checkout {
        color: #666666;
    }

    .btnbasket {
        font-weight: 900;
        min-width: 100px;
        vertical-align: middle;
    }

    .forminput input {
        min-width: 80%;
        padding-left: 0.2em;
        padding-right: 0.2em;
    }

button.cd-store-search-button, input[type="submit"], button.btnbasket {
    background-image: none;
    border: solid 1px #dddddd;
    background-color: #82c0a0;
    color: #ffffff;
    border-radius: 4px;
}

.cdradio {
    text-align: center;
    color: #999999;
}

input.cdradio {
}

label.cdradio {
    border-left: solid 2em white;
}

.cdgridlabel {
    border: solid 1px white;
    text-align: center;
    font-weight: normal;
}

.info-page h1 {
    font-size: 24px;
    text-align: center;
    padding-bottom: 2em;
}

.info-page {
    font-size: 14px;
    font-weight: normal;
}

.info-page h2 {
    font-size: 18px;
    color: #666666;
    text-decoration: underline;
}

.info-page h3 {
    font-size: 14px;
    color: #666666;
    text-decoration: underline dotted;
}

.info-page p {
    font-size: 14px;
    font-weight: normal;
}

.info-page li {
    font-size: 14px;
    font-weight: normal;
}

.go-back a {
    padding-left: 0.5em;
    line-height: 1.4em;
    vertical-align: middle;
    font-weight: bold;
}

.copyright-text {
    margin-top: -2em !important;
    margin-bottom: 1em !important;
}

.copyright-text a {
    text-decoration: underline;
    color: white;
}

.footercontact {
    text-align: left;
}

.footeraddress {
    text-align: left;
}

.footercopy {
    text-align: left;
}

#bgvid {
}

.hidemeifwhite {
    display: block;
}

.showmeifwhite {
    display: none;
}

.store-banner {
    width: 100%;
    max-width: 100%;
}

    .store-banner > a > img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

.banner-mobile {
    margin-top: 1em;
    background-color: #82C0A0;
    color: white;
    font-weight: bold;
    padding: 1.5em;
}

    .banner-mobile > a {
        margin-top: 1em;
        text-decoration: none;
        color: white;
        -webkit-transition: all .5s ease;
        -moz-transition: all 0.5s ease;
        -ms-transition: all 0.5s ease;
        -o-transition: all 0.5s ease;
        transition: all 0.5s ease;
    }

    .banner-mobile:hover {
        -webkit-filter: brightness(1.1) !important;
        -moz-filter: brightness(1.1) !important;
        -o-filter: brightness(1.1) !important;
        -ms-filter: brightness(1.1) !important;
        filter: brightness(1.1) !important;
        -webkit-transition: all .5s ease;
        -moz-transition: all 0.5s ease;
        -ms-transition: all 0.5s ease;
        -o-transition: all 0.5s ease;
        transition: all 0.5s ease;
    }

.banner-desktop > img {
    max-width: 100%;
    min-width: 100%;
    width: 100%;
}

.banner-desktop:hover {
    -webkit-filter: brightness(1.2) !important;
    -moz-filter: brightness(1.2) !important;
    -o-filter: brightness(1.2) !important;
    -ms-filter: brightness(1.2) !important;
    filter: brightness(1.2) !important;
    -webkit-transition: all .5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.banner-mobile:hover {
    -webkit-filter: brightness(1.1) !important;
    -moz-filter: brightness(1.1) !important;
    -o-filter: brightness(1.1) !important;
    -ms-filter: brightness(1.1) !important;
    filter: brightness(1.1) !important;
    -webkit-transition: all .5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

#videotechexplain {
    font-weight: normal;
}

#videotechexplanation {
    display: none;
    font-weight: normal;
}

@media (max-width: 800px) {
    .banner-desktop {
        display: none !important;
    }

    .banner-mobile {
        display: block !important;
    }
}

/*
@media (min-width: 800px) {
    .banner-desktop {
        display: block;
        vertical-align: middle;
    }

    .banner-mobile {
        display: none !important;
    }
}

@media (min-width: 800px) {
    .footer-desktop {
        display: block;
    }

    .footer-mobile {
        display: none;
    }
}
*/
@media (max-width: 800px) {
    .footer-desktop {
        display: none !important;
    }

    .footer-mobile {
        display: block !important;
        padding-top: 2em;
        padding-left: 0em;
        padding-right: 0em;
        padding-bottom: 2em;
        text-align: left;
    }

    #footer {
        background: #383a39;
        color: #ffffff;
        padding-top: 2em;
        padding-left: 0em;
        padding-right: 0em;
        padding-bottom: 2em;
        margin-top: 2em;
        vertical-align: middle;
        text-align: center;
        font-weight: 900;
    }
}

.carousel {
    max-height: 20em;
}



.banner-desktop {
    max-height: 100%;
}

#banner {
    height: auto !important;
}


.carousel-inner .item {
    position: center;
    height: 300px; /* Set this to your desired height */
    background-color: #000; /* Or any color that matches your design */
}

    .carousel-inner .item img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 1;
        transition: opacity 0.5s ease-in-out;
    }
