body {
  font-size: 12px;
}

input[type='search'] {
  border-radius: 20px;
  padding: 8px 15px;
  border: 1px solid gray;
}

input[type='search']:focus {
  outline: 2px solid gray;
}

#loader {
  position: absolute;
  left: 0px;
  top: 0px;
  background-image: url('/images/loading.gif');
  background-color: rgba(255, 255, 255, 0.8);
  width: 100%;
  height: 100%;
  z-index: 99;
  background-size: 170px;
  background-position: center;
  background-repeat: no-repeat;
  display: none;
}

.custom-file-button input[type='file'] {
  margin-left: -2px !important;
}

.custom-file-button input[type='file']::-webkit-file-upload-button {
  display: none;
}

.custom-file-button input[type='file']::file-selector-button {
  display: none;
}

.custom-file-button:hover label {
  background-color: #dde0e3;
  cursor: pointer;
}

.no-wrap {
  white-space: nowrap;
}

.btn {
  font-size: 12px;
}

.excelButton {
  padding: 0.5rem 1rem;
  border: none;
  outline: none;
  background-color: #574b90;
  border-radius: 5px;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
  color: white !important;
}

tbody tr td,
tbody tr th,
tfoot tr th,
thead tr th {
  vertical-align: middle !important;
}

table.dataTable tfoot th,
table.dataTable tfoot td {
  padding: 12px !important;
}

.dataTables_wrapper {
  max-height: calc(100vh - 150px);
}

/* --------------------------------------- */
/* Scrollbar */
::-webkit-scrollbar {
  width: 1.3em;
  height: 1.3em;
}
::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 1);
}
::-webkit-scrollbar-thumb {
  background: rgba(48, 57, 82, 1);
  border-radius: 100vw;
  border: 0.25em solid rgba(255, 255, 255, 1);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(48, 57, 82, 0.85);
}

@supports (scrollbar-color: red blue) {
  * {
    scrollbar-color: rgba(48, 57, 82, 1) rgba(255, 255, 255, 1);
    scrollbar-width: auto;
  }
}
