/**
 * Font.
 */

body {
  font-family: "Trebuchet MS", sans-serif;
  color: #555555;
}

/**
 * Link.
 */

a {
  color: #0085b6;
}

a:hover {
  color: #006083;
}

/**
 * Label.
 */
label {
  font-size: 0.7rem;
  margin-bottom: 0rem;
  color: #848484;
}

/**
 * File upload label.
 */
label.custom-file-label {
  font-size: unset;
}

/**
 * Color.
 */

.bg-primary,
.btn-primary,
.badge-primary {
  border-color: #0085b6;
  background-color: #0085b6;
  color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:disabled,
.btn-primary.disabled,
.show > .btn-primary.dropdown-toggle {
  border-color: #006083;
  background-color: #006083;
  color: #ffffff;
}

.bg-secondary,
.btn-secondary,
.badge-secondary {
  border-color: #848484;
  background-color: #848484;
  color: #ffffff;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:not(:disabled):not(.disabled):active,
.btn-secondary:disabled,
.btn-secondary.disabled,
.show > .btn-secondary.dropdown-toggle {
  border-color: #6b6b6b;
  background-color: #6b6b6b;
  color: #ffffff;
}

.bg-success,
.btn-success,
.badge-success {
  border-color: #1ab57b;
  background-color: #1ab57b;
  color: #ffffff;
}

.btn-success:hover,
.btn-success:focus,
.btn-success:not(:disabled):not(.disabled):active,
.btn-success:disabled,
.btn-success.disabled,
.show > .btn-success.dropdown-toggle {
  border-color: #14885d;
  background-color: #14885d;
  color: #ffffff;
}

.bg-danger,
.btn-danger,
.badge-danger {
  border-color: #dc3545;
  background-color: #dc3545;
  color: #ffffff;
}

.btn-danger:hover,
.btn-danger:focus,
.btn-danger:not(:disabled):not(.disabled):active,
.btn-danger:disabled,
.btn-danger.disabled,
.show > .btn-danger.dropdown-toggle {
  border-color: #bd2130;
  background-color: #bd2130;
  color: #ffffff;
}

.bg-warning,
.btn-warning,
.badge-warning {
  border-color: #e4b534;
  background-color: #e4b534;
  color: #ffffff;
}

.btn-warning:hover,
.btn-warning:focus,
.btn-warning:not(:disabled):not(.disabled):active,
.btn-warning:disabled,
.btn-warning.disabled,
.show > .btn-warning.dropdown-toggle {
  border-color: #ca9b1b;
  background-color: #ca9b1b;
  color: #ffffff;
}

.bg-info,
.btn-info,
.badge-info {
  border-color: #0085b6;
  background-color: #0085b6;
  color: #ffffff;
}

.btn-info:hover,
.btn-info:focus,
.btn-info:not(:disabled):not(.disabled):active,
.btn-info:disabled,
.btn-info.disabled,
.show > .btn-info.dropdown-toggle {
  border-color: #006083;
  background-color: #006083;
  color: #ffffff;
}

.text-primary {
  color: #0085b6 !important;
}

.text-secondary {
  color: #848484 !important;
}

.text-success {
  color: #1ab57b !important;
}

.text-danger {
  color: #dc3545 !important;
}

.text-warning {
  color: #e4b534 !important;
}

.text-info {
  color: #0085b6 !important;
}

.sidebar-light-danger .nav-sidebar > .nav-item > .nav-link.active {
  border-color: #dc3545;
  background-color: #dc3545;
  color: #ffffff;
}

/**
 * Feedback.
 */
.invalid-feedback {
  font-size: 0.875rem;
  font-weight: bold;
}

/**
 * Main sidebar.
 */

.nav-flat .nav-item > .nav-link > .nav-icon {
  color: #555555;
}

.nav-flat .nav-item > .nav-link.active > .nav-icon {
  color: white;
}

.nav-sidebar .nav-link p {
  color: #555555;
}

.nav-sidebar .nav-link.active p {
  color: white;
}

[class*="sidebar-light-"] .nav-treeview > .nav-item > .nav-link.active,
[class*="sidebar-light-"] .nav-treeview > .nav-item > .nav-link.active:hover {
  border-color: #dc3545;
  background-color: #dc3545;
}

.nav-sidebar .nav-link .submenu_icon {
  color: #888888;
}

.nav-sidebar .nav-link.active .submenu_icon {
  color: white;
}

.nav-sidebar .nav-link .submenu_text {
  color: #555555;
}

.nav-sidebar .nav-link.active .submenu_text {
  color: white;
}

/**
 * Control sidebar.
 */

.control-sidebar-nav-item:hover {
  background-color: #e5e5e5;
}

.control-sidebar-nav-link {
  color: #555555;
}

.control-sidebar-nav-link:hover {
  color: #555555;
}

/**
 * Search.
 */

#search-clear {
  font-size: 1rem;
  color: rgba(0, 0, 0, 0.5);
}

#search-clear:hover {
  color: rgba(0, 0, 0, 0.7);
  cursor: pointer;
}

/**
 * Card.
 */

.card-footer {
  padding-top: 1.8rem;
  background-color: white;
}

/**
 * Table.
 */

.table .thead-dark th {
  border: 1px solid #dee2e6;
  background-color: #848484;
}

th > a[data-sort] > span {
  font-size: 0.9rem;
}

/**
 * Select2.
 */

.select2-results__option--highlighted {
  background-color: #e5e5e5 !important;
  color: #555555 !important;
}

/**
 * Prevent dropdown overflow.
 */

.input-group .select2-container--bootstrap4 {
  width: 0%;
}

/**
 * Center Select2 text vertically.
 */

.select2-container--bootstrap4
  .select2-selection--single
  .select2-selection__placeholder {
  padding-left: 0px;
  line-height: unset;
}

.select2-container--bootstrap4
  .select2-selection--single
  .select2-selection__rendered {
  padding-left: 0px;
  line-height: unset;
}

/**
 * Dropdown menu.
 */

.dropdown-item {
  color: #555555;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background-color: #e5e5e5;
  color: #555555;
}

/**
 * Pagination.
 */

.pagination > li > a {
  border: 1px solid #dee2e6;
  padding: 6px 12px;
  font-size: 0.875rem;
  background-color: white;
  color: #0085b6;
}

.pagination > li > a:focus,
.pagination > li > a:hover,
.pagination > li > span:focus,
.pagination > li > span:hover {
  background-color: #fafafa;
  color: #006083;
}

.pagination > .active > a,
.pagination > .active > a:hover {
  background-color: #0085b6;
  color: white;
}

/**
 * Select2 readonly.
 */

select[readonly].select2-hidden-accessible + .select2-container {
  pointer-events: none;
  touch-action: none;
}

select[readonly].select2-hidden-accessible
  + .select2-container
  .select2-selection {
  background: #eee;
  box-shadow: none;
}

select[readonly].select2-hidden-accessible
  + .select2-container
  .select2-selection__arrow,
select[readonly].select2-hidden-accessible
  + .select2-container
  .select2-selection__clear {
  display: none;
}
