/* Theme Name: Egovt Child Theme
Theme URI: https://themeforest.net/user/ovatheme/portfolio
Description: This is child theme of egovt
Author: Ovatheme
Author URI: https://themeforest.net/user/ovatheme
Template: egovt
Version: 1.20
Tags: two-columns, three-columns, left-sidebar, right-sidebar, custom-menu, editor-style, featured-images, flexible-header, full-width-template, post-formats, rtl-language-support, sticky-post, translation-ready
Text Domain:  egovt-child
*/

.col_equal{
  flex-wrap: wrap;
  align-items: stretch;
}

/******* OVERRIDES *************/
.e--pointer-background .elementor-item:before {
  background-color: #132244 !important;
}

.e--pointer-background .elementor-item:hover:before {
  background-color: #d22845 !important;
}

.elementor-80 .elementor-element.elementor-element-f5d2d87 .ova_nav ul.menu .dropdown-menu li a {
  text-transform: none !important;
}

.nv-mmenu #menu-primary-menu-2nd li ul li a {
  text-transform: none !important;
}

.sb-post-item-image-wrap, 
.sb-button-reset{ 
	height: auto!important; 
}

.wpc-filters-widget-content .wpc-filter-title{
	font-size: 25px;
	line-height: 1;
	font-family: Cabin;
	color: #202b5d;
	font-weight: 600;
}




/*.elementor-element-5388637 p,
.elementor-element-01e4062 p {
    margin: 0!important;
}*/

h1.page-title {
  margin-bottom: 20px;
  border-bottom: 2px solid #d22845;
}

#homepoll1 .pbSubmit {
  background-color: #c32643 !important;
  color: white !important;
}

/* eliminar capitalize */
.default article.post-wrap .post-title h2.post-title a,
.blog-grid article.post-wrap .post-title h2.post-title,
.ova-wrap-grid .post-title a{
  text-transform: none !important;
  color: #202b5d !important;
}

.wpc-filter-category select{
	height: unset!important;
	line-height: unset!important;
}

/*--------------- Home botones de Temas */
.jub25-card-content {
  height: 50% !important;
  margin-bottom: -50px !important;
  transition: all 0.5s ease !important;
}

.jub25-card-content:hover {
  margin-bottom: 0 !important;
  height: 100% !important;
}

/*--------------- Anywhere iframe */
iframe {
  width: 100%;
  /*height: 100%!important;*/
  border: none;
}

#jub25-home-qr {
  display: none;
}

.ova-framework-social-icon-qrcode:hover {
  background-color: yellow !important;
}

/*--------------- Home eventos */
#jub25-home-events .ovaev-event-element {
  margin-bottom: 0px;
  padding: 20px;
}

.nvjub-home-publi-txt {
  margin-bottom: 0px !important;
}

/*--------------- Home eventos */
@media screen and (max-width: 1024px) {
	.jub2026-logo-2 > div{
		display: block!important;
		text-align: right;
	}
	.jub2026-logo-2 > div a{
		display: inline-block;
		padding-right: 20px;
	}
	.jub2026-logo-2 > div a img{
		max-height: 100px;
	}
}
/*--------------- Paginator */
nav .page-numbers {
  display: inline !important;
}

/*--------------- Filtro WPC FILTER */
.wpc-filter-title{
  font-weight: bold;
}

.blog-grid article.post-wrap {
    margin-bottom: 10px!important;
}


/******* INTERNA HEADER *************/
.jub2026-int-banner-bread h1{
	text-shadow: 2px 2px 3px black;
	text-transform: none!important;
}
.jub2026-int-banner-bread .breadcrumb{
	text-shadow: 1px 1px 2px black;
}

/* titulos */
@media screen and (max-width: 500px) {
	.breadcrumbs-title{
		flex-direction: column!important;
	}
}

/* side bar en eventos */
.sidebar-event .widget-title{
	padding-top: 20px;
}


/******* POSTs y DOCs *************/
/* Forzar tamaño y recorte en la imagen destacada del post <-- HOME / RT-BlogSlider */
.ova-wrap-grid .post-media img,
.ova-wrap-grid{
  width: 100% !important;
  height: auto; 
  aspect-ratio: 1.43;
  object-fit: cover;
}

/* Forzar tamaño y recorte en el texto del título del post <-- HOME / RT-BlogSlider */
.ova-wrap-grid .post-title a {
  /* Activa el contenedor flexible para limitar las líneas */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;

  /* Fuerza a que la caja SIEMPRE mida exactamente 3 líneas */
  line-height: 1.3em;
  min-height: calc(1.3em * 3);
  max-height: calc(1.3em * 3);
}

.jub2026-hbox-publicaciones .type-publicaciones .elementor-widget-heading h3 a{
  /* Activa el contenedor flexible para limitar las líneas */
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;

  /* Fuerza a que la caja SIEMPRE mida exactamente 4 líneas */
  line-height: 1.3em;
  min-height: calc(1.3em * 4);
  max-height: calc(1.3em * 4);
}

/* Estilos para contador de visitas y descargas en la noticia de la portada */
.contador-publi-wrapper {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	background-color: #f8f9fa;
	border: 1px solid #e9ecef;
	padding: 8px 16px;
	border-radius: 50px!important;
	font-family: inherit;
	font-size: 0.92rem;
	color: #495057;
	box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}
.contador-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 500;
}
.contador-item .publi-icon {
	color: #6c757d;
	flex-shrink: 0;
	vertical-align: middle;
}
.contador-vistas .publi-icon {
	color: #0d6efd; /* Azul acento para vistas */
}
.contador-descargas .publi-icon {
	color: #198754; /* Verde acento para descargas */
}
.contador-publi-wrapper .num-vistas,
.contador-publi-wrapper .num-descargas {
	font-weight: 700;
	color: #212529;
}
.contador-separador {
	color: #ced4da;
	font-size: 1.1rem;
	user-select: none;
}

.jub2026-home-ct1 svg{
	fill: #0d6efd!important;
}

.jub2026-home-ct2 svg{
	fill: #198754!important;
}

/* estilos para el menú lateral */
/* 1. Estilos globales para los enlaces del menú Ova Menu Page */
#menu-areas-tematicas ul li a {
    color: #333333 !important;          /* Color del texto */
    font-size: 16px !important;         /* Tamaño de la letra */
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
}

/* 2. Estado Hover (al pasar el mouse) en cualquier página */
#menu-areas-tematicas  ul li a:hover {
    color: #0073aa !important;
    background-color: #eaeaea !important;
}

/* 3. Estado Activo (página actual) en cualquier página */
#menu-areas-tematicas .current-menu-item{
    color: #0073aa !important;
	background-color: #0073aa;
    /*padding: 15px !important;*/
}

#menu-areas-tematicas .current-menu-item a{
	padding-left: 10px;
}

#menu-areas-tematicas .current-menu-item a::before{
    content: none !important;
}

/* Ocultar específicamente el símbolo si es un elemento hijo o pseudo-elemento en los enlaces */
#menu-areas-tematicas ul li a::after,
#menu-areas-tematicas ul li a::before {
    display: none !important;
}

/* 1. Definir padding y bloque para todos los enlaces del menú */
#menu-areas-tematicas ul li a {
    display: block !important;
    padding: 8px 12px !important;       /* Relleno: 8px arriba/abajo, 12px izquierda/derecha */
    border-radius: 4px !important;      /* Bordes ligeramente redondeados (opcional) */
    transition: all 0.2s ease-in-out !important;
}

/* 2. Estado activo (página actual/visitada) */
#menu-areas-tematicas ul li.current-menu-item a {
    background-color: #0073aa !important; /* Tu color de fondo */
    color: #ffffff !important;          /* Letra blanca para mejor contraste */
    font-weight: 600 !important;
}

/* 3. Estado hover (al pasar el ratón) */
#menu-areas-tematicas ul li a:hover {
    background-color: rgba(0, 115, 170, 0.1) !important; /* Fondo suave al pasar el cursor */
    color: #0073aa !important;
}

/* efecto zoom para archive noticias */
.ova-wrap-grid article .wrap-article{
	transition: transform 0.4s ease;
}
.ova-wrap-grid article:hover .wrap-article{
	transform: scale(1.05);
} 





