html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    background-color: #EDEDED !important;
}

.navBarBg {
    --bs-bg-opacity: 1;
    background-color: #013E5A;
}

.text-light {
    color: #e8ecaa !important;
}

.nav-pills > .active > a, .nav-pills > .active > a:hover {
    background-color: red !important;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    background-color: #013E5A !important;
    color: #e8ecaa !important;
}

.btn-primary {
    background-color: #013E5A !important;
}

.font-weight-bold {
    font-weight: bold;
}

.cardHeader {
    background-color: #013E5A;
    color: #e8ecaa !important;
    font-weight: bold;
}


.progress-bar {
    height: 7px;
    background-color: rgba(5, 114, 206, 0.2);
    width: 100%;
    overflow: hidden;
}

.progress-bar-value {
    width: 100%;
    height: 100%;
    background-color: rgb(5, 114, 206);
    animation: indeterminateAnimation 1s infinite linear;
    transform-origin: 0% 50%;
}

@keyframes indeterminateAnimation {
    0% {
        transform: translateX(0) scaleX(0);
    }

    40% {
        transform: translateX(0) scaleX(0.4);
    }

    100% {
        transform: translateX(100%) scaleX(0.5);
    }
}

a {
    color: #006185;
    text-decoration: none;
    background-color: transparent;
}

/*  a:hover {
        color: #002939 !important;
        text-decoration: underline
    }*/

/*    a:not([href]):not([tabindex]), a:not([href]):not([tabindex]):focus, a:not([href]):not([tabindex]):hover {
        color: inherit;
        text-decoration: none
    }

        a:not([href]):not([tabindex]):focus {
            outline: 0
        }
*/

.hoverColor:hover {
    color: #B7DB57;
}

.emphasizeInfo {
    font-weight: 600;
}

.emphasizeInfoWithColor {
    font-weight: 600;
    color: #013E5A;
}


.ghost-div {
    border-radius: 8px !important;
    border: 4px solid #e2eaee;
    background-color: #f8f8ff
}

.CurvedBorder {
    border-radius: 10px !important
}

.dropdown-item {
    color: #00618d;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.25rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}

    .dropdown-item:hover {
        color: #B7DB57;
        background-color: #07A3E0;
    }

.dropdown-menu {
    background-color: #F8FDFF;
}


.cardSubHeader {
    background-color: #f7f8ff;
    color: black !important;
    font-weight: bold;
}


.no-sort::after {
    display: none !important;
}

.no-sort {
    pointer-events: none !important;
    cursor: default !important;
}


.nav-link.text-light {
    color: white !important;
    font-weight: bold;
}


.navbar .navbar-nav .nav-item:not(:last-child) .nav-link {
    border-right: 1px solid #fff;
    margin-left: 1px;
    margin-right: 1px;
}


.lmask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Black background with opacity */
    z-index: 2000; /* High z-index to cover the whole screen */
}

.progress-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2001; /* Higher than mask to be visible on top */
}

.spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 4px solid #fff;
    width: 40px;
    height: 40px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
}

/* Keyframes for spinner animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.fixed {
    position: fixed;
}

.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - (.5rem * 2));
}

/*&:before {
    content: '';
    background-color: rgba(0,0,0,0);
    border: 5px solid rgba(0,183,229,0.9);
    opacity: .9;
    border-right: 5px solid rgba(0,0,0,0);
    border-left: 5px solid rgba(0,0,0,0);
    border-radius: 50px;
    box-shadow: 0 0 35px #2187e7;
    width: 50px;
    height: 50px;
    -moz-animation: spinPulse 1s infinite ease-in-out;
    -webkit-animation: spinPulse 1s infinite linear;
    margin: -25px 0 0 -25px;
    position: absolute;
    top: 50%;
    left: 50%;
}

&:after {
    content: '';
    background-color: rgba(0,0,0,0);
    border: 5px solid rgba(0,183,229,0.9);
    opacity: .9;
    border-left: 5px solid rgba(0,0,0,0);
    border-right: 5px solid rgba(0,0,0,0);
    border-radius: 50px;
    box-shadow: 0 0 15px #2187e7;
    width: 30px;
    height: 30px;
    -moz-animation: spinoffPulse 1s infinite linear;
    -webkit-animation: spinoffPulse 1s infinite linear;
    margin: -15px 0 0 -15px;
    position: absolute;
    top: 50%;
    left: 50%;
}

}*/

@-moz-keyframes spinPulse {
    0% {
        -moz-transform: rotate(160deg);
        opacity: 0;
        box-shadow: 0 0 1px #2187e7;
    }

    50% {
        -moz-transform: rotate(145deg);
        opacity: 1;
    }

    100% {
        -moz-transform: rotate(-320deg);
        opacity: 0;
    }
}

@-moz-keyframes spinoffPulse {
    0% {
        -moz-transform: rotate(0deg);
    }

    100% {
        -moz-transform: rotate(360deg);
    }
}

@-webkit-keyframes spinPulse {
    0% {
        -webkit-transform: rotate(160deg);
        opacity: 0;
        box-shadow: 0 0 1px #2187e7;
    }

    50% {
        -webkit-transform: rotate(145deg);
        opacity: 1;
    }

    100% {
        -webkit-transform: rotate(-320deg);
        opacity: 0;
    }
}

@-webkit-keyframes spinoffPulse {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

.hide {
    display: none;
    cursor: pointer;
}

.short:hover {
    display: none;
    cursor: pointer;
}

    .short:hover + .hide {
        display: inline;
        cursor: pointer;
    }


small.text-muted {
    font-weight: 700 !important;
}

.small.text-muted {
    font-weight: 500 !important;
}

/*fieldset.scheduler-border {
    border: 1px groove #ddd !important;
    padding: 0 1.4em 1.4em 1.4em !important;
    margin: 0 0 1.5em 0 !important;
    -webkit-box-shadow: 0px 0px 0px 0px #000;
    box-shadow: 0px 0px 0px 0px #000;
}

legend.scheduler-border {
    font-size: 1.2em !important;
    font-weight: bold !important;
    text-align: left !important;
    width: auto;
    padding: 0 10px;
    border-bottom: none;
}*/


.ssn-number {
    position: relative;
}

.ssn-value {
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
    height: 56px;
    background: transparent;
    z-index: 2;
    color: transparent !important;
    border: none;
}

    .ssn-value:focus {
        outline: 0;
        border: 1px solid #333;
        box-shadow: 0 0 5px #666;
        transition: box-shadow .5s,border-color .25s ease-in-out;
    }

span.dt {
    display: none;
}

.darkButton {
    color: #006185 !important;
}

#spinnerOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
}

.spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}


/* Styles for the popup */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.popup-content {
    background-color: #fff;
    width: 50%;
    margin: 100px auto;
    padding: 20px;
    border: 1px solid #ccc;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    position: relative;
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
}

.error {
    color: red;
    font-weight: bold;
}



.btn-close {
    color: #e8ecaa !important;
    opacity: 1;
    background-color: #e8ecaa !important;
}

.btn-close-white {
    filter: none !important;
}

.block {
    display: flex;
}

.block > span {
    flex: 1;
    text-align: right;
}
.dt-buttons {
    padding-bottom: 0px;
    margin: 0px;
    float: right !important;
    font-weight: bold;
    background: #013E5A;
    color:white
}

.table-cell {
    padding: 8px !important;
    white-space: nowrap;
    vertical-align: middle;
}

#ContributionsEmployeeTable thead th {
    position: relative;
    padding-right: 30px !important;
    border-bottom: none !important;
}

    #ContributionsEmployeeTable thead th:first-child::after,
    #ContributionsEmployeeTable thead th:first-child::before {
        display: none !important;
    }

    #ContributionsEmployeeTable thead th:first-child {
        pointer-events: none !important;
        cursor: default !important;
    }



.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 26px;
        width: 26px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .slider {
    background-color: #28a745;
}

input:focus + .slider {
    box-shadow: 0 0 1px #28a745;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }

.cursor-pointer{
    cursor: pointer;
}

.w-80px {
    width: 80px !important;
}

.primary-color {
    color: #013E5A !important;
}

.icon-check {
    font-weight: 1000;
    transform: scale(1.1);
}

.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -1px;
    }

.submenu-toggle::after {
    display: inline-block;
    margin-left: .255em;
    content: "";
    border-top: .3em solid transparent;
    border-bottom: .3em solid transparent;
    border-left: .3em solid;
}

/* Checked switch */
.payrollFilterSwitch:checked {
    background-color: #013E5A;
    border-color: #013E5A;
}

/* Checkbox - Color */
.primary-checkbox:checked {
    background-color: #013E5A;
    border-color: #013E5A;
}