
.finance-header { height: 72px; background: #F5F5F5; margin-bottom: 20px;}
.finance-header > div{display: flex; justify-content: space-between; align-items: center ; padding: 0 15px; box-sizing: border-box; height: 100%;}
.finance-header > div > a{color: #232323; padding-left: 20px; position: relative; font-size: 16px;}
.finance-header > div > a:before { width: 10px; height: 10px; content: ''; position: absolute; left: 0; top: calc(50% - 5px); border:2px solid #232323; 
    border-width: 2px 0 0 2px; transform: rotate(-45deg);}
.finance-header > div > div > a{color: #232323; font-size: 16px; text-decoration: underline; padding-left: 30px; 
    background: url(../images/pdf.svg) left center no-repeat;}

h1.finance-form-title{color: #393A3D; font-weight: bold; font-size: 36px;}

.finance-car { margin-bottom: 20px; display: flex; flex-direction: column;}
.finance-car .form-car-image{ width: 100%; }
.finance-car .form-car-image img{ width:auto; height: auto; max-width: 100%; max-height: 100%;}
.finance-car .form-car-title{padding: 20px 0; font-size: 22px; color: #000000; text-align: center;}
.finance-car .form-car-title > span{font-size: 36px; font-weight: 700;}
.finance-car .form-car-title > div{font-size: 18px;}
.finance-car .form-car-info{width: 100%;}
.form-car-info .used-car-info{margin: 20px 0 0 0;}
.form-car-info .used-car-info .used-year{border-right: 0;}
.form-car-info .used-car-info .used-car-body{border-left: 1px solid #DEDEDE;}

.finance-form.isModule, .used-car-finance.isModule {margin: 20px 0;}
.finance-form.isModule .financeAmount, .used-car-finance.isModule .financeAmount { height: 62px;}

.finance-form { background: #fff; padding:20px; margin: 20px 0; box-sizing: border-box; border: 1px solid #DEDEDE;}

.finance-form label{display: block; font-weight: 500; font-size: 16px; color: #000000;}
.finance-form label > span{color: #FF0022; font-size: 16px;}
.finance-form > span{display: block; color: #000000; font-size: 15px; font-weight: 500; line-height: 22px; margin-bottom: 20px;}

.finance-form :is(input[type=text], input[type=tel], input[type=email], input[type=date], input[type=time]), .finance-form select{height: 42px; padding: 0 10px; 
    box-sizing: border-box; border:1px solid #EBEBEB; width: 100%; border-radius: 0;}


.finance-form :is(input[type="date"], input[type=time]){position: relative; box-sizing: border-box;}


.finance-form input:focus, .finance-form textarea:focus{border-color: #F1C73F;}

.finance-form textarea {height: 110px; resize: none;}
.finance-form label.form-check-label{font-weight: normal;}
.finance-form .form-check-inline{margin-right: 20px;}
.finance-form .form-check-inline .form-check-input{margin-right: 15px;}

.form-check p{margin: 0 0 0 10px; padding: 0; line-height: 19px;}

.finance-form input[type=submit] {outline: 0; padding: 0; margin: 0; width: 205px; text-align: center; background: #D4A809; line-height: 50px; height:50px; font-size:16px; font-weight: 700; color: #FFFFFF; text-transform: uppercase; transition: ease-in-out all .5s; cursor: pointer; border: 1px solid #D4A809;}
.finance-form input[type=submit]:hover{background: #fff; color: #D4A809; }
.submit-container {display:flex; justify-content: flex-end;}

.finance-form .small {line-height: 60px; font-size: 12px;}

.finOverlay {position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 100000; display: flex; justify-content: center; align-items: center; background: rgba(0,0,0,0.3);}
.finLoader {border: 4px solid #f3f3f3; border-top: 4px solid #3498db; border-radius: 50%; width: 30px; height: 30px; margin: 10px auto; animation: spin 1s linear infinite;}

.service-form-module, .testDrive-form-module, .finance-form-module{margin-top: 20px;}
.testDrive-form-module > div, .finance-form-module > div{max-width: 100%; flex: 1 0 50%;}


@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (min-width: 768px) and (max-width: 991px) {
    .submit-container{margin-top: 15px;}
}

@media (max-width: 767px) {
   
    h1.finance-form-title{font-size: 26px;}
    .finance-header > div{flex-direction: column; align-items: flex-start; justify-content: center;}
    .finance-header > div > a{margin-bottom: 5px; font-size: 13px;}
    .finance-header > div > div > a{font-size: 13px; display: inline-block; line-height: 30px;}
    .finance-form{padding: 20px 10px;}
    .submit-container{justify-content: center;}
    .finance-car .form-car-title > span{font-size: 26px;}
    .finance-car .form-car-title > div{font-size: 15px;}

}
