@charset "UTF-8";
.region-header,
.region-highlighted {
  position: absolute;
  width: 100%;
  z-index: 5;
}

.region-header {
  margin-top: 0 !important;
  color: #fff;
}
.region-header .nav-link:hover {
  color: inherit;
}

.region-highlighted {
  margin-top: 110px;
}

.cklb-slideshow .block-layout-builder > .content {
  margin-top: 2rem;
}

.calendar-view-table thead th {
  color: white;
}

.advanced-language-selector .btn.active, .advanced-language-selector .dropdown-toggle {
  border: none !important;
  border-color: transparent;
  color: black;
}

.view-listado-turnos-ajax {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  max-width: 600px;
  margin: 4rem auto;
  padding: 1.5rem;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.view-listado-turnos-ajax .view-header h5 {
  text-align: center;
  background: royalblue;
  color: white;
  border-radius: 10px;
  padding: 10px;
}
.view-listado-turnos-ajax .view-header h4 {
  color: #2c3e50;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 600;
  position: relative;
  padding-bottom: 12px;
}
.view-listado-turnos-ajax .view-header h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #3498db, #9b59b6);
  border-radius: 2px;
}
.view-listado-turnos-ajax .view-content {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-around;
}
.view-listado-turnos-ajax .views-row {
  margin-bottom: 12px;
  transition: all 0.3s ease;
  max-width: 230px;
  width: 100%;
}
.view-listado-turnos-ajax .views-row:last-child {
  margin-bottom: 0;
}
.view-listado-turnos-ajax .views-row .views-field-title {
  background: #f8fafc;
  border-radius: 8px;
  padding: 14px 18px;
  border-left: 4px solid #3498db;
  transition: all 0.2s ease;
}
.view-listado-turnos-ajax .views-row .views-field-title .field-content {
  display: flex;
  flex-direction: column;
}
.view-listado-turnos-ajax .views-row .views-field-title .field-content .small-custom {
  font-size: 12px;
  font-style: italic;
  font-weight: 700;
  color: #b32424;
  padding: 5px 25px;
}
.view-listado-turnos-ajax .views-row .views-field-title .field-content .book-Red {
  background-color: antiquewhite;
  border-radius: 10px;
}
.view-listado-turnos-ajax .views-row .views-field-title .field-content .date-custom {
  display: block;
  color: #34495e;
  font-size: 1rem;
  position: relative;
  padding-left: 24px;
  font-weight: 500;
}
.view-listado-turnos-ajax .views-row .views-field-title .field-content .date-custom::before {
  content: "•";
  color: #3498db;
  font-size: 1.5rem;
  position: absolute;
  left: 0;
  top: -3px;
}
.view-listado-turnos-ajax .views-row:hover .views-field-title {
  background: #ffffff;
  border-left-color: #9b59b6;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateX(2px);
}
@media (max-width: 640px) {
  .view-listado-turnos-ajax {
    padding: 1rem;
    margin: 1rem;
  }
  .view-listado-turnos-ajax .view-header h4 {
    font-size: 1.5rem;
    padding-bottom: 8px;
  }
  .view-listado-turnos-ajax .views-row .views-field-title {
    padding: 12px 15px;
  }
  .view-listado-turnos-ajax .views-row .views-field-title .field-content .date-custom {
    font-size: 0.9rem;
    padding-left: 20px;
  }
}

.leyenda-calendario {
  font-family: "Arial", sans-serif;
  margin: 1rem 0;
  padding: 1rem;
  background: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  max-width: 300px;
}

.leyenda-calendario h3 {
  margin-top: 0;
  color: #333;
  font-size: 1.2rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.5rem;
}

.leyenda-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.leyenda-item {
  display: flex;
  align-items: center;
  margin: 0.5rem 0;
}

.leyenda-color {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  margin-right: 10px;
}

/* Colores de la leyenda (coinciden con los del calendario) */
.disponible {
  background-color: #4CAF50;
  /* Verde */
}

.lleno {
  background-color: #F44336;
  /* Rojo */
}

.actual {
  background-color: beige;
  /* Azul */
  border: 2px solid #cb3329;
  /* Borde para destacar */
}

.leyenda-texto {
  color: #555;
  font-size: 0.9rem;
}

ul.sf-menu.sf-style-white span.nolink {
  color: black !important;
}
