

header{
	position: sticky;
	top: 0;
}




.topheader{
    padding: 5px;
    display: flex;
    align-items: center;
    gap: 15px;
	margin: 0 auto;
	max-width: 1600px;
	position: sticky;
	top: 0;
	transition: all linear 0.2s;
}


.menu-logo{
    height: 35px;
	margin: 4px;
	margin-left: 15PX;
	transition: all linear 0.2s;
}

header.shrink .topheader{
	padding: 3px;
	color: #fff;
}

header.shrink{
	background-color: #2c1779;
	color: #fff;
	z-index: 99;
}


header.shrink .menu-logo{
	height: 25px;
	margin: 2px;
	margin-left: 15PX;
	filter: grayscale() invert();
}


.page-footer{
    text-align: center;
}






/*
------------------ posts de wp
*/

.wp-posts {
	margin: 1em 0;
}

.wp-post {
	border-bottom: 1px solid #ddd;
	padding: 0.5em 0;
}

.wp-post-title {
	margin: 0;
	font-size: 1.1rem;
	color: var(--primary-color-theme, #005cbf);
	cursor: pointer;
}

.wp-post-title:hover {
	text-decoration: underline;
}

.wp-post-date {
	font-size: 0.8rem;
	color: #666;
	display: block;
	margin-bottom: 0.5em;
}

.wp-post-excerpt {
	color: #444;
	font-size: 0.95rem;
}


.lh-2{line-height: 2;}

.heart-breathe{
	animation: heart-double 3.6s ease-in-out infinite;
  }
  @keyframes heart-double{
	0%, 12%   { transform: scale(1.00); }
	6%        { transform: scale(1.028); } /* primer golpe */
	18%       { transform: scale(1.022); } /* segundo golpe */
	100%      { transform: scale(1.00); }  /* pausa larga */
  }
  
  /* Respeto a usuarios que prefieren menos movimiento */
  @media (prefers-reduced-motion: reduce){
	.heart-breathe{ animation: none; }
  }
  

/*
------------------- big-banner
*/


.big-banner{
	width: 100%;
	height: calc(100vh - 59px);
	background-repeat: no-repeat;
	background-position-x:  center;
	background-position-y: bottom;
	background-size: cover;
	background-image: url('../img/bg/banner-bg.jpg');
	background-attachment:fixed;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	position: relative;
}



.big-banner-text-top-claim{
	font-size: 3.1vh;
	font-weight:normal;
	font-family: "Jost", sans-serif;
	margin-bottom: 15px;
	color: #587a55;

}


.big-banner-text-claim{
	font-size: 6.8vh;
	font-weight:700;
	font-family: "Geologica", sans-serif;
	line-height: 0.9;
	color: #587a55;
}

.big-banner-text-claim2{
	font-size: 7.55vh;
	font-weight:700;
	font-family: "Geologica", sans-serif;
	line-height: 0.9;
	color: #587a55;
	margin-bottom: 10px;
}


.big-banner-text-bottom-claim{
	font-size: 2vh;
	font-weight:normal;
	font-family: "Jost", sans-serif;
	color: #587a55;
}



.big-banner .big-banner-image-center{
	max-width: 100%;
	margin-top: 3vh;
	margin-bottom: 55px;
	max-height: 90%;
}

.big-banner .big-banner-image-claim{
	width: 80vh;
	max-width: 80%;
}

.big-banner .big-banner-title{
	position: absolute;
	top: 35px;
	font-size: 18px;
	width: 100%;
	text-align: center;
	color: #fff;
	z-index: 99;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.6);
}


.big-banner .big-banner-subtitle{
	position: absolute;
	top: 57px;
	font-size: 14px;
	width: 100%;
	text-align: center;
	color: #fff;
	z-index: 99;
	font-weight: normal;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.6);
}


@media (max-height: 400px) {
	
	.big-banner{
		background-position-y: bottom;
	}
}

/*
end big-banner---------------------------------
*/





/*
------------------- botonera
*/


.menu-buttons{
	
}

.grid-row{
	display: grid;
	grid-template-columns: repeat(8, 1fr); 
	gap: 1rem; 
	align-items: center;
  }
  
.col-button{
	padding: 0;
	box-sizing: border-box;
	text-align:center;
	background:#73ac6e;

	border-radius: 3px;
	background-position: center 2px;
	background-repeat: no-repeat;
	background-size: auto 42px;
	height: 78px;
	display: flex;
	justify-content: center;
	align-items: end;
	color: #FFF;
	font-size: 0.65em;
	font-weight: bold;
	cursor: pointer;
	transform: translateY(8px);
	border: 4px solid transparent;
	transition: all linear 0.3s;
	position: relative;
	line-height: 1;
	padding-bottom: 2px;
}

.col-button:hover{
	border-color: #bae717;
}

.col-button.active{
	border-color: #bae717;
}


.col-button a{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	color: inherit;
	text-decoration: none;
	display: flex;
	justify-content: center;
	align-items: end;
	padding-bottom: 2px;
	
}

.col-button:nth-child(1){ background-color: #73ac6e;  background-image: url('../img/icon/todo.png'); }
.col-button:nth-child(2){ background-color: #afc581;  background-image: url('../img/icon/inauguracion.png'); text-shadow: 1px 1px 1px rgba(0,18,58,0.2); }
.col-button:nth-child(3){ background-color: #7fca78;  background-image: url('../img/icon/rutas.png'); }
.col-button:nth-child(4){ background-color: #8fac6e;  background-image: url('../img/icon/gastronomia.png'); }
.col-button:nth-child(5){ background-color: #6ebea0;  background-image: url('../img/icon/medioambiental.png'); }
.col-button:nth-child(6){ background-color: #82b88d;  background-image: url('../img/icon/talleres.png');}
.col-button:nth-child(7){ background-color: #4db8b2;  background-image: url('../img/icon/culturaocio.png'); text-shadow: 1px 1px 1px rgba(45,28,0,0.2); }
.col-button:nth-child(8){ background-color: #b3ce39;  background-image: url('../img/icon/centros.png'); text-shadow: 1px 1px 1px rgba(45,28,0,0.2); }






/* responsive: menos columnas en pantallas pequeñas */
@media (max-width: 767px){
	.grid-row{ grid-template-columns: repeat(2, 1fr); }
	.col-button{ font-size: 0.82em; }
	
}

@media (min-width: 768px) and (max-width:960px) {
	.col-button{height: 90px; }
}


/*
end botonera ---------------------------------
*/



.finder{
	display: flex;
	flex: 1;
	gap: 15px;
	max-width: 600px;
	margin: 0 auto;
}


.auxiliar-buttons{
	text-align: center;
}

.auxiliar-buttons a{
	padding: 5px;
	cursor: pointer;
	margin-right: 10px;
	font-size: 0.86em;
	color: #005cbf;
	text-align: center;
}

.noresult{
	padding: 7px;
	max-width: 650px;
	margin: 0 auto;
	margin-top: 50px;
	text-align: center;
}

/*
--------------------------------- EVENTOS 
*/

.year-wrap .year-header{
	padding: 7px;
	background-color: #ddd;
	color: #666;
	border-radius: 15px;
	margin-top: 15px;
}

.month-wrap .month-header{
	padding: 7px;
	background-color: #ddd;
	color: #666;
	border-radius: 15px;
	margin-top: 15px;
}


.date-header{
	background-color: #e9eef4;
	margin-top: 40px;
	color: #397391;
	font-weight: 600;
	display: flex;
	align-items: center;
	height: 45px;
	position: sticky;
	top: 0;
	cursor: pointer;
}

.date-header:hover{
	background-color: #f1f5fa;
}






.date-header .smallday{
	height: 45px;
	width: 65px;
	min-width: 65px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #7d9aa3;
	color: #fff;
	line-height: 1.1;
	font-size: 16px;
	font-weight: 600;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.8);
	text-align: center;
}



#listEvents .date-header .smallday{
	transition: all linear 0.4s;
}

.date-header .longdate{
	padding-left: 20px;
	width: 100%;
	text-shadow: 1px 1px 1px rgba(255,255,255,0.8);
}


.date-content{
	visibility: hidden;
	opacity: 0;
	height: 0;
	overflow: hidden;
	transition: all linear 0.2s;
}

.date-content.active{
	visibility: visible;
	height: fit-content;
	overflow: visible;
	opacity: 1;
}

.date-actions{
	width: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    text-align: center;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
	cursor: pointer;
}

.date-actions:hover{
	background-color: rgba(255, 255, 255, 0.3);
}

.event{
	margin-top: 20px;
	border-radius: 3px;
	background-color: #f1f8ff;
	min-height: 56px;
	line-height: 1.2;
	position: relative;
}

.event-header{
	margin-top: 10px;
	border-radius: 3px;
	display: flex;
	gap: 15px;
	min-height: 56px;

}

.event-time{
	width: 65px;
	min-width: 65px;
	max-width: 65px;
	background-color:#fffced;
	color: #444;
	margin: 2px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.9em;
	font-weight: 500;
	text-align: center;
	text-transform: lowercase;
	flex-direction: column;
}

.event-text{
	display: flex;
	align-items: center;
	justify-content: left;
	width: 100%;
	padding-top: 5px;
	padding-bottom: 5px;
}

.event-title{
	color: #365c8a;
	font-weight: 500;
}



.event-content{
	margin-top: 5px;
	font-size: 0.8em;
}

.event-site{
	margin-top: 5px;
	font-size: 0.82em;
	color: #0a80af;
}


.event-link{
	margin-top: 10px;
	margin-bottom: 10px;
	font-size: 0.82em;
	color: #FFFFFF;
	padding: 3px;
	padding-top: 5px;
	border-radius: 4px;
	background-color: #73ac6e;
	font-weight: bold;
	width: 160px;
	text-align: center;
	display: block;
}

.event-actions{
	width: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
	flex-direction: column;
}

.event-actions .bi{
	cursor: pointer;
}

.event .bi{ font-size: 17px; color: #86aaba;}
.event .bi:nth-child(1){ margin-bottom: 7px;}
.event .bi:hover{ color: #38ad79; }


.event.actividades-todos-los-dias{
	background-color: #f9fdff;
}



.event .event-category{
	position: absolute;
    top: -10px;
    right: 0;
    height: 12px;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 4px;
    padding-bottom: 2px;
    border-radius: 3px;
    background-color: #f4f9ff;
    color: #8fa2b6;
    font-size: 9px;
    line-height: 8px;
}

.event .postadv ul{
	margin-left: 15px;
}


.event .postadv ul li{
	padding-left: 2px;
	list-style-type: square;
}

/*

#listEvents[data-category="INAUGURACIÓN"] .date-header .smallday{ background-color: #7dccfa;}
#listEvents[data-category="RUTAS"] .date-header .smallday{ background-color: #0a80af;}
#listEvents[data-category="GASTRONOMÍA"] .date-header .smallday{ background-color: #f56e50;}
#listEvents[data-category="MEDIOAMBIENTALES"] .date-header .smallday{ background-color: #de463c;}
#listEvents[data-category="TALLERES CREATIVOS"] .date-header .smallday{ background-color: #38ad79;}
#listEvents[data-category="CULTURA Y OCIO"] .date-header .smallday{ background-color: #de3769;}
#listEvents[data-category="CENTROS EDUCATIVOS"] .date-header .smallday{ background-color: #dec537;}
#listEvents[data-category=""] .date-header .smallday{ background-color: #7d9aa3;}
*/

.event.category_index1 .event-time{ border-left: 4px solid #afc581;}
.event.category_index2 .event-time{ border-left: 4px solid #7fca78;}
.event.category_index3 .event-time{ border-left: 4px solid #8fac6e;}
.event.category_index4 .event-time{ border-left: 4px solid #6ebea0;}
.event.category_index5 .event-time{ border-left: 4px solid #82b88d;}
.event.category_index6 .event-time{ border-left: 4px solid #4db8b2;}
.event.category_index7 .event-time{ border-left: 4px solid #b3ce39;}



.event.event.actividades-todos-los-dias .event-time::after{ display: block; content: "diários"; font-size: 0.7em; color: #6ba0be; }
.event.miscelanea .event-time::after{ display: block; content: "micelánea"; font-size: 0.7em; color: #0a80af; }
.event.moros-y-cristianos .event-time::after{ display: block; content: "mYc"; font-size: 0.7em; color: #ff8a3c; }
.event.huertos .event-time::after{ display: block; content: "huertos"; font-size: 0.7em; color: #de463c; }
.event.romeria .event-time::after{ display: block; content: "romería"; font-size: 0.7em; color: #38ad79; }
.event.conciertos-y-espectaculos .event-time::after{ display: block; content: "conciertos"; font-size: 0.7em; color: #e73186; }
.event.teatro-y-cine .event-time::after{ display: block; content: "TeatroCine"; font-size: 0.7em; color: #dec537; }


/* barra de favoritos */
#favoritos{
	display:flex; flex-wrap:wrap; gap:8px; margin:10px 0;
  }
  .favorito-chip{
	display:inline-flex; align-items:center; gap:8px;
	padding:6px 10px; border-radius:45px; background:#f3f5f7; color:#333;
	border:1px solid #e3e6ea; cursor:pointer; transition:transform .15s ease;
  }
  .favorito-chip:hover{ transform: translateY(-1px); }
  .favorito-chip .rm { background:transparent; border:0; font-weight:bold; cursor:pointer; }
  
  /* icono marcado */
  .event-actions .is-fav { color:#d43f5e; }
  
  /* resalte del evento al llegar */
  .event.fav-highlight {
	outline:3px solid #ffd166; box-shadow:0 0 0 3px rgba(255,209,102,.4); border-radius:12px;
	animation:favPulse .8s ease 2;
  }
  @keyframes favPulse {
	0% { transform:scale(1); }
	50% { transform:scale(1.01); }
	100%{ transform:scale(1); }
  }
  
  /* opcional: para scrollIntoView con cabecera fija */
  .date-wrap, #favoritos { scroll-margin-top: 220px; }

  






@media (max-width: 768px) {
	.event-actions{ min-width: 30px; max-width: 30px; }
}
@media (max-width: 768px) {
	.event-title{ font-size: 1em;}
	.event-content{ font-size: 0.9em;}
}



/*
end eventos ---------------------------------
*/






/*
--------------------------------- destacado
*/


.destacados{

}

.destacados .destacado{
	border-radius: 10px;
	background-color: #fff;
	min-height: 20px;
	display: flex;
	align-items: center;
	justify-content: left;
	padding: 5px;
	margin-bottom: 6px;
	cursor: pointer;
	color: #666;
}

.destacados .destacado:hover{
	background-color: #f8f9f9;
}

.destacados .destacado small{ color: #365c8a; border-radius: 15px; background-color: #d4ebf2; padding: 5px; margin-right: 7px;}

/*
end destacado ---------------------------------
*/




#noria {
	position: fixed;
	left: 0;
	top: -200px;             /* empieza fuera de pantalla */
	width: 450px;
	transform: translateX(-5px); 
	pointer-events: none;
	opacity: 0;
	z-index: 1;
  }
  
  @keyframes fly1 {
	0%   { top: -300px; opacity: 0; }
	7%   { top: 0px; opacity: 0.8; }
	80% { top: 55vh; opacity: 0.8; }
	90% { top: 35vh; opacity: 0.8; }
	100% { top: 130vh; opacity: 0;}
  }
  
  #noria.active {
	animation: fly1 3s cubic-bezier(.22,.61,.36,1) forwards;
	z-index: 9999;
  }

  
@media (max-width: 768px) {
	#noria{ width: 250px;}
}

/*
@-webkit-keyframes fly1{
	0%   { transform: translate(-115px, -50vh); opacity: 0; } 
	10%  { opacity: 1; }
	90%  { opacity: 1; }
	100% { transform: translate(-115px, 100vh); opacity: 0; } 
}
	

@media (prefers-reduced-motion: reduce){
	#noria{ display:none !important; }
}
*/


.msginfoapp{
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 45px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #38ad79;
	color: #f1f5fa;
	font-size: 1em;
	opacity: 0;
	z-index: -1;
	transition: opacity linear 0.2s;
}

.msginfoapp.active{
	opacity: 1;
	z-index: 9999;
}


.patrocinadores{
	width: 100%;
	margin: 0 auto;
	max-width: 800px;
}



#scrollToTopBtn{
	background-color: #005cbf;
	color: #fff;
	border-top-left-radius: 15px;
	border-bottom-left-radius: 15px;
	width: 35px;
	height: 35px;
	cursor: pointer;
	right: 0;
	top: 45vh;
	position: fixed;
}


.prefooter{
	text-align: center;
	max-width: 640px;
	margin: 0 auto;
	background-color: #f8f9f9;
	border-radius: 15px;
	padding: 15px;
}

.sbs{color: #afbabe; font-size: 10px;}
.sbs .bi{ font-size: 9px;}


@keyframes fadeInUp {
	from { opacity: 0; transform: translateY(8px); }
	to   { opacity: 1; transform: translateY(0); }
}

.fade-in {
	opacity: 0; 
	animation: fadeInUp 700ms ease-out forwards;
}


.fade-in-2 {
	opacity: 0; 
	animation: fadeInUp 400ms ease-out forwards;
	animation-delay: 400ms;
}



.terranaturabtn{    background: linear-gradient(191deg, #ffffff, #dae9de); box-shadow: none; margin-bottom: 10px; color: #333 !important;}

@media (prefers-reduced-motion: reduce) {
	.fade-in { animation: none; opacity: 1; transform: none; }
}


@media (max-width: 576px) {
	footer nav div {
	  width: 40%;
	}
}


.alertas{
	padding: 15px;
	background-color: #eee;
	color: #365c8a;
	border: 1px dashed orange;
	border-left: 4px solid orange;
	margin: 0 auto;
	max-width: 1600px;
}

.event[data-date="2025-10-10"]{
	opacity: 1;
}


.event[data-date="2025-10-10"] .event-link{
	opacity: 0.6;
	cursor:not-allowed;
	text-decoration: line-through;
	background-color: #7d9aa3;
}


.event[data-date="2025-10-10"] .event-time{
	text-decoration: line-through;
}

.event[data-date="2025-10-10"] .event-time{
	text-decoration: line-through;
}
