:root,
html,
body {
  font-family: "IBM Plex Sans", sans-serif;
  font-variation-settings: "wdth" 100;
}

a {
  color: black;
}

a:hover {
  color: grey;
}

.side-nav {
  .side-nav,
  > a {
    border-left: 1px dashed black;
  }
  .side-nav {
    padding-left: 24px;
  }
  > a {
    display: block;
    padding-left: 38px;
  }
  a.active {
    background: lightcyan;
  }
}

.page-icon {
  margin-right: 4px;
}

.form-field-header {
  font-weight: bold;
  font-size: small;
  margin: 0 -1rem 0.5rem;
  border-bottom: 1px solid lightgray;
  background-color: dimgrey;
  color: white;
  padding: 0.2rem 0.5rem;
}

.form-field-group {
  border: 1px solid lightgrey;
  padding: 0 1rem 1rem;
  margin-bottom: 1rem;
}

.max-height {
  height: 100%;
}

.map-small {
  height: 250px;
}

.nav-separator {
  height: 1px;
  background-color: lightgray;
  margin: 0.5rem;
}

.form-field-group > .form-group:last-of-type {
  margin-bottom: unset;
}

.asterisk::after {
  content: "*";
  color: red;
  margin-left: 0.3rem;
  font-weight: bold;
}

.dataTables_info {
  display: inline-block;
}

.dataTables_filter,
.dataTables_paginate {
  float: right;
  display: inline-block;
}

.anchorjs-link {
  transition: all 0.25s linear;
}

*:hover > .anchorjs-link {
  margin-left: -1.5rem !important;
}

.breadcrumb {
  margin-bottom: 0.5rem;
}

form.readonly {
  pointer-events: none;
  touch-action: none;
}

form.readonly [role="tablist"] * {
  pointer-events: auto;
  touch-action: auto;
}

form.readonly .ro-active,
form.readonly .ro-active * {
  pointer-events: auto;
  touch-action: auto;
}

form.readonly button[type="submit"] {
  display: none;
}

.navigation-group {
  border-left: 1px lightgrey dashed;
  border-bottom-left-radius: 0.5rem;
}

.navigation-group .navigation-group {
  margin-left: 0.75rem;
}

.section-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  grid-gap: 4px;
}

.section-card {
  display: flex;
  align-items: center;
  background-color: #f6f6f6;
  border: grey 1px solid;
  min-height: 4rem;
  color: black;
}

.section-card:hover {
  color: black;
  text-decoration: none;
  box-shadow: rgba(0, 0, 0, 0.24) 0 3px 8px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.section-card > i {
  flex-basis: 25%;
  padding: 1rem;
  font-size: 3rem;
  text-align: center;
}

.section-card > div {
  flex-basis: 75%;
  padding: 0.5rem 1rem;
}

.navigation-sidebar {
  position: relative;
}

.collapse-button {
  position: fixed;
  left: 2px;
  bottom: 2px;
  z-index: 10000;
}

.carousel-control-next,
.carousel-control-prev {
  display: block;
  position: absolute;
  top: 50%;
  color: #fff;
  text-align: center;
  opacity: 0.5;
  transform: translateY(-50%);
  bottom: auto;
  width: auto;
}

.carousel-control-next {
  right: 50px;
}

.carousel-control-prev {
  left: 50px;
}

.nav-item-main {
  background-color: #d5dddd;
  margin-left: 4px;
  border-radius: 6px;
}

.nav-tabs .nav-link.active {
  color: #fff;
  background-color: #007bff;
  border-radius: 6px;
}

.nav-tabs {
  border-bottom: none;
  display: flex;
  flex-wrap: nowrap;
}

@keyframes gradient {
  0% {
    background-position: 0 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0 50%;
  }
}

.custom-file-upload {
  display: inline-block;
  padding: 8px 15px;
  cursor: pointer;
  background-color: #4caf50;
  color: white;
  border: none;
  border-radius: 5px;
}

.button-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.input-group-append {
  margin-left: 5px;
  margin-bottom: 5px;
}

.styled-crop-button {
  display: inline-block;
  padding: 8px 15px;
  cursor: pointer;
  box-shadow: rgba(151, 65, 252, 0.2) 0 15px 30px -5px;
  background-image: linear-gradient(135deg, #f34079 40%, #fc894d);
  color: white;
  border: none;
  border-radius: 5px;
}

.image-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.9);
}

.image-modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90%;
}

.styled-button-1 {
  position: relative;
  display: inline-block;
  box-sizing: border-box;
  margin-right: 0.167em;
  margin-bottom: 1.333em;
  padding: 0.5em 1em;
  border: 0;
  cursor: pointer;
  box-shadow:
    rgba(45, 35, 66, 0.4) 0 2px 4px,
    rgba(45, 35, 66, 0.3) 0 7px 13px -3px,
    rgba(58, 65, 111, 0.5) 0 -3px 0 inset;
  background-image: radial-gradient(
    100% 100% at 100% 0,
    #5adaff 0,
    #5468ff 100%
  );
  color: white;
  height: 39px;
  border-radius: 5px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  text-decoration: none;
  outline: none;
  text-overflow: ellipsis;
}

.checkbox-double-sized {
  transform: scale(1.8);
  transform-origin: center;
  position: static !important;
  display: inline-block;
  vertical-align: middle;
  margin: 0 !important;
}

.select2-loading {
  background-image: url("../lib/font-awesome/webfonts/fa-solid-900.woff2") !important;
  background-color: #e4e4e4 !important;
  background-repeat: no-repeat !important;
  background-position: right center !important;
  background-size: 20px 20px !important;
}

.select2-loading::before {
  font-family: "Font Awesome 6 Free";
  content: "\f110";
  font-weight: 900;
  animation: fa-spin 2s infinite linear;
  position: absolute;
  right: 26px;
  transform: translateY(-50%);
  color: #333;
  font-size: 16px;
}

.scrollable-table {
  max-height: 300px;
  overflow-y: auto;
  position: relative;
}

.sticky-header th {
  position: sticky;
  top: 0;
  background: #f8f9fa;
  z-index: 1;
}

#loading-indicator {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 15px 30px;
  border-radius: 5px;
  font-size: 18px;
  z-index: 1000;
}

.form-group-box-header {
  font-weight: bold;
  font-size: small;
  margin: 0 -1rem 0.5rem;
  border-bottom: 1px solid lightgray;
  background-color: dimgrey;
  color: white;
  padding: 0.2rem 0.5rem;
}

.form-group-box {
  border: 1px solid lightgrey;
  padding: 0 1rem 1rem;
  margin-bottom: 1rem;
}

.square_div {
  border: 1px solid #aaa;
  background-color: LightGray;
  border-radius: 4px;
  cursor: default;
  float: left;
  margin-right: 3px;
  margin-top: 3px;
  padding: 0 3px;
}

.btn-instruction {
  background-color: #ff7f50;
  border-color: #ff7f50;
  color: white;
}
.btn-instruction:hover {
  background-color: #ff5c1f;
  border-color: #ff5c1f;
  color: white;
}

.btn_turquoise {
  background-color: #20b2aa;
  border-color: #20b2aa;
  color: white;
}

.btn_turquoise:hover {
  background-color: #1a8f89;
  border-color: #1a8f89;
  color: white;
}

.btn_sea_green {
  background-color: #2e8b57;
  border-color: #2e8b57;
  color: white;
}

.btn_sea_green:hover {
  background-color: #266f47;
  border-color: #266f47;
  color: white;
}

.btn_lavender {
  background-color: #9e9ee2;
  border-color: #9e9ee2;
  color: white;
}

.btn_lavender:hover {
  background-color: #9e9ee2;
  border-color: #9e9ee2;
  color: white;
}

@keyframes blink-red {
  0% {
    background-color: red;
    border: 3px solid red;
  }
  50% {
    background-color: #ff8080;
    border: 3px solid transparent;
  }
  100% {
    background-color: red;
    border: 3px solid red;
  }
}

label.no-asterisk::after {
  content: none !important;
}

.autoincrement tbody {
  counter-reset: rowNumber;
}
.autoincrement tbody tr.visible-row {
  counter-increment: rowNumber;
}
.autoincrement tbody tr td.row-number::before {
  content: counter(rowNumber);
  display: inline-block;
  width: 1.5em;
  margin-right: 0.5em;
}

.background-buttercream {
  background-color: #ffecb3;
}

select[readonly].select2-hidden-accessible + .select2-container {
  pointer-events: none !important;
  touch-action: none !important;
}
select[readonly].select2-hidden-accessible
  + .select2-container
  .select2-selection {
  background: #eee !important;
  box-shadow: none !important;
}
select[readonly].select2-hidden-accessible
  + .select2-container
  .select2-selection__arrow,
select[readonly].select2-hidden-accessible
  + .select2-container
  .select2-selection__clear {
  display: none !important;
}

.background-magic-mint {
  background-color: #aaf0d1;
}
.background-maize {
  background-color: #fbec5d;
}
.background-pastel_blue {
  background-color: #a7c7e7;
}
.img-preview-width {
  max-width: 800px;
  max-height: 300px;
}
