/**
 * @file
 * Subtheme specific CSS.
 */
 
 /* GENERAL */
 body, html {
  font-family: 'Lato', serif;
  background: #fff!important;
}



 /* HEADER */

.cabecera {
  align-items: center;
}

#navbar-main {
  padding: 30px 0;
  font-size: 20px;
}

#navbar-main .dropdown-toggle::after {
  display: none;
}

#navbar-main .dropdown-menu {
  padding: 20px;
  border: none;
  box-shadow: 0 2px 1px rgba(0,0,0,.2);
  font-size: 20px;
}

#navbar-main .dropdown-item:focus, #navbar-main .dropdown-item:hover {
  background: none;
}

#navbar-main .dropdown-menu a {
  text-decoration: none;
}

 #block-santander-banner img {
  max-width: 100%;
  height: auto;
 }




 @media screen and (max-width: 1200px) {
 /* Inicialmente oculta el menú a la derecha */
  #CollapsingNavbar {
    position: fixed;
    top: 0;
    right: -300px; /* Ajusta el valor según el ancho del menú */
    height: 100%;
    width: 300px; /* Ajusta el ancho del menú */
    background-color: white;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    transition: right 0.3s ease-in-out;
    z-index: 1050; /* Asegúrate de que esté sobre el resto del contenido */
  }
 }

/* Cuando se abre el menú, aparece desde la derecha */
#CollapsingNavbar.show {
  right: 0;
}

/* Ajustes opcionales para hacer que el botón se posicione bien */
.navbar-toggler {
  z-index: 1100; /* Asegúrate de que el botón del menú esté siempre encima */
}



 
/* FOOTER */
.footer_final ul {
  justify-content: flex-end;
}

.site-footer {
  background: inherit!important;
}




.titulo-mes {
  font-weight: 20px;
  text-transform: uppercase;
  font-weight: bold;
  text-align: center;
}


/* Estilos generales para la tabla */
.tabla-mes {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 16px;
  text-align: center;
  background-color: #f9f9f9;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.tabla-mes .comidas {
  text-align: center;
}


.tabla-mes th,
.tabla-mes td {
  padding: 5px;
  border: 1px solid #ddd;
  text-align: center;
  max-width: 120px;
}

.tabla-mes th {
  background-color: #007bff;
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tabla-mes td {
  background-color: #ffffff;
  color: #333;
}

.tabla-mes td a {
  text-decoration: none;
}

/* Días del fin de semana */
.tabla-mes .weekend {
  background-color: #ffe5e5;
  color: #d9534f;
  font-weight: bold;
}

/* Día actual */
.tabla-mes .today {
  background-color: #d4edda;
  color: #155724;
  font-weight: bold;
  border: 2px solid #28a745;
}

/* Hover en las celdas */
.tabla-mes td:hover {
  background-color: #f1f1f1;
  cursor: pointer;
}

/* Bordes redondeados para la tabla */
.tabla-mes {
  border-radius: 8px;
  overflow: hidden;
}

.pendiente_cocinar {
  font-weight: bold;
  font-size: 14px;
}

.ingredientes td {
  vertical-align: top;
}




.entity-browser-form {
  max-width: 99%;;
  background-color: #e6e6e6;
  padding: 10px;
}

.entity-browser-form #edit-submit {
  margin-top: 20px;
}



.entity-browser-form .views-view-responsive-grid__item .checkbox {
  margin-bottom: 0!important;
}

.entity-browser-comida-form .views-field-entity-browser-select, .entity-browser-cena-form .views-field-entity-browser-select {
  float: left
}

form #edit-field-lunes-comida summary, form #edit-field-lunes-cena summary {
  display: none;
}


.node-semana-edit-form .field--widget-entity-browser-entity-reference {
  margin-bottom: 0!important;
}

.node-semana-edit-form .field--widget-entity-browser-entity-reference p {
  margin: 0;
  background-color: #abc3db;
  padding: 10px;
}

.node-semana-edit-form .entities-list {
  background-color: #abc3db;
  margin-bottom: 0!important;
}

.node-semana-edit-form .entities-list .item-container {
  text-transform: uppercase;
  font-weight: bold;
  border: 1px solid #333;
  padding: 10px;
}

.node-semana-edit-form .field--type-boolean {
  background-color: #abc3db;
  padding: 0 10px;
}

.node-semana-edit-form .layout-region-node-footer #edit-actions {
  padding: 20px;
  background-color: #e6e6e6;
}

.node-semana-edit-form #edit-delete {
  float: right;
}

.btn-primary {
  color: rgb(255 255 255)!important
}