﻿

.CalculatorLargeWrapper {
    background: #0a6ca9;
    border-radius: 5px;
    color: white;
}

.calcResultWrapper p {
    color: white;
    font-size: 22px !important;
    line-height: 1.25rem;
    margin-bottom: 0;
    font-weight: 600;
}

.CalculatorLargeWrapper .btn.dropdown-toggle.btn-light, .CalculatorLargeWrapper .btn-light:not(:disabled):not(.disabled).active, .CalculatorLargeWrapper .btn-light:not(:disabled):not(.disabled):active,
.CalculatorLargeWrapper .bootstrap-select > select.mobile-device:focus + .dropdown-toggle, .CalculatorLargeWrapper .bootstrap-select .dropdown-toggle:focus {
    padding: 20px 1.5rem;
    margin-top: 0px;
    border-radius: 5px 0 15px 0;
    opacity: 1;
}

.CalculatorLargeWrapper .filter-option-inner-inner {
    font-size: 22px;
    font-weight: 400;
}


.CalculatorLargeWrapper .bootstrap-select .dropdown-menu {
    margin-top: -13px !important;
    border-radius: 0 0 12px 0;
    padding-top: .5rem;
}

    .CalculatorLargeWrapper .bootstrap-select .dropdown-menu li {
        font-size: 1.25rem;
        color: #e5b53a;
    }

.CalculatorLargeWrapper .dropdown-item {
    padding: 1rem 1.5rem;
    color: #2c68b1;
}


.dropdown-item.active, .dropdown-item.active:hover, .dropdown-item:active, .dropdown-item:active:hover {
    background: white;
}

.loanParagraph {
    color: white;
    font-size: 13px !important;
    line-height: 1.125rem;
    padding: 0 .5rem;
    margin-bottom: 0;
}

.calcAprWrapper {
    text-align: center;
}

.calcsmallheading {
    font-size: 12px;
    text-transform: uppercase;
    opacity: .8;
    letter-spacing: .1px;
    font-weight: 300;
}

.RepaymentsHeadingSub {
    font-size: 22px !important;
    font-weight: 600;
    line-height: 1.5rem;
    text-transform: uppercase;
    color: white;
    margin-bottom: 0;
}


.increment, .decrement, .incrementTerm, .decrementTerm, .calcSmallButton {
    margin: auto;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: white;
    font-size: .75rem;
    line-height: 1.063rem;
    width: 30px;
    height: 30px;
}

    .increment i, .incrementTerm i, .decrement i, .decrementTerm i {
        width: 30px;
        margin: auto;
        right: 0;
        top: 0;
        bottom: 0;
        height: 16px;
    }


.calcButtonsWrapper .button {
    min-width: 130px;
    display: inline-block;
    margin-left: 5px;
}


.form-horizontal {
    margin: auto;
    border-top: 1px solid rgba(255,255,255,.2);
}

    .form-horizontal > .row {
        border-bottom: 1px solid rgba(255,255,255,.2);
        padding: .5rem .5rem 1rem;
    }

.calcResultWrapper {
    display: flex;
    padding: 2.5rem 1.5rem;
    border-radius: 15px 0 0 15px;
}

.calcButtonsWrapper {
    text-align: right;
}

.termsAndConditions {
    font-size: 11px !important;
    color: white;
    line-height: .875rem;
    opacity: .7;
    position: relative;
    margin-bottom: 0;
    font-family: 'Open Sans';
    padding-right: .5rem;
}

    .termsAndConditions::before {
        content: '';
        position: absolute;
        left: 0;
        top: -.75rem;
        width: 25px;
        height: 1px;
        background: rgba(255, 255, 255, .6);
    }


.calcResultWrapper::before {
    content: '';
    position: absolute;
    bottom: -15px;
    right: 0;
    width: 15px;
    height: 15px;
    margin: auto;
}

.calcResultWrapper::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: 0;
    width: 30px;
    height: 30px;
    margin: auto;
    border-radius: 50%;
}



.calcAprWrapper:last-child ::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 15px;
    height: 15px;
    margin: auto;
}

.calcAprWrapper:last-child ::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 30px;
    margin: auto;
    border-radius: 50%;
}



.CalculatorLargeDropDown::before {
    content: '';
    position: absolute;
    top: 0;
    right: -15px;
    width: 15px;
    height: 15px;
    margin: auto;
}

.CalculatorLargeDropDown::after {
    content: '';
    position: absolute;
    top: 0;
    right: -30px;
    width: 30px;
    height: 30px;
    margin: auto;
    border-radius: 50%;
}


.CalculatorLargeDropDown .btn > div::before {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 15px;
    height: 15px;
    margin: auto;
}

.CalculatorLargeDropDown .btn > div::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 0;
    width: 30px;
    height: 30px;
    margin: auto;
    border-radius: 50%;
}



.form-control[readonly] {
    text-transform: uppercase;
    font-size: clamp(.375rem, .375rem + 2vw, .688rem);
    opacity: .6;
}






    .form-control[readonly].calctextbox {
        border: 0;
        background-color: transparent;
        font-size: 22px;
        line-height: 1.25rem;
        outline: none !important;
        opacity: 1;
        text-align: right;
        margin-top: 0;
        padding-right: 0;
    }

.calcHeading {
    text-transform: uppercase;
    font-size: 0.68rem;
    font-size: clamp(.375rem, .375rem + 2vw, .75rem);
    opacity: .6;
    font-family: 'Open Sans';
}

.calcResultsInfo {
    font-size: 22px;
    line-height: 1.25rem;
}

.calcInputsInfo {
    border: 0;
    background-color: transparent;
    font-size: 22px !important;
    line-height: 1.25rem;
    font-weight: 600;
    outline: none !important;
    opacity: 1;
    text-align: right;
    margin-top: 0;
    padding-right: 0;
    padding: .375rem 0 0;
    color: #fff;
}



/* ui slider pips */

.ui-slider-horizontal.ui-slider-pips {
    margin-bottom: 2.8em;
}

.ui-slider-pips .ui-slider-number,
.ui-slider-pips .ui-slider-pip-hide {
    display: none;
}

.ui-slider-pips .ui-slider-pip-number .ui-slider-number {
    display: block;
}



.ui-slider-pips .ui-slider-pip {
    width: 2em;
    height: 1em;
    line-height: 1em;
    position: absolute;
    font-size: 0.8em;
    color: #999;
    overflow: visible;
    text-align: center;
    top: 20px;
    left: 20px;
    margin-left: -1em;
    cursor: pointer;
}

.ui-slider-pips .ui-slider-line {
    background: #999;
    width: 1px;
    height: 3px;
    position: absolute;
    left: 50%;
}

.ui-slider-pips .ui-slider-number {
    position: absolute;
    top: 5px;
    left: 50%;
    margin-left: -1em;
    width: 2em;
}

.ui-slider-pip:hover .ui-slider-number {
    color: white;
    font-weight: bold;
}




.ui-slider-vertical.ui-slider-pips {
    margin-bottom: 0;
    margin-right: 2em;
}

    .ui-slider-vertical.ui-slider-pips .ui-slider-pip {
        text-align: left;
        top: 20px;
        left: 20px;
        margin-left: 0;
        margin-top: -0.5em;
    }

    .ui-slider-vertical.ui-slider-pips .ui-slider-line {
        width: 3px;
        height: 1px;
        position: absolute;
        top: 50%;
        left: 0;
    }

    .ui-slider-vertical.ui-slider-pips .ui-slider-number {
        top: 50%;
        left: 0.5em;
        margin-left: 0;
        margin-top: -0.5em;
        width: 2em;
    }

.ui-slider-vertical.ui-slider-pip:hover .ui-slider-number {
    color: white;
    font-weight: bold;
}



.ui-slider-float .ui-slider-handle {
}

.ui-slider-float .ui-slider-tip,
.ui-slider-float .ui-slider-tip-number {
    position: absolute;
    visibility: hidden;
    top: -40px;
    display: block;
    width: auto;
    left: 0;
    height: auto;
    line-height: 20px;
    background: white;
    text-align: center;
    font-size: 12px;
    opacity: -1;
    transition: all 0.4s ease;
    color: #333;
    padding: 5px 10px;
    white-space: nowrap;
}
#termSlider .ui-slider-tip {
    margin-left: -27px !important;
}
#loanAmtSlider .ui-slider-tip {
    margin-left: -18px !important;
}


.ui-slider-float .ui-slider-handle:hover .ui-slider-tip,
.ui-slider-float .ui-slider-handle:focus .ui-slider-tip,
.ui-slider-float .ui-slider-pip:hover .ui-slider-tip-number {
    opacity: 0.9;
    top: -40px;
    color: #333;
    visibility: visible;
}

.ui-slider-float .ui-slider-pip .ui-slider-tip-number {
    top: 15px;
}

.ui-slider-float .ui-slider-pip:hover .ui-slider-tip-number {
    top: 5px;
    font-weight: normal;
}

.ui-slider-float .ui-slider-tip:after,
.ui-slider-float .ui-slider-pip .ui-slider-tip-number:after {
    content: " ";
    width: 0;
    height: 0;
    border: 5px solid rgba(255,255,255,0);
    border-top-color: rgba(255,255,255,1);
    position: absolute;
    bottom: -10px;
    left: 50%;
    margin-left: -5px;
}

.ui-slider-float .ui-slider-pip .ui-slider-tip-number:after {
    border: 5px solid rgba(255,255,255,0);
    border-bottom-color: rgba(255,255,255,1);
    top: -10px;
}


/* ------------------------- */
/* demo stuff */






.ui-slider {
}

.ui-slider-horizontal {
    height: 3px;
    border: none !important;
}

    .ui-slider-horizontal .ui-slider-handle {
        height: 20px;
        width: 20px;
        border: none;
        margin-left: -15px;
        cursor: pointer;
        border-radius: 50%;
        margin-top: -4px;
    }

    .ui-slider-horizontal.green .ui-slider-handle {
    }

.ui-slider-range.ui-corner-all.ui-widget-header.ui-slider-range-min {
}






@media (max-width: 991.98px) {
    .calcAprWrapper {
        text-align: center;
    }

    .CalculatorLargeWrapper .btn.dropdown-toggle.btn-light, .CalculatorLargeWrapper .btn-light:not(:disabled):not(.disabled).active, .CalculatorLargeWrapper .btn-light:not(:disabled):not(.disabled):active, .CalculatorLargeWrapper .bootstrap-select > select.mobile-device:focus + .dropdown-toggle, .CalculatorLargeWrapper .bootstrap-select .dropdown-toggle:focus {
        padding: 12px 1rem;
        border-radius: 0 0 5px 5px;
        margin: -3px auto auto;
    }

    .calcResultWrapper {
    }

        .calcResultWrapper > div {
            border-radius: 5px;
        }

    .calcResultWrapper {
        padding: 1.5rem 1.5rem 0;
    }

    .form-horizontal > .row, .form-horizontal {
        border: none;
    }

    .calcResultWrapper::before, .calcResultWrapper::after, .calcAprWrapper::before, .calcAprWrapper::after, .CalculatorLargeDropDown::before, .CalculatorLargeDropDown::after, .CalculatorLargeDropDown .btn > div::before, .CalculatorLargeDropDown .btn > div::after {
        display: none;
    }

    .CalculatorLargeWrapper .bootstrap-select .dropdown-menu {
        border-radius: 0 0 5px 5px;
    }
}

    @media (max-width: 767.98px) {

        .ui-slider-pip:nth-child(odd) .ui-slider-number {
            display: none;
        }

        .calcResultWrapper {
            padding: 1.5rem 1rem 0;
        }

        .loanParagraph {
            padding: 0;
        }
    }

    @media (max-width: 575.98px) {

        .ui-slider-pip:nth-child(2n+1) .ui-slider-number {
            display: none;
        }

        .ui-slider-pip:nth-child(4n) .ui-slider-number {
            display: none;
        }

        .increment, .decrement, .incrementTerm, .decrementTerm, .calcSmallButton {
            background: none;
        }

        .form-control[readonly].calctextbox, .calcResultWrapper p, .RepaymentsHeadingSub {
            font-size: 1.25rem !important;
        }

        .increment, .decrement, .incrementTerm, .decrementTerm, .calcSmallButton {
            background: transparent !important;
        }

        .calcButtonsWrapper .button {
            max-width: 100%;
            margin-left: 0;
        }
    }

