html {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  font-size: 14px;
}

body {
  font-family: 'Nunito Sans', sans-serif;
  color: #1a202c;
  background: #f5f5ff;
  /* text-align: left; */
}

h1, h2, h3, h4, h5 {
  font-family: 'Nunito Sans', sans-serif !important;
  /* text-align: center; */
}

button {
  font-family: 'Nunito Sans', sans-serif;
}

h3 {
  padding-left: 0.3rem;
}

h5 {
  font-weight: 900 !important;
}

hr {
  margin: 10px;
}

hr.thick {
  border: 3px solid rgb(0, 0, 0, 0.4);
  margin-left: 0;
  margin-right: 0;
}

hr.splitter {
  border: 1px solid rgb(0, 0, 0, 0.25);
  margin-left: 0;
  margin-right: 0;
}

canvas {
  margin: 0px;
  padding-top: 20px;
}

.display-table {
  display: table;
  width: 100%;
}

table {
  color: #1a202c;
  background: #ffffff !important;
}

figure {
  display: inline-block !important;
  vertical-align: top;
}

.image-style-align-center {
  display: block !important;
  margin: auto !important;
}

.navbar {
  position: sticky;
  display: flex;
  align-items: center;
  padding: 0;
  height: 49px;
  top: 0;
  z-index: 5;
  color: white;
  background-color: rgb(164, 12, 84);
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

.topnav-link {
  color: white;
  display: inline-block;
  margin-left: 0;
  margin-right: 0;
  padding: 1rem;
  height: 100%;
  width: auto;
  text-align: center;
}

.topnav-link:hover {
  color: white;
  background-color: rgb(247, 35, 134);
}

.dropbtn {
  display: inline-block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

.dropbtn:hover {
  background-color: rgb(247, 35, 134);
  color: white;
}

.dropdown {
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 47px;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: center;
  width: 100%;
}

.dropdown-content a:hover {background-color: #f1f1f1;}

.dropdown.active .dropdown-content {
  display: block;
}

/* Dropdown arrow styles */
.dropdown-arrow {
  margin-left: 5px;
  font-size: 0.8em;
  transition: transform 0.3s ease;
}

/* Rotate arrow when dropdown is active */
.dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
}

/* Keep dropdown button highlighted when active */
.dropdown.active > .topnav-link {
  color: white;
  background-color: rgb(247, 35, 134);
}

pre {
  background-color: #f2fbff;
  border: solid 1px;
  display: block;
  text-align: center;
}

.svg {
  margin-right: 10rem;
}

.fit-content {
  width: fit-content;
}

figcaption {
  background-color: #f7f7f7;
  text-align: center;
}

.narrower-table>tbody>tr>td, .narrower-table>tbody>tr>th, .narrower-table>tfoot>tr>td, .narrower-table>tfoot>tr>th, .narrower-table>thead>tr>td, .narrower-table>thead>tr>th {
  padding: 0.5rem;
}

/* label {
  color: rgb(0, 0, 0);
  cursor: pointer;
  padding: 2px 5px;
  margin-bottom: 0;
} */

.h-95vh {
  min-height: 90vh;
}

.f-r {
  float: right;
}

.ta-r {
  text-align: right;
}

.ta-l {
  text-align: left;
}

.ta-c {
  text-align: center;
}

.no-borders {
  border: none;
}

.no-padding {
  padding: 0px !important;
}

.pad-r-0 {
  padding-right: 0;
}

.pad-l-0 {
  padding-left: 0;
}

.m-l--15 {
  margin-left: -15px;
}

.pad-t-0 {
  padding-top: 0;
}

input[type=date] {
  margin-bottom: 0.5rem;
}

.green {
  color: green;
}

.red {
  color: red;
}

.yellow {
  color: orange;
}

.unverified {
  background-color: rgba(238, 223, 184, 0.3)
}

.admin-user {
  background-color: rgba(142, 212, 242, 0.3);
}

input[type=submit] {
width: 100%;
background-color: #4CAF50;
color: white;
padding: 14px 20px;
margin: 8px 0;
border: none;
border-radius: 4px;
cursor: pointer;
}

input[type=submit]:hover {
background-color: #45a049;
}

.id_name + .id_phone + .id_address {
  padding: 2px;
}

i:hover {
  cursor: pointer;
}

i .fas:hover {
  cursor: pointer;
  margin-left: 4px !important;
}


/* BUTTONS */

.btn-regular {
  display: inline-block;
  background: rgb(18, 106, 165);
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  margin: 0.35em 0.1em 0.35em 0.1em;
  border: 0.16em solid rgba(0, 0, 0, 0);
  border-radius: 0.25em;
  min-height: 1.5rem;
  /* min-height: 1.5rem; */
  max-height: 2rem;
  text-decoration: none;
  font-weight: 500;
  color: #FFFFFF;
  text-shadow: 0 0.04em 0.04em rgba(0,0,0,0.35);
  text-align: center;
  transition: all 0.2s;
}

.btn-add {
  display: inline-block;
  background: rgb(43, 168, 12);
  padding: 0.15em 1.2em;
  margin: 0.35em 0.1em 0.35em 0.1em;
  border: 0.16em solid rgba(0, 0, 0, 0);
  border-radius: 0.25em;
  height: 2rem;
  text-decoration: none;
  font-weight: 500;
  color: #FFFFFF;
  text-shadow: 0 0.04em 0.04em rgba(0,0,0,0.35);
  text-align: center;
  transition: all 0.2s;
}

.btn-add:hover {
  background-color: rgb(50, 204, 50);
}

.btn-subtle {
  display: inline-block;
  background: rgb(225, 231, 235);
  padding: 0.15em 1.2em;
  margin: 0.1rem;
  border: 0.16em solid rgba(0, 0, 0, 0);
  border-radius: 0.25em;
  text-decoration: none;
  color: #000000;
  text-shadow: 0 0.04em 0.04em rgba(0,0,0,0.35);
  text-align: center;
  transition: all 0.2s;
}

.btn-white {
  display: inline-block;
  background: rgb(255, 255, 255);
  padding: 0.15em 1.2em;
  margin: 0.1rem;
  border: 0.16em solid rgba(0, 0, 0, 0);
  border-radius: 0.25em;
  text-decoration: none;
  color: #000000;
  text-shadow: 0 0.04em 0.04em rgba(0,0,0,0.35);
  text-align: center;
  transition: all 0.2s;
}

.btn-subtle:hover {
  background-color: rgb(255, 255, 255);
  color: rgb(41, 44, 202)
}

.btn-regular:disabled {
  background-color: rgb(148, 148, 148);
}

.btn-regular:hover:enabled { 
  background-color: rgb(46, 139, 201);
}

.btn-cancel {
  display: block;
  background: rgb(229, 233, 235);
  padding: 0.15em 1.2em;
  margin: 0.35em 0.1em 0.35em 0.1em;
  border: 0.16em solid rgba(0, 0, 0, 0);
  height: 2rem;
  border-radius: 0.25em;
  text-decoration: none;
  font-weight: 350;
  color: #000000;
  text-align: center;
  transition: all 0.2s;
}

.btn-cancel:hover {
  background-color: rgb(206, 207, 207);
}

.btn-back {
  height: auto;
  float: left;
  font-size: large;
  margin: 0.65rem;
  border: none;
  background-color: #ffffff;
  transition: all 0.2s;
}

.btn-back:hover {
  color: rgb(164, 12, 84);
}

.bigger {
  font-size: 1.25rem;
  height: auto;
}

.smaller {
  font-size: 0.85rem;
}

.edit-button {
  background: rgb(66, 169, 237);
  padding: 0 1em;
  margin: 0;
  border: 0.16em solid rgba(0, 0, 0, 0);
  border-radius: 0.25em;
  box-sizing: border-box;
  font-size: 0.8rem;
  text-decoration: none;
  color: #FFFFFF;
  text-align: center;
  transition: all 0.2s;
  box-shadow: 0 4px 4px 0 rgba(0,0,0,0.2), 0 4px 10px 0 rgba(0,0,0,0.19);
}

.edit-button:hover {
  background: rgb(7, 111, 180);
}

.btn-login {
  display: inline-block;
  width: 15vw;
  background: rgb(164, 12, 84);
  padding: 0.15em 1.2em;
  margin: 0.2em auto 0.1em auto;
  border: 0.16em solid rgba(0, 0, 0, 0);
  border-radius: 0.3em;
  box-sizing: border-box;
  text-decoration: none;
  font-weight: 500;
  font-size: large;
  color: #FFFFFF;
  text-align: center;
  transition: all 0.2s;
  box-shadow: 0 4px 4px 0 rgba(0,0,0,0.2), 0 4px 10px 0 rgba(0,0,0,0.19);
}

.btn-login:hover{
  background: rgb(199, 26, 107);
  transition: all 0.2s;

}

/* GRID */

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.ml-1 {
  margin-left: 1rem !important;
}

.m-1 {
  margin: 1rem !important;
}

.mright-2 {
  margin-right: 2rem;
  margin-left: auto;
}

.h-100 {
  height: 100%!important;
}

.w-80 {
  width: 80% !important;
}

.w-50 {
  width: 50% !important;
}
/* CARDS */

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: none;
  border-radius: .25rem;
}

.main-card {
  min-height: 100vh;
  height: fit-content;
  background-color: #f5f5f9;
  /* background-color: rgb(255,255,255); */
  border-top: none;
  z-index: 1;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.instrument-card {
  width: 100%;
  margin: 1rem 0 1rem 0;
  text-align: left;
  transition: all 0.2s;
  box-shadow: none !important;
  border: solid 1px  #e8ebf063;
  background-color: #e8ebf046;
  border-radius: 0.5rem;
}

.spread-horizontally {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

.instrument-nav-buttons {
  text-align: center;
  display: inline-block;
}

.select-instrument-version {
  width: 75%;
  margin: 0 auto;
}

.login-card {
  width: 25vw;
  margin: 20vh auto auto auto;
  display: block;
  box-shadow: 0 4px 4px 0 rgba(187, 223, 247, 0.1), 0 4px 5px 0 rgba(0,0,0,0.1);
}

.card-body {
  flex: 1 1 auto;
  min-height: 1px;
  padding: 1rem;
}

.breadcrumb {
  margin-top: 0;
  font-size: 40;
  background-color: white;
}

/* GENERAL */

.list-det {
  padding-left: 6px !important;
  padding-right: 0px !important;
  border-bottom: solid 1px rgba(0, 0, 0, 0.1);
  margin-top: 0.25rem;
}

.list-row {
  padding: 0.25rem;
  /* border-bottom: solid 1px rgba(0, 0, 0, 0.105); */
}

.list-row:hover {
  background-color: rgb(234, 234, 234);
  transition: all 0.2s;
}

.info-row {
  padding: 0.25rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 8px 0 rgba(187, 223, 247, 0.2);
  border-bottom: solid 1px rgba(0,0,0,0.1);
}


/* TABLES */
table td .empty-cell {
  padding: 0px !important;
}

.hoverable:hover {
  background-color: rgba(0,0,0,.03);
}

.clickable {
  cursor: pointer;
}

.big-checkbox {
  width: 1.25rem;
  height: 1.25rem;
}

.centered {
  margin-left: auto !important;
  margin-right: auto !important;
}

.centered-left {
  margin-left: auto !important;
  margin-right: 0.1rem;
}

.centered-middle {
  margin-left: 0.1rem;
  margin-right: 0.1rem;
}

.centered-right {
  margin-left: 0.1rem !important;
  margin-right: auto !important;
}

.wide {
  width: 100% !important;
}

.text-al-c {
  text-align: center;
}

.to-right {
  float: right;
  margin: auto 0 0.4rem auto;
  text-align: right !important;
}

.list-group-item {
  width: auto;
  margin-left: 15px;
  background-color: #e0f3fc;
}

/*
.list-group-item:hover {
  background-color: #9ddefc;
  transition: 0.1s;
  border-color: #9ddefc;
  cursor: pointer;
} */

.action-segment {
  width: auto;
  margin-left: 15px;
  background-color: #fcecbc;
  /* box-shadow: 0 4px 4px 0 rgba(187, 223, 247, 0.1), 0 4px 5px 0 rgba(0,0,0,0.1); */
}

.action-segment:hover {
  background-color: #ffd18b;
  transition: 0.1s;
  border-color: #ffb14b;
  cursor: pointer;
}

.highlighted {
  background-color: #f8f7ca;
}

.display-config {
  min-height: 40vh;
}

.visible-items {
  min-height: 35vh;
}

.equal-height {
  display: flex;
  align-items: stretch;
}

.panel-main-header {
  text-align: left;
  display: flex;
  margin-bottom: 1rem;
  font-weight: bold;
}

.panel-sub-header {
  text-align: left;
  display: inline-block;
  margin-bottom: 1rem;
  margin-top: 1rem !important;
  font-size: 1.2rem;
  font-weight: bold;
}

.spread-vertically {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.top-item {
  align-self: flex-start;
}

.bottom-item {
  align-self: flex-end;
}

.customers-modal-table-quarter {
  text-align: left;
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: bold;
  width: 100%;
  background-color: rgba(187, 222, 247, 0.57);
}

.results-header-div {
  text-align: center;
}

.remove-column {
  position: absolute;
  right: 8px;
  width: 0.8rem;
  height: 0.8rem;
  opacity: 0;
}

.remove-column:before {
  position: absolute;
  content: ' ';
  height: 1.4rem;
  width: 3px;
  background-color: rgb(255, 255, 255);
}

.remove-column:before {
  transform: rotate(90deg);
}

.add-column {
  position: absolute;
  right: 8px;
  width: 0.8rem;
  height: 0.8rem;
  opacity: 0;
}

.add-column:before, .add-column:after {
  position: absolute;
  content: ' ';
  height: 1.4rem;
  width: 3px;
  background-color: rgb(255, 255, 255);
}

 .add-column:before {
  transform: rotate(-90deg);
}

.hovered {
  opacity: 1 !important;
}

.searchAR-modal {
  z-index: 9999;
}

.table-header {
  background-color: #ffffff;
}

.table-cell {
  border-top: none !important;
  border-bottom: solid 1px rgb(0, 0, 0, 0.1);
  background-color: inherit !important;
}
/* 
#requesters-table-body {
  display: block;
  min-height: 100px;
  width: auto;
} */

#translations-table-body {
  display: block;
  overflow-y: auto;
  min-height: 100px;
  max-height: 60vh;
  width: 100%;
}

#tests-table-body {
  display: block;
  overflow-y: auto;
  min-height: 100px;
  max-height: 50vh;
  width: inherit;
}

/* .requesters-results-table thead tr {
  display: block;
  width: inherit;
} */

.requesters-results-table {
  padding: 0;
  margin: 0;
}

.n-m-25 {
  margin-left: -20px;
  margin-right: -35px;
}

.panel {
  padding: 15px;
  margin: 15px;
  background-color: rgb(255, 255, 255);
  /* background-color: #f5f5f9; */
  box-shadow: 0 4px 16px 0 rgba(187, 223, 247, 0.1);
  border-radius: 0.5rem;
  width: 100%;
}

.highlighted-panel {
  padding: 1rem;
  background-color: rgba(255, 240, 197, 0.613);
  /* background-color: #f5f5f9; */
  width: auto;
  box-shadow: 0 4px 4px 0 rgba(187, 223, 247, 0.1);
  border-radius: 0.5rem;
}

.customer-users-info {
  padding: 0.5rem;
  margin-bottom: 1rem;
  border-right: solid 1px rgba(0, 0, 0, 0.105);

}

.instrument-highlighted-panel {
  background-color: rgba(240, 244, 255, 0.256);
  margin: 1rem;
  padding: 1rem;
  box-shadow: -3px 3px 3px rgba(0, 0, 0, 0.05), 3px 3px 3px rgba(0, 0, 0, 0.105) ;
  height: fit-content;
  border-radius: 1rem;
}
.rounded-corners {
  border-radius: 10px 10px 10px 10px;
}

.search-bar {
  background-color: #e8ebf063 ;
  width: 100%;
  box-shadow: 0 4px 4px 0 rgba(187, 223, 247, 0.1);
  border-radius: 0.5rem;
  padding: 0.25rem;
  margin-top: 2rem;
}

.text-overflow-ellipsis {
  -webkit-box-orient: vertical;
  display: -webkit-box;
  -webkit-line-clamp: 7;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}

.instrument-panel {
  padding: 15px;
  margin: 1rem 0 0 0;
  background-color: rgb(255, 255, 255);
  /* background-color: #f5f5f9; */
  width: 100%;
  max-height: 30vh;
  box-shadow: 0 4px 4px 0 rgba(187, 223, 247, 0.1);
  border-radius: 0.5rem;
  max-height: 35vh;
}

.edit-device-modal {
  z-index: 9999;
}

.additional-info-cell {
  border-top: solid 3px white;
  border-bottom: solid 2px rgb(0, 0, 0, 0.2);
}

.lighter-blue {
  background-color:rgb(86, 180, 235);
}

.instrument-title {
  text-align: left;
  padding: 1rem 0 0 0;
}

.sidebar {
  height: 100%;
  width: 12vw;
  position: fixed;
  top: 53px;
  left: 0;
  background-color: #ffffff;
  border-right: 1px rgb(0, 0, 0, 0.1);
  padding: 0.5rem;
  /* box-shadow: 0 2px 2px 0 rgba(0,0,0,0.2);  */
  overflow-x: hidden;
  transform: translateX(-200px);
  display: flex;
  flex-direction: column;
  justify-content: top;
}

.customer-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 200px;
  height: 100%;
  background-color: #ffffff;
  color: white;
  overflow-y: auto; /* Enable vertical scrolling */
  /* Flexbox styles for vertical centering */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.customer-sidebar a {
  display: block;
  padding: 0.2rem;
  width: 100%;
  color: rgb(0, 0, 0);
  text-decoration: none;
  transition: background-color 0.3s;
}

.customer-sidebar a:hover {
  color:  rgb(164, 12, 84);
  background-color: rgb(246, 250, 250);
}

.content {
  margin-left: 15vw;
}

.content-no-sidebar {
  margin-left: 0;
}

.sidebar a {
  padding: 6px 8px 6px 16px;
  text-decoration: none;
  display: block;
}

.sidebar-toggler {
  display: none;
}

.icon-bar {
  display: block;
  width: 25px;
  height: 3px;
  background-color: rgb(164, 12, 84);
  margin: 3px 0;
  transition: 0.4s;
}

.sidebar a:hover, .sidebar-nested a:hover {
  color: rgb(164, 12, 84);
  border-bottom: solid 10px rgb(255, 109, 177);
  background-color: #f5f5f9;
  transition: all 0.3s;
}

@media screen and (max-height: 450px) {
  .sidebar {padding-top: 15px;}
  .sidebar a {font-size: 18px;}
}

.topnav-link.active {
  background-color: rgb(199, 26, 107);
  color: white;
}

.topnav-right {
  float: right;
}
/* .nav-item {
  width: 100%;
} */

.nav-link {
  color: #5e5e5e;
}

.nav-tabs .nav-link.active {
  background-color: #fff;
  border-bottom: solid 4px rgb(164, 12, 84) !important;
}

.nav-item {
  width: auto;
  font-size: 1.3rem;
}

.main-instrument-card {
  height: 100vh;
  margin-top: 64.8px;
  animation: slide-left 0.25s ease;
  z-index: 1;
  border-top: none;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.main-instrument-card-header {
  position: sticky;
  top: 0px;
  z-index: 5;
  text-align: center;
  vertical-align: middle;
  background-color: rgb(164, 12, 84);
  /* border-bottom: solid 2px rgb(0, 0, 0, 0.1); */
  padding: 0;
}

.right-section a{
  float: right !important;
  color: white !important;
  height: 100%;
}

/* User Menu Styles */
.user-menu {
  position: relative;
  display: inline-block;
  height: 100%;
}

.user-icon-link {
  display: inline-block;
  padding: 0.75rem 1rem;
  color: white !important;
  height: 100%;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.user-icon-link:hover {
  background-color: rgb(247, 35, 134);
  color: white !important;
}

.user-menu-panel {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background-color: white;
  min-width: 180px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1000;
  border-radius: 4px;
  margin-top: 2px;
  padding: 0.5rem 0;
  color: #000000;
}

.user-menu.active .user-menu-panel {
  display: block;
}

.user-menu-item {
  display: block;
  padding: 0;
  width: 100%;
  clear: both;
}

.user-menu-item.user-menu-username {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.user-menu-panel a {
  float: none !important;
  color: #000000 !important;
  display: block;
  width: 100%;
}

.user-menu-link,
.user-profile-link {
  display: block;
  padding: 0.75rem 1rem;
  color: #000000 !important;
  text-decoration: none;
  transition: background-color 0.2s;
  float: none !important;
  width: 100%;
  box-sizing: border-box;
}

.user-menu-link:hover,
.user-profile-link:hover {
  background-color: #f1f1f1;
  color: #000000 !important;
}

.user-profile-link {
  color: #000000 !important;
}

.user-menu-item b {
  color: #000000 !important;
}

.user-menu-panel i {
  color: #000000 !important;
}

.float-left {
  float: left;
}

.float-right {
  float: right;
}

.float-center {
  float: center;
}

.logo {
  display: inline-block;
  height: 43px;
  margin-left: 0.5rem;
  margin-bottom: 0.5rem;
}

.instrument-card-header {
  display: block;
  border-bottom: solid 2px rgba(0, 0, 0, 0.2);
}

.w-auto {
  width: auto !important;
}

.new-inst-label {
  position: absolute;
  top: 25%;
}

img {
  max-width: 100%;
  max-height:400px;
  vertical-align: top;
}

.gallery {
  display: flex;
  margin: 10px auto;
  max-width: 500px;
  width: 100%;
  position: relative;
  padding-top: 66.6666666667%;
}

@media screen and (min-width: 600px) {
  .gallery {
    padding-top: 400px;
 }
}
.gallery__img {
  position: absolute;
  top: 0;
  left: 15px;
  opacity: 0;
  margin-right: 1rem;
  object-fit: contain;
  transition: opacity 0.3s ease-in-out;
}
.gallery__thumb {
  padding-top: 6px;
  margin: 6px;
  display: block;
}
.gallery__selector {
  position: absolute;
  opacity: 0;
  visibility: hidden;
}
.gallery__selector:checked + .gallery__img {
  opacity: 1;
}
.gallery__selector:checked ~ .gallery__thumb img {
  box-shadow: 0 0 0 3px #0be2f6;
}

.instruments-tab-select {
  width: 50% !important;
}

.instruments-row {
  margin-top: 1rem;
}

.border-unisoft {
  border-bottom-color: rgb(164, 12, 84) !important;
}

.button-cell {
  padding: 0;
}

.hover-underline-animation {
  display: inline-block;
  position: relative;
  color: #000000;
}

.hover-underline-animation:after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: rgb(164, 12, 84);
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.hover-underline-animation:hover:after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.add-to-cart {
  background-color: #ecf4f8;
  color: rgb(0, 0, 0);
  transition: all 0.2s;
}

.unconfigured {
  background-color: #ededed;
  color: rgb(0, 0, 0);
  transition: all 0.2s;
}

.add-to-cart:hover {
  background-color: #c0e2f3;
  cursor: pointer;
}

.highlighted-row {
  background-color: #fffcf4;
}

.hover-white:hover {
  background-color: #fffcf4 !important;
}
.smaller-font {
  font-size: 12px;
}

.edit-instrument:hover {
  color: rgb(66, 169, 237) !important;
  transition: all 0.2s;
}

.red-trash:hover {
  color: rgb(187, 39, 39) !important;
  transition: all 0.2s;
}

.img-wraps {
  position: relative;
  display: inline-block;
  font-size: 0;
}

.remove-image {
  position: absolute;
  cursor: pointer;
  top: 5px;
  right: 5px;
  border-radius: 10em;
  padding: 2px 6px 3px;
  text-decoration: none;
  font: 700 21px/20px sans-serif;
  background: #555;
  border: 3px solid #fff;
  color: #FFF;
  box-shadow: 0 2px 6px rgba(0,0,0,0.5), inset 0 2px 4px rgba(0,0,0,0.3);
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  -webkit-transition: background 0.5s;
  transition: background 0.5s;
}

.remove-image:hover {
  background: #E54E4E;
  top: 5px;
  right: 5px;
}

.remove-image:active {
  background: #E54E4E;
  top: 5px;
  right: 5px;
}

.empty-order-summary {
  margin: 1rem;
  padding: 1rem;
}

.minus, .plus {
  cursor: pointer;
  width: 26px;
  height: 26px;
  background: #e2e2e2;
  border-radius: 4px;
  border:1px solid #ddd;
  display: inline-block;
  vertical-align: middle;
  text-align: center;
  transition: all 0.3s;
}

.minus:hover, .plus:hover {
  background: #cee2fc;
}

.number {
  text-align: center;
}

.order-count-input {
  padding: 0 3px 0 3px;
  height: 26px;
  width: 30%;
  text-align: center;
  font-size: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  display: inline-block;
  vertical-align: middle;
}

/* Hide arrows in number input fields */

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

.shadow-separation-row {
  margin: 0 15px 0 15px;
  height: 15px;
  background-color: white;
  border-bottom: solid 1px rgb(0, 0, 0, 0.1);
}

.lds-ring {
  display: inline-block;
  position: relative;
  width: 20px;
  height: 20px;
}

.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 15px;
  height: 15px;
  margin: 5px;
  border: 4px solid rgb(255, 0, 0);
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #fff transparent transparent transparent;
}

.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}

.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}

.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}

@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.sticky-header {
  position: fixed;
  top:64.8px;
}

.error-message {
  color: red;
  font-size: 1.25rem;
}

.dropzone {
  background: white;
  border-radius: 5px;
  border: 2px dashed rgb(0, 135, 247);
  border-image: none;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  transition: all 0.3s;
}

.dropzone:hover {
  background:rgb(86, 180, 235, 0.1);
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 17px;
  width: 17px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #f32121;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

input.one-digit{
  width: 35px;
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.pad-0 {
  padding: 0;
}

.modal-open {
  overflow: inherit;
}

.manual-subpoint {
  margin-left: 3rem;
}

.manual-point {
  margin: 0.25rem auto 0.25rem 3rem;
}

.manual-image {
  float: center;
}

.manual-figure {
  max-width: 30%;
  vertical-align: top;
  text-align: center;
  display: inline-block;
  margin: 0 0.5rem 0 0.5rem;
  border: dotted 1px rgba(0, 0, 0, 0.2);
}

.text-paragraph {
  margin-left: 3rem;
}

.manual-image-caption {
  text-align: justify;
}

.sidebar.active {
  transform: translateX(0);
}

.side-margins {
  margin-left: 1rem;
  margin-right: 1rem;
}

.select2-selection--multiple {
  width: 100% !important;
  display: block !important;
}

.select2-container {
  width: 100% !important;
  min-width: 10em !important;
}

.img-fluid {
  max-height: 200px; /* Set a maximum height for the image */
  width: auto; /* Allow the image to maintain its aspect ratio */
  object-fit: contain; /* Control how the image fits inside its container */
}

.instrument-description {
  background-color: #d4eff19e;
  border-radius: 0.5rem;
  box-shadow: 0 2px 2px 0 rgba(0,0,0,0.1);
  padding: 1rem;
}

.manuals-nav-button {
  border-bottom: solid 1px rgba(186, 186, 186, 0.541);
}

.manuals-nav-button:focus{
  outline:none;
}

.organization-panel {
  width: auto;
  background-color: rgb(238, 245, 249);
  border-radius: 0.5rem;
  margin: 0.5rem;
  padding: 1rem;
  font-size: large;
  text-align: left;
}

.list-organization-panel {
  width: auto;
  background-color: rgba(196, 237, 255, 0.505);
  border-radius: 0.5rem;
  margin: 0.5rem;
  padding: 1rem;
  font-size: large;
  text-align: left;
}

.organization-panel:hover {
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.1);
  transition: 0.15s;
}

.shadowed {
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.1);
}

#external-events {
  position: fixed;
  z-index: 2;
  top: 20px;
  left: 20px;
  width: 150px;
  padding: 0 10px;
  border: 1px solid #ccc;
  background: #eee;
}

.nav-pills{
  width: auto;
}

.nav-item{
  width: auto;
}

.nav-pills .nav-link{
  font-weight: bold;
  padding-top: 13px;
  text-align: center;
  background: #000000;
  color: #ffffff;
  border-radius: 30px;
  height: 100px;
}

.nav-pills .nav-link.active{
  background: #fff;
  color: #000;
}

.tab-content-calendar{
  position: absolute;
  width: auto;
  height: auto;
  margin-top: -50px;
  background: #fff;
  color: #000;
  border-radius: 30px;
  z-index: 1000;
  padding: 30px;
  margin-bottom: 50px;
}

.tab-content-calendar button{
  border-radius: 15px;
  width: 100px;
  margin: 0 auto;
  float: right;
}

#external-events .fc-event {
  cursor: move;
  margin: 3px 0;
}

.fc-timegrid-slot {
  height: 100px;
}

.fc-event-main {
  font-size: large;
}

.fc-col-header-cell-cushion {
  font-size: 1.5rem;
}

#calendar {
  max-height: 75vh;
  overflow-y: auto;
}

@media (max-width: 768px) {

  body {
    font-size: small;
  }

  h2 {
    font-size: x-large;
  }

  .nav-section {
      display: none;
  }

  .navbar {
    height: 3rem;
  }

  .btn-regular {
    padding: 0 0.3rem 0 0.3rem;
    height: auto;
  }

  .sidebar {
    width: 0;
    transition: width 0.2s;
  }

  .sidebar.active {
    width: 200px;
    transition: width 0.2s;
  }

  .customer-sidebar {
    width: 0;
    transition: width 0.2s;
  }

  .customer-sidebar.active {
    width: 200px;
    transition: width 0.2s;
  }

  .content {
    margin-left: 0;
  }

  .content.active {
    margin-left: 190px;
    transition: margin-left 0.2s;
  }

  .sidebar-toggler {
    display: block;
    margin-left: 1rem;
    cursor: pointer;
    border: none;
    border-radius: 0.5rem;
    background-color: white;
  }

  .sidebar-toggler.active .icon-bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 4px);
  }

  .sidebar-toggler.active .icon-bar:nth-child(2) {
    opacity: 0;
  }

  .sidebar-toggler.active .icon-bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -4px);
  }

  .form-control {
    padding: 0;
    margin: 0.2rem 0 0.1rem 0;
    height: auto;
  }

  .container-fluid {
    padding: 0;
  }

  .instrument-panel {
    max-height: 50vh;
  }

  .logo {
    display: none;
  }
}

@media screen and (min-width: 769px) {
  .sidebar {
    transform: translateX(0);
  }

  .customer-sidebar {
    transform: translateX(0);
  }

  .content {
    margin-left: 12vw;
  }
}

@media print {
  html, body {
    width: 100%; /* Ensure full width for printing */
    height: auto; /* Allow height to adjust to content */
    overflow: visible !important; /* Ensure overflow is visible for printing */
  } 

  .document {
    page-break-before: auto;
    page-break-inside: avoid;
  }
/* Hide scrollbars */
  body {
      overflow: hidden;
  }
}
