@import "font.css";

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

    font-family: 'Microsoft JhengHei', Sans-serif;
}
button, input, optgroup, select, textarea {
    font-family: Microsoft JhengHei;
}
figure {
    position: relative;
    padding: 0;
    margin: 0;
}
figure img {
    position: absolute;
    width: 100%;
    left: 0;
    top: 50%;
    -ms-transform: translate(0, -50%); /* IE 9 */
    -webkit-transform: translate(0, -50%); /* Safari */
    transform: translate(0, -50%);
}

main{
    min-height: 100vh;
    position: relative;
}

#main-wrapper{
	max-width: 1140px;
	width: 100%;
	margin: auto;
    padding-left: 10px;
    padding-right: 10px;
	padding-top: 110px;
    padding-bottom: 60px;
}
.header-wrapper{
    border-bottom: 1px solid #979797;
}
.header{
    max-width: 1140px;
    width: 100%;
    margin: auto;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 30px;
    padding-bottom: 30px;
}
.header .right{
    float: right;
    line-height: 26px;
    font-size: 14px;
    /* font-family: "hyundai-regular"; */
}
.header .right a{
    text-decoration: none;
    color: #666;
}
.header .right a.active{
    text-decoration: none;
    /* font-family: "hyundai-medium"; */
    font-weight: 700;
    color: #000;
    cursor: text;
}

.footer-wrapper{
    background: #1C1B1B;
    /*position: relative;*/
    position: absolute;
    bottom: 0;
    width: 100%;
}
.footer{
    max-width: 1140px;
    width: 100%;
    margin: auto;
    padding: 60px 0;
    font-size: 0;
}
.footer.mobile{
    display: none;
}
.footer .isologo{
    display: inline-block;
    vertical-align: middle;
    width: 75px;
    padding-right: 15px;
}
.footer .menu-footer{
    display: inline-block;
    vertical-align: middle;
    width: calc(100% - 75px);
}
.footer span.copyright{
    color: #5f5f5f;
    font-size: 12px;
}

a.btn, button.btn {
    display: table-cell;
    background: #e6e7e8;
    color: #aea5a0;
    text-decoration: none;
    overflow: hidden;
    vertical-align: middle;
    position: relative;
    left: 0;
    right: 0;
    border: none;
    cursor: pointer;

    margin: 0 8px;
    width: 165px;
    max-width: 44%;
    height: 50px;
    font-size: 18px;
    padding: 0 15px;
}
a.btn.active, button.btn.active {
    background: #002c5f;
    color: #e4dcd2;
}
a.btn *, button.btn * {
    vertical-align: middle;
}


/*@media (max-width: 991px) {*/
@media (max-width: 1024px) {    
    #main-wrapper{
        padding-top: 80px;
    }
}
@media (max-width: 767px) {
    #main-wrapper{
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 0;
    }
    .footer{
        display: none;
    }
    .footer.mobile{
        display: block;
        padding-left: 15px;
        padding-right: 15px;
    }
    .footer.mobile .isologo{
        display: block;
        width: 100%;
        padding-right: 0;
        text-align: center;        
    }
    .footer.mobile .isologo img{
        display: block;
        margin: auto;
    }
    .footer.mobile span.copyright{
        margin-top: 20px;
        display: block;
    }
}


/*form*/
@media (min-width: 10px) {
    .form {
        width: 920px;
        max-width: 100%;
        margin: auto;
        font-size: 0px;
    }
    .form .field-half{
        display: inline-block;
        width: 100%;
        max-width: 50%;
        padding-right: 15px;
        padding-left: 15px;
        margin-bottom: 15px;
        vertical-align: top;

        font-size: 16px;
    }
    .form .field-full{
        display: inline-block;
        width: 100%;
        padding-right: 15px;
        padding-left: 15px;
        margin-bottom: 15px;

        font-size: 16px;
    }
    .form a{
        color: #007bff;
        text-decoration: none;
        background-color: transparent;
        -webkit-text-decoration-skip: objects;
        transition: all 0.8s ease;
    }
    .form a:hover{
        color: #0056b3;
    }
    .form .desc{
        margin: 0 15px;
        font-size: 14px;
        line-height: 1.5;
    }
    .form ul.desc{
        list-style-type: disc;
        padding-left: 2em;
    }
    .form .remark{
        font-size: 12px;
        color: #a5805e;
    }

    input, label {
        /*font-size: 1rem;*/
    }
    input[type=text], textarea, select {
        display: block;
        width: 100%;
        padding: 8px 12px;
        font-size: 16px;
        line-height: 1.25;
        color: #495057;
        background-color: #fff;
        background-image: none;
        background-clip: padding-box;
        border: 1px solid rgba(0,0,0,.15);
        border-radius: 4px;
        transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    }

    .form select{
        color: #495057;
    }
    .form select.init{
        color: #868e96;
    }
    .form select option{
        color: #495057;
    }
    .form .checkbox{
        margin-left: 20px;
        vertical-align: middle;
    }
    .form .checkbox + label{
        font-size: 13px;
        vertical-align: middle;

        display: inline-block;
        width: calc(100% - 40px);
        vertical-align: top;
        line-height: 19px;
    }
    ::-webkit-input-placeholder { /* WebKit, Blink, Edge */
        color: #868e96;
    }
    :-moz-placeholder { /* Mozilla Firefox 4 to 18 */
       color: #868e96;
    }
    ::-moz-placeholder { /* Mozilla Firefox 19+ */
       color: #868e96;
    }
    :-ms-input-placeholder { /* Internet Explorer 10-11 */
       color: #868e96;
    }
    ::-ms-input-placeholder { /* Microsoft Edge */
       color: #868e96;
    }
    ::placeholder { /* Most modern browsers support this now. */
       color: #868e96;
    }




    .checkSp {
        list-style: none;
        vertical-align: top;
        padding-right: 20px;
        padding-left: 20px;
        margin: 0;
        text-align: left;
    }
    .checkSp .checkbox{
        display: none;
    }
    .checkSp li {
        font-size: 12px;
        font-family: "hyundai-regular";
        position: relative;
        margin-bottom: 10px;
        padding-top: 3px;
        padding-right: 20px;
        display: inline-block;
        width: 100%;
        /* margin: 20px 0 40px; */
    }
    .checkSp li:last-child {
        margin-bottom: 0;
    }
    .checkbox-default {
        content: "";
        display: inline-block;
        border: 2px solid #e8e5e0;
        top: 0;
        left: 0;
        width: 20px;
        height: 20px;
        border-radius: 4px;
        z-index: 1;
    }
    .checkbox-default.checked::before, .act .checkbox-default::before {
        color: #fff;
        content: "";
        font-style: normal;
        font-weight: 400;
        padding-left: 1.8px;
        padding-top: -1px;
        margin-top: -1px;
        height: 18px;
        display: block;
        background: #00A8CF;
        border-color: #00A8CF;
    }
    .checkSp label {
        display: inline-block;
        /*font-weight: 100;*/
        position: relative;
        vertical-align: middle;
        max-width: 90%;
        margin-bottom: 8px;
    }
    .checkSp label.checkbox-default-text {
        padding-left: 10px;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: -moz-none;
        -o-user-select: none;
        user-select: none;
    }

    .captcha-img{
        border: 1px solid #ccc;
        border-radius: 4px;
        vertical-align: middle;
    }
    .refresh-btn{
        vertical-align: middle;
        margin-left: 10px;
        cursor: pointer;
        width: 20px;
    }
    .logo-check.captcha-logo{
        display: none;
        color: green;
        font-size: 20px;
        vertical-align: middle;
        margin-left: 10px;
    }

    .search-btn{
        display: inline-block;
        width: 38px;
        height: 38px;
        text-indent: -9999px;
        text-align: center;
        background: url(../img/btn-search.png) no-repeat center center;
        box-sizing: border-box;
        overflow: hidden;

        position: absolute;
        right: 0;
        top: 0;
        margin-right:15px;
        border: none;
        cursor: pointer;
    }

}


/*explode list*/
@media (min-width: 10px) {
    .explode-list{
        padding: 0;
        list-style: none;
        margin-top: 0;
        margin-bottom: 100px;
    }
    .explode-list > li {
        margin-bottom: 20px;
    }
    .explode-list .title{
        position: relative;
        margin: 0 10px;
        margin-bottom: 85px;
    }
    .explode-list .title::before{
        content: ' ';
        position: absolute;
        z-index: -1;
        height: 2px;
        width: 100%;
        background-color: #a5815e;

        left: 0;
        top: 50%;
        -ms-transform: translate(0, -50%); /* IE 9 */
        -webkit-transform: translate(0, -50%); /* Safari */
        transform: translate(0, -50%);
    }
    .explode-list .title > span{
        margin-left: 40px;
    }
    .explode-list .title span{
        background-color: #fff;
        font-size: 25px;
        line-height: 34px;
        display: inline-block;
        vertical-align: middle;

        padding-left: 15px;
        padding-right: 15px;
    }
    .explode-list .title span span{
        padding-right: 0;
    }
    .explode-list .bullet{
        display: inline-block;
        position: relative;
        height: 25px;
        width: 25px;
        border-radius: 50%;
        background-color: #002c5f;
        vertical-align: middle; 
        font-size: 16px;
        text-align: center;
        color: #fff;
    }
    .explode-list .bullet div{
        position: absolute;
        display: inline-block;

        top: 50%;
        left: 50%;
        -ms-transform: translate(-50%, -50%); /* IE 9 */
        -webkit-transform: translate(-50%, -50%); /* Safari */
        transform: translate(-50%, -50%);
    }
}
/*@media (max-width: 991px) {*/
@media (max-width: 1024px) {    
    .explode-list{
        margin-bottom: 50px;
    }
    .explode-list:last-child{
        margin-bottom: 0;
    }
    .explode-list .title{
        text-align: center;
        margin: 0 35px;
        margin-bottom: 50px;
    }
    .explode-list .title > span{
        margin-left: 0;
    }
}


/*model list*/
@media (min-width: 10px) {
    .model-list{
        padding: 0;
        list-style: none;
        font-size: 0;
    }
    .model-list > li{
        display: inline-block;
        position: relative;
        padding: 25px;
        width: 20.5%;
        margin: 0 2.25%;
        margin-bottom: 50px;
        vertical-align: top;
        text-align: center;

        cursor: pointer;

        border: 1px solid rgba(0,0,0,0);
    }
    .model-list > li.active{
        border: 1px solid #a5815e;
        border-radius: 8px;
    }
    .model-list > li .select {
        display: none;
        position: absolute;
        right: -10px;
        top: -10px;
    }
    .model-list > li.active .select {
        display: inline-block;
    }
    .model-list figure {
        width: 100%;
        height: 0;
        padding-top: 50%;
        margin-bottom: 25px;
    }
    .model-list > li .name{
        text-align: center;
        font-family: 'HyundaiSansHeadKR', Sans-serif;
        font-weight: 300;
        font-size: 20px;
    }
}
/*@media (max-width: 991px) {*/
@media (max-width: 1024px) {    
    .model-list > li{
        width: 29%;
        margin: 0 2.166%;
        margin-bottom: 50px;
    }
}
@media (max-width: 575px) {
    .model-list > li{
        width: 42%;
        margin: 0 4%;
        margin-bottom: 50px;
        /*padding: 35px 0;*/
        padding: 35px 10px;
    }
    .model-list figure {
        /*width: 110%;
        padding-top: 55%;
        left: -5%;*/
    }
    /*.model-list > li .name{
        padding: 0 10px;
    }*/
}

.ui-widget.ui-widget-content.ui-datepicker {
    border:none;
}

.ui-datepicker {
    width: 19em;
    padding: 0;
}
.ui-datepicker .ui-datepicker-header {
    background-color: #002c5f;
    color: white;
    border: none;
    border-radius: 0;

    padding: 0.5em 0;
}
.ui-datepicker table{
    width: 17em;
    margin: 1em;
    font-size: 1em;
}
.ui-datepicker td {
    padding: 0;
    text-align: center;
}
.ui-datepicker td span, .ui-datepicker td a {
    display: inline-block;
    text-align: center;
    width: 2em;
    line-height: 2em;
    height: 2em;
    padding: 0;
}
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, .ui-button, 
html .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active {
    border: none;
    background: none;
    font-weight: normal;
}
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, 
a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
    border-radius: 50%;
    background: #99c9ff;
}

.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, 
.ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus, .ui-button:hover, .ui-button:focus 
{
    border: none;
    background: none;
}

.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next {
    top: 0.5em;
}

.ui-widget-content .ui-icon-circle-triangle-e {
    background-image: url(../img/arrow-right2.png);
    background-position: center;
}
.ui-state-hover .ui-icon-circle-triangle-e, .ui-state-focus .ui-icon-circle-triangle-e {
    background-image: url(../img/arrow-right1.png);
}
.ui-widget-content .ui-icon-circle-triangle-w {
    background-image: url(../img/arrow-left2.png);
    background-position: center;
}
.ui-state-hover .ui-icon-circle-triangle-w, .ui-state-focus .ui-icon-circle-triangle-w {
    background-image: url(../img/arrow-left1.png);
}

@media (max-width: 1199px) {
}
/*@media (max-width: 991px) {*/
@media (max-width: 1024px) {    
}
@media (max-width: 767px) {
    .form .field-half{
        max-width: 100%;
    }
    .form .field-full{
    }
}
@media (max-width: 575px) {
}
