html {
    width: 100%;
    height: 100%;
}

body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: BMWTypeNext-Light;
    color: #262626;
}

/*b {
    font-family: BMWTypeNext-Bold;
    font-weight: 100;
}*/

h1 {
    font-size: 60px;
    line-height: 60px;
}

h2 {
    font-size: 50px;
    line-height:57px;
}

h3 {
    font-size: 35px;
    line-height:42px;
}

h4 {
    font-size: 25px;
    line-height:32px;
}

h5 {
    font-size: 20px;
    line-height:27px;
}

.img-container {
    width: 100%;
    overflow: hidden;
    /*margin: 0% 2.5%;*/
    position: relative;
}

.img-container img {
    width: 100%;
}

.img-style-container-d {
    display: block;
}

.img-style-container-m {
    display: none;
}

.container-below-cover {
    width: 90%;
    margin-top: 45px;
    margin-left: 5%;
    margin-right: 5%;
    font-size: 16px;
    line-height: 22px;
    color: #262626;
    overflow: hidden;
}

.content-container {
    width: 100%;
    margin-top: 45px;
    margin-bottom: 10px;
    overflow: hidden;
    text-align: justify;
}

.button-container {
    width: 100%;
    overflow: hidden;
}

.nba-button, .sba-button, .nba-cover-button, .sba-cover-button {
    width: 33%;
    height: 50px;
    font-size: 14px;
    line-height: 16px;
    color: #fff;
    font-family: BMWTypeNext-Bold;
    cursor: pointer;
}

.nba-button, .sba-button {
    margin-top: 30px;
    margin-bottom: 60px;
}

.nba-button, .nba-cover-button {
    border: none;
    background-color: #1c69d4;
}

.nba-button:hover, .nba-cover-button:hover {
    background-color: #0653b6;
}

.sba-cover-button {
    border: 2px solid #fff;
    background: none;
}

.sba-cover-button:hover {
    background: rgba(53, 53, 53, 0.3);
}

.sba-button {
    border: 2px solid #fff;
    background-color: #4d4d4d;
}

.sba-button:hover {
    background-color: #262626;
}

.image-container {
    width: 100%;
    overflow: hidden;
}

.image-pic {
    width: 24%;
    margin-right: 1%;
    float: left;
}

.image-pic img {
    width: 100%;
    margin-top: 10px;
}

.featured-models {
    width: 100%;
    margin-top: 15px;
    overflow: hidden;
    position: relative;
}

.featured-models-left {
    width: calc(50% - 2px);
    margin-right: 2px;
    float: left;
    overflow: hidden;
    position: relative;
}

.featured-models-right {
    width: calc(50% - 2px);
    margin-left: 2px;
    float: right;
    overflow: hidden;
    position: relative;
}

.featured-models img {
    width: 100%;
}

.find-more-button {
    width: 33%;
    height: 50px;
    font-size: 14px;
    line-height: 16px;
    color: #fff;
    font-family: BMWTypeNext-Bold;
    cursor: pointer;
    background: none;
    border: 2px solid #fff;
}

/*-------------------------------------------------------------------------------------------------------------------*/


.banner-container {
    width: 100%;
    margin: auto;
    margin-top: 0.5%;
    overflow: hidden;
}

.banner-pic {
    width: 49.8%;
    float: left;
}

.banner-pic img {
    width: 100%;
}

#banner_pic1 {
    margin-right: 0.2%;
}
#banner_pic2 {
    margin-left: 0.2%;
}

.featured-models p {
    font-size: 24px;
    /*margin-left: 3%;*/
}

.featured-models #pic1, .featured-models #pic2, .featured-models #pic3, .featured-models #pic4 {
    float: left;
    width: 22.25%;
    background-color: rgba(225, 225, 225, 0.6);
    padding: 1% 1%;
}

.featured-models #pic1, .featured-models #pic2, .featured-models #pic3 {
    margin-right: 1%;
}

.featured-models-text {
    font-size: 12px;
    line-height: 1.3;
    margin-top: 7px;
}

.featured-models-link {
    cursor: pointer;
}

.featured-models-link:hover {
    color: #1c69d4;
}

#quick_actions {
    width: 96%;
    margin: 45px 2% 45px 2%;
    overflow: hidden;
}

#quick_actions p {
    font-size: 20px;
    font-weight: bold;
}

#quick_actions img {
    width: 40px;
}

#quick_actions #col1, #quick_actions #col2, #quick_actions #col4, #quick_actions #col5 {
    float: left;
    width: 15.8%;
    height: 130px;
    text-align: center;
    line-height: 1.1;
    background-color: #eee;
    padding: 2% 4% 0% 4%;
    color: #999;
    font-weight: bold;
    cursor: pointer;
}

#quick_actions #col1, #quick_actions #col2, #quick_actions #col4 {
    margin-right: 1.2%;
}

#quick_actions .line1 {
    width: 100%;
}

#quick_actions .line2 {
    width: 100%;
    margin-top: 32px;
}

#quick_actions #col1:hover, #quick_actions #col2:hover, #quick_actions #col4:hover, #quick_actions #col5:hover {
    background-color: #ddd;
}

.foot_part {
    width: 100%;
    margin-top: 5%;
    overflow: hidden;
    background-color: #eee;
}

ul.foot_part_list li p {
    font-size: 16px;
    color: #333;
}

.foot_part #part1, .foot_part #part2, .foot_part #part3 {
    width: 30%;
    float: left;
    margin-top: 2%;
}

.foot_part #part1 {
    margin-left: 2%;
}

.foot_part #part2 {
    margin-left: 2%;
    margin-right: 2%;
}

.foot_part #part3 {
    margin-right: 4%;
}

.foot-note {
    width: 100%;
    text-align: center;
    font-size: 15px;
    line-height: 22px;
    margin-top: 2%;
    margin-bottom: 2%;
}

.blue-button {
    text-align: center;
    border: none;
    width: 70%;
    /*background-color: #2196F3;*/
    background-color: #1c69d4;
    color: #fff;
    font-weight: bold;
    font-size: 12px;
    border-radius: 2px;
    padding: 10px 15px 10px 15px;
    cursor: pointer;
}

.blue-button:hover {
    background-color: #0653b6;
}

ul.foot_part_list li {
    list-style-type: none;
    line-height: 1.5;
}

ul.foot_part_list li a {
    text-decoration: none;
    color: #999;
    font-size: 12px;
    font-weight: bold;
}

ul.foot_part_list li a:hover {
    color: #333;
}

.mymodal {
    width: 100%; 
    height: 100%; 
    background-color: rgba(102, 102, 102, 0.8); 
    position: fixed; 
    top: 0; 
    z-index: 1010;
    color: #666;
    overflow: hidden;
    display: none;
}

.request-brochure-container {
    width: 94%;
    height: 90%;
    background-color: #fff;
    margin: 3%;
    overflow: hidden;
}

.brochure-form-container {
    width: 88%;
    height: 90%;
    padding: 0px 6%;
    font-size: 14px;
    overflow: hidden;
    overflow-y: auto;
}

.brochure-form-col {
    width: calc(50% - 6px);
    float: left;
    position: relative;
    margin-top: 15px;
}

.leftcol {
    margin-right: 6px;
}

.rightcol {
    margin-left: 6px;
}

#brochureModelName {
    position: absolute; 
    bottom: 50px; 
    right: 0;
}

.brochure-form-col label {
    width: 100%;
}

.brochure-form-col input[type="text"] {
    width: calc(100% - 20px);
    margin-top: 5px;
    padding: 5px 10px;
    color: #666;
    border: 1px solid #bbb;
    border-radius: 5px;
    background: none;
    font-size: 14px;
}

.select-container {
    width: calc(100% - 20px); 
    border: 1px solid #bbb; 
    overflow: hidden; 
    margin-top: 5px; 
    border-radius: 5px; 
    padding: 5px 10px;
    cursor: pointer;
}

.err-input {
    display: none;
    font-size: 12px;
    position: absolute;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 1);
    color: #333;
    /*width: 130px;*/
    text-align: center;
    padding: 6px;
    border-radius: 6px;
    border: 1px ridge rgba(102, 102, 102, 0.8);
    margin-top: 4px;
    margin-left: 8px;
/*    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;*/
}

.err-input::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 6%;
    margin-left: -5px;
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent rgba(102, 102, 102, 0.8) transparent;
}

.exclamation-box {
    background-color: #ff9900;
    float: left;
    padding: 3px 6px;
    margin-right: 5px;
}

.myalert {
    color: #fff;
    font-size: 10px;
}

.select-list {
    width: 450px;
    /*min-width: 320px;*/
    background: #fff;
    border-radius: 5px;
    overflow-y: auto;
    display: none;
    position: absolute; 
    top: 50%; 
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}

#select-model {
    height: calc(100% - 20px);
    /*margin: 10px auto;*/
}

#select-salutation, #testdrive-location, #testdrive-salutation {
    height: auto;
    /*margin: 10% auto;*/
    max-height: 60%;
    overflow-y: auto;
}

#testdrive-series, #testdrive-seri-model {
    height: auto;
    /*margin: 10% auto;*/
    max-height: 80%;
    overflow-y: auto;
}

.select-row {
    width: 100%;
    overflow: auto;
    cursor: pointer;
}

.left-col {
    width: calc(85% - 20px);
    float: left;
    text-align: left;
    padding: 10px 0 10px 20px;
}

.right-col {
    width: calc(15% - 20px);
    float: right;
    padding: 10px 20px 10px 0;
    text-align: right;
}

.radio-button {
    width: 15px;
    height: 15px;
    border: 2px solid #666;
    border-radius: 10px;
    text-align: center;
    vertical-align: middle;
}

.radio-select {
    font-size: 9px;
    color: #1c69d4;
    margin-top: 3px;
    display: none;
    
}

.select-list hr {
    border: 0;
    border-top: 1px solid #bbb;
    margin-top: 0;
    height: 1px;
    margin-bottom: 0;
}

.select-row:hover {
    background-color: #eee;
}

.captcha {
    /*font: italic bold 16px "Comic Sans MS", cursive, sans-serif;*/
    font-size: 16px;
    font-family: BMWGroup_Global_Bold;
    color: #666;
    background-color: #ccc;
    width: 150px;
    border-radius: 5px;
    text-align: center;
    text-decoration: line-through;
    padding: 10px 0;
}

.btnRequest {
    width: 25%;
    height: 50px;
    font-size: 14px;
    line-height: 16px;
    color: #fff;
    font-family: BMWTypeNext-Bold;
    border: none;
    background-color: #1c69d4;
    cursor: pointer;
}

.btnRequest:hover {
    background-color: #0653b6;
}

/*.brochure-form-col select {
    width: 100%;
    position: absolute;
    margin-top: 5px;
    padding: 5px 10px;
    color: #666;
    font-size: 14px;
    opacity: 0;
    cursor: pointer;
}*/

.download-container {
    width: 100%;  
    cursor: pointer;
}

.download-button {
    background-color: #1c69d4;
    border: none;
    color: #fff;
    font-size: 14px;
    width: 30px;
    text-align: center;
    font-family: BMWTypeNext-Bold;
    /*font-weight: bold;*/
    padding: 5px 0;
    cursor: pointer;
}

.download-button:hover, .download-container:hover .download-button {
    background-color: #0653b6;
}

@media (max-width: 1090px) {
    .featured-models h2 {
        font-size: 35px;
        line-height:42px;
    }
}

@media (max-width: 767px) {
    .featured-models-left {
        width: 100%;
        margin-right: 0;
    }
    
    .featured-models-right {
        width: 100%;
        float: left;
        margin-left: 0;
        margin-top: 15px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    h1 {
        font-size: 50px;
        line-height: 50px;
    }

    h2 {
        font-size: 35px;
        line-height:42px;
    }

    h3 {
        font-size: 35px;
        line-height:42px;
    }

    h4 {
        font-size: 25px;
        line-height:32px;
    }

    h5 {
        font-size: 20px;
        line-height:27px;
    }
    
    .container-below-cover, .content-container {
        margin-top: 30px;
    }
}

@media (min-width: 320px) and (max-width: 767px) {
    h1 {
        font-size: 35px;
        line-height: 35px;
    }

    h2 {
        font-size: 35px;
        line-height:42px;
    }

    h3 {
        font-size: 25px;
        line-height:32px;
    }

    h4 {
        font-size: 20px;
        line-height:27px;
    }

    h5 {
        font-size: 20px;
        line-height:27px;
    }
    
    .container-below-cover, .content-container {
        margin-top: 30px;
    }
}

@media (min-width: 481px) and (max-width: 767px) {
    .featured-models #pic1, .featured-models #pic2, .featured-models #pic3, .featured-models #pic4 {
        width: 46.5%;
        padding: 1.5% 1.5%;
    }
    
    .featured-models #pic2 {
        margin-right: 0;
    }
    
    .featured-models #pic3, .featured-models #pic4 {
        margin-top: 20px;
    }
    
    #quick_actions #col1, #quick_actions #col2, #quick_actions #col4, #quick_actions #col5 {
        width: 40.75%;
        height: 120px;
    }
    
    #quick_actions #col1, #quick_actions #col4 {
        margin-right: 1.25%;
    }
    
    #quick_actions #col4, #quick_actions #col5 {
        margin-top: 1%;
    }
    
    .foot-note {
        margin-bottom: 10%;
    }
    
    .nba-button, .sba-button {
        width: 50%;
        margin-top: 30px;
        margin-bottom: 30px;
    }
    
    .btnRequest {
        width: 50%;
    }
    
    .image-pic {
        width: 49%;
    }
}

@media (max-width: 480px) {
    .banner-pic {
        width: 100%;
    }
    
    #banner_pic1, #banner_pic2 {
        margin: 0;
    }
    
    #banner_pic2 {
        margin-top: 0.4%;
    }
    
    .featured-models #pic1, .featured-models #pic2, .featured-models #pic3, .featured-models #pic4 {
        width: 96%;
        padding: 2% 2%;
        margin-right: 0;
    }
    
    .featured-models #pic2, .featured-models #pic3, .featured-models #pic4 {
        margin-top: 20px;
    }
    
    #quick_actions #col1, #quick_actions #col2, #quick_actions #col4, #quick_actions #col5 {
        width: 92%;
        height: auto;
        margin-right: 0;
        padding-bottom: 2%;
        text-align: left;
    }
    
    #quick_actions img {
        vertical-align: middle;
    }
    
    #quick_actions #col2, #quick_actions #col3, #quick_actions #col4, #quick_actions #col5 {
        margin-top: 1%;
    }
    
    #quick_actions .line1 {
        width: 30%;
        float: left;
    }

    #quick_actions .line2 {
        width: 70%;
        margin-top: 14px;
        float: left;
    }
    
    .foot_part #part1, .foot_part #part2, .foot_part #part3 {
        width: 99%;
        margin-left: 0.5%;
        margin-right: 0.5%;
    }
    
    .foot_part #part2 {
        border-top: 1px solid #bbb;
        border-bottom: 1px solid #bbb;
    }
    
    .foot-note {
        margin-bottom: 13%;
    }
    
    .brochure-form-col {
        width: 100%;
    }

    .leftcol {
        margin-right: 0px;
    }

    .rightcol {
        margin-left: 0px;
    }
    
    .select-list {
        width: 93%;
    }
    
    .btnRequest {
        width: 100%;
    }
    
    #brochureModelName {
        bottom: 0; 
    }
    
    .nba-button, .sba-button {
        width: 100%;
        margin-top: 45px;
        margin-bottom: 30px;
    }
    
    .image-pic {
        width: 100%;
        margin-right: 0;
    }
}

@media (max-width: 650px) {
    .img-style-container-d {
        display: none;
    }

    .img-style-container-m {
        display: block;
    }
    
    .nba-cover-button, .sba-cover-button, .find-more-button {
        width: 100%;
    }
    
    .featured-models {
        margin-top: 10px;
    }
}