/*
Custom CSS
 */
.row.title-bar {
    background-color: #429ca7;
    color: #ffffff;
    padding: 10px;
}
.row.title-bar h1 {
    font-size: 2.25rem;
}
.side-box-container {
    align-self: center;
}
.side-box {
    background-color: #eeeeee;
    color: #777777;
    margin: 10px;
    padding: 10px;
}
#ans {
    padding: 10px;
}
.fin-page #ans {
    padding-top: 0px;
    margin-top: -5px;
}
#ans table {
    width: 100%;
}
#ans tbody {
    font-size: 12px;
    line-height: 12px;
    background-color: #e8ecf5;
}
#ans .thead-row-1, #ans .thead-row-2, #ans .tfoot-row-1, #ans .tfoot-row-2 {
    font-size: 14px;
    line-height: 14px;
}
#ans thead {
    text-align: center;
}
#ans td {
    padding: 1px 10px;
}
#ans th {
    padding: 3px 10px;
}
#ans .thead-row-1 .individual-1 {
    background-color: #35858c;
    color: #ffffff;

}
#ans .thead-row-1 .individual-2 {
    background-color: #da6a5e;
    color: #ffffff;
}
#ans .thead-row-2 .individual-1 {
    background-color: #a5a5a5;
}
#ans .thead-row-2 .individual-2 {
    background-color: #7f7f7f;
    color: #ffffff;
}


#ans .tfoot-row-2 .individual-1 {
    background-color: #35858c;
    color: #ffffff;

}
#ans .tfoot-row-2 .individual-2 {
    background-color: #da6a5e;
    color: #ffffff;
}
#ans .tfoot-row-1 .individual-1 {
    background-color: #a5a5a5;
}
#ans .tfoot-row-1 .individual-2 {
    background-color: #7f7f7f;
    color: #ffffff;
}
#ans .notstarted .individual-2 {
    color: #aaaaaa;
}
#ans .started .individual-1 {
    color: #aaaaaa;
}
#ans .start-row .individual-1, #ans .end-row .individual-1, #ans .retire-start-row .individual-2 {
    background-color: #fff2a8;
}
.table-float {
    position: absolute;
    font-size: 15px;
    line-height: 16px;
}
.table-float.start, .table-float.end {
    padding-left: 15px;
    left: 25px;
    text-align: right;
}
.table-float.start {
    top:20px;
}

.table-float.end {
    top: 60px;
}
.table-float.retire {
    right: 25px;
    top:60px;
    padding-right: 50px;
}
.modal-backdrop {
    background-image: url("../images/finance_bg.webp");
    transition: opacity 0.3s;
    -webkit-transition: opacity 0.3s;
    background-size: cover;
}
.modal-backdrop.show {
    opacity: 1;
}
.line {
    display: flex;
    padding: 10px 0;
    position: relative;
}
.line::after {
    content: '';
    width: 3px;
    height: 100%;
    background-color: #bfbfbd;
    position: absolute;
    left: 140px;
    top:0;

}
.line-label{
    width: 143px;
    background-color: #d9d9d9;
    overflow: hidden;
    position: relative;
    border-radius: 5px 0 0 5px;
}
.waiting {
    position: relative;
    z-index: 3;
    display: block;
    margin: 2px 0 0 4px;
    font-weight: bold;
    font-size: 15px;
}
.invested {
    position: relative;
    z-index: 3;
    display: block;
    margin: 0 0 0 4px;
    font-size: 14px;
}
.diamond-narrow {
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-bottom: 25px solid #d9d9d9;
    position: absolute;
    top: -10px;
    left: 90px;
    z-index: 2;
}
.diamond-narrow:after {
    content: '';
    position: absolute;
    left: -10px;
    top: 25px;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-top: 25px solid #d9d9d9;
}
.current_age {
    position: absolute;
    padding: 10px 5px 2px 15px;
    line-height: 30px;
    height: 50px;
    left: 146px;
    top:50%;
    border-right: 3px solid #a6a6a6;
    background-color: #a6a6a6;
    transform: translate(-100%, -50%);font-weight: bold;
    font-size: 18px;

}
.card-info .card-gray-symbol {
    color: #99A1B7;
    font-size: .9rem;
    vertical-align: top;
    font-weight: normal;
    line-height: 1.25rem;
}
.card-info p,
.card-subtitle p {
    color: #99A1B7;
}
.accordion .card-header:after {
    font-family: 'FontAwesome';  
    content: "\f068";
    float: right; 
}
.accordion .card-header.collapsed:after {
    content: "\f067"; 
}
.accordion .card-body.collapse.show {
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}
.results-overview .card-body {
    align-content: stretch;
    display: flex;
    padding: 2em 3em;
}

.radio-switch {
  position: relative;
  display: flex;
}
.radio-switch > input[type=radio] {
  width: 0;
  opacity: 0;
  margin: 0;
}
.radio-switch > label {
  user-select: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
  padding: 14px;
  z-index: 1;
  margin: 5px 0;
  color: #666;
}
.radio-switch > label:not(:last-of-type) {
  border-right: 1px solid #00000010;
}
.radio-switch > input:checked + label {
  background: #35858c;
  color: white;
  box-shadow: 1px 2px 20px #0000002b;
  border-radius: 4px;
  margin: 0;
}
.radio-switch .background {
  background: #fff;
  position: absolute;
  left: 0;
  top: 0;
  top: 10%;
  height: 80%;
  width: 100%;
  border-radius: 4px;
  box-shadow: 1px 1px 0px #00000012;
}
.gray-label-text {
    color: #99A1B7;
    font-size: .75rem;
    vertical-align: top;
}
.relative-col {
    position: relative;
}
.float-under-select.gray-label-text {
    color: #99A1B7;
    font-size: .7rem;
    vertical-align: top;
    line-height: .85rem;
    position: absolute;
    right: 15px;
}
.modal-body h6 {
    font-size: 15px;
    margin-bottom: 1rem;
}
.period h6 {
    margin-bottom: 0;
}
.container.stretch-container {
    margin-top:-5px;
    /*padding-left: 8px;
    padding-right: 8px;*/
}
.contribution-row {
    box-shadow: 1px 1px 0px #00000012;
    border-radius: 0 0 4px 4px;
    overflow: hidden;
}
.compound-contributions-container, 
.compound-withdrawals-container {
    padding: 5px 15px 10px 15px;
}
.compound-contributions-container {
    background-color: #d2ebd5;
}
.compound-withdrawals-container {
    background-color: #ebd8d2;
}

.fin-page .modal-body h6 {
    padding-right: 30px;
}
.modal-body label {
    font-size: 14px;
}
/* light grey d9d9d9 dark gray a6a6a6  red de0319 green1 5da2b1 green2 4f8995 green3 467883 green4 3b6772 */
.return-bar-container {
    flex: 1;
}
.table-container #ans {
    overflow-y: scroll;
}
.table-container #ans {
    overflow: visible;
}
.return-bar {
    position: relative;
    height: 50px;
    border-radius: 0 5px 5px 0;
}
.lost-value {
    position: absolute;
    right: -5px;
    top:50%;
    transform: translate(100%,-50%);
}
.return-value {
    position: absolute;
    right: 5px;
    top:50%;
    transform: translate(0,-50%);
}
.fix-value .return-value {
    position: absolute;
    right: -10px;
    top:25%;
    transform: translate(100%,-50%);
    color: rgb(33, 37, 41);
}
.fix-value .lost-value {
    position: absolute;
    right: -5px;
    top: 75%;
    transform: translate(100%,-50%);
}
#line1 .return-bar {
    background-color: #5da2b1;
}
#line2 .return-bar {
    background-color: #4f8995;
}
#line3 .return-bar {
    background-color: #467883;
}
#line4 .return-bar {
    background-color: #3b6772;
}
#line5 .return-bar {
    background-color: #2c5058;
}
#line6 .return-bar {
    background-color: #1f393f;
}
#line7 .return-bar {
    background-color: #172c31;
}
#line8 .return-bar {
    background-color: #15282c;
}
.return-bar {
    background-color: #0c181a;
    min-width: 5px;
}
.period-container {
    margin: 0 0 1rem 0;
    padding:0;
}
.period {
    background: #f0f0f0;
    padding-top: 8px;
    padding-bottom: 16px;
    border-radius: 0;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc; 
}
#minus_period1 {
    display: none;
}
.period .col-form-label {
    padding-bottom: 0;
    padding-top: 0;
}
.period.form-group {
    margin-bottom: 0;
}
.period-title {
    float:left;
}
.add-period-container,
.minus-period-container {
    text-align: center;
    float:right;
}
.add-period {
    background-color: #35858c !important;
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1.8rem;
    color: #fff;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
}
.minus-period {
    background-color: #8c3b35 !important;
    cursor: pointer;
    font-size: .75rem;
    line-height: .9rem;
    color: #fff;
    border-radius: 50%;
    width: 1rem;
    height: 1rem;
}
.interest-calc-page-body {
    background-color: #fcfcfc;
}
.interest-results .minimal-header.card-header {
    background-color: transparent !important;
    border-bottom: 0 !important;
}
.interest-results h5 {
    color: #3b4056;
}
.results-icon-container {
    background-color:#666cff33 !important;
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
    color: #666cff !important;
    min-width: 2.5rem;
    min-height: 2.5rem;
    text-align: center;
}
.results-icon-container.ri-1 {
    background-color:#6689ff33 !important;
    color: #6689ff !important;
}
.results-icon-container.ri-2 {
    background-color:#55d28333 !important;
    color: #55d283 !important;
}
.results-icon-container.ri-3 {
    background-color:#d5dd6033 !important;
    color: #d5dd60 !important;
}
.results-icon-container.ri-4 {
    background-color:#ff9f6633 !important;
    color: #ff9f66!important;
}
.results-icon-container.ri-5 {
    background-color:#ff66eb33 !important;
    color: #ff66eb !important;
}
.results-icon-container.ri-6 {
    background-color:#5adadd33 !important;
    color: #5adadd !important;
}
.card-body .results-icon-container.bad-result {
    background-color:#ff666833 !important;
    color: #ff6668 !important;
}
/* red #ff6668 */
.results-icon {
    font-size: 1.5rem;
}

.compound-contributions-container,
.compound-withdrawals-container {
    display: none;
}
#period_template {
    display: none;
}
.return-value {
    color: #ffffff;
}
.lost-value {
    color: #de0319;
}
#ans.bar-graph {
    padding: 0 10px 10px 10px;
}
.waiting-title {
    color: #325372;
    border-bottom: 1px solid #325372;
    padding: 16px 0;
    text-align: center;
    margin-top: 10px;
    font-size: 32px;
}
.waiting-subtitle {
    font-weight: 700;
    text-align: center;
    font-size: 26px;
    margin: 15px auto 0;
}
.waiting-subtitle-gray {
    color: #7f7f7f;
    text-align: center;
    margin-top: 5px;
    font-size: 20px;
}
.waiting-bottom-header {
    font-weight: 700;
    text-align: center;
    font-size: 24px;
    color: #d80317;
}
.waiting-disclosure {
    line-height: 1;
    color: #777;
    font-size: 12px;
}
.lost-value, .return-value {
    white-space: nowrap;
}

.hidden-vals {
    display: none;
    background-color: #eaeaea;
    border: 1px solid #999;
    border-radius: 10px;
    padding: 5px;
    position: absolute;
    top: 0;
    right: 15px;
    z-index: 1;
    text-align: left;
}
.fin-val-container {
    position: relative;
}
.hidden-val-wrapper {
    text-align: right;
}
.hidden-val-wrapper .hidden-hover {
    padding: 5px;
    color: #35858c;
    cursor: pointer;
    font-size: 24px;
    z-index: 2;
    position: relative;
}

.hidden-val-wrapper .hidden-vals.show-hidden-vals {
    display: block;
}
.fin-page #ans thead {
    background-color: #35858c;
    color: #fff;
    text-align: left;
}

.fin-page #ans .tr-odd {
    background-color: #ccc;
}

.fin-page #ans #sav_req_tbl tbody {
    background: #e8ecf5;
}
.fin-page #ans #sav_req_tbl.highlight {
    margin: 0 -3px 3px;
    border: 6px solid #41ce26;
    box-sizing: content-box;
}
.fin-page #ans #sav_req_tbl.highlight {
    margin: 0 -3px 3px;
    border: 6px solid #41ce26;
    box-sizing: content-box;
}
.highlight-arrow {
    display: none;
}
.arrow {
    margin: 6px;
    display: inline-block;
    height: 12px;
    position: relative;
    width: 12px;
}
.arrow::after {
    border-bottom-style: solid;
    border-bottom-width: 2px;
    border-right-style: solid;
    border-right-width: 2px;
    content: "";
    display: inline-block;
    height: 12px;
    left: 0;
    position: absolute;
    top: 0;
    width: 12px;
}
.arrow.is-triangle::after {
    border-style: solid;
    border-width: 0 0 16px 16px;
    height: 0;
    width: 0;
}
.arrow.arrow-bar::before {
    bottom: 4px;
    content: "";
    height: 20px;
    position: absolute;
    right: 0;
    transform-origin: bottom;
    width: 8px;
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
.arrow.is-left {
    -moz-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
}
.arrow::after,
.arrow .arrow::after {
    border-color: #41ce26;
}
.arrow.is-triangle::after,
.arrow .arrow.is-triangle::after {
    border-color: transparent;
    border-bottom-color: #41ce26;
}
.arrow::before,
.arrow .arrow::before {
    background-color: #41ce26;
}
.fin-page #ans #sav_req_tbl.highlight .highlight-arrow {
    display: block;
    position: absolute;
    right: 8px;
    transform: translateX(100%);
    top: 20px;
}
.highlight-text {
    vertical-align: top;
    padding: 2px 0 2px 4px;
    font-weight: 600;
}
.fin-page #ans table {
    margin-bottom: 10px;
}
.fin-page .container-fluid .table-container {
    min-height: 100vh;
    margin-top: -68px;
    margin-bottom: -65px;
    padding-top: 68px;
    padding-bottom: 65px;
    align-content: center;
}
.fin-page .container-fluid .col-ans {
    align-self: center;
}
.fin-page .col-recalc button {
    margin: 5px;
}
.fin-page #ans #bal_tbl tbody td {
    padding: 2px 10px;
}
.input-toggle {
    position: absolute;
    top: -10px;
    right: 15px;
    color: #35858c;
    cursor: pointer;
    font-size: 24px;
}
.percent-input {

}
.percent-input::before {
    content: '%';
    position:absolute;
    right: 50px;
    top: 6px;
}
.interest-container, .money-input-container {
    position: relative;
    margin-bottom: 2px;
}
.interest-container .percent-input::before {
    right: 10px;
    top: 7px;
}
.form-control.interest-rate-input {
    padding-right: 26px;
    text-align: right;
}
.form-control.interest-rate-input:not(:focus) {
    border: none;
}
.money-input input.form-control {
    padding-left: 20px;
}
.money-input-container .money-input::before {
    content: '$';
    position:absolute;
    left: 10px;
    top: 7px;
}
.card-info .green-text {
    color: #408040;
}
.card-info .red-text {
    color: #804040;
}
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}
.hidden-field {
    display: none;
}
.fin-header {
    margin: 5px auto;
    text-align: center;
}
#ans .main-tbl-header {
    font-size: 14px;
    background-color: #35858c;
    color: #fff;
    padding: 4px 10px;
    font-weight: 700;
}
#ans .secondary-tbl-header {
    background-color: #7f7f7f;
    font-size: 12px;
    padding: 2px 10px;
}
#ans #sav_req_tbl td {
    padding: 3px 10px;
}
#ans #hidden_table {
    margin-top: 35px;
}
#ans #hidden_table tbody {
    background-color: transparent;
}
#ans #hidden_table tbody td {
    border: 1px solid #d0d0d0;
    padding: 4px 8px;
}
#ans .ror-row {
    background-color: #ccc;
}
#ans .need-row {
    background-color: #e8ecf5;
}
#ans .ror-row .row-label {
    background-color: #666;
    color:#fff;
    font-size: 13px;
    font-weight: 600;
}
#ans .need-row .row-label {
    background-color: #888;
    color:#fff;
    font-size: 13px;
    font-weight: 600;
}
.disclaimer-col p {
    font-size: 10px;
    margin-bottom: 5px;
    color: #777;
}
.footer-row {
    margin-top: 10px;
}
.col-fin {
    text-align: center;
}
.col-fin h4 {
    font-weight: 700;
    text-align: center;
    font-size: 26px;
    background-color: #eeeeee;
    display: inline-block;
    margin: 1rem auto 0.5rem;
    padding: 12px 24px;
    box-shadow: 0 0 5px #aaa;
    border-radius: 2px;
}

.control-label:after {
    content:"*";
    color: #d20505;
    font-size: 14px;
    font-weight: bolder;
}

.modal-nav {
    z-index: 1051;
}

.modal.show .modal-dialog.modal-header-fix {
    margin-top: 6rem;
}

.col-client-table {
    display: none;
}
.has-spouse-show {
    display: none;
}
.name-date {
    display: none;
    font-size: 1.1rem;
}
table.life-fin {
    margin-top: 1rem;
    border: 6px solid #41ce26;
}
table.life-fin th, table.life-fin td {
    padding: 0.1rem 0.75rem;
    font-size: 0.9rem;
    text-align: center;
    vertical-align: middle;
}
table.life-fin th.final-choice-header {
    text-align: left;
}
@media (max-width: 1280px) {
    .table-float.start, .table-float.end {
        padding-left: 15px;
    }
    .table-float.retire {
        padding-right: 15px;
    }
    #ans .thead-row-1, #ans .thead-row-2, #ans .tfoot-row-1, #ans .tfoot-row-2 {
        font-size: 12px;
        line-height: 12px;
    }
}

@media (max-width: 991px) {

}


@media (max-width: 767px) {
    .table-float {
        display: none;
    }
    .waiting-subtitle {
        font-size: 20px;
    }
    .waiting-subtitle-gray {
        font-size: 16px;
    }

}

@media (max-width: 576px) {

}
@media (max-width: 512px) {
    .navbar-brand h3 {
        font-size: 1.5rem;
        margin-bottom: 0;
    }
    .col-ans {
        padding-left: 0;
        padding-right: 0;
    }
    .fin-page .col-ans {
        padding-left: 15px;
        padding-right: 15px;
    }
    #ans {
        padding-left: .25rem !important;
        padding-right: .25rem !important;
    }
    #ans th {
        padding: 3px;
    }
    .waiting {
        margin: 9px 0 0 3px;
        font-weight: bold;
        font-size: 11px;
        font-weight: 500;
    }
    .invested {
        margin: 0 0 0 3px;
        font-size: 10px;
        font-weight: 400;
    }
    .line-label {
        width: 118px;
    }
    .diamond-narrow {
        left: 61px;
    }
    .current_age {
        left: 118px;
    }
    .line::after {
        left: 115px;
    }
    .lost-value, .return-value {
        font-size: 12px;
    }
    .fix-value .return-value {
        top: 30%;
    }
    .fix-value .lost-value {
        top: 70%;
    }
    .hidden-vals {
        right: 10px;
    }
}
@media (max-width: 400px) {
    .navbar-brand h3 {
        font-size: 1.35rem;
        margin-bottom: 0;
    }
    .col-ans {
        padding-left: 0;
        padding-right: 0;
    }
    .fin-page .col-ans {
        padding-left: 15px;
        padding-right: 15px;
    }
    #ans {
        padding-left: .25rem !important;
        padding-right: .25rem !important;
    }
    #ans th {
        padding: 2px;
        font-weight: 500;
    }
    #ans tbody, #ans .thead-row-1, #ans .thead-row-2, #ans .tfoot-row-1, #ans .tfoot-row-2 {
        font-size: 10px;
    }
    .current_age {
        left: 104px;
        font-size: 12px;
        padding: 10px 2px 2px 12px;
    }
    .line-label {
        width: 104px;
    }
    .diamond-narrow {
        left: 61px;
    }
    .line::after {
        left: 101px;
    }
}
@media (max-width: 350px) {
    .navbar-brand h3 {
        font-size: 1.05rem;
    }
    h5.modal-title {
        font-size: 1.15rem;
    }
    .nav-link {
        font-size: 0.9rem;
    }
    #ans {
        padding-left: .175rem !important;
        padding-right: .175rem !important;
    }
    #ans th {
        padding: 1px;
    }
    #ans .thead-row-1, #ans .thead-row-2, #ans .tfoot-row-1, #ans .tfoot-row-2 {
        font-size: 9px;
    }
    #ans tbody {
        font-size: 8px;
    }

    .invested {
        font-size: 9px;
    }
    .waiting {
        margin: 10px 0 0 3px;
        font-size: 10px;
    }
    .current_age {
        left: 97px;
        font-size: 11px;
        padding: 10px 0px 2px 12px;
    }
    .line-label {
        width: 97px;
    }
    .diamond-narrow {
        left: 56px;
    }
    .line::after {
        left: 94px;
    }
}
