
/* width */
::-webkit-scrollbar {
    width: 8px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #ccc; 
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #6a508a; 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #6a508a; 
}
.price-box {
    margin: 0 auto;
    border-radius: 10px;
    padding: 0;
    width: 100%;
}

.ui-widget-content {
    border: 1px solid #ae9ac7;
    background: #ae9ac7;
    color: #222222;
    margin-top: 16px;
}

.ui-slider .ui-slider-handle {
    position: absolute;
    z-index: 2;
    width: 1.2em;
    height: 2.2em;
    cursor: default;
    margin: 0 -9px auto !important;
    text-align: center;
    line-height: 30px;
    color: #FFFFFF;
    font-size: 15px;
}

.ui-slider .ui-slider-handle .glyphicon {
    color: #FFFFFF;
    margin: 0 3px; 
    font-size: 11px;
    opacity: 0.5;
}

.ui-corner-all {
    border-radius: 20px;
}

.ui-slider-horizontal .ui-slider-handle {
    top: -.9em;
}

.ui-state-default,
.ui-widget-content .ui-state-default {
    border: 1px solid #f9f9f9;
    background: #ae9ac7;
}

.ui-slider-horizontal .ui-slider-handle {
    margin-left: 1.6em;
}

.ui-slider .ui-slider-handle {
    cursor: pointer;
}

.ui-slider a,
.ui-slider a:focus {
    cursor: pointer;
    outline: none;
}

.price, .lead p {
    font-weight: 600;
    font-size: 20px;
    display: inline-block;
    line-height: 60px;
    color: #6a508a;
}

h4.great {
    background: #6a508a;
    margin: 0 0 15px;
    padding: 5px 15px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    border-radius: 5px;
    display: inline-block;
    -moz-box-shadow: 2px 4px 5px 0 #ccc;
    -webkit-box-shadow: 2px 4px 5px 0 #ccc;
    box-shadow: 2px 4px 5px 0 #ccc;
}

.total {
    /*display: inline;
    padding: 10px 5px;*/
    position: relative;
    padding-bottom: 20px;
}

/*    .total:before {
        content: "";
        display: inline;
        position: absolute;
        left: 0;
        bottom: 5px;
        width: 100%;
        height: 3px;
        background: #7f8c8d;
        opacity: 0.5;
    }*/

.price-slider {
    margin-bottom: 28px;
}

.price-slider span {
    font-weight: 200;
    display: inline-block;
    color: #7f8c8d;
    font-size: 13px;
}

.form-pricing {
    background: #ffffff;
    padding: 20px;
    border-radius: 4px;
}

.price-form {
    background: #ffffff;
    margin-bottom: 10px;
    padding: 20px;
/*    border-left: 1px solid #eeeeee;*/
    /*-moz-box-shadow:    0 5px 5px 0 #ccc;
    -webkit-box-shadow: 0 5px 5px 0 #ccc;
    box-shadow:         0 5px 5px 0 #ccc;*/
}

.form-group {
    margin-bottom: 0;
}

.form-group span.price {
    font-weight: 200;
    display: inline-block;
    color: #7f8c8d;
    font-size: 12px;
}

.help-text {
    display: block;
    margin-top: 32px;
    margin-bottom: 10px;
    color: #737373;
    position: absolute;
    /*margin-left: 20px;*/
    font-weight: 200;
    text-align: right;
    width: 188px;
}

.price-form label {
    font-weight: 200;
    font-size: 16px;
    color: #6a508a;
}

img.payment {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.ui-slider-range-min {
    background: #2980b9;
}

/* HR */

hr.style {
    margin-top: 0;
    border: 0;
    border-bottom: 1px dashed #ccc;
    background: #999;
}
.nav li a{
    width: 50%;
    color: #6a508a!important;
    font-size: 1.5em;
    padding: 10px 50px;
    border-radius: 10px;

}
.nav li a.active{
    color: white!important;
    background:#6a508a;
}
.nav-tabs{
    margin-top: 10px;
    display: flex;
    justify-content: center;
    width: 100%;
    border-bottom: none;
}
.price-slider input.form-control{
    border: 1px solid #6a508a!important;
}
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button {  

    opacity: 0;

}
.price-slider .col-sm-12{
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: 2px;
    padding-left: 2px;
}
#loan_result,#saving_result{
    max-height: 600px;
    display: block;
    overflow-y: scroll;
}
#loan_result .table,#saving_result .table{
    color: #6a508a;
}
#loan_result .table thead,#saving_result .table thead{
    font-weight: 600;
    background: #fff;
}
#loan_result .table tfoot,#saving_result .table tfoot{
    font-weight: 600;
    background: #fff;
}

#loan_result table thead,
table tfoot,#saving_result table thead,
table tfoot {
    position: sticky;
}
#loan_result table thead,#saving_result table thead {
    inset-block-start: 0; /* "top" */
}
#loan_result table tfoot,#saving_result table tfoot {
    inset-block-end: 0; /* "bottom" */
}
.calculator{
    max-width: 60%;
}
#calculation{
    padding-right: 0!important;
}
.hidden-scroll{
    display: none;
}
.form-div{
    display: flex;
    justify-content: center;
    align-items: center;
}
.form-div span{
    padding-left: 5px;
    color:#6a508a;
    font-size: 20px;
}
.calc{
    color:#6a508a;
}
.calcSaving{
    color:#6a508a;
}
.calculator-close{
    position: absolute;
    right: 10px;
    z-index: 99;
}
.calculator-close .close{
    color: #6a508a;
    font-size: 42px;
    font-weight: 400;
}
@media screen and (max-width: 1024px) {
    .calculator{
        max-width:100%;
    }
    .nav li{
        margin-bottom: 20px;
    }
    .nav li a{
        font-size: 1.3em;
    }
    h4.great{
        width:100%;
    }
    .price-form{
        text-align: center;
    }
    .hidden-scroll{
        display: block;
    }
    .calculator-close {
        right: 4px;
    }
    .calculator-close .close {
        font-size: 30px;
    }
}