/**
 * Individual Lease Calculator – page template styles
 */

.leasing-calc-header {
    margin-right: 3rem;
    margin-bottom: 1rem;
}

.leasing-calc-form-body {
    padding-left: 0.5rem;
    padding-top: 1.5rem;
}

.nav-tabs {
    border-bottom: 0 !important;
    width: 95%;
    flex-wrap: nowrap !important;
}
.nav-tabs .nav-link {
    color: #6C6C6C;
    background-color: #C2C2C2;
    border-color: #F8F8F8 #F8F8F8 #dee2e6;
    font-weight: 600;
    height: 70px;
    width: 360px;
    font-size: 14px;
    margin-top: 17px;
    position: relative;
    border: none;
    letter-spacing: 0.8px;
}

.tab-content{
    width: 95%;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
    color: #4DBC4D;
    border: none;
    background-color: #f0f0f0 !important;
    border-top-left-radius: 10px !important;
    border-top-right-radius: 10px !important;
    height: 85px;
    margin-top: 3px;
    font-size: 15px;
    width: 420px;
    font-weight: bold;

}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active .ncar path{
    fill: #4DBC4D !important;
}
.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active .ucar path{
    fill: #4DBC4D !important;
}

.nav-tabs svg {
    fill: #4DBC4D !important;
    height: auto;
}

.ncar{
    bottom: 4px;
    right: 6px;
    position: relative;
}

.ucar{
    position: relative;
    bottom: 3px;
}

.active-tab-new {
    border-top-right-radius: 10px;
}

.non-active-tab-new{
}

.mobile-tabs {
    max-width: 150px;
}

/**because of some css in the main theme in WP */
.leasing-template ul.nav-tabs>li.nav-item,
.leasing-template ul.nav-tabs>li.nav-item:first-child {
    margin: 0 !important;
    padding: 0 !important;
}

.nav-tabs .nav-item,
.compact-tabs {
    width: auto;
}

.wrapper {
    margin-top: 8rem;
    text-align: center;
    flex: 1;
}

.red-placeholder::placeholder {
    color: red;
}

.red-border{
    border: 1px solid red !important;
}

.emailLabels {
    font-size: 14px !important;
    width: 90%;
    margin-top: 5px !important;
}

.emailCheckboxes {
    margin-top: 4px;
    margin-right: 7px;
    accent-color: #4DBC4D;
}

.tab-painter {
    position: absolute;
    z-index: -999999999;
    width: 300px;
    top: 21rem;
    background: #F0F0F0;
    height: 40px;
    left: 15rem;
}

.ui-mobile label, .ui-mobile legend {
    font-size: 12px;
    letter-spacing: 0.7px;
}

.form-control {
    height: 45px;
    border-radius: 8px;
    border: none;
    margin-top: 5px;
    padding-left: 15px;
    font-family: commonNovaKola;

}
.promo-code-row {
    gap: 12px;
}
/* Promo code (calculator) */
.promo-code-row .promo-apply-button {
    height: 45px;
    margin-top: 5px;
    border-radius: 8px;
    border: 1.5px solid #4CBC4C;
    padding: 0 18px !important;
    font-weight: 500;
    text-transform: uppercase;
    /* background-color: #4CBC4C; */
    letter-spacing: 0.7px;
    font-size: 1rem !important;
    color: #4CBC4C;
}

.promo-code-row .promo-apply-button:focus,
.promo-code-row .promo-apply-button:hover {
    background-color: #006B3F;
    color: #FFFFFF;
    border-color: #006B3F;
}
.promo-code-applied-wrapper {
    margin-top: 5px;
}
.promo-code-applied-wrapper .promo-code-display {
    font-weight: 500;
    color: #333;
}
.promo-code-applied-wrapper .promo-code-remove {
    cursor: pointer;
    opacity: 0.6;
    font-size: 0.8rem;
}
.promo-code-applied-wrapper .promo-code-remove:hover {
    opacity: 1;
}

.form-control::-webkit-input-placeholder{
    color: #ababab !important;
    font-family: commonNovaKola;
    font-weight: 100;
}

.form-control:focus::placeholder {
    color: transparent !important;
}

.how-to-apply{
    font-size: 14px;
}

#power::-webkit-outer-spin-button,
#power::-webkit-inner-spin-button {
-webkit-appearance: none;
    margin: 0;
}

#fullPrice-input::-webkit-outer-spin-button,
#fullPrice-input::-webkit-inner-spin-button {
-webkit-appearance: none;
    margin: 0;
}
.form-select {
    width: 125px;
    height: 45px;
    border: none;
    background-color: #FFFFFF;
    font-family: commonNovaKola;
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%234DBC4D' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    appearance: none;
    transition: transform 2s ease;
}

.form-select.open {
    transition: transform 2s ease;

    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%234DBC4D' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 11l6-6 6 6'/%3e%3c/svg%3e");
}

.textMountSum {
    color: #4DBC4D !important;
}

.labelMountSum{
    font-size: 0.8rem !important;
}

.vat-wrap {
   font-size: 16px;
}

.mountSumWrapper {
    color: #4DBC4D;
}

.interest-wrapper{
    margin-left: 20px;
    margin-top: 12px;
}

.btn {
    width: 160px;
    font-size: 15px !important;
    border-radius: 8px;
}

.installment-mobile {
    display: none;
}

.interest-wrapper-mobile {
    display: none;
}

.additional-margin {
    justify-content: flex-end;
}

.alertYear, .alertYearMore, .alertPrice, .alertMileage {
    position: absolute;
}

.promo-and-operational-row {
    gap: 2rem;
}

.promo-and-operational-row .promo-code-block {
    flex: 0 1 auto;
    min-width: 0;
}

.promo-and-operational-row .operational-leasing-block {
    flex: 0 0 auto;
    margin-left: 1rem;
    margin-top: 30px;
}

.operational-leasing-row {
    align-items: flex-start;
}

.operational-leasing-row #operationalLeasing {
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.operational-leasing-text {
    line-height: 1.2;
}

.operational-leasing-label {
    font-family: commonNovaKola, sans-serif;
    font-size: 1.05rem !important;
    cursor: pointer;
    margin-top: 3px !important;
    margin-bottom: 0 !important;
    line-height: 1.1rem;
    display: inline-block;
    width: fit-content;
}

.operational-leasing-disclaimer {
    font-family: commonNovaKola, sans-serif;
    font-size: 0.8rem;
    font-style: italic;
    color: #ff823d;
    margin-top: 0.15rem;
    line-height: 1.2;
}

.operational-leasing-label:hover {
    color: #4DBC4D !important;
}

#operationalLeasing:hover {
    border-color: #4DBC4D;
}

#operationalLeasing {
    width: 1.1rem;
    height: 1.1rem;
    margin: 0;
    border: 1px solid #6c6c6c;
    border-radius: 3px;
    cursor: pointer;
    transition: border-color 0.2s ease;
    vertical-align: middle;
}

.operational-leasing-row .operational-leasing-label {
    transition: color 0.2s ease;
}

#operationalLeasing:checked {
    border-color: #4DBC4D;
}

.red-placeholder::placeholder {
    color: red !important;
    font-family: commonNovaKola !important;
}

.overlay{
    background: #f0f0f0a6;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}


.tab-pane{
    position: relative;
}

#spinner-overlay {
    width: 5rem;
    height: 5rem;
}

.new-offer-tab {
    flex: 1;
    background: #F0F0F0;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.inputsWrapper {
    flex: 1;
}

.input-wrapper {
    flex: 1;
}

.calc-field {
    flex: 1;
}

.select-display-box {
    background-color: #E5E5E5;
    border-radius: 8px;
}

.carPriceCard-desktop,
.carPriceCard-mobile {
    background: #E5E5E5;
    border-radius: 8px;
}

.installment-desktop {
    flex: 1;
}

.interest-wrapper-desktop {
    flex: 1;
}

.interest-label-col {
    width: 100px;
}

.object-type-wrapper {
    flex: 1;
}

.kasko-display-box {
    background-color: #e1e1e1;
    border-radius: 0.5rem;
}

.radio-label {
    display: inline;
    font-weight: 300;
}

.promo-applied-info {
    background-color: #e1e1e1;
    border-radius: 8px;
    padding: 10px 15px;
}

.apply-button-wrapper {
    flex: 1;
}

#spinner {
    width: 2rem;
    height: 2rem;
    display: none;
}

.otp-logo {
    width: 140px;
}

.check-icon {
    width: 18px;
}

.apply-button {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    font-size: 1.3rem !important;
}

@media only screen and (max-width: 1400px){

    .nav-tabs .nav-link {
        width: 330px;
    }

    .nav-tabs .nav-item.show .nav-link,
    .nav-tabs .nav-link.active {
        width: 330px;
        font-size: 14px;
    }
}

@media only screen and (max-width: 1200px){

    .nav-tabs .nav-link {
        width: 280px;
        font-size: 13px;
    }

    .nav-tabs .nav-item.show .nav-link,
    .nav-tabs .nav-link.active {
        width: 280px;
        font-size: 13px;
    }

    .carPriceCard-desktop {
        padding-right: 1em !important;
        padding-left: 1.3rem !important;
    }
}

@media only screen and (max-width: 991px) {
    .inputsWrapper {
        flex-direction: column !important;
    }

    .new-br, .new-br-2, .used-br, .used-br-2 {
        display: block !important;
    }

    .nav-tabs .nav-link {
        padding: 0 !important;
        width: 200px;
        font-size: 12px;
        height: 80px;
    }

    .nav-tabs .nav-item.show .nav-link,
    .nav-tabs .nav-link.active {
        width: 220px;
        font-size: 12px;
        height: 95px;
    }


    .input-wrapper {
        padding-right: 0 !important;
        padding-left: 0 !important;

    }
    .nav-tabs {
        width: auto;
    }

    .new-car-tab-mobile svg{
        width: 40px !important;
        height: 30px !important;
        margin-left: 12px;
        padding-top: 5px;

    }
    .used-car-tab-mobile svg{
        width: 30px !important;
        height: 40px !important;
        padding-top: 5px;
    }

    .tab-content {
        width: auto;
    }

    .tab-painter {
        left: 12rem;
        width: 100px;
        top: 22.5rem;
    }

    .installment-desktop {
        display: none;
    }

    .installment-mobile {
        display: block;
    }

    .interest-wrapper-desktop {
        display: none;
    }

    .interest-wrapper-mobile {
        display: block;
    }

    .carPriceCard-desktop {
        padding-right: 1.5rem !important;
        padding-left: 1.5rem !important;
    }
    .promo-and-operational-row .operational-leasing-block {
        margin-left: 0;
        margin-top: 0.5rem;
        width: 100%;
    }
}

@media only screen and (max-width: 768px) {
    .leasing-template ul.nav-tabs>li.nav-item,
    .leasing-template ul.nav-tabs>li.nav-item:first-child {
        margin: 0 !important;
        padding: 0 !important;
        width: auto !important;
    }

    .tab-painter {
        width: 200px;
    }

    .nav-tabs .nav-link {
        height: 80px;
        font-weight: 500;
    }

    .nav-tabs .nav-item.show .nav-link,
    .nav-tabs .nav-link.active {
        height: 95px;
        font-weight: 500;
    }

    .additional-margin {
        margin-left: 0px;
        justify-content: flex-end;
    }
}

@media only screen and (max-width: 475px) {

    .nav-tabs .nav-link {
        margin-top: 19px !important;
        width: 150px;
    }

    .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
        margin-top: 4px !important;
        width: 190px;
    }

    .tab-painter{
        left: 7rem;
        top: 24rem;
    }
}

@media only screen and (max-width: 435px) {
    .nav-tabs .nav-link {
        width: 160px;
    }

    .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
        width: 190px;

    }

    .form-control, .month-select, .object-type-select, .form-select {
        height: 40px !important;
    }

    .taxes-wrapper {
        padding-left: 5px !important;
    }


    .tab-content {
        width: auto !important;
    }

    .installment-label{
        margin-left: 10px;
    }

    .tab-painter{
        left: 7rem;
    }
}
@media only screen and (max-width: 400px) {
    .nav-tabs .nav-link {
        width: 150px;
    }

    .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
        width: 180px;

    }

    .tab-painter{
        left: 7rem;
        top: 26rem;
    }
}

@media only screen and (max-width: 370px) {
    .tab-painter {
        top: 27rem;
        left: 5rem;
    }
    .nav-tabs .nav-link {
       width: 130px;
    }
    .nav-tabs .nav-item.show .nav-link,
    .nav-tabs .nav-link.active {
        width: 140px;
    }
}
