section, source, video{ 
    display: block; 
}

html {
  background-color: #6a8f72; /* Verde grama apagado */
  background-image: url('../imagenes/logo.png');
  background-repeat: repeat;
  background-size: 30px auto; /* Más pequeño y sutil */
  background-attachment: fixed;
  background-blend-mode: soft-light;
}

/* Capa acuarela superpuesta */
html::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(255,255,255,0.04), rgba(0,0,0,0.04));
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: -1;
}

body { 
	height:100%;
	/* Un color gris azulado oscuro para el texto principal */
	color: #000000; 
	background-color: transparent; /* Hace que el fondo del body sea transparente */	
}

#encabezado {
	display:inline;
}

#encabezado li {
	display: inline;
	height: 50px;
	width: 150px;
	/* Borde con el azul secundario */
	border: 1px solid #3498db; 
	text-decoration: none;
	padding: 0;
	cursor: pointer;
}

.minusculas{
	text-transform:lowercase;
}

.mayusculas{
	text-transform:uppercase;
}

h1 {
	font-size:36px;
}


 h2 {
  font-weight: bold; /* Más grosor */
  color: #1abc9c;  /* Gris azulado oscuro, ya lo usas en el body */
  text-shadow: 
    1px 1px 2px #f4f6f7,  /* sombra clara para contraste */
    -1px -1px 2px #f4f6f7; /* sombra inversa para contorno completo */
  text-align: center !important;	
}



.container {
	margin:  auto;
	position: relative;
	width: auto;
	font-size:.8em;
}

/*------------------------------*/
ul li { 
	list-style:none;
	margin:0;
	padding:0;
	text-align: center ;
}

#contenido {
	height:350px;
	width:auto;
	text-align: center ;
}

#edificio {
	text-align: center ;
}

.lista1 {
	width:300px;
	height:25px;
	border:radius;
	padding:0;
}

.lista2 {
	width:100px;
	height:25px;
	border:radius;
	padding:0;
}

.lista3 {
	width:150px;
	height:25px;
	border:radius;
	padding:0;
}

.formato {
	width: auto;
	padding-left: 10%;
	padding-right: 10%;
}

.formato3 {
	width: auto;
	padding-left: 10%;
	padding-right: 10%;
}

.formato4 {
	width: auto;
	padding-left: 0%;
	padding-right: 0%;
}

#contenedor {
	margin:  auto;
}

.wrapper {
	width: 95%;
	margin: auto;
	border: 0px;
	margin-bottom: 0px;
}

/*----------------------------------------*/
.tcalInput {
	text-align:center; 
	padding-right: 20px;
	cursor: pointer;
	background:url(../img/cal.gif)100% 50% no-repeat;
}

/* --- Paleta de colores para el calendario --- */
#tcal {
	position: absolute;
	visibility: hidden;
	z-index: 100;
	width: 170px;
	background-color: white;
	margin-top: 2px;
	padding: 0 2px 2px 2px;
	border: 1px solid #bdc3c7; /* Borde gris claro */
	-moz-box-shadow: 3px 3px 4px #ecf0f1;
	-webkit-box-shadow: 3px 3px 4px #ecf0f1;
	box-shadow: 3px 3px 4px #ecf0f1;
}

#tcalControls {
	border-collapse: collapse;
	border: 0;
	width: 100%;
}

#tcalControls td {
	border-collapse: collapse;
	border: 0;
	padding: 0;
	width: 16px;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	cursor: pointer;
}

#tcalControls th {
	border-collapse: collapse;
	border: 0;
	padding: 0;
	line-height: 25px;
	font-size: 10px;
	text-align: center;
	font-family: Tahoma, Geneva, sans-serif;
	font-weight: bold;
	white-space: nowrap;
}

#tcalPrevYear { background-image:url(../img/prev_year.gif); }
#tcalPrevMonth { background-image:url(../img/prev_mon.gif); }
#tcalNextMonth { background-image:url(../img/next_mon.gif); }
#tcalNextYear { background-image:url(../img/next_year.gif); }

#tcalGrid {
	border-collapse: collapse;
	border: 1px solid #bdc3c7;
	width: 100%;
}

#tcalGrid th {
	border: 1px solid #bdc3c7;
	padding: 3px 0;
	text-align: center;
	font-family: Tahoma, Geneva, sans-serif;
	font-size: 10px;
	/* Usamos el azul secundario para la cabecera */
	background-color: #3498db;
	color: white;
}

#tcalGrid td {
	border: 0;
	padding: 2px 0;
	text-align: center;
	font-family: Tahoma, Geneva, sans-serif;
	width: 14%;
	font-size: 11px;
	cursor: pointer;
}		

#tcalGrid td.tcalOtherMonth { color: #bdc3c7; }
/* Un verde agua muy pálido para los fines de semana */
#tcalGrid td.tcalWeekend { background-color: #e0f2f1; } 
/* Borde del día actual con el color principal */
#tcalGrid td.tcalToday { border: 2px solid #1abc9c; } 
/* Día seleccionado con un verde agua más claro */
#tcalGrid td.tcalSelected { background-color: #76d7c4; } 
/*------------------------------*/

a:visited, a:link {
    font-size: 20px;
    /* Los enlaces usan el color azul */
    color: #3498db; 
    text-decoration: none;
}

input, select, TEXTAREA {
	border-radius: .25em;
	cursor: pointer;
	/* Fondo blanco con borde azulado claro */
	background: #FFFFFF; 
	padding: .5em;
	border: 1px solid #aed6f1; 
	padding-left: 5px;
}

fieldset {

	border-radius: 1em;
	/* Fondo de un gris muy claro (casi blanco) y borde con el color principal */
	background: #f4f6f7; 
	border: 1px solid #1abc9c; 
}

table {
	/* Borde de tabla con el color azul */
	border-color: #3498db; 
}

/*-------------------------------------*/
.boton {
	/* Color principal verde agua */
	background: #1abc9c; 
	border-radius: 0 1em;
	color: #FFFFFF; 
	font-size: 1em;
	font-weight: bold;
	text-align: center;
	width: 100px;
	border: none;
	box-shadow: 2px 2px 5px #bdc3c7; /* Sombra suave grisácea */
}

.boton:hover {
	/* Al pasar el ratón, cambia al color azul */
	background: #3498db; 
	border-radius: 1em 0;
	color: #FFFFFF;
	cursor: pointer;
}
/*------------------------------*/
#contento { 
	width: 600px; 
	margin: 0 auto;
	

}
#contento2 { 
	width: 1000px; 
	margin: 0 auto;
	

}
#contento3 { 
	width: 1200px; 
	margin: 0 auto;
	

	
}
#contento4 { 
	width: 1500px; 
	margin: 0 auto;
	

}
/*------------------------------*/


.cat{
	max-height: 500px;
	max-width: 400px;
}

/* ==========================================
   Overlay de carga con spinner ("Procesando...")
   Uso:
   <div id="loadingOverlay">
       <div class="spinner"></div>
       <div class="loading-text">Procesando...</div>
       <div class="loading-sub">Texto opcional</div>
   </div>
   Mostrar/ocultar con JS:
   document.getElementById('loadingOverlay').style.display = 'flex' / 'none'
   ========================================== */
#loadingOverlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
#loadingOverlay .spinner {
    width: 60px; height: 60px;
    border: 6px solid #f3f3f3;
    border-top: 6px solid #27ae60;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
#loadingOverlay .loading-text {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
}
#loadingOverlay .loading-sub {
    color: #ccc;
    font-size: 13px;
    margin-top: 8px;
}