body {
  font-family: Arial, Helvetica, sans-serif;
}

.top {
  position: sticky;
  top: 0;
  z-index: 99;
}
.nav-tabs .nav-link {
  width: 25vw;
  height: 3rem;
}
#myTab {
  position: sticky;
  top: 70px;
}

.modal-header {
  background-color: lightskyblue;
}

.active-asc {
  color: green;
}
.active-desc {
  color: crimson;
}

#employeeTable thead, #departmentTable thead, #locationTable thead {
  position: sticky;
  top: 118px;
}
#employeeTable thead tr th:hover {
  cursor: pointer;
}
tr {
  border-bottom: 1px solid #e8e8e8;
}

.options-column {
  display: flex;
  justify-content: flex-end;
}
.options {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: nowrap;
  width: fit-content;
}
.options i {
  margin-inline: 1rem;
}
.edit-employee:hover, .delete-employee:hover, .edit-department:hover, .delete-department:hover, .edit-location:hover, .delete-location:hover {
  cursor: pointer;
  filter: brightness(1.5);
}
.edit-employee, .delete-employee, .edit-department, .delete-department, .edit-location, .delete-location {
  font-size: 1.75rem;
}
.edit-employee, .edit-department, .edit-location {
  color: darkslateblue;
}
.delete-employee, .delete-department, .delete-location {
  color: crimson;
}


#departmentsModal .modal-body, #locationsModal .modal-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
#departmentsModal .modal-body button, #locationsModal .modal-body button {
  margin-bottom: 1rem;
  align-self: flex-start;
}

#employeeInfo .modal-body {
  text-align: center;
  line-height: 2.5rem;
  font-size: 1.1rem;
}


@media only screen and (max-width: 700px) {
  #search {
    width: 50vw !important;
  }
}
@media only screen and (max-width: 340px) {
  .options i {
    margin-inline: .25rem;
  }
}



#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: #fff;
}
#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #f2f2f2;
  border-top: 6px solid #c42828;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  -webkit-animation: rotation 1s linear infinite;
  animation: rotation 1s linear infinite;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
} 

.loader {
  display: none;
  color: #93c7ff;
  font-size: 10px;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  position: absolute;
  text-indent: -9999em;
  animation: mulShdSpin 1.3s infinite linear;
  transform: translateZ(0);
  left: calc(50% - .5rem);
  top: calc(50% - .5rem);
}

@keyframes mulShdSpin {
  0%,
  100% {
    box-shadow: 0 -3em 0 0.2em, 
    2em -2em 0 0em, 3em 0 0 -1em, 
    2em 2em 0 -1em, 0 3em 0 -1em, 
    -2em 2em 0 -1em, -3em 0 0 -1em, 
    -2em -2em 0 0;
  }
  12.5% {
    box-shadow: 0 -3em 0 0, 2em -2em 0 0.2em, 
    3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, 
    -2em 2em 0 -1em, -3em 0 0 -1em, 
    -2em -2em 0 -1em;
  }
  25% {
    box-shadow: 0 -3em 0 -0.5em, 
    2em -2em 0 0, 3em 0 0 0.2em, 
    2em 2em 0 0, 0 3em 0 -1em, 
    -2em 2em 0 -1em, -3em 0 0 -1em, 
    -2em -2em 0 -1em;
  }
  37.5% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em,
     3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, 
     -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em;
  }
  50% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em,
     3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, 
     -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em;
  }
  62.5% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em,
     3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, 
     -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em;
  }
  75% {
    box-shadow: 0em -3em 0 -1em, 2em -2em 0 -1em, 
    3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, 
    -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0;
  }
  87.5% {
    box-shadow: 0em -3em 0 0, 2em -2em 0 -1em, 
    3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, 
    -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em;
  }
}
  