body {
    display: block;
    margin: 0 !important;
    font-family: Montserrat, sans-serif;
    background: #f5f5f5;
}

* {
    font-family: Montserrat, sans-serif;
}

.calculator-block-resizer {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}
.calculator-block-resizer {
    align-items: flex-start;
    min-height: 100vh;
}
.cc-hero {
    max-width: 330px !important;
    display: flex;
    justify-content: space-evenly;
    margin-left: auto;
    margin-right: auto;
}

.mainContainer {
    background: #F9F9F9;
    border: 1px solid #E2E2E2;
    padding: 0px 15px;
    position: relative;
    width: 100%;
    height: 100%;
}

.logoContainer {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lionsLogoCalc {
    width: 75%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 28px;
    margin-bottom: 10px;
}

.title-calculator {
    margin-top: 0.84em;
    margin-bottom: 0.834em;
}

.title-calculator span {
    font-size: 20px;
    text-align: center;
    font-weight: bold;
}

.title-h span {
    color: #c2aa6f !important;
}

.totalContainer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
}

.totalCalc {
    width: 100%;
    color: #c2aa6f;
    font-weight: 700;
    font-size: 45px;
    text-align: center;
    margin: 0px;
}

.totalSubText {
    color: #4E4E4E;
    font-weight: 700;
    font-size: 12px;
    text-align: center;
    padding-top: 10px;
}

.inputContainer {
    margin-bottom: 6.96px;
}

.separateText {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.separateText p {
    margin: 0;
}

.purchaseInputBlock {
    width: 50%;
    display: flex;
    align-items: center;
    flex-direction: row;
}

.purchasePriceText {
    font-weight: 700;
    font-size: 15px;
    line-height: 20px;
    color: #4E4E4E;
}

.inputTextRight {
    text-align: right;
    font-weight: 700;
    font-size: 17px;
    line-height: 30px;
    color: #4E4E4E;
    border: 1px solid #e7e3e3 !important;
    background-color: white !important;
    width: 100%;
    background-color: #00000004;
    border: none;
    border-bottom: 1px solid #bdbdbd;
    border-radius: 0;
    outline: 0;
    padding-left: 5px;
    font-size: 0.8rem;
    box-shadow: none;
    box-sizing: content-box;
    -webkit-transition: all .3s;
    transition: all .3s;
}

.spanTextRight {
    font-weight: 700;
    font-size: 20px;
    line-height: 40px;
    color: #4E4E4E;
}

.inputCalcGroup {
    margin-bottom: calc(15px + 5px);
}

.fee-tax-marg {
    margin-bottom: 10px !important;
}

.inputLayout {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
}

.inputLayout p, b {
    margin: 0px;
    font-weight: 700;
    font-size: 14px;
    line-height: 40px;
    color: #4E4E4E;
    display: inline;
}

.cc-q-title {
    color: #212529;
    font-size: 17px;
    line-height: 1.2em!important;
}

.inputSlider[type=range] {
    width: 100%;
    margin: 15px 0 0 0;
    background: #BFBFBF;
    position: relative;
    z-index: 0;
    height: 2px;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 30px;
}

.inputSlider[type=range]:focus {
    outline: none;
}

.inputSlider[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    background: #C2AA6F url("https://lionsgatecapital.com/wp-content/uploads/2023/11/isotipo-lionsgate-capital.svg")
                no-repeat center center;
    background-size: 22px 22px;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 1;

}

.inputSlider[type=range]::-moz-range-thumb {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    background: #C2AA6F url("https://lionsgatecapital.com/wp-content/uploads/2023/11/isotipo-lionsgate-capital.svg")
                no-repeat center center;
    background-size: 22px 22px;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.inputSlider[type=range]::-ms-thumb {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    background: #C2AA6F url("https://lionsgatecapital.com/wp-content/uploads/2023/11/isotipo-lionsgate-capital.svg")
                no-repeat center center;
    background-size: 22px 22px;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.floatCenterText {
    position: absolute;
    left: 55%;
}

#rs-label-1 {
    position: absolute;
    left: 48% !important;
    -webkit-transform: translateX(-50%);
    transform: translateX(50%);
}

.buttonContainer {
    display: flex;
}

.borrowButton {
    background: #C2AA6F;
    text-align: center;
    margin: 0px;
    font-weight: 700;
    font-size: 16px;
    line-height: 40px;
    color: #FFF;
    filter: drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.25));
    border: none;
    width: 96.5%;
    margin-bottom: 16px;
    margin-left: auto;
    margin-right: auto;
    padding: 8px;
    cursor: pointer;
}

.savingsNeededText {
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    color: #4E4E4E;
}

.mortgageAmountText {
    text-align: right;
    font-weight: 700;
    font-size: 16px !important;
    line-height: 40px;
    color: #4E4E4E;
    width: 50%;
}

.frist-saving-need {
    display: flex;
    align-items: center;
}

.fee-tax-width {
    display: flex;
    align-items: center;
}

.popupInfo {
    display: block;
    height: 18px;
    width: 18px;
    line-height: 18px;
    -moz-border-radius: 18px;
    border-radius: 18px;
    background-color: gray;
    color: white;
    text-align: center;
    font-size: 13px;
    margin-left: 5px;
    cursor: pointer;
}

.popup {
    position: relative;
    display: inline;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin-right: 0px;
    padding-left: 6px;
    padding-right: 6px;
    text-align: center;
    padding-top: 0px;
}

.overlay_test {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
}

.overlay_test.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup_test {
    position: relative;
    padding: 20px;
    background: #fff;
    box-shadow: 3px 3px lightgray;
    z-index: 2;
    width: 270px;
    max-width: 90vw;
}

.popup_test .close_test {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
    cursor: pointer;
}

.popup_test .close_test:hover {
    color: #C2AA6F;
}

.content_test p:first-child {
    font-weight: bold;
    color: #4E4E4E;
    font-size: 16px;
    margin-bottom: 10px;
}

.content_test p:last-child {
    color: #4E4E4E;
    line-height: 24px;
    font-size: 14px;
    margin: 0;
}

/* Responsive Design */
@media screen and (min-width: 768px) {
    .totalCalc {
        font-size: 50px;
        line-height: 60px;
    }

    .totalSubText {
        font-size: 12px;
        line-height: 20px;
        padding-top: 0px;
    }

    .purchasePriceText {
        font-size: 15px;
        line-height: 28px;
    }

    .savingsNeededText {
        line-height: 40px;
    }

    .mortgageAmountText {
        font-size: 15px !important;
        width: 35%;
    }

    .purchaseInputBlock {
        width: 46%;
    }
    .floatCenterText {
        left: 56%;
        -webkit-transform: translateX(-50%);
        transform: translateX(50%);
    }

    .borrowButton {
        margin-bottom: 5px;
    }

    .totalContainer {
        margin-bottom: 10px;
    }

    .inputCalcGroup {
        margin-bottom: calc(10px + 12.5px);
    }

    .fee-tax-marg {
        margin-bottom: 5px !important;
    }
}
@media (max-width: 767px) {
    .cc-q-title {
        color: #212529;
        font-size: 17px;
        width: 50%;
        line-height: 1.2em!important;
    }
}