a:link {
    text-decoration: none
}

a:visited {
    text-decoration: none
}

a:hover {
    text-decoration: none
}

a:active {
    text-decoration: none
}

body {
    font-family: Montserrat, sans-serif
}

#mortcal-logos {
    background-color: #DBDCD5
}

#mortcal-logos .featured-in {
    color: #4d4d4d
}

#mortcal-logos .featured-block-calc {
    padding-top: 30px !important;
    padding-bottom: 40px !important
}

.title-calculator span {
    font-size: 27px !important
}

.fee-tax-marg .inputLayout div {
    width: 40%
}

.title-pcl {
    padding-bottom: 0px !important
}

.featured-block-calc {
    padding-bottom: 60px !important
}

footer.page-footer {
    padding-top: 10px
}

.calc-mort-block {
    padding: 40px 0px !important
}

#myPopup p:first-child {
    font-weight: bold;
    color: #4E4E4E
}

#myPopup p:last-child {
    color: #4E4E4E;
    line-height: 24px
}

.cc-hero {
    display: flex;
    justify-content: space-evenly
}

.cc-q-title {
    color: #212529;
    font-size: 17px
}

.cc-q-title-percent {
    color: #212529;
    font-size: 17px
}

.cc-q-title span {
    font-weight: bold
}

label {
    margin-bottom: 0rem
}

.close_button {
    visibility: visible;
    text-align: center;
    text-indent: 85%;
    z-index: 1
}

.title-h span {
    color: #4d4d4d !important
}

.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
}

.overlay_test {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    transition: opacity 500ms;
    visibility: visible;
    opacity: 1
}

.overlay_test:target {
    visibility: hidden;
    opacity: 0;
    display: none
}

.popup_test {
    position: relative;
    margin-top: 55%;
    margin-left: 2%;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 3px 3px lightgray;
    z-index: 2;
    transition: all 5s ease-in-out
}

.popup_test .close_test {
    position: absolute;
    top: 20px;
    right: 30px;
    transition: all 200ms;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
    height: 30%
}

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

.popup_test .content_test {
    max-height: 40%;
    overflow: auto
}

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

.popup .popuptext {
    visibility: hidden;
    width: 425px;
    height: 150px;
    background-color: white;
    color: black;
    text-align: center;
    border-radius: 6px;
    padding: 8px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -150px
}

.popup .popuptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent
}

.popup .show {
    visibility: visible;
    -webkit-animation: fadeIn 1s;
    animation: fadeIn 1s
}

@-webkit-keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

.input-form-blk1 p {
    display: inline;
    padding-top: 0px
}

.input-form-blk2 p {
    display: inline;
    padding-top: 0px
}

.input-form-blk2 .popup {
    display: inline;
    margin-left: 50px;
    padding-left: 6px;
    padding-right: 6px;
    text-align: center;
    padding-top: 0px
}

.cc-container-left {
    background-color: transparent;
    padding-right: 25px;
    padding-left: 25px
}

.cc-container-right {
    max-height: 50px
}

input[type=range] {
    -webkit-appearance: none;
    height: 2px;
    border-radius: 30px
}

input[type=range]:focus {
    outline: none
}

.rs-range {
    margin-top: 17px;
    width: 400px
}

.rs-label {
    position: relative;
    display: block;
    width: 65px;
    background: #29d1ba;
    border-radius: 50px;
    text-align: center;
    font-weight: 600;
    color: #212529;
    font-size: 14px;
    margin-top: 15px;
    margin-left: -30px
}

.rs-label-1 {
    left: 10px
}

.rs-label2,
.rs-label3 {
    margin-left: -20px
}

.rs-label p {
    padding: 3px 0px;
    margin-bottom: 3px;
    margin-top: 22px
}

.cc-ref {
    width: 420px;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: -5px;
    min-height: 10px
}

.cc-ref-1 {
    margin-left: 0px !important
}

.cc-ref div {
    position: relative;
    display: block;
    width: 65px;
    background: #c2aa6f;
    border-radius: 50px;
    text-align: center;
    font-weight: 600;
    color: #fff;
    font-size: 16px;
    margin-top: 10px;
    margin-left: -30px
}

.cc-ref div p {
    padding: 2px 0px;
    color: white;
    margin: 0px
}

.cc-result {
    background: #c2aa6f;
    border-radius: 25px;
    text-align: center;
    color: white
}

.cc-result p {
    font-weight: bold;
    margin-top: 0px;
    margin-bottom: 8px
}

.cc-result-number {
    display: flex;
    align-items: center
}

.cc-result-number div {
    width: 32px;
    margin-left: 15px
}

.cc-result-number div img {
    vertical-align: -webkit-baseline-middle;
    vertical-align: middle
}

.cc-result h3 {
    font-size: 34px;
    font-weight: 900;
    margin: 0;
    color: white
}

.cc-info {
    background: #efefef;
    padding: 19px 33px;
    margin-bottom: 15px;
    border-radius: 35px
}

.cc-info h4 {
    color: #e25053;
    font-weight: bold;
    margin: 0;
    font-size: 14px
}

.cc-info div h3 {
    font-weight: bold;
    margin: 0px;
    font-size: 22px
}

.cc-info div p {
    margin-bottom: 4px
}

@media (max-width:1000px) {
    .cc-hero {
        flex-direction: row;
        width: 100%;
        padding: 0px
    }

    #input-form {
        background-color: transparent;
        display: flex;
        flex-direction: row
    }

    #sliders {
        background-color: transparent;
        display: flex;
        flex-direction: row
    }

    .cc-container-left {
        width: 100%;
        margin-right: 0px
    }

    .rs-range {
        width: 88%;
        margin-left: 25px
    }

    .cc-ref {
        width: 40%;
        padding-left: 25px
    }

    .cc-container-right {
        margin-top: 20px;
        display: flex;
        flex-direction: row
    }

    .cc-result {
        width: 100%
    }

    .knowmore {
        width: 100%
    }

    .slider-1 {
        background-color: transparent;
        margin: 15px 0px;
        width: 50%
    }

    .slider-2 {
        background-color: transparent;
        margin: 15px 0px;
        width: 50%
    }

    .slider-3 {
        background-color: transparent;
        margin: 15px 0px;
        width: 50%
    }

    .slider-4 {
        background-color: transparent;
        margin: 15px 0px;
        width: 50%
    }
}

@media (max-width:520px) {
    .popup .popuptext {
        visibility: hidden;
        width: 325px;
        margin-left: -128px
    }

    .input-form-blk2 .popup,
    .popup {
        margin-left: 5px !important
    }

    .cc-container-left {
        width: 90%;
        margin: 0 auto
    }

    .rs-range {
        width: 165%
    }

    .cc-ref {
        width: 68%
    }

    .cc-hero {
        width: 95%
    }

    #sliders {
        display: flex;
        flex-direction: column
    }
}

@media (max-width:450px) {
    .popup .popuptext {
        visibility: hidden;
        width: 375px;
        margin-left: -128px
    }

    .cc-ref div {
        background: none
    }

    .cc-ref div p {
        padding: 3px 0px;
        color: #999;
        margin: 0px
    }
}

@media (max-width:400px) {
    .popup .popuptext {
        visibility: hidden;
        width: 350px;
        height: 160px;
        margin-left: -128px
    }

    .cc-hero {
        width: 95%;
        margin: 0 auto
    }

    .cc-info,
    .cc-result {
        border-radius: 20px
    }

    .cc-container-right {
        margin-top: 50px !important;
        width: 95%;
        margin: 0 auto
    }
}

@media(max-width:380px) {
    .popup .popuptext {
        visibility: hidden;
        width: 325px;
        height: 160px;
        margin-left: -128px
    }

    .cc-result h3 {
        font-size: 27px
    }

    .cc-container-right {
        min-width: 0px
    }

    .cc-q-title {
        font-size: 32px;
        display: inline
    }

    .rs-range {
        margin-top: 54;
        width: 400px
    }

    input[type=range] {
        -webkit-appearance: none;
        background: #545454;
        height: 10px;
        border-radius: 30px
    }

    .cc-container-left {
        margin-right: 0px;
        background-color: transparent;
        padding-right: 25%;
        padding-left: 25%;
        margin-bottom: 10%
    }

    body {
        font-family: "Montserrat";
        font-size: 14px !important
    }
}

@media(max-width:350px) {
    .popup .popuptext {
        visibility: hidden;
        width: 275px;
        height: 160px;
        margin-left: -128px
    }

    .cc-result h3 {
        font-size: 27px
    }

    .cc-container-right {
        min-width: 0px
    }

    .cc-q-title {
        font-size: 32px;
        display: inline
    }

    .rs-range {
        margin-top: 54;
        width: 400px
    }

    input[type=range] {
        -webkit-appearance: none;
        background: #545454;
        height: 10px;
        border-radius: 30px
    }

    .cc-container-left {
        margin-right: 0px;
        background-color: transparent;
        padding-right: 25%;
        padding-left: 25%;
        margin-bottom: 10%
    }

    body {
        font-family: "Montserrat";
        font-size: 14px !important
    }
}

.inputs-form {
    margin-top: 25px
}

.slider-4 {
    margin-bottom: 50px
}

#know_more_text {
    color: white !important;
    padding: 10px 50px;
    border: solid 1px;
    background-color: #c2aa6f;
    transition: all .3s;
    margin-top: 20px
}

#know_more_text:hover {
    color: white !important;
    padding: 10px 50px;
    border: solid 1px;
    background-color: #c2aa6f;
    transition: all .3s
}

.inputSlider[type="range"] {
    margin: 40px 0 0 0 !important
}
.title-calculator h2 {
    color: #C2AA6F;
    font-size: 24px;
    margin-bottom: 50px;
    text-align: center;
}
@media screen and (min-width:768px) {
    #infobutton1 {
        margin-left: 5px
    }

    .cc-hero {
        display: flex;
        justify-content: space-evenly;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto
    }

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

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

    .lionsLogoCalc {
        width: 270px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 28px;
        margin-bottom: 10px
    }

    .introText {
        display: flex;
        flex-direction: column;
        margin-bottom: 16px
    }

    .introText span {
        text-align: center;
        color: #ACACAC;
        font-weight: 700;
        font-size: 24px;
        line-height: 24px
    }

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

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

    .totalSubText {
        color: #4d4d4d;
        font-weight: bold;
        font-size: 16px;
        line-height: 20px;
        text-align: center;
        padding-top: 10px
    }

    .inputContainer {
        margin-bottom: 20px
    }

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

    .separateText p {
        margin: 0
    }

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

    .purchasePriceText {
        font-weight: 700;
        font-size: 21px !important;
        line-height: 25px !important;
        color: #4E4E4E;
        display: block !important
    }

    .savingsNeededText {
        font-weight: 700;
        font-size: 21px;
        line-height: 40px;
        color: #4E4E4E;
        display: block !important
    }

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

    .inputTextRight {
        text-align: right;
        border: 1px solid #e7e3e3 !important;
        background-color: white !important;
        font-weight: 700;
        font-size: 22px !important;
        line-height: 40px;
        color: #4E4E4E;
        width: 100%
    }

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

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

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

    .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: 18px !important;
        line-height: 20px !important;
        color: #4E4E4E;
        display: inline
    }

    .inputSlider[type=range] {
        width: 100%;
        margin: 15px 0px 0px 0px;
        background: #BFBFBF;
        position: relative;
        z-index: 0
    }

    .inputSlider[type=range]::after {
        width: 4px;
        height: 4px;
        display: inline-block;
        background: #BFBFBF;
        border-radius: 50%;
        position: absolute;
        content: '';
        right: 0%;
        top: -50%;
        z-index: -1
    }

    .inputSlider[type=range]::before {
        width: 4px;
        height: 4px;
        display: block;
        background: #BFBFBF;
        border-radius: 50%;
        position: absolute;
        content: '';
        left: 0%;
        top: -50%;
        z-index: -1
    }

    .inputSlider[type=range]::-webkit-slider-thumb {
        -webkit-appearance: none;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        cursor: pointer;
        background: url(https://lionsgatecapital.com/wp-content/uploads/2023/11/isotipo-lionsgate-capital.svg);
        z-index: 1;
        margin-top: -12px;
    }

    .buttonContainer {
        display: flex
    }

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

    .floatCenterText {
        position: absolute;
        left: 53%;
        -webkit-transform: translateX(-50%);
        transform: translateX(50%)
    }

    #purchase_price {
        background-color: #000004;
        border: none;
        border-bottom: 1px solid #bdbdbd;
        border-radius: 0;
        outline: 0;
        height: 0em;
        padding-left: 5px;
        font-size: 0.8rem;
        box-shadow: none;
        box-sizing: content-box;
        -webkit-transition: all .3s;
        transition: all .3s;
    }
}

.bkg-calc .calc {
    padding: 0px !important
}

@media screen and (min-width:0px) and (max-width:767px) {
    .fee-tax-marg {
        margin-bottom: 15px !important
    }

    #purchase_price {
        height: 0px
    }

    .bkg-calc .calc {
        padding-left: 30px !important;
        padding-right: 30px !important
    }

    #rs-label-1 {
        margin-left: 10px
    }

    .title-calculator span {
        font-size: 24px !important
    }

    .calc-mort-form {
        padding: 0px 30px
    }

    .featured-block-calc {
        padding: 0px 30px;
        padding-right: 20px
    }

    .calculator-block-resizer {
        height: auto;
        padding: 0px 20px 50px 20px
    }

    h2.featured-in {
        margin-left: 0px !important
    }

    h4.section-title {
        text-align: center;
        margin-top: 0px
    }

    .cc-hero {
        width: 100% !important
    }

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

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

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

    .introText {
        display: flex;
        flex-direction: column;
        margin-bottom: 16px
    }

    .introText span {
        text-align: center;
        color: #ACACAC;
        font-weight: 700;
        font-size: 20px;
        line-height: 26px
    }

    .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: 14px;
        text-align: center;
        padding-top: 10px
    }

    .inputContainer {
        margin-bottom: 20px
    }

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

    .separateText p {
        margin: 0
    }

    label#purchase_price_text {
        width: 40%
    }

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

    .purchasePriceText {
        font-weight: 700 !important;
        font-size: 18px !important;
        line-height: 20px !important;
        color: #4E4E4E;
        display: block !important
    }

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

    .inputTextRight {
        text-align: right;
        font-weight: 700;
        font-size: 20px !important;
        line-height: 40px;
        color: #4E4E4E;
        border: 1px solid #e7e3e3 !important;
        background-color: white !important;
        width: 100%
    }

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

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

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

    .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 !important;
        line-height: 20px !important;
        color: #4E4E4E;
        display: inline
    }

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

    .inputSlider[type=range]::after {
        width: 4px;
        height: 4px;
        display: block;
        background: #BFBFBF;
        border-radius: 50%;
        position: absolute;
        content: '';
        left: 0%;
        top: -50%;
        z-index: -1
    }

    .inputSlider[type=range]::before {
        width: 4px;
        height: 4px;
        display: block;
        background: #BFBFBF;
        border-radius: 50%;
        position: absolute;
        content: '';
        right: 0%;
        top: -50%;
        z-index: -1
    }

    .inputSlider[type=range]::-webkit-slider-thumb {
        -webkit-appearance: none;
        width: 32px !important;
        height: 32px !important;
        border-radius: 50%;
        cursor: pointer;
        background: url(https://lionsgatecapital.com/wp-content/uploads/2023/11/isotipo-lionsgate-capital.svg);
        z-index: 1;
        background-repeat: no-repeat
    }

    .buttonContainer {
        display: flex
    }

    .borrowButton {
        background: #C2AA6F;
        text-align: center;
        margin: 0px;
        font-weight: 700;
        font-size: 17px;
        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
    }

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

    #purchase_price {
        background-color: #000004;
        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;
    }
}

input[type='range']::-webkit-slider-thumb, input[type='range']::-webkit-slider-runnable-track {
    box-shadow: none!important;
    border: none!important;
}
.isl-fees_esp {
	width: 55%!important;
}