.calculator-area {
    font-family: 'Open Sans', sans-serif;
    padding-top: 50px;
    margin-bottom: 170px;
}

.calculator-area .main-title {
    font-family: 'Open Sans', sans-serif;
    line-height: 32px;
    font-size: 30px;
    padding: 20px 10px 20px 20px;
}

.calculator-area .note { 
    line-height: 14px;
    font-size: 12px;
}

.loan-calculator {
    padding: 10px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.5em;
    /* color: #676767; */
    color: #204152;
}

.loan-calculator select  {
    cursor: pointer;
    display: inline-block;
    border: 0;
    width: 104px;
    font-size: 16px;
}

.loan-calculator select option {
    background: #fff;
    color: #000;
    border: 0;
  }

.loan-calculator .calc-select--section {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: center;
    padding: 10px;
    background-color: #E7ECF0;
}

.calc-select--section .selection-left {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 50%;
}

.selection-slider {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    padding: 0px 30px;
}

.selection-slider .title-content {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    padding: 10px 0px 10px 0px;
}

.selection-slider .title-content .left, .selection-slider .title-content .right {
    width: 50%;
    margin-bottom: 20px;
}

.selection-slider .title-content .left {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.5em;
    /* color: #676767; */
    color: #204152;

}

.selection-slider .title-content .left .desktop {
    display: block;
}

.selection-slider .title-content .left .mobile {
    display: none;
}

.selection-slider .title-content .right {
    text-align: right;
    font-family: 'Open Sans', sans-serif;
    color: #4F7B98;
    font-size: 36px;
}

.selection-slider.slider-container {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    width: 100%;
}

.selection-slider .slider-container .loan-amount-slider-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}

.slider-container .loan-amount-slider-wrapper .loan-amount-slider {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
}

.loan-amount-slider-wrapper .left-line, .loan-amount-slider-wrapper .right-line {
    height: 25px;
    border-left: 2px solid #204152;
    margin: 8px 0px;
}

.min-max-panel {
    margin-top: 0px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.5em;
    /* color: #676767; */
    color: #204152;
}

.min-max-panel .minimum-value {
    width: 50%;
    text-align: left;
}

.min-max-panel .maximum-value {
    width: 50%;
    text-align: right;
}

.selection-slider .slider-container {
    padding: 10px 0px 10px 0px;
}

.selection-left .title {
    width: 100%;
    font-size: 20px;
    font-weight: 700;
    position: relative;
    padding: 0px 30px 0px 30px;
}

.selection-left .selection-slider {
    margin-top: 10px;
}

.selection-left .title span {
    font-size: 16px;
}

.calc-select--section .selection-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 50%;
}

.selection-right {
    padding-left: 50px;
}

.selection-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.selection-panel .selection-row {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}

.selection-panel .selection-row .loan-term, .selection-panel .selection-row .fee-rate {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 50%;
}

.loan-term-text, .fee-rate-text {
    font-size: 16px;
    line-height: 18px;
    font-weight: 500;
    height: 25px;
    margin-bottom: 15px;
    position: relative;
}
.fee-rate-text .monthly {
    font-size: 12px;
    line-height: 14px;
}
.selection-panel .selection-row .processing-fee-wrapper {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 50%;
}

.loan-calculator .calc-display--section {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}

.calc-display--section .calculation-section-list, .calc-display--section .display-result {
    width: 50%;
}

.calculation-section-list, .display-result {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.calculation-section-list .blank-area, .display-result .result-title {
    height: 50px;
    background-color: #E7ECF0;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.5em;
}

.display-result .result-title .title {
    background-color: #FFF;
    /* color: #676767; */
    color: #204152;
    display: inline-block;
    font-weight: 600;
    font-size: 20px;
    padding: 16px 30px;
    box-sizing: inherit;
    outline: 0;
}

.calc-summary, .result-section {
    padding: 10px 10px 10px 10px;
}

.calc-summary {
    display: flex;
    flex-direction: column;
    background-color: #E7ECF0;
    justify-content: flex-start;
}

.calc-summary .principal-amount,
.calc-summary .total-fees,
.calc-summary .loan-total-interest,
.calc-summary .early-payments {
    display: flex;
    flex-direction: row;
    padding: 20px 30px;
    /* color: #676767; */
    color: #204152;
    justify-content: flex-start;
}

.calc-summary .principal-amount,
.calc-summary .total-fees,
.calc-summary .loan-total-interest {
    border-bottom: 1px solid #979797;
}

.principal-amount .title,
.principal-amount .value,
.total-fees .title,
.total-fees .value,
.loan-total-interest .title,
.loan-total-interest .value {
    width: 50%;
    font-size: 18px;
}

.early-payments .title, .early-payments .value {
    width: 50%;
}

.principal-amount .title, .total-fees .title, .loan-total-interest .title {
    float: left;
    font-weight: 600;
}

.early-payments .title .bold {
    font-weight: 700;
    font-size: 17px;
    line-height: 19px;
}

.principal-amount .value, .total-fees .value, .loan-total-interest .value {
    text-align: right;
}

.total-fees .second-line {
    display: flex;
    flex-direction: column;
}
.total-fees .second-line p {
    font-weight: 500;
}

.early-payments .value .pay-off {
    color: #4F7B98;
    font-size: 32px;
    float: right;
    line-height: 34px;
    padding-top: 10px;
    bottom: 0px;
}

.early-payments-slider {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-right: 20px;
    padding-left: 20px;
}

.early-payments-slider .cost-slider {
    padding-top: 20px;
    padding-bottom: 20px;
    width: 100%;
}

.early-payments-slider .slider-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}

.slider-wrapper .left-line, .slider-wrapper .right-line {
    height: 25px;
    border-left: 2px solid #204152;
    margin: 8px 0px;
}

.early-payments-slider .sub-section .text {
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 18px;
}

.early-payments-slider .sub-section .text span {
    color: #4F7B98;
}

.total-loan-cost {
    display: flex;
    flex-direction: row;
    justify-content: center;
    justify-items: center;
    padding: 25px;
    background-color: #E7ECF0;
    margin: 10px;
}

.total-loan-cost .text, .total-loan-cost .value {
    width: 50%;
}

.total-loan-cost .text {
    font-size: 20px;
    line-height: 42px;
    font-weight: 700;
    vertical-align: bottom;
}
.total-loan-cost .wrapper-text {
    display: flex;
    flex-direction: column;
}

.total-loan-cost .wrapper-text .plus {
    font-size: 12px;
    margin: 0;
    line-height: 14px;
    font-weight: 500;
}

.total-loan-cost .value {
    text-align: right;
    color: #4F7B98;
    font-size: 36px;
    line-height: 50px;
}

.result-section .result-table-desktop {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 10px;
    margin-top: 10px;
}

.result-table-desktop .table-header, .result-table-desktop .table-body .tbl-row {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    text-align: center;
}

.result-table-desktop .table-footer {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    text-align: center;
}

.result-table-desktop .table-body .odd {
    background-color: #E7ECF0;
}

.result-table-desktop .table-body {
    /* display: flex;
    flex-direction: column;
    justify-content: flex-start; */
    /* display: table-column; */
    flex-direction: column;
    max-height: 400px;
    overflow-x: hidden;
    overflow-y: auto;
    justify-content: space-around;
}
.result-table-desktop .table-body::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.0);
    background-color: #F5F5F5;
    border-radius: 10px;
}

.result-table-desktop .table-body::-webkit-scrollbar {
    width: 8px;
    background-color: #F5F5F5;
}

.result-table-desktop .table-body::-webkit-scrollbar-thumb { 
    border-radius: 10px;
    background-color: #C0C0C0;
}

.table-header .header-column-name {
    width: 20%;
    padding: 10px;
    font-size: 12px;
    line-height: 14px;
    height: 65px;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
.table-header .month .letter {
    height: 12px;
    visibility: hidden;
}
.table-header .header-column-name .letter{
    font-size: 10px;
    line-height: 12px;
}

.result-table-desktop .table-body .tbl-row .month, .result-table-desktop .table-body .tbl-row .principal, .result-table-desktop .table-body .tbl-row .fee, .result-table-desktop .table-body .tbl-row .total {
    width: 40%;
    padding: 8px;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 16px;
}

.result-table-desktop .table-footer {
    padding: 10px 0px 5px 0px;
    /* border-top: 2px solid #B3B3B3; */
    font-weight: 600;
}

.result-table-desktop .table-footer .footer-month, .result-table-desktop .table-footer .footer-principal, .result-table-desktop .table-footer .footer-fee, .result-table-desktop .table-footer .footer-total {
    width: 60%;
    padding: 6px;
    font-size: 18px;
    font-weight: 600;
    line-height: 14px;
    text-align: center;
}

.result-table-desktop .table-footer .footer-month {
    text-align: center;
}

.result-table-mobile {
    display: none;
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 2px;
    background: #204152;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
}

.slider:hover {
    opacity: 1;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    background: #619dc4;
    border-radius: 50%;
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    background: #4CAF50;
    cursor: pointer;
}

/* 
  ##Device = Low Resolution Tablets, Mobiles (Landscape)
  ##Screen = B/w 481px to 767px
*/

@media (min-width: 481px) and (max-width: 767px) {
    .calculator-area {
        padding-top: 45px;
        margin-bottom: 250px;
    }
    .loan-calculator .calc-select--section {
        display: flex;
        flex-direction: column-reverse;
        width: 100%;
        justify-content: center;
    }
    .selection-panel .selection-row .loan-term, selection-panel .selection-row .fee-rate {
        text-align: center;
    }
    .selection-panel .selection-row .processing-fee-wrapper {
        text-align: center;
    }
    .selection-right {
        padding-left: 0px;
    }
    .calc-select--section .selection-right {
        width: 100%;
        margin-bottom: 20px;
    }
    .calc-select--section .selection-left {
        width: 100%;
    }
    .selection-slider .title-content {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    .calc-summary .principal-amount,
    .calc-summary .total-fees,
    .calc-summary .loan-total-interest,
    .calc-summary .early-payments {
        padding: 20px 0px;
    }
    
    .selection-slider .title-content .left, .selection-slider .title-content .right {
        width: 100%;
    }
    .loan-calculator .calc-display--section {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    .calc-display--section .calculation-section-list, .calc-display--section .display-result {
        width: 100%;
    }
    .calc-summary .early-payments {
        display: flex;
        flex-direction: column;
    }
    .display-result .result-title {
        display: block;
    }
    .display-result .result-title .title {
        width: 100%;
    }
    .calculation-section-list .blank-area {
        display: none;
    }
    .early-payments .title, .early-payments .value {
        width: 100%;
    }
    .total-loan-cost .text {
        font-size: 18px;
    }
    .total-loan-cost {
        margin: 0px;
        flex-direction: column;
    }
    .total-loan-cost .value {
        font-size: 30px;
        text-align: center;
    }
    .total-loan-cost .text, .total-loan-cost .value {
        width: 100%;
        text-align: center;
    }

   
    .early-payments-slider {
        padding: 0px;
    }
    .selection-slider .title-content .left .desktop {
        display: none;
    }
    .selection-slider .title-content .left .mobile {
        display: block;
    }
}

/* 
	##Device = Most of the Smartphones Mobiles (Portrait)
	##Screen = B/w 320px to 479px
  */

@media (min-width: 320px) and (max-width: 480px) {
    .loan-calculator .calc-select--section {
        display: flex;
        flex-direction: column-reverse;
        width: 100%;
        justify-content: center;
    }
    selection-panel .selection-row .loan-term, selection-panel .selection-row .fee-rate {
        text-align: center;
    }
    .selection-right {
        padding-left: 0px;
    }
    .calc-select--section .selection-right {
        width: 100%;
        margin-bottom: 20px;
    }
    .calc-select--section .selection-left {
        width: 100%;
    }
    .selection-left .title {
        padding: 0px 0px 0px 0px;
    }
    .selection-slider {
        padding: 0px 10px;
    }
    .selection-slider .title-content {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    .calc-summary .principal-amount,
    .calc-summary .total-fees,
    .calc-summary .loan-total-interest,
    .calc-summary .early-payments {
        padding: 20px 0px;
    }
    .selection-slider .title-content .left, .selection-slider .title-content .right {
        width: 100%;
    }
    .loan-calculator .calc-display--section {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    .calc-display--section .calculation-section-list, .calc-display--section .display-result {
        width: 100%;
    }
    .display-result .result-title {
        display: block;
    }
    .display-result .result-title .title {
        width: 100%;
    }
    .calculation-section-list .blank-area {
        display: none;
    }
    .calc-summary .early-payments {
        display: flex;
        flex-direction: column;
    }
    .early-payments .title, .early-payments .value {
        width: 100%;
    }
    .total-loan-cost .text {
        font-size: 18px;
    }
    .total-loan-cost {
        margin: 0px;
        flex-direction: column;
    }
    .total-loan-cost .value {
        font-size: 30px;
        text-align: center;
    }
    .total-loan-cost .text, .total-loan-cost .value {
        width: 100%;
        text-align: center;
    }
    .early-payments-slider {
        padding: 0px;
    }
    .selection-slider .title-content .left .desktop {
        display: none;
    }
    .selection-slider .title-content .left .mobile {
        display: block;
    }
    .result-section .result-table-desktop {
        display: block;
    }
    .result-table-mobile {
        display: block;
    }
  
    .result-table-mobile .table-body, .table-body .tbl-row {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    .result-table-mobile .table-body .tbl-row {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    .result-table-mobile .table-body .tbl-row .sub-row {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
    }
    .result-table-mobile .table-body {
        max-height: 400px;
        overflow-x: hidden;
        overflow-y: auto;
        width: 100%;
        display: list-item;
    }
    .result-table-mobile .table-body::-webkit-scrollbar-track {
        -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.0);
        background-color: #F5F5F5;
        border-radius: 10px;
    }
    .result-table-mobile .table-body::-webkit-scrollbar {
        width: 8px;
        background-color: #F5F5F5;
    }
    .result-table-mobile .table-body::-webkit-scrollbar-thumb { 
        border-radius: 10px;
        background-color: #C0C0C0;
    }
    .result-table-mobile .table-body .tbl-row .sub-row .item-wrapper {
        width: 50%;
        padding: 10px 5px;
    }
    .result-table-mobile .table-body .tbl-row {
        border-top: 2px solid rgba(151, 151, 151, .6);
    }
    .result-table-mobile .table-body .color {
        background-color: #E7ECF0;
        /* border-top: 2px solid rgba(151,151,151,.6); */
    }
    .tbl-row .sub-row .item-wrapper {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        font-size: 14px;
        line-height: 16px;
    }
    .tbl-row .sub-row .item-wrapper .item-name, .tbl-row .sub-row .item-wrapper .item-value {
        width: 50%;
    }
    .tbl-row .sub-row .item-wrapper .month {
        font-weight: 600;
    }
    .tbl-row .sub-row .item-wrapper .item-value {
        text-align: right;
        font-weight: 600;
    }
    .result-table-mobile .table-footer .footer-wrapper {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        background-color: #E7ECF0;
        padding-top: 10px;
        padding-left: 5px;
        padding-right: 5px;
    }
    .result-table-mobile .table-footer {
        padding: 0px 0px 0px 0px;
        margin-bottom: 10px;
    }
    .result-table-mobile .table-footer .footer-wrapper .footer-row {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        padding-bottom: 5px;
    }
    .result-table-mobile .table-footer .footer-wrapper .footer-row .main-title{ 
        padding: 5px 5px 5px 5px;
        font-weight: 600;
        font-size: 18px;
        }
    .result-table-mobile .table-footer .footer-wrapper .footer-row .value, .result-table-mobile .table-footer .footer-wrapper .footer-row .title {
        width: 50%;
        line-height: 14px;
        padding: 5px 5px 5px 5px;
    }
    .result-table-mobile .table-footer .footer-wrapper .footer-row .title {
        font-weight: 500;
    }
    .result-table-mobile .table-footer .footer-wrapper .footer-row .value {
        text-align: right;
    }
    .calculator-area {
        padding-top: 45px;
        margin-bottom: 250px;
    }
}

.dropdown .btn {
    padding: 9px 20px;
    font-size: 16px;
}

.dropdown .btn-default {
    color: inherit;
}

.dropdown-menu>li>a {
    padding: 6px 20px;
    font-size: 16px;
}

.tbl-interest-calc {
    border-bottom: 1px solid #979797;
}

.you-will-receive {
    font-size: 20px;
    line-height: 42px;
    font-weight: 700;
}

.you-will-receive-money {
    text-align: right;
    color: #4F7B98;
    font-size: 36px;
    line-height: 50px;
    font-weight: 400 !important;
}

.left-aligned {
    text-align: left;
}