/* Loan Calculator */

.loan-calculator-form .form-group {
    margin-bottom: 30px;
}

.loan-calculator-form .group-calculator {
    display: flex;
    align-items: baseline;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    column-gap: 10px;
    color: #2C2E33;
}

.loan-calculator-form .group-calculator #monthly-payment-value {
    color: var(--theme-primary-color);
}

.loan-calculator-form .group-calculator.active #monthly-payment-value::after {
    content: attr(data-sign-currency);
    vertical-align: baseline;
    margin-left: 3px;
}

.loan-calculator-form .row.calculate-bottom {
    padding: 0;
    margin-top: -17px;
}

.loan-calculator-form label {
    font-size: 16px;
    font-weight: 600;
    line-height: 26px;
    color: #2b2b2b;
    margin-bottom: 10px;
}

.single-property-element.property-loan-calculator .tfre-property-header h4 {
    margin-bottom: 21px;
}

.loan-calculator-form input {
    padding: 16px 15px !important;
}

.loan-calculator-form .inner-form {
    display: flex;
    align-items: center;
    column-gap: 10px;
}

.loan-calculator-form .inner-form input {
    margin: 0;
}

.loan-calculator-form .inner-form input:disabled {
    background: #fff;
}

.loan-calculator-form .inner-form #down_payment_percent {
    width: 63px;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: center;
}

.loan-calculator-form .inner .form-group {
    margin: 0;
}

.loan-calculator-form button {
    font-size: 16px;
    font-weight: 700;
    line-height: 22.4px;
    padding: 14px 24px 14px 21px;
    border-radius: 16px;
    text-transform: unset;
}

.loan-calculator-form button i {
    font-size: 12px;
    font-weight: 400;
    margin-left: 2px;
}

.loan-calculator-form .inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 11px;
    justify-content: space-between;
}

/* loan shorcode home */

.home-calculate .loan-calculator-form input {
    padding: 16px 18px !important;
}

.home-calculate .loan-calculator-form input:disabled {
    background: #fff;
}

.home-calculate .loan-calculator-form .form-group {
    margin-bottom: 29px;
}

.home-calculate .loan-calculator-form .inner {
    margin-top: -2px;
    gap: 23px;
    text-align: left;
    justify-content: unset;
}

.home-calculate .loan-calculator-form button {
    padding: 14px 30px;
}

.home-calculate .loan-calculator-form button i {
    display: none;
}

.loan-calculator-form .loan-reset {
    display: none;
}

.home-calculate .loan-calculator-form .loan-reset {
    order: -1;
    display: block;
    order: 3;
}

.home-calculate .loan-calculator-form .group-calculator {
    order: -1;
    width: 100%;
    font-size: 16px;
    font-weight: 400;
    line-height: 22.4px;
    color: #2C2E3399;
    margin-top: 23px;
    margin-bottom: 8px;
}

.home-calculate .loan-calculator-form .group-calculator #monthly-payment-value {
    font-weight: 700;
}

.home-calculate .loan-calculator-form .loan-reset button {
    font-size: 16px;
    font-weight: 700;
    line-height: 22.4px;
    color: var(--theme-primary-color);
    background: transparent;
    border: 1px solid var(--theme-primary-color);   
    border-radius: 16px; 
    padding: 13px 42px;
}

.home-calculate .loan-calculator-form .loan-reset button:hover {
    background: var(--theme-primary-color);
    color: #fff;
}

.home-calculate .loan-calculator-form .loan-button {
    margin: 0;
    order: 2;
}

@media only screen and (max-width: 767px) {
    .tf-search-form-top.mobile .input-group-prepend .tf-search-more-btn,
     .tf-search-form-top.mobile .input-group-append .input-group-text {
        margin: 0;
        font-size: 22px;
    }
    .tfre_sidebar > .tfre-sidebar {
        padding: 20px 15px;
    }
    .home-calculate .loan-calculator-form .loan-reset button,
    .home-calculate .loan-calculator-form button {
        padding: 13px 20px;
    }
}