@charset "UTF-8";

	.bg-tecnm{ background-color: #1B396A !important; color: #fff !important; }
	.text-tecnm{ color: #1B396A !important; }
		
	/* Redes Sociales Lateral */
	.sticky-container{ 
		padding:0px; 
		margin:0px; 
		position:fixed; 
		right:-135px;
		top:230px; 
		width:210px; 
		z-index: 1100; 
	}
	
	/*.sticky-container:hover{ right:-135px;}*/
	.sticky li{
		list-style-type: none;
		background-color: transparent;
		color: #efefef;
		height: 43px;
		padding: 0px;
		margin: 0px 0px 1px 0px; 
		-webkit-transition: all 0.25s ease-in-out;
		-moz-transition: all 0.25s ease-in-out;
		-o-transition:all 0.25s ease-in-out; 
		transition: all 0.25s ease-in-out; 
		cursor: pointer;
	}
	
	.sticky li:hover{ background-color:#fff; }
	.sticky li:hover{ margin-left:-115px; }
	.sticky li img{ float:left; margin:5px 4px; margin-right:5px;}
	.sticky li p{ padding-top:5px; margin:0px; line-height:16px; font-size:11px; }
	.sticky li p a{ text-decoration:none; color:#000; }
	.sticky li p a:hover{ text-decoration: underline; }

	/* Menú Azul */
	#main_navbar .dropdown-menu{ background-color: #1B396A; }
	#main_navbar .dropdown-menu li:before{ background-color: #1B396A; }
	#main_navbar .dropdown-menu li:after{ background-color: #1B396A; }
	#main_navbar .dropdown-menu a{ color: #fff; }

@media (min-width: 768px) {
  html { font-size: 16px; } 
}

/* Estilos Básicos */
.galeria-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.galeria-container h2 {
    font-family: sans-serif;
    color: #333;
    border-bottom: 2px solid #9C2540; /* Color vino institucional */
    padding-bottom: 10px;
}
/* Configuración de la cuadrícula (Grid) */
.grid-galeria {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    padding: 20px 0;
}
/* Estilos de la imagen */
.item-galeria img {
    width: 100%;
    height: 200px; /* Altura fija para consistencia */
    object-fit: cover; /* Recorta la imagen sin deformarla */
    border-radius: 4px;
    transition: transform 0.3s ease;
}
/* Efecto hover al pasar el cursor */
.item-galeria img:hover {
    transform: scale(1.05);
}



.galeria-gobierno {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
    background-color: #f4f4f4; /* Fondo neutro */
}

.foto-item {
    border: 1px solid #D4C19C; /* Dorado institucional */
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
    margin: 0;
}

.foto-item img {
    width: 100%;
    height: auto;
    display: block;
}

.foto-item figcaption {
    background-color: #621132; /* Guinda institucional */
    color: #D4C19C; /* Dorado institucional */
    padding: 10px;
    text-align: center;
    font-family: 'GMX', sans-serif; /* Tipografía oficial */
    font-size: 0.9em;
}






body { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; }

/* Miniatura */
.img-thumbnail {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
    max-width: 300px;
}
.img-thumbnail:hover { opacity: 0.7; }

/* El Modal (fondo) */
.modal {
    display: none; /* Oculto por defecto */
    position: fixed;
    z-index: 1050; /* Por encima del contenido */
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8); /* Fondo oscuro con transparencia */
}

/* Imagen del Modal */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    animation-name: zoom;
    animation-duration: 0.6s;
}

/* Subtítulo */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Animación del modal */
@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

/* Botón cerrar */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}
.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Responsivo para pantallas pequeñas */
@media only screen and (max-width: 700px){
    .modal-content { width: 100%; }
}