.loan-calculator-field {
    display: flex;
    column-gap: 30px;
    padding: 40px;
}
.loan-term {
    display: flex;
    justify-content: center;
    position: relative;
}
.select-unit {
    position: relative;
    top: 30px;
}
.sfs-total-cost-wrapper .inner-result {
    width: 100%;
    max-width: 500px;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    font-size: 20px;
    font-weight: 500;
}
.sfs-total-cost-wrapper {
    padding: 30px 20px;
    background:rgb(16 42 84 / 7%);
    margin-bottom: 0;
}
.sfs-total-cost-wrapper .inner-result span {
    font-weight: 600;
    font-size: 20px;
}
.tc-graph-btn a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 20px;
}
.tc-graph-btn a:hover {
    color: #333;
}
.sfs-graph-wrapper .result-wrapper {
    padding: 40px;
    display: flex;
    justify-content: space-around;
    align-items: start;
}
.sfs-graph-wrapper .inner-result {
    text-align: center;
}
.sfs-graph-wrapper .inner-result span {
    font-weight: 600;
    font-size: 24px;
    color: #333;
}
.schedule-tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-size: 17px;
}
.schedule-tab button:hover {
    background-color: #ddd;
}
.tabcontent {
    display: none;
    padding: 0;
    margin-top: 15px;
}
#schedule th, #schedule td , #monthly-schedule th, #monthly-schedule td {
    border-left: 0;
    border-right: 0;
    text-align: center;
    background: transparent;
    position: relative;
}
.arrow-change i.fa {
    transform: rotate(180deg);
}
.schedule-secton .schedule-tab {
    padding: 7px 0;
}
.schedule-secton .schedule-tab a.schedule-tablinks {
    padding: 9px 7px;
    text-align: center;
    color: #333;
    font-weight: 500;
    font-size: 19px;
    margin-right: 25px;
    cursor: pointer;
}
.schedule-secton .schedule-tab a.active {
    color: #ff9a00;
}
.schedule-secton {
    padding: 30px;
}  
.schedule-secton .schedule-tab a.active {
    color: #ff9a00;
    border-bottom: 2px solid #ff9a00;
}
div#loan-calculator {
    box-shadow: 0 0 8px rgba(0,0,0,0.15);
    border-radius: 10px 10px 0 0;
    margin: 50px 0;
}
header.page-header {
    display: none;
}
.loan-calculator-header {
    padding: 40px 40px 20px;
    border-bottom: 1px solid #ccc;	
    background: #102a54;
    color: white;
    border-radius: 10px 10px 0 0;
}
.loan-calculator-body {
    padding:40px;
}
input#loan-term {
    border-right: 0;
    border-radius: 3px 0px 0px 3px;
}	
span.term_amount_error {
    color: red;
    display: block;
    position: absolute;
    bottom: -30px;
    left: 0;
}
select#term-unit {
    padding: 10px 5px 9px;
    border-radius: 0 3px 3px 0;
    width: 120px;
}	
.loan-calculator-field input, select {
    border: 1px solid #ccc;
}
.loan-calculator-field label {
    font-size: 20px;
    margin-bottom: 10px;
}
.clc-btn {
    margin-bottom: 50px;
}
.tc-graph-btn {
    margin-top: 30px;
}
button#calculate {
    color: var(--e-global-color-2cfb505);
    border: none;
    padding: 20px 80px;
}
.clc-btn button#calculate:hover {
    background: var( --e-global-color-2cfb505 );
    color: white;
    border: none;
}
button#calculate:focus {
    color: white;
}
.sfs-graph-wrapper .inner-result span.sub-title {
    font-size: 15px;
    line-height: 24px;
    color: hsl(217deg 68% 20% / 80%);
    display: block;
}
span.loan_amount_error {
    color: red;
}
.loan-calculator-field .loan-amount {
    flex: 0 0 33.33%;
}
.loan-calculator-header h2 {
    margin-bottom: 5px;
}
.result-wrapper h3 {
    margin-top: 0;
}
#monthly-schedule-pagination {
    text-align: center;
    line-height: 2.1;
    margin-bottom: 10px;
}
#monthly-schedule-pagination button.next-button {
    float: right;
    background: transparent;
    border: none;
    padding: 10px;
    color: var(--e-global-color-e73e2be);
    outline: none;
}
#monthly-schedule-pagination .pre-button {
    float: left;
    background: transparent;
    border: none;
    padding: 10px;
    color: var(--e-global-color-e73e2be);
    outline: none;
}
#monthly-schedule-pagination button:hover {
    color: black;
}
#monthly-schedule-pagination button.disabled {
    opacity: 0.5;
    pointer-events: none;
}
.esimated-payoff-date {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    margin: 30px 0px;
  }
  .form-date-details {
    text-align: right;
  }
@media only screen and (max-width:767px){
    .loan-calculator-field {
        flex-flow: column;
    }
    .loan-term {
        justify-content: start;
    }
    .tc-graph-btn a {
        font-size: 15px;
    }
    .sfs-graph-wrapper .result-wrapper {
        flex-flow: column;
        align-items: center;
    }
    .loan-calculator-field .loan-amount, .loan-calculator-field .loan-term, .loan-calculator-field .apr {
        margin-bottom: 15px;
    }
}
@media only screen and (max-width:580px){
    .schedule-secton table td, .schedule-secton table th {
        padding: 5px;
        width: 100%;
        display: block;
        border-top: 0;
    }
    #schedule th, #schedule td, #monthly-schedule th, #monthly-schedule td {
        text-align: left;
        padding-left: 160px;
    }
    .schedule-secton table thead {
        display: none;
    }
    #annual-schedule-body td:nth-child(1):before {
        content: 'Year:';
        font-weight: 600;
        position: absolute;
        left: 10px;
    }
    #annual-schedule-body td:nth-child(2):before {
        content: 'Beginning Balance:';
        font-weight: 600;
        position: absolute;
        left: 10px;
    }
    #annual-schedule-body td:nth-child(3):before {
        content: 'Interest:';
        font-weight: 600;
        position: absolute;
        left: 10px;
    }
    #annual-schedule-body td:nth-child(4):before {
        content: 'Principal:';
        font-weight: 600;
        position: absolute;
        left: 10px;
    }
    #annual-schedule-body td:nth-child(5):before {
        content: 'Ending Balance:';
        font-weight: 600;
        position: absolute;
        left: 10px;
    }
    #monthly-schedule-body td:nth-child(1):before {
        content: 'Payment Date:';
        font-weight: 600;
        position: absolute;
        left: 10px;
    }
    #monthly-schedule-body td:nth-child(2):before {
        content: 'Payment:';
        font-weight: 600;
        position: absolute;
        left: 10px;
    }
    #monthly-schedule-body td:nth-child(3):before {
        content: 'Beginning Balance:';
        font-weight: 600;
        position: absolute;
        left: 10px;
    }
    #monthly-schedule-body td:nth-child(4):before {
        content: 'Interest:';
        font-weight: 600;
        position: absolute;
        left: 10px;
    }
    #monthly-schedule-body td:nth-child(5):before {
        content: 'Principal:';
        font-weight: 600;
        position: absolute;
        left: 10px;
    }
    #monthly-schedule-body td:nth-child(6):before {
        content: 'Ending Balance:';
        font-weight: 600;
        position: absolute;
        left: 10px;
    }
}

