@charset "UTF-8";

/* GLOBAL */

:root {
	--negro: rgb(0, 35, 43) ;
	--oscuro: rgb(19, 80, 91);
	--verde: rgb(12, 116, 137);
	--light: rgb(68, 161, 160);
	--blanco: rgb(255, 255, 250);
	--grisClaro: rgb(215, 217, 206);
	--grisBlanco: rgb(240, 240, 240);
	--menu-fonts: "Myriad Pro", "Gill Sans", "Gill Sans MT", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
}

/*  ----------------LOGO IBA-----------------*/

.logo{
	font-family: "Arial Black", sans-serif;
	font-size: 4rem;
	color: transparent;
	-webkit-text-stroke: 1px var(--grisBlanco);
}



/* -------------------CUERPO----------------- */

html {
	font-size: 62.5%; /* 1 rem = 10px*/
	box-sizing: border-box;
	background-color: var(--blanco);
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

/* ------------------ICONO en Linea de Texto */

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.contact-item a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--accent, #ff9900);
}

.icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}


img {

    max-width: 100%;
}

sup {
	font-size: 1rem;
}

body {
	font-family: var(--menu-fonts) ;
	font-weight: lighter;
	color: var(--negro);
	margin: 0px;
	font-size: 1.8rem;
	line-height: 2.5rem;
}

a {
	font-size: 2rem;
	text-decoration: none;
	color: var(--verde);
	font-weight: lighter;
	text-align: center;
	line-height: 2.2rem;
	padding-left: 15px;
	padding-right: 15px;
}

ul {
	padding-left: 2rem;
}

ol {
	line-height: 3rem;
}

p {
	width: 100%;
	font-family: var(--menu-fonts) ;
	font-weight: lighter;
	text-align: justify;
	line-height: 2.5rem;
	color: var(--negro);
}

strong, b {
	font-weight: 500;
}

h1 {
	font-size: 2.5rem;
	font-weight: lighter;
	color: var(--oscuro);
	text-align: center;
	padding-right: 15px;
	padding-left: 15px;
}

h2 {
	font-size: 2rem;
	color: var(--verde);
	font-weight: lighter;
	text-align: center;
	padding-right: 15px;
	padding-left: 15px;
}

h3 {
	font-size: 2rem;
	color: var(--verde);
	font-weight: lighter;
	padding-right: 15px;
	padding-left: 15px;
}

h4 {
	font-size: 1.7rem;
	font-weight: bolder;
}

h5 {
	font-size: 1.5rem;
}

h6 {
	font-size: 1.3rem;
	

}

h7 {
	font-size: 1.5rem;
	padding-left: 2rem;
	text-align: left;
}

head{
	font-size: 1.3rem;
}


/*. ------------------ANIMACION FOTOS---------------- */


.animar-visible {
  opacity: 0;
  transform: translateY(30px); /* empieza más abajo */
  transition: all 0.8s ease-out;
}

.animar-visible.visible {
  opacity: 1;
  transform: translateY(0); /* vuelve a su posición normal */
}

@keyframes aparecer {
  to {
    opacity: 5;
    transform: translateY(0);
  }
}



/* -----------MARCO DECORATIVO PARA FOTO -------------*/

.paspartu {
  padding: 10px;               /* Marco blanco */
  background-color: var(--grisBlanco);     /* Color del paspartu */
  border: 1px solid var(--oscuro);     /* Color del marco */
  display: inline-block;       /* Ajusta al tamaño del contenido (la imagen) */
}


/*. -------------------CARRUSEL. ----------------------*/

.carrusel {
  position: relative;
  width: 100%;          /* ocupa siempre todo el ancho disponible */
  max-width: 800px;     /* opcional: límite máximo en pantallas grandes */
  aspect-ratio: 16 / 9; /* mantiene proporción */
  margin: 0 auto;       /* centra el carrusel sin márgenes laterales extra */
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.carrusel-inner {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
  background-color: var(--Blanco);

}

.carrusel-item {
  min-width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--Blanco);
}

.carrusel-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;   /* ajusta imagen sin deformarla */
  padding: 2rem;         /* margen interno alrededor */
  box-sizing: border-box;
  /*background: #000;  */    /* opcional: relleno negro si sobran espacios */
}

.carrusel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9); 
  color: var(--oscuro);
  border: none;
  padding: 1rem;
  cursor: pointer;
  font-size: 3rem;
  border-radius: 70%;
  z-index: 10;
}

.carrusel-btn.prev {
	left: 10px;

}

.carrusel-btn.next {
  right: 10px;
}

.carrusel-btn:hover {
  background: rgba(255, 255, 255, 0.1); 
}

.carrusel-slide {
  position: relative;
  width: 100%;
  height: 100%;
}

.carrusel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  box-sizing: border-box;
  background: var(--Blanco);
  border-radius: 6px;
}

.caption {
  position: absolute;
  bottom: 0;                /* siempre pegado abajo */
  left: 0;
  width: 100%;
  background: var(--Blanco);
  color: var(--negro);
  text-align: center;
  font-size: 1.4rem;
  padding: 0.5rem;
  box-sizing: border-box;
}


/*. ---------------FAQ ------------------------ */

.faq-item {
	background-color: var(--grisBlanco);
	border: 1px solid var(--grisClaro);
	margin-bottom: 10px;
	border-radius: 5px;
	overflow: hidden;
}

.faq-question {
	background-color: var(--grisBlanco);
	padding: 15px;
	cursor: pointer;
	font-weight: 500;
	color: #004d4d;
}

.faq-answer {
	display: none;
	padding: 15px;
	border-top: 1px solid var(--grisClaro);
	background-color: var(--grisBlanco);
}

.faq-item.active .faq-answer {
	display: block;
}


/* ---------------------TABLA----------------------*/


th, td {
background-color: var(--Blanco);
  border: 1px solid;
  border-color: var(--grisClaro);
  padding: 8px;
  text-align: left;
}

colgroup col:first-child {
  width: 60%;
}

colgroup col:last-child {
  width: 40%;
}

.tdHead {
	background: var(--verde);
	color: var(--blanco);
}



/* --------------------FORMS ---------------------*/

form {
max-width: 600px;
margin: 50px auto;
padding: 20px;
border: 1px; color: var(--verde);
border-radius: 8px;
font-family: sans-serif;
}

label {
display: block;
margin-top: 15px;
font-weight: bold;
}

input, textarea {
width: 100%;
padding: 10px;
margin-top: 5px;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
}

button {
margin-top: 20px;
padding: 10px 20px;
background-color: #000;
color: #fff;
border: none;
border-radius: 4px;
cursor: pointer;
}

button:hover {
background-color: #333;
}

.imputWraper{
	background-color: var(--blanco);
	padding: 3rem ;
	line-height: 3rem;
}

.imputLevel {
	display: inline;
	margin-bottom: 4rem;
}

.imputField {
	padding: 1rem;
	font-size: 2rem;
	color: var(--verdeOscuro);
	width: 100%;
}

.imputFieldList {
	appearance: none;
	padding: 1rem;
	font-size: 2rem;
	color: var(--verdeOscuro);
	width: 100%;
	border-color: var(--grisClaro);
}

.imputButton {
	background-color: var(--verde);
	padding: 1rem;
	font-size: 2.5rem;
	font-style: var(--grisBlanco);
	width: 50%;
	border-radius: 15px;
	border-color: var (var(--negro));

}



/*----------CARGUE DE ARCHIVOS RAMDOM EN HOME---------- */
				

.ramdomContenedor {
    display: block; /* o flex si necesitas, pero aquí block funciona mejor */
    width: 100%;
    margin: 0;
    padding: 0;
}

.ramdomBloque {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.ramdomIframe {
    width: 100%;
    height: 500px; /* Ajusta según necesites */
    border: none;
}	


/* -------------AJUSTE DE ARTICULO PARA IFRAME---------- */


.articuloFull.fullwidth {
    width: 100% !important; /* anula el 95% anterior */
    padding: 0 !important;
    margin: 0 auto !important;
    display: block !important;
}

.articuloFull.fullwidth .ramdomContenedor,
.articuloFull.fullwidth .ramdomBloque {
    width: 100% !important;
    margin: 0;
    padding: 0;
}

.articuloFull.fullwidth iframe {
    display: block;
    width: 100% !important;
    height: 400px; /* ajusta el alto según necesites */
    border: none;
}

.ramdomBloque iframe {
    display: block;
    max-width: 100%;
    width: 100%;
    height: 400px; /* ajusta según necesites */
    border: none;
	overflow: hidden;
}

.imagenMiniatura{
    width: 300px;
    height: 200px;
    object-fit: cover;   /* recorta manteniendo proporción */
    object-position: center; /* centra la parte visible */
}


/* -----------CONTENEDOR DE IMAGEN PARA CROP HORIZONTAL---------*/


.imagen-contenedor {
  width: 100%;
  height: 320px;
  overflow: hidden;
  position: relative;
}

.imagen-contenedor img {
  height: 100%;
  width: auto;
  min-width: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: translateY(20px);
  animation: aparecer 1s ease-out forwards;
}

.imagen-contenedor img.visible {
  opacity: 1;
  transform: translateY(0);
}


/*.  ----------------------IMAGEN.---------------------------- */


.center-image {
	margin: 0 auto;
	display: block;
	text-align: center;
	width: auto;
	height: auto;
}

.center-image p {
	text-align: center;
}

.sombra {
	-webkit-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.2);
	-moz-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.2);
	box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.2);
	/*margin: 1rem;*/
	border-radius: 10px;
	padding: 2rem;
}

.sombraScuare { 
	-webkit-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.2);
	-moz-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.2);
	box-shadow:    2px 2px 5px 0px rgba(0,0,0,0.2);
	margin: 1rem;
	border-radius: 0px;
}


/* ------------------------ESCUDO------------------------- */


.escudo {
	width: 100%;
	height: 20rem;
	/*background-color: var(--oscuro); */
	/*background: linear-gradient(180deg,rgba(4, 4, 4, 1) 0%, rgba(19, 80, 91, 1) 100%);*/
	background: linear-gradient(180deg, var(--negro)0%, var(--oscuro)100%);
	margin-left: auto;
	margin-right: auto;
	display: block;
	text-align: center;
	padding-top: 2rem;
	padding-bottom: 2rem;
}




/*---------------- NAVEGACION SUPERIOR PRINCIPAL------------ */


.iframe-menu {
	width: 100%;
	height: 5rem;
	border: 0;

}	
.iframe-pdfViewer {
	width: 100%;
	height: 500px;
	border: 0;
	zoom: 0.5;
}	

.nav--bg {
	background-color: var(--oscuro);
	-webkit-box-shadow: 2px 1px 10px 0px rgba(0,0,0,0.25);
	-moz-box-shadow: 1px 1px 10px 0px rgba(0,0,0,0.25);
	box-shadow: 2px 1px 10px 0px rgba(0,0,0,0.25);
}

.navegacion-principal{
	display: flex;
	flex-direction: row;
	justify-content: center;
	font-weight: lighter;
	font-family: var(--menu-fonts);
}

.navegacion-principal a {
	display: block;
	text-align: center;
	padding: 1rem;
	color: var(--blanco);
	text-decoration: none;
	font-size: 1.7rem;
	transition: color 1.0s all;
}

.navegacion-principal a:hover {
	background-color: var(--oscuro);
	color: var(--grisClaro); 
}


/* --------------NAVEGACION IZQUIERDA O SUB MENU------------- */

.iframe-menu-left {
	width: 100%;
	min-width: 18rem;
	height: auto; 
	/*min-height: fit-content;*/
	border: 0;
	float: left;
}

.nav__left--bg {
	background-color: var(--Blanco);
	width: 90%;
	-webkit-box-shadow: 2px 2px 10px 0px rgba(0,0,0,0.25);
	-moz-box-shadow: 2px 2px 10px 0px rgba(0,0,0,0.25);
	box-shadow: 2px 2px 10px 0px rgba(0,0,0,0.25);
}

.navegacion__leftMenu{
	display: flex;
	flex-direction: column;
	font-family: var(--menu-fonts);
	font-weight: lighter;
}

.navegacion__leftMenu a {
	display: block;
	text-decoration: none;
	font-size: 1.7rem;
	padding: 0rem 1rem .5rem 2rem;
	color: var(--verde);
	text-align: left;
}

.navegacion__leftMenu a:hover {
	color: var(--verdeOscuro);
}

.title__submenu {
	background-color: var(--grisBlanco);
	font-size: bold;
	font-weight: 2rem;
	color: var(--verde);
	text-align: center;
	border-bottom: thin solid var(--grisClaro);
	padding-top: 1rem;
	padding-bottom: 1rem;
}


/*. ESPACIADOR. */ 

.spaceDiv {
	width: auto;
	height: 2rem;
}


/* NAVEGACION BAJA O FOOTER */

.iframe-menu-footer {
	width: 100%;
	height: 5rem;
	border: 0;
}

.contenedor-footer{
	max-width: 95rem;
	margin: 0 auto;
	text-align: center;
}

.footer-bg {
	background-color: var(--verde);
	-webkit-box-shadow: 2px 1px 10px 0px rgba(0,0,0,0.25);
	-moz-box-shadow: 1px 1px 10px 0px rgba(0,0,0,0.25);
	box-shadow: 2px 1px 10px 0px rgba(0,0,0,0.25);	
}

.navegacion-principal-footer{
	display: flex;
	flex-direction: row;
	justify-content: center;
	font-family: var(--menu-fonts);
	font-weight: 500;
}

.navegacion-principal-footer a{
	display: block;
	text-align: center;
	padding: 1rem;
	color: var(--blanco);
	text-decoration: none;
	font-size: 1.3rem;
}

.navegacion-principal-footer a:hover {
	background-color: var(--blanco); 
	color: var(--verde);

}

/* CONTENIDO */

.wraper {
	max-width: 192rem;
	display: grid;
	grid-template-columns: auto 1fr;
	grid-gap: 2rem;
}

.gridX2 {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}

.table {
	width: 100%;
}

.book {
	background-color: var(--blanco);
	width: 100%;
	height: 100%;
	grid-template-columns: 1fr;
	border-style: solid;
	border-width: 1px;
	border-color: var(--grisClaro);
	justify-content: center;
	align-items: center;
}

.libro {
	margin: 0 auto;
	display: block;
	justify-content: center;
}


/* CARACTERISTICA DE ARTICULOS */

.homeArticuloShape {
	background: linear-gradient(180deg, var(--negro)0%, var(--oscuro)100%);
	-webkit-box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.50);
	-moz-box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.50);
	box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.50);
}

.articulo-container {
	margin-left: auto;
	margin-right: auto;
	width: 98%;
	max-width: 95rem;
	padding-left: 3rem;
	padding-right: 3rem;
}

.contenidoLinea {
	width: 100%;
	height: 1px;
	background-color: var(--grisClaro);
	text-align: center;
}

.contenedor{
    max-width: 120rem;
    width: 95%;
    margin: 0 auto;
}

.articuloFull {
	width: 95%;
	padding: 2rem;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	justify-content: center;
}

.tituloArticulo {
	width: 100%;
	height: auto;
	padding: 1rem;
	grid-column: 1 / 3;
	grid-row: 1;
	font-size: 2rem;
	text-align: center;
	color: var(--blanco);
}

.tituloArticuloOscuroLeft {
	width: 100%;
	height: auto;
	padding-top: 1rem;
	padding-bottom: 1rem;
	grid-column: 1 / 3;
	grid-row: 1;
	font-size: 2rem;
	text-align: center;
	color: var(--blanco);
}

.tituloArticuloOscuroRight {
	width: 100%;
	height: auto;
	padding-top: 1rem;
	padding-bottom: 1rem;
	grid-column: 3 / 5;
	grid-row: 1;
	font-size: 2rem;
	text-align: center;
	color: var(--blanco);
}

.articuloHalf {
	width: 100%;
	padding: 2rem;
	display: grid;
	grid-template-columns: 1fr 1fr 2fr;
	gap: 2rem;
	justify-content: center;
}

.articulo2de4 {
	grid-column: -3 / -1;
	padding-left: 2rem;
	padding-right: 2rem;
}

.backgroundGrisBlanco {
	background-color: var(--grisBlanco);
	margin-top: 2rem;
	margin-bottom: 2rem;
	text-align: left;
	color: var(--oscuro);
}

.boxLine {
	width: 100%;
	height: 100%;
	padding: 2rem;
	display: grid;
	grid-template-columns: 1fr;
	border-style: solid;
	border-width: 1px;
	border-color: var(--grisClaro);
	justify-content: center;
	align-items: center;
}

.footNote {
	width: 75%;
	height: auto;
	padding-left: 2rem;
	padding-right: 2rem;
	background-color: var(--grisBlanco);
	font-size: 1.5rem;
}

.footPrint {
font-size: 1.5rem;
text-align: center;

}
.articuloMenu {
	width: 100%;
	height: auto;
	padding-top: 2rem;
	padding-bottom: 2rem;
	color: var(--verde);
	text-align: center;
}
.articuloPage{
	display: flex;
	flex-direction: row;
	justify-content: space-evenly;
	font-family: var(--menu-fonts);
	font-weight: lighter;
}
.articuloPage a{
font-size: 1.8rem;
}
 							
/* VIDEO */

.h1--video {
	margin: 5px;
	color: var(--blanco);
	text-align: center;
	font-size: 3rem;
}

.h2--video {
	margin: 5px;
	color: var(--blanco);
	text-align: center;
	font-size: 2rem;
}

.h3--video {
	margin: 5px;
	color: var(--blanco);
	text-align: center;
	font-size: 2rem;
}

#videoDiv2 {
	width:100%; 
	min-width:400px;
	margin:auto; 
	display:block; 
	position: relative;
} 

#video2{
    width:100%; 
    height:auto; 
} 

#videoMessage2 { 
    background-color: rgba(0, 0, 0, .5);
    position: absolute; 
    top: 0; 
    left: 0;
    display: flex;
    flex-direction: column; 
    justify-content: flex-end;
    align-items: center; 
    width: 100%;
    height: 99%;
	opacity: 0.7;
}

/*  GRID  */

.img_card{
	width: -moz-available;
	max-width: max-content;
	height: auto;
	justify-content: center;
	font-size: 1.5rem;
	text-align: center;
}

.largImage {
	max-width: 100%;
	height: auto;
}

/* esta class se usa para linea de textro dentro del grid */
.tituloFoto {
	width: 100%;
	height: auto;
	font-size: 2rem;
	text-align: left;
}

.contenidoIndiceRevistas {
	font-size: 1.6rem;
	line-height: 1.6rem;
	list-style-position: inside;
	list-style-image: url(../sources/revistas/pdfIcon.png);
	padding: 0px;
}

.contenidoIndiceRevistas a{
	text-decoration: none;
	color: var(--oscuro);
}
.contenidoIndiceRevistas a:hover{
	color: var(--verde);
}


/*  NEWS  */

.news {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	max-width: 90%;
	margin: auto;
}

.bloque {
	display: grid;
	grid-template-columns: 1fr 1fr; /* foto izquierda, texto derecha */
	gap: 5rem;
	align-items: start;

}

.bloqueOneLine {
	display: block;
	grid-template-columns: 1fr 1fr; /* foto izquierda, texto derecha */
	gap: 5rem;
	align-items: start;

}

.bloque img {
	width: 100%;
	border-radius: 8px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}




/*MEDIA QUERY*/	

@media only screen and (max-width:769px){

	/*. CARRUSEL. */

		.carrusel {
		max-width: 500px;     /* opcional: límite máximo en pantallas grandes */
		aspect-ratio: 4 / 3; /* mantiene proporción */
		}

	/*  NEWS  */

      .bloque {
        grid-template-columns: 1fr; /* una sola columna */
      }

      .bloque img {
        width: 100%;
        margin-bottom: 10px;
      }


	.articuloFull.fullwidth iframe {
    height: 700px; /* ajusta el alto según necesites */
	}

	.ramdomBloque iframe {
		width: 100% !important;
		height: 650px !important;
		display: block;
	}
	
	.wraper {
		grid-template-columns: 100%;
	}

	.navegacion-principal{
		flex-direction: column;
		justify-content: space-around;
		font-size: 1.7rem;
	}
	
	.navegacion-principal a {
	font-size: 1.7rem;
	}
	
	.libro {
		width: 320px;
		height: auto;
	}
	
	.articulo{
		grid-template-columns: 100%;
	}
	
	.articulo-solo{
		font-size: 1.5rem;
		gap: 5rem;
	}

	.navegacion-principal-footer a:hover {
	background-color: var(--blanco); 
	}
	
	.navegacion-principal-footer{
	flex-direction: column;
	justify-content: space-around;
	font-size: 2rem;
	}

	.iframe-menu {
		height: 40rem;
	}

	.iframe-menu-left{
		width: 100%;
	}

	/*.nav__left--bg {
		width: 100%;
	}*/

	.gridX2 {
		flex-direction: column;
	}

	body {
		font-size: 2rem;
		line-height: 2.2rem;
	}

	p {
		text-align: left;
		margin: 1 0;
	}

	.imgRight {
		float: none;
	}

	.articulo-container {
		width: 95%;
		padding-left: 2rem;

	}

	.h1--video {
		font-size: 2rem;
		
	}

	.h2--video {
		font-size: 1.5rem;
	}
	
	.h3--video {
		font-size: 1.5rem;
	}

	.articuloFull {
		grid-template-columns: 1fr;
		width: 95%;
	}

	.articuloHalf {
		grid-template-columns: 1fr;
		gap: 2rem;

	}
	.articulo2de4 {
		grid-column: 1 / 1;
	}
	.tituloArticulo {

		grid-column: auto;
	}

	.tituloArticuloOscuroLeft {
		grid-column: 1 / 1;
		grid-row: 1;
	}

	.tituloArticuloOscuroRight {
		grid-column: 1 / 1;
		grid-row: 4;
	}

	.footNote {
		width: 90%;
		height: auto;
	}

	#videoDiv2 {
		display:none; 
	} 

	#videoMuseo {
		width: 99%;
		height: auto;
		size-adjust: auto;
	}

	.homeArticuloShape {
		border-radius: 10px;

}


/*  ADAPTIVE . */ 


	/* Desktop device */	
	@media (max-width:1336px){
	.img_card {
		width: 350px;
	}
}	

	/* TMP device */	
	@media (max-width:1138px){
		.img_card {
			width: 300px;
		}
}
	/* TMP device */	
	@media (max-width:1020px){
		.img_card {
			width: 250px;
		}

		/*. CARRUSEL. */

			.carrusel {
			max-width: 500px;     /* opcional: límite máximo en pantallas grandes */
			}
	}
	/* TMP device */	
	@media (max-width:769px){
		.img_card {
			width: auto;
			padding: .5rem;
		}
}

}