body {
  font-family: "Trebuchet MS" !important;
}

.navbar-brand {
  transform: translateY(-2px);
}

.form-label.required {
  font-weight: 600;
}

.form-label.required:after {
  content: " *";
}

.field_with_errors {
  border-style: solid;
  border-color: var(--ss-error-color);
  color: var(--ss-error-color);
}

#sidebar {
  position: fixed;
  width: 250px;
  flex-shrink: 0;
  z-index: 1;
  bottom: -20px;
  top: 56px !important;
  transition: width 0.3s ease-in-out;
  border-right: 1px solid #dee2e6;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 100vh;
  margin-bottom: var(--footer-height, 45px);
}

.sidebar-link {
  padding-bottom: 6px !important;
}

.sidebar-link:hover {
  background-color: #fff;
}

.content-wrapper {
  margin-left: 250px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  width: 0;
  transition: margin-left 0.3s ease-in-out;
  padding-bottom: var(--footer-height, 64px);
}

body.sidebar-collapsed .content-wrapper {
  margin-left: 70px;
  transition: margin-left 0.3s ease-in-out;
}

#sidebar .nav {
  display: flex;
  flex-direction: column;
  width: 100%;
}

#sidebar .nav-link {
  font-weight: 500;
  color: #333;
  display: flex;
  align-items: center;
  white-space: nowrap;
  padding: 0.75rem 1rem;
}

#sidebar .nav-link .bi {
  margin-right: 8px;
  font-size: 1.2rem;
}

#sidebar .nav-link.active {
  color: #0d6efd;
}

body.sidebar-collapsed #sidebar {
  width: 70px;
}

body.sidebar-collapsed .sidebar-text {
  display: none;
}

body.sidebar-collapsed #sidebar-toggler i {
  transform: rotate(180deg);
}

body.sidebar-collapsed #sidebar .nav-link {
  justify-content: center;
}

body.sidebar-collapsed #sidebar .nav-link .bi {
  margin-right: 0;
}

.modal-background {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 1rem;
  max-width: 90vw;
  max-height: 90vh;
  pointer-events: auto;
}

.modal-close-button {
  top: 0.3rem;
  right: 0.3rem;
  z-index: 2;
}

.modal-image {
  display: block;
  max-width: 100%;
  max-height: 75vh;
  height: auto;
}

.click-cursor {
  cursor: pointer;
}

.page-wrapper {
  display: flex;
  min-height: 100vh;
}

.content-header,
.content-footer {
  flex-shrink: 0;
}

.no-hover {
  --bs-table-hover-bg: transparent; 
  --bs-table-hover-color: inherit;
}

a#trash,
a#trash:hover,
a.action-icon,
a.action-icon:hover {
  text-decoration: none;
}


@media (max-width: 991.98px) { 
  .scroll-container {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .scroll-container::-webkit-scrollbar {
    display: none;
  }

  .scroll-container > * {
    flex-shrink: 0;
  }
}

@media (min-width: 768px) {
  .page-wrapper {
    display: flex;
  }
}

@media (max-width: 767.98px) {
  .page-wrapper {
    display: block;
  }

  .content-wrapper {
    width: 100%;
  }
}


@media print {
  .table-responsive {
    overflow: visible !important;
    display: block !important;
    width: 100% !important;
  }

  table {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: auto !important;
    border-collapse: collapse !important;
    font-size: 12px;
  }

  th, td {
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  body, .content-wrapper, .page-wrapper, main {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }
}
.root,
:root {
  --footer-height: 64px;
}

.form-control.form-control-sm {
  padding-top: .25rem;
  padding-bottom: .25rem;
}

.table thead th {
  text-align: left;
}

.table thead th a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.table thead th a i { text-decoration: none; }

.table-col-separator thead th {
  color: #212529;
  text-decoration: none;
}
.table-col-separator thead th a {
  color: #212529;
}

.table thead th.text-end { text-align: right; }
.table thead th.text-start { text-align: left; }
.table thead th.text-center { text-align: center; }

.table-col-separator > thead > tr > th + th,
.table-col-separator > tbody > tr > td + td,
.table-col-separator > tfoot > tr > td + td,
.table-col-separator > tfoot > tr > th + th {
  border-left: 1px solid rgba(0, 0, 0, 0.06);
}
