/*
Theme Name: Language Child Theme
Template: Impreza
Version: 1.0
Author:	QuatreSoft
Author URI: https://quatresoft.com
*/

/*Add your own styles here:*/

/* ==== Estilos Horario ==== */
.la-schedule {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    table-layout: fixed; /* columnas con el mismo ancho */
    text-align: center;
    border-radius: 12px;
    overflow: hidden;
}
.la-schedule thead {
    background-color: #023e7d;
    color: white;
}
.la-schedule th {
    padding: 10px;
    border: 1px solid #dce1e7;
    text-align: center; /* centrado de los th */
}
.la-schedule td {
    padding: 10px;
    border: 1px solid #dce1e7;
    vertical-align: middle;
    height: 70px; /* altura igualada */
}
.la-schedule tbody td:first-child {
    font-weight: bold;
    background-color: #f1f5ff;
    color: #023e7d;
}
.la-dot {
    width: 16px;
    height: 16px;
    display: inline-block;
    border-radius: 50%;
}
.green { background-color: #1abc9c; }
.red { background-color: #e74c3c; }
.yellow { background-color: #f1c40f; }
.purple { background-color: #9b59b6; }
.blue-bg { background-color: #edf4ff; }
.la-schedule .text-sm { font-size: 13px; font-weight: 500; }
@media (max-width: 768px) {
	.la-calendar th, .la-schedule td {
      font-size: 12px;
      padding: 6px;
    }
}

/* ==== Estilos Aviso Informativo en Horario ==== */
.la-info {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    margin-top: 12px;
    padding: 10px 14px;
    background-color: #f9fbff;
    border: 1px solid #dce1e7;
    border-radius: 8px;
    color: #023e7d;
    line-height: 1.5;
  }
.la-info strong {
    color: #023e7d;
  }
 
 /** Tablas de horarios **/
table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    table-layout: fixed; 
    text-align: center;
    border-radius: 12px;
    overflow: hidden;
}
thead {
    background-color: #023e7d;
    color: white;
}
 th {
    padding: 10px;
    border: 1px solid #dce1e7;
    text-align: center; 
}
 td {
    padding: 10px;
    border: 1px solid #dce1e7;
    vertical-align: middle;
    height: 50px; 
}
 tbody td:first-child {
    font-weight: bold;
    background-color: #f1f5ff;
    color: #023e7d;
}
table.dataTable.no-footer{
    border-bottom: 1px solid #dce1e7 !important;
}
table.dataTable thead th, table.dataTable thead td{
    border-bottom: 1px solid #dce1e7 !important;
}
.table-signature {
    font-family: 'Poppins', sans-serif;
    font-size: 14px!important;
    margin-top: 12px;
    padding: 10px 14px;
    background-color: #f9fbff;
    border: 1px solid #dce1e7;
    border-radius: 8px;
    color: #023e7d!important;
    line-height: 1.5;
  }
.table-signature strong {
    color: #023e7d!important;
  }
/** Correcciones en la tabla del Calendario por el codigo general de horarios**/
div.fc-multimonth-header > table{border-radius:unset;}
div.fc-view-harness.fc-view-harness-passive > div > div:nth-child(n) > div > table{border-radius:unset;}
div.fc-multimonth-header > table > thead{background-color:#fff;}
table.fc-multimonth-daygrid-table > tbody > tr:nth-child(n) > td:first-child{background-color:#fff;}
/** Banner Cookies **/
#cmplz-cookiebanner-container > div > div.cmplz-links.cmplz-information > a.cmplz-link.cmplz-manage-third-parties.cookie-statement{display:none!important;}
/** Borde Bandera Idiomas **/
.bordebandera > div.w-iconbox-icon > img{border:2px solid #fff;border-radius:32px;}


/* Reemplaza el texto por un círculo de color */
.la-schedule td {
  position: relative;
}

.la-schedule td:has(> :only-child) {
  text-align: center;
}

/* Verde */
.la-schedule td:contains("Green") {
  color: transparent;
}
.la-schedule td:contains("Green")::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #1abc9c;
}

/* Rojo */
.la-schedule td:contains("Red") {
  color: transparent;
}
.la-schedule td:contains("Red")::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #e74c3c;
}

/* Amarillo */
.la-schedule td:contains("Yellow") {
  color: transparent;
}
.la-schedule td:contains("Yellow")::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #f1c40f;
}

/* Morado */
.la-schedule td:contains("Purple") {
  color: transparent;
}
.la-schedule td:contains("Purple")::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #9b59b6;
}

.legend-item {
  margin-right: 2em; /* ajusta el espacio horizontal */
  display: inline-block;
}

/* Nube publicitaria */
.promo-cloud {
  width: 100%;
  background: #f1c40f;
  color: #023e7d;
  font-weight: bold;
  padding: 40px 20px;
  border-radius: 50px;
  position: relative;
  text-align: center;
  font-size: 22px;
  line-height: 1.4;
  overflow: visible;
  z-index: 0;
}
.promo-cloud > a:hover{color:#1e66b9;}

/* burbuja izquierda (más grande) */
.promo-cloud::before {
  content: '';
  position: absolute;
  background: #f1c40f;
  border-radius: 50%;
  width: 60%;
  height: 165px;
  top: -65px;
  left: 6%;
  z-index: -1;
}

/* burbuja derecha (más pequeña) */
.promo-cloud::after {
  content: '';
  position: absolute;
  background: #f1c40f;
  border-radius: 50%;
  width: 35%;
  height: 100px;
  top: -45px;
  right: 6%;
  z-index: -1;
}

/* estilo base de las burbujas extra */
.promo-cloud .bubble {
  position: absolute;
  background: #f1c40f;
  border-radius: 50%;
  z-index: -1;
}

/* burbuja inferior izquierda */
.promo-cloud .bottom-left {
	width: 35%;
    height: 100px;
    bottom: -35px;
    left: 5%;
}

/* burbuja inferior derecha */
.promo-cloud .bottom-right {
    width: 65%;
    height: 120px;
    bottom: -53px;
    right: 5%;
}


.promo-circulo {
	width: 100%;
	color: #023e7d;
	font-weight: bold;
  padding: 60px 20px;
	border-radius: 50%;
	background: #f1c40f;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
  margin:0px auto;
font-size: 22px;
  line-height: 1.4;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}