body{
    overflow: auto;
}

td{
    font-size: 14px;
}

footer.footer{
    background: var(--primary-color);
    padding: 10px;
    /* position: fixed;
    bottom: 0;
    left: 0;
    right: 0; */
}

footer.footer p{
    text-align: center;
    color: var(--white-color);
}

.paymentImage img{
    display: block;
    border-top: 1px solid var(--primary-color);
}

.mainArea{
    height: calc(100vh - 50px);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    max-width: 650px;
    margin: auto;
}

.logo img{
    max-width: 400px;
    padding-bottom: 15px;
    display: block;
    margin: auto;
}

.formblock{
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 15px;
    box-shadow: inset 0 7em 10em -5em rgba(255,255,255,.6),0 .3em .5em -.2em rgba(153,153,153,1),0 1em 2em -.75em rgba(153,153,153,.75),0 1em 3em -.5em rgba(153,153,153,.5),0 3em 3em -.25em rgba(153,153,153,.2);
    max-width: 500px;
    width: 100%;
}

.sub_btn{
    max-width: 80%;
    margin: 30px auto 0;
    display: block;
}

.paymentForm input,
.login input{
    background-color: var(--white-color);
}

.formTitle{
    text-align: center;
    color: var(--white-color);
    padding-bottom: 30px;
}

.payslipForm{
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 15px;
    box-shadow: inset 0 7em 10em -5em rgba(255,255,255,.6),0 .3em .5em -.2em rgba(153,153,153,1),0 1em 2em -.75em rgba(153,153,153,.75),0 1em 3em -.5em rgba(153,153,153,.5),0 3em 3em -.25em rgba(153,153,153,.2);
    max-width: 600px;
    width: 100%;
}

.payslipForm th,
.payslipForm td{
    border: 1px solid var(--white-color);
    color: var(--white-color);
    padding: 5px 10px;
}

.payslipForm td{
    text-align: left;
}

.payslipForm tr:last-child td, 
.payslipForm tr:last-child th {
    border: 0;
}

/* .confirm tr:last-child td, 
.confirm tr:last-child th {
    border: 1px solid var(--white-color);
} */

.back_btn{
    text-align: center;
    font-size: 18px;
    padding: 0 15px;
    line-height: 50px;
    background-color: var(--danger-color);
    color: var(--white-color);
    border: 0;
    border-radius: 10px;
    cursor: pointer;
}

.back_btn:hover{
    color: var(--white-color);
}

label{
    color: var(--white-color);
}

.checkboxFields input{
    width: auto;
    display: inline-block;
}

.checkboxFields label a{
    color: var(--hover-color);
}

.footermenu li{
    display: inline-block;
    border-right: 1px solid var(--white-color);
}

.footermenu li:last-child{
    border-right: 0;
}

.footermenu li a{
    color: var(--white-color);
    padding: 0 10px;
}

.footermenu li a:hover{
    color: var(--hover-color);
}

.policyArea{
    max-width: 1200px;
    margin: 20px auto 100px;
}

.logo a{
    display: block;
    text-align: center;
}

.policyArea h3{
    font-size: 30px;
    color: var(--primary-color);
    padding-bottom: 10px;
}

.policyArea h5{
    font-size: 25px;
    color: var(--primary-color);
    padding-bottom: 10px;
}

.policyArea p,
.policyArea strong{
    padding-bottom: 10px;
}

.policyArea ul{
    padding-left: 20px;
    padding-bottom: 10px;
}

.input-group {
    position: relative;
}

.input-group-text {
    position: absolute;
    top: 35px;
    right: 10px;
    color: var(--hover-color);
    cursor: pointer;
}

.error {
    background-color: var(--danger-color);
    padding: 10px;
    text-align: center;
    color: var(--white-color);
    margin-bottom: 20px;
}

.header{
    padding: 10px 10px 0;
    border-bottom: 1px solid var(--primary-color);
}

.menu {
    max-width: 180px;
    width: 100%;
    background-color: var(--third-color);
    max-height: calc(100vh - 150px);
    min-height: calc(100vh - 150px);
    overflow-y: scroll;
}

nav li a {
    display: block;
    padding: 15px 20px;
    border-bottom: 2px solid var(--white-color);
    position: relative;
    color: var(--primary-color);
}

nav li a:hover, nav li.active a {
    background-color: var(--hover-color);
    color: var(--white-color);
}

.bodyContent {
    padding: 30px;
    width: 100%;
    max-width: calc(100% - 180px);
    max-height: calc(100vh - 150px);
    overflow-y: scroll;
    min-height: calc(100vh - 150px);
}

h2.pageTitle {
    font-size: 25px;
    line-height: 30px;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 15px;
    color: var(--text-color);
}

h2.pageTitle::after {
    content: "";
    width: 100px;
    height: 3px;
    background-color: var(--hover-color);
    position: absolute;
    top: 100%;
    left: 0;
}

h6.current_time {
    color: var(--text-color-2);
}

.formBlock {
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5);
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
    padding: 20px;
    margin: 20px 0;
    position: relative;
}

h4.form_section_title {
    background-color: var(--primary-color);
    padding: 10px;
    line-height: normal;
    font-size: 20px;
    color: var(--white-color);
    font-weight: 500;
    text-transform: capitalize;
    margin: 10px;
}

.formBlock label{
    color: var(--text-color-2);
}

.formBlock .sub_btn{
    max-width: 50%;
    background-color: var(--primary-color);
    color: var(--white-color);
}

.formBlock .sub_btn:hover{
    background-color: var(--hover-color);
    color: var(--white-color);
}

.edit-btn{
    padding: 0px 25px;
    line-height: 40px;
    background-color: var(--primary-color);
    text-align: center;
    color: var(--white-color);
    display: inline-block;
    border-radius: 15px;
}

.edit-btn:hover{
    background-color: var(--hover-color);
    color: var(--white-color);
}

.threeColumnLayer{
    margin-top: 30px;
}

.threeColumnLayer > div {
    width: 100%;
    max-width: calc(33% - 20px);
    margin: 10px;
}

.box-shape {
    background-color: var(--white-color);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    padding: 20px;
}

.box-shape i {
    width: 70px;
    max-height: 70px;
    line-height: 70px;
    text-align: center;
    background-color: var(--hover-color);
    color: var(--white-color);
    font-size: 30px;
    border-radius: 50%;
}

.box-shape figcaption {
    max-width: calc(100% - 70px);
    width: 100%;
    padding-left: 10px;
}

.box-shape h5 {
    font-size: 18px;
    font-weight: 600;
    line-height: 25px;
    color: var(--text-color-2);
}

.box-shape h2 {
    font-size: 25px;
    color: var(--primary-color);
    text-transform: capitalize;
    line-height: 45px;
}

.lowercase{
    text-transform: lowercase;
}

.loading-spinner {
    position: absolute;
    top: 0;
    background: rgba(0,0,0,0.4);
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#loading-text {
    font-size: 50px;
    font-weight: 700;
    color: var(--white-color);
}

@media(max-width: 768px){
    .mainArea{
        justify-content: start;
        padding: 60px 15px;
        height: 90vh;
    }

    .formblock,
    .payslipForm{
        padding: 30px 0px;
    }

    footer.footer{
        position: unset;
    }

    .footermenu{
        text-align: center;
        padding-bottom: 10px;
    }
}