body{        
  box-sizing: border-box;
	font-family: 'Montserrat', sans-serif;
	color: #515A5F;
}
p{
	font-family: "Montserrat";
	line-height: 1.5;
	letter-spacing: 1px;
}
.azul{
	color: #4bb29a;
}
.rojo{
	color: #e4425b;
}
.amarillo{
	color: #ebcc4f;
}
.blanco{
	color: white;
}
.bg-gris{
	background-color: #364f5c;
}
.bg-gris-clarito{
	background-color: #0000000D;
}
.bg-amarillo-clarito{
	background-color: #FBF5DC;
}
.boton-reservar.bg-gris{
	background-color: #4bb29a;
}
.navbar{
	background: #ffffff;
	position: fixed;
	z-index: 99;
	top: 0;
	height: 90px;
	opacity: 0.95;
}
.navbar-link{
	transition: color 0.25s ease-in-out;
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	text-transform: uppercase;
}
.navbar-link:not(.language){
	color: #515A5F;
}
.navbar-link:not(.language):hover{
	color: #e4425b;
}
.logo{
	padding: .25em 0;
}
.language-container a{
	background-color: #000;
	padding: .5em .3em;
	border-radius: 5px;
}
.language-container a:hover{
	background-color: #e4425b;
}
.mt-nav{
	margin-top: 90px;
}
.video{
	max-height: 800px;
    object-fit: cover;
}
.logotitulo{
	max-width: 300px;
}


.columna-cambiante{
	font-weight: 700;
	font-family: 'Montserrat', sans-serif;
}
.columna-extra .titulo-extra{
	font-weight: 700;
	font-family: 'Montserrat', sans-serif;
}


.titulo-cita{
	overflow: auto;
	font-weight: 400;
}
.titulo-cita .titulo{
	font-family: 'Montserrat', sans-serif;
	text-transform: uppercase;
	position: relative;
}
.titulo-cita .subtitulo{
	font-family: 'Montserrat', sans-serif;
}
.una-columna{
	position: relative;
}
.una-columna .titulo{
	font-weight: 501;
}
.una-columna .titulo-grande{
	font-weight: 501;
	text-transform: uppercase;
}
.una-columna .especial{
	font-weight: 200;
}
.calendario{
	padding: .75em
}
.boton-reservar{
	text-transform: uppercase;
	background-color: #e4425b;
	padding: 10px 0;
	text-align: center;
	margin: auto;
	position: absolute;
	bottom: 0;
}
.boton-reservar a{
	text-decoration: none;
	font-weight: 600;
}
.titulo-cifras{
	font-family: 'Montserrat', sans-serif;
}
.dato-calculado{
	font-family: 'Open Sans', serif;
	font-weight: 700;
}
.detalles-cifras{
	font-family: 'Montserrat', sans-serif;
}
.box-galery{
	background: #364f5c;
	overflow: auto;
}
.box-galery .galeria{
	width: 90%;
	margin: auto;
	flex-wrap: wrap;
	gap: .5em;
}
.box-galery .galeria li{
	margin: 5px;
}
.box-galery .galeria img{
	width: 150px;
	height: 100px;
}
.box-galery .modal{
	position: fixed;
	top: 0;
	left: 0;
	background: rgba(0, 0, 0, 0.8);
}
.modal:target{
	display: flex;
	z-index: 9999999;
}
.modal:not(:target){
	display: none;
}
.box-galery .modal:target{
	visibility: visible;
	opacity: 1;
	position: fixed;
	background: rgba(0,0,0,0.8);
	top: 0;
	left: 0;
}
.box-galery .imagen img{
	max-height: 90vh;
	max-width: 90vw;
	box-sizing: border-box;
	border: 7px solid #fff;
}
.box-galery .cerrar{
	width: 40px;
	height: 40px;
	background: #364f5c url(/images/cerrar.webp) no-repeat center center;
	border-radius: 100px;
	margin: 20px auto;
	color: #000;
	line-height: 25px;
	position: absolute;
	top: 0;
	right: 15px;
	border: 3px solid white;
}
.anterior{
	width: 40px;
	height: 40px;
	background: #364f5c url(/images/backtotop.webp) no-repeat center center;
	transform: rotate(-90deg);
	border-radius: 100px;
	margin: 0;
	color: #000;
	line-height: 25px;
	position: relative;
	border: 3px solid white;
}
.siguiente{
	width: 40px;
	height: 40px;
	background: #364f5c url(/images/backtotop.webp) no-repeat center center;
	transform: rotate(90deg);
	border-radius: 100px;
	margin: 0;
	color: #000;
	line-height: 25px;
	position: relative;
	border: 3px solid white;
}
.siguiente:has(a:hover){
    background-color: #7c8c95;
}
.anterior:has(a:hover){
    background-color: #7c8c95;
}
.cerrar:has(a:hover){
    background-color: #7c8c95;
}

.box-galery .cerrar a{
	border-radius: 100px;
}
.imagen-enlace{
	height: auto;
}
.prefooter{
	background-color: #ebcc4f;
}
.texto-contacto{
	font-family: 'Montserrat', sans-serif;
}
.img-logo{
	max-width: 250px;
}
#back-to-top{
	position: fixed;
	z-index: 1000;
	bottom: 20px;
	right: 20px;
}
#back-to-top a{
	width: 40px;
	height: 40px;
	background: #364f5c url(/images/backtotop.webp) no-repeat center center;
	border-radius: 100px;
	border: 3px solid white;
}
#back-to-top a:hover{
    background-color: #7c8c95
}
.margin-boton{
	padding-bottom: 64px;
}

.fw-600{
	font-weight: 600;
}
#aviso-legal ul{
	list-style: none;
	padding: 0;
}
.titulo-aviso{
	color: #000;
	font-family: 'Montserrat', sans-serif;
	text-transform: uppercase;
	font-weight: 600;
	text-shadow: 1px 1px 2px black;
}
.clarito{
	color: #eeeeee;
}
#aviso-legal .page h2{
	font-family: 'Montserrat', sans-serif;
	text-transform: uppercase;
	font-weight: 400;
}
#aviso-legal .page h3{
	font-family: 'Montserrat', sans-serif;
	font-weight: 400;
}
#aviso-legal .page h4{
	font-family: 'Montserrat', sans-serif;
    font-size: 22px;
	font-weight: 400;
}
#aviso-legal .page a{
	color: #e4425b;
}

.grid-container {
	display: grid;
	grid-template-columns: repeat(3, 1fr); /* Mantiene 3 columnas en escritorio */
	grid-template-rows: auto;
	gap: 15px;
	justify-items: center;
	align-items: center;
	text-align: center;
	width: 100%;
	max-width: 900px;
	margin: auto;
}

.imagen-enlace {
	display: flex;
	justify-content: center;
	align-items: center;
}

.hidden {
	visibility: hidden;
}

/* Estilos para móviles */
@media screen and (max-width: 768px) {
	.grid-container {
		display: flex;
		flex-direction: column; /* Cambia a columna en móviles */
		align-items: center;
	}

	/* Se reordena solo en móviles */
	.patrocinador {
		order: 1;
	}

	.gov-vasco {
		order: 2;
	}

	.organizadores {
		order: 3;
	}

	.imagen-enlace:not(.gov-vasco) {
		order: 4;
	}

	.colaboradores {
		order: 5;
	}
}

.video-container {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
}

.video-thumbnail, .play-button {
	position: absolute;
	transition: opacity 0.8s ease-in-out;
}

.video-thumbnail {
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 2;
}

.play-button {
	height: 150px;
	width: 150px;
	background: rgba(0, 0, 0, 0.6);
	color: white;
	border: none;
	font-size: 2rem;
	padding: 15px 20px;
	border-radius: 50%;
	cursor: pointer;
	z-index: 3;
	transition: background 0.3s ease;
}

.play-button:hover {
	background: rgba(0, 0, 0, 0.8);
}

/* Clase para el fade-out */
.fade-out {
	opacity: 0;
	pointer-events: none;
}
/* Para la barra de desplazamiento completa */
::-webkit-scrollbar {
	width: 20px; /* Ancho de la barra vertical */
	height: 10px; /* Altura de la barra horizontal */
}

/* Fondo de la barra de desplazamiento */
::-webkit-scrollbar-track {
	background: #f1f1f1;
}

/* Barra deslizante (thumb) */
::-webkit-scrollbar-thumb {
	background: #364f5c;
}

.lazy {
	filter: blur(10px); /* Efecto de desenfoque */
	background-color: #f0f0f0; /* Fondo gris como placeholder */
	transition: filter 0.5s ease-in-out; /* Transición suave */
}

.lazy.loaded {
	filter: blur(0); /* Quita el desenfoque cuando la imagen se carga */
}
.imagen_avanza{
	height: 100px;
	width: 150px;
}
.fondo_avanza{
	background-image: url('/images/galeria/CuadroDeImagenes.webp');
}
#avanza_1{
	
	background-position: 0px 0px;
}
#avanza_2{
	background-position: -150px 0px;
}
#avanza_3{
	background-position: -300px 0px;
}
#avanza_4{
	background-position: -450px 0px;
}
#avanza_5{
	background-position: -0px -100px;
}
#avanza_6{
	background-position: -150px -100px;
}
#avanza_7{			
	background-position: -300px -100px;
}
#avanza_8{			
	background-position: -450px -100px;
}
#avanza_9{			
	background-position: 0px -200px;
}
#avanza_10{			
	background-position: -150px -200px;
}
#avanza_11{			
	background-position: -300px -200px;
}
#avanza_12{			
	background-position: -450px -200px;
}
#avanza_13{			
	background-position: 0px -300px;
}
#avanza_14{			
	background-position: -150px -300px;
}
#avanza_15{			
	background-position: -300px -300px;
}
#avanza_16{			
	background-position: -450px -300px;
}
#avanza_17{			
	background-position: 0px -400px;
}
#avanza_18{			
	background-position: -150px -400px;
}
#avanza_19{			
	background-position: -300px -400px;
}
#avanza_20{			
	background-position: -450px -400px;
}

.agradecimiento h1{
	font-size: 3rem;
}
.agradecimiento h2{
	font-size: 2.5rem;
	color: white;
	background-color: #364f5c;
}
.text-uppercase{
	text-transform: uppercase;
}
.carousel {
	max-width: 75%;
	margin: auto;
	overflow: hidden;
	position: relative;
	padding: 5rem 0;
}
.carousel-container{
	width: 100%;
}
.oscuro {
	background-color: #364f5c;
}
.carousel-track {
	display: flex;
	transition: transform 0.4s ease;
	will-change: transform;
}

.carousel-item {
  flex: 0 0 33.3333%; /* 3 visibles por defecto */
  padding: 5px;
  box-sizing: border-box;
}

@media screen and (max-width: 768px) {
  .carousel-item {
    flex: 0 0 100%; /* 1 visible en móvil */
  }
	.carousel {
		padding: 2rem 0;
	}
}

.carousel-item img {
	width: 100%;
	height: auto;
	display: block;
}

.carousel-btn {
	position: absolute;
	top: 50%;
	
	z-index: 2;
	background: rgba(255,255,255,0.7);
	border: none;
	width: 36px;
	height: 36px;
	font-size: 18px;
	cursor: pointer;
	user-select: none;
}
.carousel-btn.prev { 
	left: 50px; 
	width: 40px;
	height: 40px;
	background: #364f5c url(/images/backtotop.webp) no-repeat center center;
	transform: rotate(-90deg) translateY(-50%);
	border-radius: 100px;
	color: #000;
	border: 3px solid white;
}
.carousel-btn.next { 
	right: 50px; 
	width: 40px;
	height: 40px;
	background: #364f5c url(/images/backtotop.webp) no-repeat center center;
	transform: rotate(90deg) translateY(-50%);
	border-radius: 100px;
	color: #000;
	border: 3px solid white;
}

.page{
	padding: 60px 0;
  position: relative;
  background: #ffffff;
  text-align: center;
  z-index: 6;
  overflow: hidden;
}

.container.about-us{
	position: relative;
  width: 960px;
	max-width: 80%;
  margin: 0 auto;
  padding: 0;
}

.trescolumnas{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	gap: 2rem;
	margin-top: 2rem;
}
@media screen and (max-width: 768px) {
	.trescolumnas{
		flex-direction: column;
	}
}
.trescolumnas .columna{
	width: 100%;
}

.trescolumnas .columna h3.highlight-azul{
	font-weight: 700;
	font-size: 25px;
	color: #4bb29a;
}
.trescolumnas .columna h3.highlight-gris{
	font-weight: 700;
	font-size: 25px;
	color: #515A5F
}
.trescolumnas .columna h3.highlight-rosa{
	font-weight: 700;
	font-size: 25px;
	color: #e4425b;
}
.container.about-us p{
	text-align: start;
}

.container.about-us p strong{
	font-weight: bold;
  color: #4bb29a;
}
.parallax{
	height: 300px;
}
.overlay{
	background-image: url(../images/parallax1.jpg);
	width: 100%;
  position: absolute;
  overflow: hidden;
	height: 300px;
	z-index: 2;
}
.container.clearfix{
	position: relative;
	z-index: 3;
}

p.quote {
	font-family: 'Montserrat', sans-serif;
	font-size: 48px;
	line-height: 1;
	margin-bottom: 20px;
	color: white;
	text-align: center;
	text-transform: uppercase;
	z-index: 200;
	margin: 0 5%;
	font-weight: 600;
	text-shadow: 1px 1px 2px black;
}

p.boton {
	display: flex;
}
p.boton a {
	font-family: 'Montserrat', sans-serif;
	font-size: 30px;
	line-height: 1;
	margin-bottom: 20px;
	color: black;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	z-index: 200;
	width: 60%;
	background: #fff;
	padding: 15px 200px;
	margin: 0 auto;
}

p .btn-inscrip {
	color:#fff;
	background: #ebcb50;
	border-radius: 3px;
	padding: 10px 15px 10px 15px;
}
p .btn-acces {
    color: #35515f;
    background: #fff;
    border-radius: 3px;
    padding: 10px 15px 10px 15px;
}
.nota  {
	font-size: 1rem;
text-align: center;
font-weight: bold;
}
.nota strong {
	color: #e4425b;
}
p > em {
	display: block;
}
.quote i {
	font-size: 25px;
	display: inline-table;
	vertical-align: top;
	margin: 0 5px;
}
.parallax .quote i {
	color: #FFD600;
}
.quote-author {
	height: 24px;
	width: auto;
	font-size: 17px;
	font-weight: 600;
	color: #ffffff;
	position: relative;
	margin-top: 25px;
	z-index: 200;
	font-style: italic;
	text-align: center;
}
.parallax-content{
	height: 300px;
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
}

.container.clearfix{
	position: relative;
  width: 960px;
	max-width: 80%;
  margin: 0 auto;
  padding: 0;
}
.nota{
	color: white;
}

.parallax {
  width: 100%;
  height: 400px;
  position: relative;
  overflow: hidden;
  background: #f8f8f8;
  color: #ffffff;
  z-index: 0;
}
.parallax{
  position: relative;
  width: 100%;
  height: 300px;                 /* ventana fija de 300px */
  overflow: hidden;
  color: #fff;
  z-index: 0;

  /* La imagen “quieta” respecto al viewport */
  background-image: url("../images/parallax1.jpg");
  background-attachment: fixed;  /* clave del efecto */
  background-size: cover;        /* que cubra el ancho/alto del viewport */
  background-position: center 0; /* punto inicial (ajusta si quieres) */
  background-repeat: no-repeat;
}

/* Capa de oscurecido opcional por encima */
.parallax .overlay{
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to bottom, rgba(0,0,0,.35), rgba(0,0,0,.35));
  pointer-events: none;
}

/* Contenido por encima de todo */
.container.clearfix{
  position: relative;
  z-index: 3;
  width: min(960px, 92%);
	max-width: 80%;
  margin: 0 auto;
  padding: 0;
	height: 100%;
}

.parallax-content{
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce){
  .parallax{ background-attachment: scroll; }
}
.parallax p{
	margin: 0;
}
.ponente-izquierda > * {
	padding-left: 2rem;
}

.ponente-derecha > * {
	padding-right: 2rem;
}
.hr-final{
	width: 60%;
	color: #364f5c;
}