#loader {
  width: 100%;
  height: 100%;
  background-color: #000000c2;
  z-index: 99999999999999;
  display: block;
  position: absolute;
}

/* for sm */

.custom-switch.custom-switch-sm .custom-control-label {
  padding-left: 1rem;
  padding-bottom: 1rem;
}

.custom-switch.custom-switch-sm .custom-control-label::before {
  height: 1rem;
  width: calc(1rem + 0.75rem);
  border-radius: 2rem;
}

.custom-switch.custom-switch-sm .custom-control-label::after {
  width: calc(1rem - 4px);
  height: calc(1rem - 4px);
  border-radius: calc(1rem - (1rem / 2));
}

.custom-switch.custom-switch-sm
  .custom-control-input:checked
  ~ .custom-control-label::after {
  transform: translateX(calc(1rem - 0.25rem));
}

/* for md */

.bottom_bennecke {
  border-bottom: 2px solid #0198a9;
}

.btn_bennecke{
  background-color: #0198a9;
  color: white;
}

.active-bennecke {
  background-color: #0198a9!important;
  font-weight: bold;
  color: white;
}

.custom-switch.custom-switch-md .custom-control-label {
  padding-left: 1rem;
  padding-bottom: 0.5rem;
  margin-top: 30px;
}

.custom-switch.custom-switch-md .custom-control-label::before {
  height: 1.5rem;
  width: calc(2rem + 0.75rem);
  border-radius: 3rem;
}

.custom-switch.custom-switch-md .custom-control-label::after {
  width: calc(1.5rem - 4px);
  height: calc(1.5rem - 4px);
  border-radius: calc(2rem - (1.5rem / 2));
}

.custom-switch.custom-switch-md
  .custom-control-input:checked
  ~ .custom-control-label::after {
  transform: translateX(calc(1.5rem - 0.25rem));
}

/* for lg */
/* Color del switch desactivado */
.custom-control-label::before {
  background-color: #dcdcdc; /* Color gris claro */
  transition: background-color 0.3s ease;
}

/* Color del switch activado */
.custom-control-input:checked ~ .custom-control-label::before {
  background-color: #0198a9; /* Color verde o el que prefieras */
}

/* Color del círculo desactivado */
.custom-control-label::after {
  background-color: #ffffff; /* Color blanco o el que prefieras */
  transition: background-color 0.3s ease;
}

/* Color del círculo activado */
.custom-control-input:checked ~ .custom-control-label::after {
  background-color: #ffffff; /* Puedes cambiarlo por otro si lo prefieres */
}

/* Borde del switch desactivado */
.custom-control-label::before {
    border: 1px solid #dcdcdc; /* Borde gris claro */
}

/* Borde del switch activado */
.custom-control-input:checked ~ .custom-control-label::before {
    border: 1px solid #0198a9; /* Borde verde o el color que prefieras */
}

#spinner {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 120px;
  height: 120px;
  margin: -76px 0 0 -76px;
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #3498db;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Add animation to "page content" */
.animate-bottom {
  position: relative;
  -webkit-animation-name: animatebottom;
  -webkit-animation-duration: 1s;
  animation-name: animatebottom;
  animation-duration: 1s;
}

@-webkit-keyframes animatebottom {
  from {
    bottom: -100px;
    opacity: 0;
  }
  to {
    bottom: 0px;
    opacity: 1;
  }
}

@keyframes animatebottom {
  from {
    bottom: -100px;
    opacity: 0;
  }
  to {
    bottom: 0;
    opacity: 1;
  }
}

.modal-double {
  min-width: 900px !important;
}

.image-viewer {
  max-height: 307px;
  overflow-y: scroll;
}

.image-view {
  width: 100%;
  margin-bottom: 10px;
  margin-top: 10px;
}

.favorite {
  background-color: lightblue;
}
