/* MORTGAGE CALCULATOR */
#mortgageModal .modal__dialog {
    width: 800px;
    padding: 0;
    max-width: initial;
}
#mortgageModal .modal-body {
    padding: 30px !important;
    display: flex;
    gap: 30px;
}
#mortgageModal .mb-0 {
    margin-bottom: 0!important;
}
#mortgageModal .d-none {
    display: none!important;
}
.mortgage-modal__left_col {
    max-width: 287px;
    background-color: #45B8E5;
    padding: 20px;
    border-radius: 12px;
}
.mortgage-modal__left_col * {
    color: #ffffff;
}
.mortgage-modal__left_col h3 {
    margin-bottom: 16px;
    font-size: 28px;
}
.mortgage-modal__benefits_item {
    display: flex;
    gap: 15px;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid #ffffff;
}
.mortgage-modal__benefits_item:last-child {
    border-bottom: 0;
}
.mortgage-modal__benefits_item p {
    font-size: 20px;
    font-family: Oswald, Roboto, sans-serif;
    font-weight: 500;
}
.mortgage-modal__benefits_item img {
    width: 24px;
    user-select: none;
}
#mortgageModal label, #mortgageModal label.filled {
    font-size: 14px !important;
    font-weight: 400;
    line-height: 20px;
    padding: 0;
    margin-bottom: 6px;
    border-radius: 0;
    color: #344054;
    transform: none;
}
.mortgage-modal__first-form label span, .mortgage-modal__first-form label.filled span {
    color: #EC1616;
}
#mortgageModal .form-group {
    margin-bottom: 0;
}
.mortgage-modal__input_wrap {
    --blue-line-width: 17px;
    position: relative;
    margin-bottom: 0;
}
#mortgageModal .form-control {
    display: block;
    width: 100%;
    height: 48px;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #222222;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #E7E7E7!important;
    border-radius: 0;
    outline: 0;
}
.mortgage-modal__right_col {
    flex: 1;
}
.mortgage-modal__first-form {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}
.mortgage-modal__right_col [data-type="loan-amount"] {
    width: 100%;
}
.mortgage-modal__right_col [data-type="down-payment"] {
    width: 100%;
}
.mortgage-modal__right_col [data-type="interest-payment"], .mortgage-modal__right_col [data-type="loan-duration"] {
    width: calc(50% - 16px);
}
.mortgage-modal__track {
    width: 100%;
    height: 2px;
    background-color: #45B8E5;
    position: absolute;
    bottom: 0;
    cursor: pointer;
}
.mortgage-modal__track:after {
    content: "";
    position: absolute;
    top: 0px;
    right: 0;
    width: calc(100% - var(--blue-line-width));
    height: 2px;
    background-color: #E7E7E7;
}
.mortgage-modal__thumb {
    position: absolute;
    bottom: -6px;
    left: calc(var(--blue-line-width) - 7px);
    width: 14px;
    height: 14px;
    cursor: pointer;
    background-color: #45B8E5;
    border-radius: 100%;
    background-size: contain;
}
.mortgage-modal__extreme_values {
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.mortgage-modal__extreme_values p {
    font-size: 12px;
    color: #9B9999;
    margin-bottom: 0;
    margin-top: 10px;
    user-select: none;
}
.mortgage-modal__floating_value {
    position: absolute;
    right: 16px;
    top: 37px;
    color: #45B8E5;
    font-weight: 500;
}
.mortgage-modal__calculator_bottom {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    width: 100%;
}
.mortgage-modal__calculator_bottom_left h4 {
    font-size: 24px;
    color: #313131;
    margin-bottom: 0;
}
.mortgage-modal__calculator_bottom_left p {
    font-size: 14px;
    color: #9B9999;
}
.mortgage-modal__calculator_bottom_right button {
    background-color: #45B8E5;
    color: #fff;
    padding: 16px 24px;
    -webkit-appearance: initial;
    text-align: center;
    border: 0;
    text-transform: uppercase;
}
.mortgage-modal__calculator_bottom_right button:hover {
    cursor: pointer;
}
.mortgage-modal__calculator_bottom_right button:disabled {
    color: #FFFFFF80;
    cursor: not-allowed;
}
#mortgageModal span.wpcf7-not-valid-tip {
    font-size: 14px;
}
.mortgage-modal__top_heading {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}
.mortgage-modal__top_heading .mortgage-modal__back_btn {
    cursor: pointer;
}
.mortgage-modal__top_heading h4 {
    font-size: 24px;
    color: #313131;
}
.mortgage-modal__second-form .desktop-version {
    display: block;
}
.mortgage-modal__second-form .mobile-version {
    display: none;
}
.mortgage-modal__second-form form button {
    display: none;
}
#mortgageModal .mortgage-modal__second-form .form-group {
    margin-bottom: 25px;
}
.mortgage-modal__second-form .checkbox.custom-checkbox {
    margin-bottom: 25px;
}
.mortgage-modal__mobile-text {
    display: none;
}
.mortgage-modal__mobile-text h3 {
    color: #313131;
    margin-bottom: 10px;
    font-size: 28px;
}
.mortgage-modal__mobile-text p {
    color: #9B9999;
    margin-bottom: 0;
}
.mortgage-modal__top_heading_subtitle {
    color: #313131;
    margin-bottom: 10px;
    font-size: 22px;
    margin-bottom: 15px;
    font-family: Oswald, Roboto, sans-serif;
    font-weight: 500;
}

@media only screen and (max-width: 767px) {
    .mortgage-modal__calculator_bottom {
        flex-direction: column;
    }
    .mortgage-modal__calculator_bottom_right button {
        width: 100%;
    }
    .mortgage-modal__right_col [data-type="interest-payment"], .mortgage-modal__right_col [data-type="loan-duration"] {
        width: 100%;
    }
    .mortgage-modal__left_col {
        max-width: 230px;
    }
}
@media only screen and (max-width: 575px) {
    .mortgage-modal__left_col {
        display: none;
    }
    .mortgage-modal__mobile-text {
        display: block;
    }
    .mortgage-modal__second-form .desktop-version {
        display: none;
    }
    .mortgage-modal__second-form .mobile-version {
        display: block;
    }
}