
.retirement-investing-wrapper{
    position: relative;
}
.ric-container{
    width: 100%;
    margin: 0 auto;
    background: #051638;
    border-radius: 3px;
    padding-bottom: 10px;
    
}
.ric-container *{
    font-family: 'Lato', sans-serif;
    color: #000;
}
.ric-body{
    background: #FFF;
    width: 97%;
    margin: 0 auto;
    padding-top: 20px;
    border-radius: 3px;
}

.ric-header h2{
    font-size: 28px;
    margin: 0!important;
    padding: 10px 50px;
    color: #fff !important;
    font-weight: 400;
    text-align: left;
    user-select: none;
}

.ric-secRow{
    display: flex;
    align-items: center;   
    justify-content: space-between;
    margin: 10px 0;
}

.ric-secRow label{
    font-size: 18px;
    font-weight: 400;
    color: #000;
    border-radius: 2px;
    user-select: none;
}

.ric-inp{
    height: 35px;
    width: 25%!important;
    font-size: 16px!important;
    padding: 4px 8px!important;
    border-radius: 3px!important;
    border: 1px solid #dae0e8;
}
.ric-inp:focus{
    border-color: #505C74!important;
}
.ric-inpBox .ric-inp{
    width: 100%!important;
    border-top-right-radius: 0!important;
    border-bottom-right-radius: 0!important;
    border-right: none!important;
}
.ric-inpBox .ric-inp:focus + .ric-perSign{
    border-color: #505C74!important;
}
.ric-inpBox span{
    border: 1px solid #dae0e8;
    height: 35px!important;
    /* width: 25%!important; */
    font-size: 16px!important;
    padding: 4px 8px!important;
    border-radius: 3px!important;
    border-top-left-radius: 0!important;
    border-bottom-left-radius: 0!important;
    border-left: none!important;
    color: #051638;
}
.ric-inpBox,
.ric-resBox{
    display: flex;
    align-items: center;
    width: 25%;
    position: relative;
}
.ric-inpBox:before {
    content: attr(data-value); /* value that that refers to CSS 'content' */
    position: absolute;
    top: 2px;
    left: 5px;
    width: 80%;
    height: 93%;
    font-size: 12px;
    display: flex;
    align-items: center;
    background-color: #fff;
    font-size: 16px;
    z-index: var(--check-primary, -1);
}
.ric-table .ric-inpBox:before {
    background-color: #e6d2c3;
    width: 100%;
    font-size: 13px;
    height: 100%;
    top: 0px;
    left: 0px;
    padding: 4px;
    box-sizing: border-box !important;
}

.ric-label{
    display: flex;
    align-items: center;
}
.ric-tooltip{
    height: 25px;
}

.ric-inpSec{
    width: 95%;
    margin: 0 auto;
    border-bottom: 1px solid #505c742d;
    padding-bottom: 20px;
}

/* graph section */
.ric-chartSec{
    padding: 20px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ric-chartSecLeft,
.ric-chartSecRight{
    width: 100%;
}
.ric-chartSecHead span{
    font-size: 18px;
    font-weight: 300;
    user-select: none;
}


/* table */
.ric-tableSec{
    overflow-x: scroll;
    padding: 10px 5px;
    padding-bottom: 0;
}

.ric-table{
    font-size: 14px;
    border-collapse: collapse;
}
.ric-table tr td{
    border: 1px solid #ccc;
    text-align: center;
    font-size: 16px;
    padding: 3px 2px;
}
.result-text{
    font-weight: bold;
    font-size: 20px;
    display: flex;
    width: 100%;
}

.ric-table tbody tr:nth-child(even){
    background-color: #F1F1F1;
}
.ric-table tr th{
    font-weight: 700;
    user-select: none;
    background: #F1F1F1;
    width: 10.5%;
    border: 1px solid #ccc;
    font-size: 16px;
    text-align: center;
}
.ric-table tr th:first-child{
    width: 2%;
}
.ric-table tr th:nth-child(4),
.ric-table tr th:nth-child(5)
{
    width: 9%;
}
.ric-table tr th:nth-child(8)
{
    width: 12%;
}
.ric-table tr th:nth-child(10)
{
    width: 13%;
}
.ric-table .ric-inpBox{
    width: 100%;
}
.ric-table .ric-inp{
    width: 100%!important;
    border: none!important;
    background: transparent!important;
    border-bottom: 1px solid lightgray!important;
    border-radius: 0!important;
    transition: .2s!important;
    font-size: 14px!important;
    background: #e1ab811f!important;
    height: 28px;
}
.ric-table .ric-inp:hover{
    border-bottom: 1px solid #24335163!important;
}
.ric-table .ric-inp:focus{
    border: none!important;
    border-bottom: 1px solid #243351!important;
}
.ric-table .ric-inp::placeholder{
    color: #D3D3D3!important;
}
.print-button-section{
    display: flex;
    justify-content: center;
    align-items: center;
}
#calculate,
.print-button-section button{
    color: #fff !important;
    background: #D5884F !important;
    margin: 5px 0;
    width: 50%;
    font-weight: bold;
    margin-top: 10px;
}

.print-action .ric-secRow label{
    font-size: 14px !important;
}
.print-action .ric-chartSec{
    display: block;
    flex-direction: column;
    justify-content: center;
}
.print-action .ric-chartSecLeft,
.print-action .ric-chartSecRight{
    width: 50%;
    position: relative;
    left: 10%;
}
.print-action .ric-tableSec {
    padding: 10px;
}
.print-action .ric-table tr th{
    font-size: 10px !important;
}
.print-action .ric-table tr td{
    font-size: 10px;
}

.print-action .ric-table .ric-inp{
    height: 25px !important;
    
}
.print-action .tooltipIco{
    display: none;
}
@media print{
    .print-action .print-button-section button{
        display: none
    
    }
}

/* Tooltip */
  .tooltipIco {
    position: relative;
    font-size: 13px;
    width: 20px;
    height: 20px;
    border: 1px solid #051638;
    line-height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 25px;
    cursor: pointer!important;
    margin-left: 10px;
    user-select: none;
    color: #051638;
    font-weight: bold;
}
.tooltipIco:hover span {
    opacity: 1;
    transform: translate(-50%, 0);
    display: block;
}
.tooltipIco span {
    display: none;
    position: absolute;
    left: 50%;
    bottom: 100%;
    opacity: 0;
    margin-bottom: 12px;
    padding: 12px;
    border-radius: 4px;
    width: 300px;
    background-color: #051638;
    color: #fff;
    font-size: 16px;
    line-height: 1.6;
    text-align: left;
    text-align: center;
    transform: translate(-50%, 1em);
    transition: all 0.15s ease-in-out;
}
.tooltipIco span a{
    color: #fff!important;
    font-size: 14px;
    line-height: 1;
}
.tooltipIco span::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    width: 0;
    height: 0;
    border: 0.5em solid transparent;
    border-top-color: #000;
    transform: translate(-50%, 0);
}



@media screen and (max-width: 1200px){
    .ric-chartSec {
        display: block;
    }
    .ric-chartSecLeft, .ric-chartSecRight {
        width: 100%;
    }
    .ric-secRow {
        display: block;
    }
    .ric-inp {
        width: 100%!important;
    }
    .ric-inpBox {
        display: flex;
        align-items: center;
        width: 100%;
    }
    .ric-tableSec {
        padding: 0;
    }
    .print-action .ric-chartSecLeft, .print-action .ric-chartSecRight {
        width: 100%;
        left: 0%;
    }
}
@media screen and (max-width: 768px){
    .ric-header h2{
        font-size: 22px;
    }
    .ric-secRow label {
        font-size: 14px;
    }
    .ric-table tr th,
    .ric-table tr td {
        font-size: 12px !important;
        padding: 3px 2px;
    }
    
}

.lds-roller-container{
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 111;
    background: #fff;
}
.hide-elem{
    display: none;
}
.lds-roller {
    display: block;
    width: 80px;
    height: 80px;
    position: absolute;
    left: 50%;
    margin-left: -40px;
    top: 90%;
    
  }
  .lds-roller div {
    animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    transform-origin: 40px 40px;
  }
  .lds-roller div:after {
    content: " ";
    display: block;
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #000;
    margin: -4px 0 0 -4px;
  }
  .lds-roller div:nth-child(1) {
    animation-delay: -0.036s;
  }
  .lds-roller div:nth-child(1):after {
    top: 63px;
    left: 63px;
  }
  .lds-roller div:nth-child(2) {
    animation-delay: -0.072s;
  }
  .lds-roller div:nth-child(2):after {
    top: 68px;
    left: 56px;
  }
  .lds-roller div:nth-child(3) {
    animation-delay: -0.108s;
  }
  .lds-roller div:nth-child(3):after {
    top: 71px;
    left: 48px;
  }
  .lds-roller div:nth-child(4) {
    animation-delay: -0.144s;
  }
  .lds-roller div:nth-child(4):after {
    top: 72px;
    left: 40px;
  }
  .lds-roller div:nth-child(5) {
    animation-delay: -0.18s;
  }
  .lds-roller div:nth-child(5):after {
    top: 71px;
    left: 32px;
  }
  .lds-roller div:nth-child(6) {
    animation-delay: -0.216s;
  }
  .lds-roller div:nth-child(6):after {
    top: 68px;
    left: 24px;
  }
  .lds-roller div:nth-child(7) {
    animation-delay: -0.252s;
  }
  .lds-roller div:nth-child(7):after {
    top: 63px;
    left: 17px;
  }
  .lds-roller div:nth-child(8) {
    animation-delay: -0.288s;
  }
  .lds-roller div:nth-child(8):after {
    top: 56px;
    left: 12px;
  }
  @keyframes lds-roller {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  