@font-face {
    font-family: 'FbSpoiler';
    font-style: normal;
    font-weight: 400;
    src: url('../../fonts/FbSpoiler-Lightwebfont.eot?#iefix') format('embedded-opentype'), url('../../fonts/FbSpoilerRegular.ttf') format('truetype');
}

@font-face {
    font-family: 'FbSpoilerBold';
    font-style: normal;
    font-weight: bold;
    src: url('../../fonts/FbSpoiler-Lightwebfont.eot?#iefix') format('embedded-opentype'), url('../../fonts/FbSpoilerBold.ttf') format('truetype');
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'FbSpoiler';
    /* background: #f1f1f1; */
    text-transform: uppercase;
}

.home .site-header {
    border-bottom: 4px solid #bc162c;
}

.site-header {
    background: #fff;
    z-index: 1004;
    text-align: center;
    padding: 12px 0 !important;
}

.home .container {
}

.container {
    max-width: 1160px;
    margin: 0 auto;
    position: relative;
}

.site-title {
    margin: 0;
    /* color: #bc162c; */
    font-weight: bold;
    font-size: 40px;
    font-family: 'FbSpoilerBold';
}

.page-title {
    margin: 0;
    color: #bc162c;
    font-weight: 400;
    font-size: 36px;
    font-family: 'FbSpoilerBold';
    min-height: 50px;
    line-height: 50px;
}

.form-title {
    margin: 0;
    color: #bc162c;
    font-weight: 400;
    font-size: 40px;
    font-family: 'FbSpoilerBold';
    min-height: 60px;
    margin-top: 10px;
}

.sub-model-logo {
    text-align: center;
}

.sub-model-title {
    font-weight: 400;
    font-size: 25px;
    font-family: 'FbSpoilerBold';
    text-align: center;
    margin-bottom: 10px;
}

.page-template-finish-level-page .sub-model-title {
    opacity: 0;
}

.kia-logo {
    position: absolute;
    right: 0;
    top: 4px;
}

.kia-logo img {
    width: 75px;
}

.contact-link {
    position: absolute;
    left: 0;
    top: 8px;
}

.contact-link a {
    padding-right: 30px;
    font-size: 25px;
    color: black;
    color: #bc162c;
    text-decoration: none;
}

.contact-link a:after {
    position: absolute;
    top: 1px;
    right: 0;
    width: 25px;
    height: 25px;
    background-image: url(../../images/wheel.png);
    background-repeat: no-repeat;
    background-position: 0;
    overflow: hidden;
    content: '';
}

.site-content {
    margin: 0 auto;
}

.site-footer {
    margin: 0 auto;
    padding: 30px 15px;
    background: #F8F8FB;
    border-top: 1px solid #e8e8f0;
    text-align: center;
}

.model-nav-wrapper {
    padding: 0;
    background-color: #bc162c;
    color: white;
    font-size: 25px;
    position: relative;
}

.model-nav-wrapper .hamburger-nav {
    position: absolute;
    right: 25px;
    top: 12px;
}

.model-nav-wrapper .model-nav-logo {
    position: absolute;
    right: 0;
    height: 44px;
}

.model-nav-wrapper .model-nav-logo:after {
    position: absolute;
    top: 15px;
    left: -30px;
    width: 15px;
    height: 15px;
    background-image: url(../../images/white-arrow.png);
    background-repeat: no-repeat;
    background-position: 0;
    background-size: contain;
    overflow: hidden;
    content: '';
}

.model-nav-wrapper .model-nav-logo img {
    width: 120px;
    float: left;
    position: relative;
    top: 8px;
}

.model-nav-wrapper .model-main-nav {
    margin: 0 auto;
    max-width: 1160px;
    display: flex;
    position: relative;
}

.model-nav-wrapper .model-main-nav ul {
    text-align: center;
    margin: 0;
    padding: 0;
    width: calc(100% - 120px);
    margin-right: 120px;
}

.model-nav-wrapper .model-main-nav ul li {
    display: inline-block;
    width: fit-content;
    width: 17.5%;
    position: relative;
    padding: 8px;
    opacity: 0.5;
}

.model-nav-wrapper .model-main-nav ul li:last-child {
    width: 28%;
    font-weight: bold;
    opacity: 1;
    font-family: 'FbSpoilerBold';
}

.model-nav-wrapper .model-main-nav ul li.active {
    opacity: 1;
}

.model-nav-wrapper .model-main-nav ul li.active span {
    border-bottom: 3px solid #fff;
    padding-bottom: 3px;
}

.model-nav-wrapper .model-main-nav ul li:after {
    content: ">";
    position: absolute;
    left: 0;
    position: absolute;
    top: 15px;
    left: 0px;
    width: 15px;
    height: 15px;
    background-image: url(../../images/white-arrow.png);
    background-repeat: no-repeat;
    background-position: 0;
    background-size: contain;
    overflow: hidden;
    content: '';
}

.model-nav-wrapper .model-main-nav ul li:last-child:after {
    display: none;
}

.model-nav-wrapper .model-main-nav ul li a {
    color: #fff;
    text-decoration: none;
}

#menuToggle {
    display: block;
    position: relative;
    top: 0;
    right: 0;
    z-index: 99;
    -webkit-user-select: none;
    user-select: none;
}

#menuToggle a {
    text-decoration: none;
    color: #000 !important;
    font-size: 26px;
    transition: color 0.3s ease;
    position: relative;
    display: block;
    top: 0;
}

#menuToggle a:hover {
    color: tomato;
}

#menuToggle input {
    display: block;
    width: 28px;
    height: 28px;
    position: absolute;
    top: -7px;
    right: -5px;
    cursor: pointer;
    opacity: 0;
    /* hide this */
    z-index: 2;
    /* and place it over the hamburger */
    -webkit-touch-callout: none;
}

/*
 * Just a quick hamburger
 */
#menuToggle span {
    display: block;
    width: 25px;
    height: 3px;
    margin-bottom: 5px;
    position: relative;
    background: #fff;
    border-radius: 0;
    z-index: 1;
    transform-origin: 4px 0px;
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0), background 0.5s cubic-bezier(0.77,0.2,0.05,1.0), opacity 0.55s ease;
}

#menuToggle span:first-child {
    transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2) {
    transform-origin: 0% 100%;
}

/* 
 * Transform all the slices of hamburger
 * into a crossmark.
 */
#menuToggle input:checked ~ span {
    opacity: 1;
    transform: rotate(45deg) translate(0px, 2px);
    background: #232323;
}

/*
 * But let's hide the middle one.
 */
#menuToggle input:checked ~ span:nth-last-child(3) {
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
}

/*
 * Ohyeah and the last one should go the other direction
 */
#menuToggle input:checked ~ span:nth-last-child(2) {
    transform: rotate(-45deg) translate(0px, -1px);
}

/*
 * Make this absolute positioned
 * at the top left of the screen
 */
#menu {
    position: absolute;
    width: 250px;
    margin: -100px 0 0 -50px;
    padding: 40px;
    right: -30px;
    padding-top: 105px;
    padding-bottom: 20px;
    background: #fff;
    list-style-type: none;
    -webkit-font-smoothing: antialiased;
    /* to stop flickering of text in safari */
    transform-origin: 0% 0%;
    transform: translate(200%, 0);
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
    overflow-x: hidden;
    /* max-height: 100%; */
    height: 100vh;
    box-shadow: -2px 0 7px 0 rgba(0, 0, 0, 0.34);
}

#menu li {
    padding: 6px 0;
    font-size: 21px;
}

#menu .sub-menu {
    padding-right: 10px;
    list-style: none;
}

#menu .sub-menu li a {
    padding: 0px 0;
    font-size: 23px;
    line-height: 15px;
}

/*
 * And let's slide it in from the left
 */
#menuToggle input:checked ~ ul {
    transform: none;
}

.home-header {
    text-align: center;
    margin-top: 60px;
    margin-bottom: 60px;
}

.home-header h2 {
    text-align: center;
    font-size: 60px;
    line-height: 60px;
    color: #bc162c;
    font-weight: bold;
    font-family: 'FbSpoilerBold';
    margin: 0;
}

.home-header h3 {
    margin: 0;
    font-size: 40px;
    font-weight: bold;
    line-height: 30px;
    font-family: 'FbSpoilerBold';
}

@media only screen and (max-width: 1200px) {
    .home-header {
        text-align: center;
        margin-top: 15px;
        margin-bottom: 30px;
        margin-right: 3vw;
        margin-left: 3vw;
    }

    .home-header img {
        width: 100%;
    }

    .home-header h3 {
        margin: 0;
        font-size: 29px;
        font-weight: bold;
        line-height: 30px;
        font-family: 'FbSpoilerBold';
    }

    .home-header h2 {
        text-align: center;
        font-size: 40px;
        line-height: 40px;
        color: #bc162c;
        font-weight: bold;
        font-family: 'FbSpoilerBold';
        margin: 0;
    }

    .site-title {
        font-size: 29px;
        display: none;
    }

    .site-header {
        background: transparent;
        z-index: 1004;
        text-align: center;
        padding: 10px 0 !important;
    }

    .kia-logo {
        position: relative;
        left: 0;
        right: inherit;
        top: 0;
        height: 25px;
    }

    .kia-logo a {
        display: inline-block;
    }

    .kia-logo img {
        width: 50px;
    }
}

#branch_time,#branch_time ul {
    padding: 0;
    list-style: none;
    display: block;
    clear: both;
    float: right;
    width: 100%;
    margin: 0;
    margin-bottom: 0;
}
#branch_time{
    padding: 30px 0;
    min-height: 312px;
}
#branch_time li {
    width: 23%;
    margin: 1%;
    float: right;
    height: auto;
    padding: 12px 15px;
    background-color: #eee;
    color: #000;
    text-decoration: none;
    font-size: 23px;
    font-family: 'FbSpoiler';
    border: 0;
    /* border-radius: 50px; */
    margin-bottom: 5px;
    /* position: relative; */
}
#branch_time li.active{
    position:relative;
}
#branch_time li.active .choose_date{
    top: -5px;
    position: relative;
}
#branch_time li div {
    font-size: 21px;
    cursor: pointer;
}

#branch_time li div.active {
    color: #bc162c;
    font-family: 'FbSpoilerBold';
}
.choose_date.active{
     top: -4px;
     position: relative;

}
.choose_time.active{
    position: relative;
    width: 100%;
    right: 0;
    top: -8px;
    font-size: 15px !important;
    height: 0;
    /* display: none; */
}
#branch_time ul {
    display: none;
}

#branch_time ul li {
    height: auto;
    height: 70px;
    line-height: 44px;
}

#branch_time ul.active {
    display: block;
    position: absolute;
    width: 100%;
    /* border: 1px solid; */
    background: #fff;
    right: 0;
    top: 83px;
    min-height: 245px;
    padding: 0px 30px;
    margin-top: 0em;
    margin-bottom: 0em;
    z-index: 1;
}
.time-close{
    position: absolute;
    right: 48px;
    left:0;
    display:none;
}
.form-box {
    min-height: 346px;
}
.contact-overlay {
    position: fixed;
    background-color: rgba(255,255,255,0.8);
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 99;
    display: none;
}

#popup_contact {
    z-index: 999;
    position: fixed;
    top: 45%;
    left: 50%;
    width: 66%;
    max-width: 500px;
    /* padding: 20px; */
    text-align: center;
    display: none;
    /* padding: 30px 60px; */
    background-color: #fff;
    border: 2px solid #bc162c;
    box-shadow: 0 10px 15px 0 rgba(0,0,0,0.5),0 0px 15px 0 rgba(0,0,0,0.5) !important;
}

.popupclose,.popupcontactclose {
    position: absolute;
    top: 8px;
    left: 25px;
    width: 25px;
    height: 25px;
    background-image: url(../../images/close-btn.png);
    font-size: 0;
    background-size: cover;
}
iframe {
    border: 0;
    width: 100%;
    height: 600px;
}
#btn_set_meet{
    padding: 6px 40px;
    background-color: #bc162c;
    color: #fff;
    text-decoration: none;
    font-size: 21px;
    font-family: 'FbSpoiler';
    border: 0;
    border-radius: 50px;
    cursor: pointer;
    margin: 0 auto;
    width:200px;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}