/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,1,0');

/*Menú noticias*/
.lista-vertical-categorias {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column; /* Fuerza la verticalidad */
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

/* Cada elemento de la lista */
.lista-vertical-categorias li {
    border-bottom: 1px solid #eee;
}

.lista-vertical-categorias li:last-child {
    border-bottom: none;
}

/* El enlace / botón */
.cat-item-link {
    display: block;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #fff;
}

/* Efecto al pasar el ratón */
.cat-item-link:hover {
    background-color: #f9f9f9;
    color: #0073aa; /* El azul de tu web */
    padding-left: 20px; /* Pequeño desplazamiento a la derecha */
}

/* Estilo para marcar la categoría activa (opcional) */
.cat-item-link:active, 
.cat-item-link:focus {
    background-color: #0073aa;
    color: #fff !important;
}
/*Menú noticias*/


/* --- Menú de filtros (Botones) --- */
.filtro-docs-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: flex-start; /* Alineado a la izquierda para listas */
	width: 90%;
}

.btn-filtro {
    display: inline-block;
    padding: 8px 0px;
    font-weight: 500;
    font-size: 18px;
    line-height: 120%;
    font-family: Manrope;
	width:100%;
}

.btn-titular
{
	display: inline-block;
    padding: 8px 0px;
    font-weight: 500;
    font-size: 32px;
    line-height: 40px;
    font-family: Manrope;
	width:100%;
}

.btn-filtro.active {
    color: #3DA3DD;
	text-decoration: underline;
}

/* --- LLISTADO DOCUMENTOS --- */
.grid-documentos {
    display: flex;
    flex-direction: column; /* Fuerza la disposición vertical */
    gap: 15px; /* Espacio entre filas */
}

/* Tarjeta de documento estilo "Fila" */
.documento-item {
    background: #fff;
    border: 1px solid #ebebeb;
    padding: 15px 25px;
    border-radius: 8px;
    display: flex; /* Flex horizontal para icono - título - botón */
    flex-direction: row; 
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    text-align: left; /* Alineación a la izquierda */
}

.documento-item:hover {
    border-color: #0073aa;
    background-color: #fcfcfc;
    transform: translateX(5px); /* Desplazamiento sutil a la derecha */
}

/* Título del documento en la fila */
.documento-item h4 {
    margin: 0;
    font-size: 16px;
    flex-grow: 1; /* El título ocupa el espacio central */
    padding: 0 20px;
    color: #333;
}

/* Icono a la izquierda */
.doc-icon {
    font-size: 24px;
    color: #0073aa;
    margin-bottom: 0; /* Quitamos el margen inferior de la versión grid */
    flex-shrink: 0;
}

/* Botón de ver/descargar a la derecha */
.btn-ver {
    background: #0073aa;
    color: #fff;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap; /* Evita que el botón se rompa en dos líneas */
}


/* Estilo general de la tabla */
.tabla-documentos {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-family: inherit;
}


.tabla-documentos th {
    padding: 15px;
    text-align: left;
    font-weight: 700;
    color: #333;
	border: none !important;
}

.tabla-documentos tr {
    border-bottom: 1px solid #EAEAEA;
}

.tabla-documentos td {
    padding: 5px 2px 3px 15px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
	border: none !important;
	background-color: transparent !important;
}



/* Alineación Icono + Título */
.doc-title-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
        padding: 10px 0px;
}

.pdf-link-icon .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
    color: #6F767E;
    transition: transform 0.2s ease;
}

.doc-link-text {
    font-family: Manrope;
	font-weight: 500;
	font-size: 16px;
	line-height: 22px;
	letter-spacing: 0%;

}

.doc-tipo-wrapper
{
	font-family: Manrope;
	font-weight: 400;
	font-size: 15px;
	line-height: 22px;
	letter-spacing: 0%;

}

.doc-date-wrapper
{
	font-family: Manrope;
	font-weight: 400;
	font-size: 15px;
	line-height: 22px;
	letter-spacing: 0%;
	text-align: right;
}

.doc-link-text:hover {
    text-decoration: underline;
}

.pdf-link-icon:hover .dashicons {
    transform: scale(1.1);
}

/* Ajustes Responsive */
@media (max-width: 600px) {
    .tabla-documentos thead { display: none; }
    .tabla-documentos tr { display: block; margin-bottom: 1rem; border: 1px solid #eee; border-radius: 8px; }
    .tabla-documentos td { display: flex; justify-content: space-between; text-align: right; border: none; }
    .tabla-documentos td::before { content: attr(data-label); font-weight: bold; margin-right: 10px; }
}



/* --- Ajuste para Móviles --- */
@media (max-width: 600px) {
    .documento-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .documento-item h4 {
        padding: 0;
    }
    
  

}


.encabezado-subfamilia h2 {
    margin: 0;
    font-family: Manrope;
	font-weight: 500;
	font-size: 18.75px;
	line-height: 120%;
	letter-spacing: 0%;
	color: #6D8493;

}

span.current-subfamilia
{
	color: #6D8493;
}

/* --- LLISTADO DOCUMENTOS --- */

/* --- Paginación --- */
.paginacion-wrapper {
    margin-top: 30px;
    padding-top: 20px;
}

.page-numbers {
    text-decoration: none;
    padding: 8px 14px;
    border: 1px solid #ddd;
    margin: 0 4px;
    border-radius: 4px;
    color: #333;
}

.page-numbers.current {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
}


/* ---Migas de pan--- */
.migas-pan {
	font-family: Inter;
	font-weight: 400;
	font-style: Regular;
	font-size: 16px;
	leading-trim: NONE;
	line-height: 100%;
	letter-spacing: 0%;
}

.tiempo-lect{
	font-family: Manrope;
	font-weight: 500;
	color: #3DA3DD;
	font-size: 15px;
	line-height: 100%;
	letter-spacing: 0%;
	
}

.titulo-padre {
	font-family: Manrope;
	font-weight: 500;
	font-style: Medium;
	font-size: 32px;
	line-height: 40px;
	letter-spacing: -3%;
	padding-bottom: 10px;
}

.padding-top-90
{
	padding-top: 90px;
}

.padding-bottom-150
{
	padding-bottom: 150px;
}

/*.e-con-inner img
{
	padding: 20px 0px 50px 0px ;
}*/

h2.elementor-heading-title.elementor-size-default {
    padding-bottom: 20px;
}


/* Puntito azul */
ul.puntito_azul {
    list-style: none; 
}

ul.puntito_azul li {
    position: relative;
}

ul.puntito_azul li::before {
    content: "•"; 
    color: #3da3dd; 
    font-weight: bold;
    display: inline-block; 
    width: 1em;
    margin-left: -1em;
}

ul.puntito_azul li strong, 
ul.puntito_azul li b {
    color: #3da3dd;
}
/* Puntito azul */


/**/
li.menu-item-214 {
    background: #A7B54F;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0;
    border-radius: 0px; 
    display: inline-block; 
}

li.menu-item-214 a {
    color: #ffffff !important; 
    text-decoration: none;
}
/**/



/* 1. Escondemos ambos por defecto en la página de búsqueda */
/* Ocultar todos los contenedores de resultados por defecto */
.search-results #res-post, 
.search-results #res-documento, 
.search-results #res-jornada, 
.search-results #res-proyecto { 
    display: none !important; 
}

/* Mostrar solo el que coincida con el post_type de la búsqueda */
.search-type-post #res-post { display: flex !important; }
.search-type-documento #res-documento { display: flex !important; }
.search-type-jornada #res-jornada { display: flex !important; }
.search-type-proyecto #res-proyecto { display: flex !important; }


/* 1. Contenedor principal del formulario */
.e-search-form {
        background-color: #fff;
    border: 1.26px solid #DADADA;
    display: flex;
    align-items: center;
    overflow: hidden;
    max-width: 500px;
    height: 40px;
    border-radius: 50px;
}

/* 2. Estilos específicos para el input de texto */
.e-search-form .e-search-input {
    background-color: #fff !important;
    padding: 0px 15px 0px 50px;
    border: none !important;
    outline: none;
    width: 100%;
}

/* 3. Estilos para el icono de la lupa (opcional, para que combine) */
.e-search-form .e-search-label {
    padding-left: 15px;
    position: absolute; /* Para posicionarlo sobre el padding de 50px */
}

.e-search-form .e-search-label svg {
    width: 16px;
    height: 16px;
    fill: #888; /* Color gris para la lupa */
}

/* 4. Estilos para el BOTÓN (Aquí está el truco de la /) */
.e-search-form .e-search-submit {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 0 15px; /* Espaciado a los lados de la / */
    position: relative;
    width: 18px;  /* Ancho total del área del botón */
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Escondemos el texto "Buscar" original */
.e-search-form .e-search-submit span {
    display: none;
}

/* Creamos la barra diagonal / con CSS */
.e-search-form .e-search-submit::after {
    content: "/";
    
    /* Tipografía para la barra */
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px; /* Tamaño de la barra */
    color: #D9D9D9;  /* Color gris solicitado */
    
    /* Asegurar que el ancho del carácter sea exacto */
    width: 18px;
    text-align: center;
    display: block;
}


/*Categoria listado*/
#categoria_post a.elementor-post-info__terms-list-item {
    background-color: #fff;
    border: 1px solid #797979;
    border-radius: 50px;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 2px;
    padding-bottom: 2px;
    font-family: Manrope;
    font-size: 15px;
    font-weight: 500;
    line-height: 100%;
	color: #797979;

}

/* 1. Ponemos el tamaño de fuente a cero en el contenedor para que la coma desaparezca */
#categoria_post .elementor-post-info__terms-list {
    font-size: 0 !important;
    visibility: hidden; /* Asegura que no ocupe espacio visual */
}

/* 2. Devolvemos el tamaño y la visibilidad a los enlaces individuales */
#categoria_post .elementor-post-info__terms-list-item {
    font-size: 14px !important; /* Ajusta aquí el tamaño que quieras que se vea */
    visibility: visible;
    display: inline-block;
    margin-right: 12px; /* Añade separación entre palabras ahora que no hay coma */
}

/* 3. Evitamos que la última palabra tenga margen a la derecha */
#categoria_post .elementor-post-info__terms-list-item:last-child {
    margin-right: 0;
}
/*Categoria listado*/


/*Calendario*/


/*Calendario*/

/*Formulario cabecera acceso*/
.cg-login-form-inline {
	display: grid;
	grid-template-columns: minmax(275px, 1fr) auto;
	align-items: center;
	gap: 24px;
}

.cg-login-col-fields {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.cg-login-row {
	display: grid;
	grid-template-columns: 110px 1fr;
	align-items: center;
	column-gap: 14px;
}

.cg-login-row label {
	margin: 0;
	font-family: Inter;
	font-weight: 400;
	font-style: Regular;
	font-size: 14px;
	line-height: 100%;
	letter-spacing: 0%;
	color: #6D8493;
}

.cg-login-row input[type="text"],
.cg-login-row input[type="password"] {
	width: 100%;
    padding: 0px;
    border: 1px solid #9B9191 !important;
    margin: 0;
    border-radius: 0px !important;
}

.cg-login-submit-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	width: 44px;
	height: 47px;
	border-radius: 0px !important;
	padding: 10px;
	background: #A7B54F !important;
	color: #ffffff !important;
	border-style: none !important;
}

.cg-login-submit-btn .material-symbols-rounded {
	font-size: 20px;
	line-height: 1;
}
@media (max-width: 767px) {
	.cg-login-form-inline {
		grid-template-columns: 1fr;
	}

	.cg-login-row {
		grid-template-columns: 1fr;
		row-gap: 6px;
	}

	.cg-login-col-submit {
		justify-content: flex-start;
	}
}
/*Formulario cabecera acceso*/

.cg-menu-privado__list {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 24px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.cg-menu-privado__list li {
	margin: 0;
	padding: 0;
}

.cg-menu-privado__list a {
	display: inline-block;
	text-decoration: none;
	color: #222;
}

@media (max-width: 767px) {
	.cg-menu-privado__list {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}
}

nav.cg-menu-privado ul.cg-menu-privado__list {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	gap: 24px !important;
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

nav.cg-menu-privado ul.cg-menu-privado__list > li {
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
}

.cg-lista-comunidades {
	display: flex;
	flex-direction: column;
	gap: 0px;
	margin-bottom: 0px;
}

.cg-comunidad-item {
	text-decoration: none;
	padding: 10px 14px;
	border-bottom: 1px solid #EFEFEF;
	border-radius: 0px;
	color: #222;
}

.cg-documentos-comunidad-lista {
	padding-left: 18px;
}


.cg-volver-comunidades {
	margin-bottom: 20px;
}

.cg-volver-comunidades a {
	display: inline-block;
	text-decoration: none;
	padding: 10px 14px;
	border: 1px solid #ddd;
	border-radius: 8px;
	color: #222;
	font-weight: 600;
}

.border-gris-bottom {
	border-bottom: 1px solid #EFEFEF !important;
    border-radius: 0;
}


/* Contenedor principal que agrupa todo */
.cg-comunidad-item {
    display: flex;          /* Alinea el texto y la flecha en fila */
    align-items: center;    /* Centra verticalmente */
    justify-content: space-between; /* Empuja el texto a la izq y la flecha a la dcha */
    text-decoration: none;
    padding: 10px 14px;
    border-bottom: 1px solid #EFEFEF;
    color: #222;
    transition: all 0.3s ease;
}

/* La flecha ahora es un pseudo-elemento del contenedor principal */
.arrow-link-icon::after {
    content: "\e876"; 
    font-family: elementskit !important;
    font-weight: 900;
    font-size: 8px;
    color: #000000;
    margin-right: 20px; /* Tu padding-right de 20px */
}

/* Efecto hover sobre el contenedor */
.cg-comunidad-item:hover {
    background-color: #f9f9f9;
}

.cg-comunidad-item:hover .arrow-link-icon::after {
    transform: translateX(5px);
}

/*Video home*/
.bloque-video-datos{
  position: relative;
    width: 700px;
    height: 500px;
    overflow: hidden;
    border-radius: 20px;
}

.bloque-video-datos__video{
  position: absolute;
  inset: 0;
  object-fit: cover;
  z-index: 1;
  left: -30px;
  top: -30px;
}

.bloque-video-datos__overlay{
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
}

.dato{
  position: absolute;
  background: rgba(255,255,255,0.85);
  padding: 12px 16px;
  border-radius: 12px;
}

.unidad-medida{
  font-size: 0.55em;
  vertical-align: baseline;
  font-weight: 400;
}

.bloque-video-fnd
{    
    /*display: block;
    background-image: url(https://st1.cgbardenas.com/media/2026/04/Invierno.png);
    background-repeat: no-repeat;
    border-radius: 30px;
    overflow: hidden;
    background-position-x: -40px;
    background-position-y: -40px;
    background-repeat: no-repeat;*/

    display: block;
    background-image: url(https://st1.cgbardenas.com/media/2026/04/Invierno.png);
    background-repeat: no-repeat;
    border-radius: 30px;
    overflow: hidden;
    background-position-x: 9px;
    background-position-y: -28px;
    background-repeat: no-repeat;
    background-size: 90%;

}

/*Video home*/

.login-custom-msg {
    font-size: 13px;
}

/* Contenedor principal */
.cg-panel-bienvenida {
    max-width: 600px;
    margin: 20px auto;
    font-family: sans-serif;
    text-align: center;
}

/* Título y texto */
.cg-panel-bienvenida h2 {
    color: #333;
    margin-bottom: 5px;
}

.cg-panel-bienvenida p {
    color: #666;
    margin-bottom: 25px;
}

/* Contenedor de los enlaces */
.cg-panel-links {
    display: flex;
    flex-wrap: wrap; /* Para que en móviles se pongan uno debajo de otro */
    gap: 15px;      /* Espacio entre las cajas */
    justify-content: center;
}

/* Estilo para las cajas de Noticias y Documentos */
.cg-panel-link {
    flex: 1;
    min-width: 200px; /* Tamaño mínimo para cada caja */
    padding: 20px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-decoration: none;
    color: #0056b3;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Efecto al pasar el ratón */
.cg-panel-link:hover {
    background-color: #f8f9fa;
    border-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Estilo especial para Cerrar Sesión (para que no parezca una caja de contenido) */
.cg-panel-link.cg-panel-link-logout {
    flex-basis: 100%; /* Ocupa toda la fila */
    background: none;
    border: none;
    box-shadow: none;
    color: #dc3545; /* Rojo para salida */
    font-weight: normal;
    font-size: 0.9em;
    margin-top: 10px;
    text-decoration: underline;
}

.cg-panel-link.cg-panel-link-logout:hover {
    transform: none;
    color: #a71d2a;
    background: none;
}

/*Datos embalse home*/

a.ekit-accordion--toggler {
	background-color: #ffff !important;
    border-radius: 30px !important;
}

/* Contenedor principal de cada ítem */
.enlaces_home .elementor-icon-box-wrapper {
    display: flex !important;
    flex-direction: row-reverse !important; /* Mueve la flecha a la derecha */
    justify-content: space-between !important; /* Separa texto y flecha al máximo */
    align-items: center;
    width: 100%;
    padding-bottom: 1px; /* Espacio antes de los puntos */
    margin-bottom: 1px; /* Espacio después de los puntos */
    border-bottom: 1px dotted #000000; /* La línea de puntitos negros finita */
}

.enlaces_home .elementor-position-inline-end {
    width: 100%;
}

/* Alineación del texto a la izquierda */
.enlaces_home .elementor-icon-box-content {
    text-align: left !important;
    flex-grow: 1; /* Hace que el texto ocupe el espacio restante */
}

/* Ajuste de la flecha para que no tenga márgenes raros */
.enlaces_home .elementor-icon-box-icon {
    margin-left: 15px !important;
    margin-right: 0 !important;
}

/* Quitar la línea al último elemento para que quede más limpio */
.enlaces_home .elementor-widget-icon-box:last-child .elementor-icon-box-wrapper {
    border-bottom: none;
}

/* --- RESET BÁSICO --- */
.aportacion_yesa * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* --- CONTENEDOR PRINCIPAL --- */
.aportacion_yesa {
    position: absolute;
    top: 83px;
    left: 150px;
    z-index: 10;
    max-width: fit-content;
    display: flex;
    flex-direction: column;
    align-items: flex-end; 
    gap: 4px; /* Reducido el espacio entre cajas */
    font-family: 'Poppins', sans-serif;
}

.salidacanal_yesa {
    position: absolute;
        top: 320px;
    left: 420px;
    z-index: 10;
    max-width: fit-content;
    display: flex;
    flex-direction: column;
    align-items: flex-end; 
    gap: 4px; /* Reducido el espacio entre cajas */
    font-family: 'Poppins', sans-serif;
}

.salidacanal_yesa .contenedor-flecha {
    position: absolute;
    top: -18px;
    left: 100px;
    z-index: 11;
}

.salidario_yesa{
    position: absolute;
    top: 405px;
    left: 395px;
    z-index: 10;
    max-width: fit-content;
    display: flex;
    flex-direction: column;
    align-items: flex-end; 
    gap: 4px; /* Reducido el espacio entre cajas */
    font-family: 'Poppins', sans-serif;
}

/* --- CAJA SUPERIOR --- */
.tarjeta-caudal-info-wrapper {
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.contenedor-flecha {
    position: absolute;
    top: -12px;  /* Ajustado al nuevo tamaño */
    left: -12px; 
    z-index: 11;
}

.icon-flecha {
    background-color: #31afe7;
    color: white;
    border-radius: 50%;
    font-size: 16px; /* Un poco más pequeña */
    width: 26px; 
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-variation-settings: 'FILL' 1, 'wght' 600, 'GRAD' 0, 'opsz' 20;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); 
}

.tarjeta-caudal-info {
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 50px;
    /* PADDING A LA MITAD: antes 10px 20px, ahora 5px 10px */
    padding: 5px 10px 5px 15px; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
}

.texto-titulo {
    color: #2c3e50;
    font-size: 14px; /* TAMAÑO SOLICITADO */
    font-weight: 500;
}

/* --- CAJA DE VALOR INFERIOR --- */
.tarjeta-caudal-valor {
    background-color: white;
    border-radius: 50px;
    /* PADDING A LA MITAD: antes 6px 18px, ahora 3px 9px */
    padding: 3px 12px;
    display: flex;
    flex-direction: column; /* PARA QUE LAS UNIDADES QUEDEN ABAJO */
    align-items: center;    /* Centrado horizontal de número y unidad */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-right: 10px;
}

.tarjeta-caudal-valor .numero {
    color: #2c3e50;
    font-size: 18px; /* Proporcional al texto de 14px */
    font-weight: 700;
    line-height: 1;
}

.tarjeta-caudal-valor .unidad {
    color: #2c3e50;
    font-size: 11px; /* Más pequeña para que no compita */
    font-weight: 400;
    line-height: 1;
    margin-top: 2px; /* Espacio mínimo con el número */
}

.tarjeta-info-yesa {
	/* Más estrecha */
	width: 220px; 
	
	/* Más transparente (0.2 es un 20% de blanco) */
	background-color: rgba(120, 120, 120, 0.25);
	position: absolute;
	top: 185px;
    left: 100px;
	
	/* Bordes y sombra suave */
	border-radius: 25px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	padding: 25px;
	color: white; /* Todo en blanco */
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.tarjeta-info-yesa2 {
	display:none;
}

.seccion-yesa {
	margin-bottom: 15px;
}

.titulo-yesa {
	font-size: 14px;
	display: block;
	margin-bottom: 4px;
	font-weight: 400;
}

.valor-yesa {
	font-size: 20px;
	font-weight: 400;
	display: block;
}

.unidad-yesa {
	font-size: 14px;
	font-weight: 300;
	margin-left: 4px;
}

/* Separador de puntos finos */
.puntos-yesa {
	border: none;
	border-top: 1px dotted rgba(255, 255, 255, 0.6);
	height: 1px;
	margin: 15px 0;
	width: 100%;
}

/* Destacado calendario */
.destacado-calendario-link {
    text-decoration: none !important;
}

.destacado-calendario {
    background: linear-gradient(180deg, #a2c5de 0%, #87b1d0 100%);
    border-radius: 15px;
    padding: 15px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
    max-width: 500px; /* Puedes ajustar el ancho máximo */
}


/* El sol de fondo */
.destacado-calendario::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    width: 80px;
    height: 80px;
    background-color: rgba(210, 220, 160, 0.5);
    border-radius: 50%;
    z-index: 0;
}

.texto-clima {
    font-family: "Manrope";
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    color: var(--e-global-color-text);
    position: relative;
    z-index: 1;
}

.btn-flecha-descal {
    background-color: rgba(0, 0, 0, 0.15);
    width: 35px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

/* Flecha dibujada con CSS puro */
.flecha-icon {
    border: solid white;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(-45deg);
    margin-left: -2px; /* Ajuste óptico */
}
/* Destacado calendario*/

/*Dato embalse*/
.datos_embalse {
    list-style: none;
    padding: 0;
    margin: 0;
}

.datos_embalse li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.datos_embalse li span {
    display: block;
    font-size: 12px;
    line-height: 1.4;
    margin: 0 0 4px 0;
    padding-left: 20px;
}

.datos_embalse li span:last-child {
    margin-bottom: 0;
}
/*Dato embalse*/


.yesa_home {
	font-family: Inter;
	font-weight: 400;
	font-style: Regular;
	font-size: 16px;
	line-height: 100%;
	letter-spacing: 0%;
}

.datos_emblase_ipad span.elementor-icon {
    margin-top: 5px !important;
}

@media (max-width: 600px) 
{
	
	.login-custom-msg {
	    font-size: 10px;
	    line-height: 15px;
	}

	.bloque-video-fnd
	{
		background-size: 100%;
		background-position-x: 9px;
    	background-position-y: -10px;
	}
	
	.bloque-video-datos{
	  position: relative;
	    width: 100%;
	    height: 420px;
	    overflow: hidden;
	    border-radius: 20px;
	}
	
	.bloque-video-datos__video {
		position: absolute;
		inset: 0;
		object-fit: cover;
		z-index: 1;
		left: -30px;
		/* top: -30px; */
		width: 112% !important;
		max-width: 112% !important;
	}
	
	.aportacion_yesa, .salidacanal_yesa, .salidario_yesa {
		display:none;
	}
	
	.tarjeta-info-yesa {
        width: 150px;
        top: 0px;
        left: 200px;
        padding:5px 15px;
    }
	
	.tarjeta-info-yesa2 {
		/* Más estrecha */
		width: 230px; 
		position: absolute;
		top: 202px;
	    left: 40px;
	    padding:5px 15px;
		display:block;
		
		background-color: rgba(120, 120, 120, 0.25);
		border-radius: 25px;
		border: 1px solid rgba(255, 255, 255, 0.2);
		color: white; 
		box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
		
		
	}
	
	.valor-yesa {
		font-size: 16px;
		
	}
	
	.seccion-yesa {
	    margin-bottom: 5px;
	    margin-top: 5px;
	}
	
	
	/*Formulario cabecera*/
	
    
    /* El formulario se convierte en una rejilla de 3 columnas */
    .cg-login-form-inline {
        display: grid;
        grid-template-columns: auto 1fr auto; /* Col 1: Label, Col 2: Input, Col 3: Botón */
        grid-column-gap: 10px;
        grid-row-gap: 8px;
        align-items: center;
    }

    /* Forzamos a que los bloques de campos no actúen como bloques div, sino como parte de la rejilla */
    .cg-login-col-fields {
        display: contents; /* Esto "deshace" el div intermedio para que los hijos entren en la rejilla del padre */
    }

    .cg-login-row {
        display: contents; /* Lo mismo aquí para que label e input sean celdas individuales */
    }

    /* Estilos de texto más pequeños */
    .cg-login-row label {
        font-size: 10px;
        font-weight: 500;
        white-space: nowrap;
    }

    .cg-login-row input {
        font-size: 12px;
        padding: 5px;
        width: 100%;
        min-width: 0; /* Evita que el input desborde */
    }

    /* Columna del botón: aquí ocurre la magia */
    .cg-login-col-submit {
        grid-column: 3;        /* Se queda en la tercera columna */
        grid-row: 1 / span 2;  /* Empieza en la fila 1 y abarca 2 filas */
        height: 100%;          /* Ocupa toda la altura disponible */
    }

    .cg-login-submit-btn {
        height: 100%;          /* El botón se estira para llenar su contenedor */
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 15px;
        width:20px;
    }

	/*Menu privado*/
	.menu_privado_comunidad {
	    width: 80%;
	}
	
	.cg-menu-privado__list a {
	    color: #222;
	    font-size: 12px;
	    line-height: 15px;
	}

}

 /*Cookiebot*/
 /* CONTENEDOR PRINCIPAL: Ancho completo y abajo */
body #CybotCookiebotDialog {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important; /* Elimina el centrado anterior */
    
    /* Estética Glassmorphism */
    background-color: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    
    /* Espaciado y bordes */
    padding: 20px 40px !important;
    box-sizing: border-box !important;
    border-top: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1) !important;
    
    z-index: 2147483647 !important;
    font-family: sans-serif !important;
}

/* Alineación del contenido interno */
#CybotCookiebotDialogBodyContent {
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

#CybotCookiebotDialogBodyContentTitle {
    font-weight: bold;
    font-size: 1.1rem;
    color: #222;
    margin-bottom: 8px;
}

#CybotCookiebotDialogBodyContentText {
    font-size: 0.9rem;
    color: #444;
    line-height: 1.4;
}

/* Contenedor de botones: Aseguramos que se alineen verticalmente al centro */
#CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelectionWrapper {
    display: flex !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
    align-items: center !important; /* Centrado vertical */
    margin-top: 20px !important;
}

/* Estilo unificado para todos los botones */
#CybotCookiebotDialog button, 
button.cookieall, 
button.mostrar, 
#CybotCookiebotDialogBodyButtonDecline {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    
    /* Forzamos la misma altura en todos */
    height: 45px !important; 
    min-width: 160px !important; /* Opcional: para que tengan un ancho similar */
    
    padding: 0 24px !important; /* Quitamos padding vertical para que mande el height */
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
    border: none !important;
}

/* Ajuste de los enlaces dentro de los botones */
#CybotCookiebotDialog button a, 
button.cookieall a, 
button.mostrar a, 
#CybotCookiebotDialogBodyButtonDecline a {
    text-decoration: none !important;
    display: block !important;
    width: 100% !important;
    line-height: 45px !important; /* Debe coincidir con el height del botón */
}

/* Botón Aceptar y Rechazar (Fondo oscuro) */
button.cookieall, 
#CybotCookiebotDialogBodyButtonDecline {
    background-color: #333 !important;
    color: white !important;
}
button.cookieall a, 
#CybotCookiebotDialogBodyButtonDecline a {
    color: white !important;
}

/* Botón Configurar (Con borde azul, misma altura) */
button.mostrar {
    background-color: transparent !important;
    border: 2px solid #007bff !important; /* Usamos 2px para que se note el borde */
    color: #007bff !important;
}
button.mostrar a {
    color: #007bff !important;
}

/* Efecto Hover para todos */
#CybotCookiebotDialog button:hover {
    opacity: 0.9 !important;
    transform: translateY(-1px) !important;
}

/* Móviles */
@media (max-width: 768px) {
    body #CybotCookiebotDialog {
        padding: 20px !important;
    }
    #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelectionWrapper {
        flex-direction: column;
    }
    #CybotCookiebotDialog button {
        width: 100% !important;
    }
}
 /*Cookiebot*/
 
 .tribe-events.tribe-common {
    display: none;
}

.tribe-events-back
{
	display: none;
}
