.global-alert{
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 100%;
    z-index: 9999
}

@media (min-width: 576px) {
    .global-alert{
        width: 75%;
    }
}
@media (min-width: 768px) {
    .global-alert{
        width: 500px
    }
}

.lds-roller {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}
.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: rgba(0, 0, 0, .5);
    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);
    }
}
.select2-dropdown {
    z-index: 1081;
}

.select2-container--default .select2-results__option[aria-disabled=true] {
    display: none;
}

th.header-rotate {
    /* Something you can count on */
    height: 140px;
    white-space: nowrap;
}

th.header-rotate > div {
    transform:
        /* Magic Numbers */
        translate(25px, 51px)
            /* 45 is really 360 - 45 */
        rotate(315deg);
    width: 30px;
}
th.header-rotate > div > span {
    border-bottom: 1px solid #ccc;
    padding: 5px 10px;
}
/* These aren't needed and will be weird if transforms don't work */
.csstransforms th.header-rotate {
    height: 140px;
    white-space: nowrap;
}

.sidenav .nav-item .collapse .nav-link.third-level  {
    padding-top: .35rem;
    padding-bottom: .35rem;
}

.g-sidenav-hidden:not(.g-sidenav-show) .sidenav .nav-item .collapse .nav-link.third-level  {
    padding-top: 0;
    padding-bottom: 0;
}

.print{
    color: #333333;
    background: #f0f0f0;
    display: flex;
    justify-content: center;
    padding: 20px;
}

.print .reset {
    all: initial;
}

.print .payslip * {
    font-size: 12px;
    font-family: sans-serif;
    box-sizing: initial;
}

.print .payslip {
    width: calc( 8.5in - 80px );
    height: calc( 11in - 60px );
    background: #fff;
    padding: 30px 40px;
    box-sizing: initial;
}

.print .payslip table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem!important;
}

.print .payslip td, .print .payslip th {
    border: 1px solid #888;
    padding: 2px;
    -webkit-print-color-adjust: exact;
}

.print .payslip .tax td, .print .payslip .tax th {
    font-size: 9px !important;
}

.print .payslip tr:nth-child(even) {
    background-color: #f2f2f2;
    -webkit-print-color-adjust: exact;
}

.print .payslip th {
    padding-top: 8px;
    padding-bottom: 8px;
    background-color: #dc3545;
    color: white;
    -webkit-print-color-adjust: exact;
}
.print .payslip footer {
    width: 654px;
    position: absolute;
    bottom: 80px;
}
.print .payslip .text-center {
    text-align: center!important;
}
.print .payslip .font-weight-bold {
    font-weight: 600!important;
}
.p-2half {
    padding: 0.75rem!important;
}
.DTFC_Cloned tbody tr td {
    padding: 0.5rem!important;
}
#datatable-payroll_wrapper tbody tr {
    height: 20px!important;
}
#datatable-payroll_wrapper table.dataTable {
    border-bottom: initial;
}
.has-danger .invalid-feedback {
    display: block;
}
