* {
  color: black;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: #f6f6f6;
}

/* Primary styling Nav & Tabs */

.nav-custom-color {
  background-color: #f6f6f6;
}

.tab-custom-color {
  height: 62px;
  background-color: #5271ff;
}

.nav-search {
  padding-right: 40px;
}

.navbar-brand {
  font-weight: 600;
}

.btn-group {
  display: flex;
  align-items: flex-end;
  right: 10px;
}

.tab-custom-btn {
  color: black;
  background-color: #f6f6f6;
  height: 40px;
  border-top-left-radius: 5px;
}

.tab-custom-btn:hover {
  color: black;
  background-color: #d9d9d9;
}

.tab-custom-btn.active {
  color: black;
  background-color: #d9d9d9;
}

.tab-custom-btn.add-btn {
  right: 10px;
  border-top-right-radius: 5px;
}

.tab-custom-btn.last-btn {
  border-bottom-right-radius: 0px;
  border-bottom: none;
}

.btn-group > .btn-group:not(:last-child) > .btn,
.btn-group > .btn.dropdown-toggle-split:first-child,
.btn-group > .btn:not(:last-child):not(.dropdown-toggle) {
  border-top-right-radius: 5px;
  border-bottom-left-radius: 0;
  border-bottom: none;
}

.btn-group > .btn-group:not(:first-child) > .btn,
.btn-group > .btn:nth-child(n + 3),
.btn-group > :not(.btn-check) + .btn {
  border-top-left-radius: 5px;
  border-bottom-left-radius: 0px;
}

.active-tab {
  background-color: #d9d9d9;
}

/* Table Data styles */

.table {
  width: 100%;
  background-color: #f6f6f6;
  top: 120px;
}

/* Modals */

.modal-header {
  background-color: #5271ff;
  color: white;
}

.modal-header button.btn-close {
  color: white !important;
  opacity: 1;
}

.modal-body,
.modal-footer {
  background-color: #f6f6f6;
}

.modal-footer .btn {
  width: 100px;
}

.spacer {
  height: 20px;
}

/* Tables */

th {
  font-weight: normal;
}

.personnel-table-color {
  background-color: rgba(0, 0, 0, 0.05);
}

.searched-table-color {
  background-color: aqua;
}

thead {
  position: -webkit-sticky;
  position: sticky;
  top: 119px;
  background-color: #f6f6f6;
  z-index: 100;
}

.sort-icon {
  padding-left: 5px;
}

th {
  padding-top: 10px;
}

th.sort {
  padding-top: 10px;
}

/* Screen size styles */

@media (max-width: 576px) {
  * {
    font-size: 14px;
  }

  #searchInput {
    width: 200px;
  }
}

@media (max-width: 576px) {
  .modal-dialog {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .modal-content {
    width: 80%;
  }
}
