.spinner-grow {
    position: absolute;
    top: calc(50% - 1.5rem);
    left: calc(50% - 1.5rem);
    width: 3rem; 
    height: 3rem;
}

#loader {
    background: #fff;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
}

#nav-tabContent {
    position: relative;
    z-index: 0;
}

table {
    border-collapse: separate;
    border-spacing: 0;
}

thead {
    background-color: #fff;
    border: solid black;
} 
th, td, span {
    white-space:nowrap
}

tbody tr:nth-child(2n) {
    visibility: collapse;
}

.dropSort, .hide {
    display: none;
}

.collapse, .collapsing {
    padding: 0 0 0 23px ;
    line-height: 2em;
}

tbody tr:nth-child(4n + 1) td,
tbody tr:nth-child(4n + 2) td {
    background-color: rgb(242, 242, 242);
}

tbody tr:nth-child(4n + 3) td,
tbody tr:nth-child(4n + 4) td {
    background-color: #fff;
}

.getAll tbody td:nth-child(1), 
.getAll tbody td:nth-child(2), 
.getAll tbody td:nth-child(3),
.getAll tbody td:nth-child(4), 
.getAll tbody td:nth-child(5), 
.getAllDepartments tbody td:nth-child(1), 
.getAllDepartments tbody td:nth-child(2) {
    pointer-events: none;
}

.dropdown {
    display: none;
}

.unclickable {
    pointer-events: none !important;
}

.hiddenRow {
    padding: 0 0 0 8px !important;
}
th {
    cursor: pointer;
}
.updateCol, .deleteCol {
    pointer-events: none;
}

.fa-edit, .fa-trash {
    cursor: pointer;
}

.fa-edit {
    color: rgb(13, 110, 253);
}
.fa-trash {
    color: rgb(199, 0, 0);
}
.fa-edit:hover {
    color: rgb(101, 155, 255);
}
.fa-trash:hover {
    color: rgb(255, 70, 70);
}

.fa-arrow-circle-up {
    color: rgb(70, 0, 128);
    font-size: 1.3em;
    position: fixed;
    bottom: 12px;
    left: calc(50% - 0.5em);
    opacity: 0;  
    cursor: pointer;
}
.fa-arrow-circle-up:hover {
    color: rgba(70, 0, 128, 0.8);
}

.double {
    width: 47%;
}

h1 {
    color: white;
    padding: 5px;
    font-size: 2.4em;
}

.nav-link {
    color: white !important;
}
.active {
    color: black !important;
}

.p2-5 {
    padding: 0.75rem 1rem;
}

.add-search {
    width: 320px;
}

.modal-header {
    color: #fff;
    background-color: rgb(13, 110, 253);
}

.invalid-feedback {
    margin: 0 0 5px;
}

body {
    overflow: hidden;
}

.table-responsive {
    height: calc(100vh - 9.5rem);
    scroll-behavior: smooth;
}

@media screen and (max-width: 1046px) {
    .top-pers {
        bottom: 28px;
    }
}

@media screen and (max-width: 746px) {
    #nav-tab {
        justify-content: center !important;
    }
    .nav-link {
        margin-top: 8px !important;
    }
    h1 {
        margin-top: 0.5rem;
    }
    .table-responsive {
        height: calc(100vh - 13rem);
    }
}

@media screen and (max-width: 540px) {    
    .btnHide {
        display: none;
    }

    .add-search {
        width: 100% !important;
    }

    .getAll th:nth-child(2),
    .getAll th:nth-child(3), 
    .getAll th:nth-child(4), 
    .getAll th:nth-child(5), 
    .getAll td:nth-child(2),
    .getAll td:nth-child(3), 
    .getAll td:nth-child(4), 
    .getAll td:nth-child(5), 
    .getAllDepartments th:nth-child(2), 
    .getAllDepartments td:nth-child(2) {
        display: none;
    }

    .getAll tbody td:nth-child(1), 
    .getAll tbody td:nth-child(2), 
    .getAll tbody td:nth-child(3),
    .getAll tbody td:nth-child(4), 
    .getAll tbody td:nth-child(5), 
    .getAllDepartments tbody td:nth-child(1), 
    .getAllDepartments tbody td:nth-child(2) {
        pointer-events: auto;
    }

    .getAll tbody tr:nth-child(2n - 1),
    .getAllDepartments tbody tr:nth-child(2n - 1) {
        cursor:pointer;
    }

    .getAll .dropdown, 
    .getAllDepartments .dropdown {
            display: inline;
            color: grey;
    }

    .getAll tbody tr:nth-child(2n),
    .getAllDepartments tbody tr:nth-child(2n) {
        visibility: initial;
    }
    
    .top-pers {
        bottom: 12px;
    }
}

@media screen and (max-width: 499px) {
    .w-25 {
        width: 32% !important;
    }
}

@media screen and (max-width: 434px) {
    h1 {
    font-size: 2em!important;
    } 
    .table-responsive {
        height: calc(100vh - 12.5rem);
    }
}

@media screen and (max-width: 369px) {
    h1 {
    font-size: 1.8em!important;
    } 
    .nav-link {
        margin-top: 5px !important;
        padding: 0.75rem !important;
    }
    .table-responsive {
        height: calc(100vh - 12.1rem);
    }
    .w-25 {
        width: 36% !important;
    }
}

@media screen and (max-width: 319px) {
    h1 {
    font-size: 1.72em!important;
    }
}