/**
Theme Name: Astra Child
Author: PKF Attest
Author URI: https://www.pkf-attest.es/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/
.eic-enfasis {
	color: var(--ast-global-color-1);
}
hr{
	background-color: #e6e7e8;
}
.cmplz-cookiebanner .cmplz-buttons .cmplz-btn {
    font-size: 12px!important;
}
/* Comissions */

.single-comissions .elementor-pagination {
    display: flex;
    justify-content: space-between;
    margin-top: 24px;
    text-transform: uppercase;
    font-size: 13px; 
}
.single-comissions .elementor-pagination .page-numbers.prev, 
.single-comissions .elementor-pagination .page-numbers.next {
    display: inline-block;
    width: 100%;
    padding: 8px 0px;
}

.single-comissions .elementor-pagination .page-numbers.prev {
    text-align: left;
    border-right: 2px solid #E8E8E8;
}
.single-comissions .elementor-pagination .page-numbers.prev:before {
    font-family: "dashicons";
    content: "\f341";
}

.single-comissions .elementor-pagination .page-numbers.next {
    text-align: right;
}
.single-comissions .elementor-pagination .page-numbers.next:after {
    font-family: "dashicons";
    content: "\f345";
}
/*.hidden-not-found {
    display: none!important;
}*/

/*===============================
 * HEADER
 * =============================*/
.ast-logo-title-inline .ast-site-identity {
	padding: 0;
}
.ast-custom-button.eic-custom-button {
	font-size: 14px;
	padding: 12px;
	background-color: transparent;
	border-color: var(--ast-global-color-0);
	transition:.3s;
}
.ast-custom-button.eic-custom-button a {
	color: var(--ast-global-color-0);
}
.ast-custom-button.eic-custom-button:hover {
	background-color: var(--ast-global-color-1);
	border-color: var(--ast-global-color-1);
}
.main-header-bar.ast-header-breadcrumb{border:none;padding: 16px 0;}

.ast-header-break-point .main-header-bar.ast-header-breadcrumb {
	border-bottom: none;
}

/* Header sticky */
.site-header {
	position: sticky;
    top: -48px;
}
.seccion-ancla {
  scroll-margin-top: 200px; /* Ajusta según la altura de tu sticky */
}
#ast-mobile-header .ast-primary-header-bar {
    padding-left: 16px!important;
    padding-right: 16px!important;
}
@media (max-width:768px){
	.site-header {
		top: -60px;
	}
}
/* TOP BAR MOBILE */

@media (max-width:768px){
    .ast-custom-button.eic-custom-button {
        padding: 12px 8px;
    }
    .ast-header-break-point #masthead .ast-mobile-header-wrap .ast-above-header-bar {
        padding-left: 0;
        padding-right: 20px;
    }
    .ast-builder-grid-row.ast-builder-grid-row-has-sides.ast-grid-center-col-layout{
        grid-column-gap: 8px;
    }
    .ast-header-break-point .ast-header-html-1 {
        padding: 0;
    }

}

/*BREADCRUMBS*/
.rank-math-breadcrumb {
	text-align: center;
	text-transform: uppercase;
}
.rank-math-breadcrumb a {
	font-size: 0.75rem;
}
.ast-breadcrumbs-wrapper .last {
	font-size: 0.75rem!important;
	color: white;
}
.ast-breadcrumbs-wrapper .last:last-child {
    color: var(--ast-global-color-1);
}

.elementor-nav-menu {
	margin: 0!important;
}
.elementor-nav-menu .menu-item:hover {
	background-color: var(--ast-global-color-1);
	transition: 0.2s;
}
.elementor-nav-menu .menu-item:hover .elementor-item {
	color: var(--ast-global-color-0)!important;
}
@media (max-width: 767px) {
	.elementor-sticky .elementor-nav-menu__container{
		position: inherit!important;
	}
	.elementor-nav-menu {
		padding:0!important;
		background-color: var(--ast-global-color-0);
	}
	.elementor-nav-menu .menu-item .elementor-item{
		color: var(--ast-global-color-1);
	}
	.elementor-nav-menu .menu-item:hover, .elementor-nav-menu .menu-item:hover .elementor-item {
		background-color: var(--ast-global-color-1);
		transition: 0.2s;
	}
	.elementor-nav-menu .menu-item:hover .elementor-item {
		color: var(--ast-global-color-0)!important;
	}
}
/*===============================
 * PRIMER SLIDER
 * =============================*/
/* HOME SLIDER */
.home-slider .bdt-prime-slider{margin-bottom:-16px;}
.home-slider .bdt-prime-slider-dragon .bdt-ps-dragon-slide-image{-webkit-mask-image: none; mask-image: none;}
.home-slider .bdt-prime-slider-dragon .bdt-ps-dragon-slide-image .bdt-ps-slide-img {
	background-blend-mode: overlay;
    background-color: var(--ast-global-color-0);
}
.home-slider .bdt-prime-slider-dragon .bdt-slider-excerpt{max-width: clamp(270px, 52vw, 700px);}
.home-slider .bdt-prime-slider-dragon .bdt-ps-button-wrapper, .noticies-destacats .bdt-prime-slider-skin-coral .bdt-slide-btn .bdt-slide-btn-icon svg {	display: none;}
.home-slider .bdt-prime-slider-dragon .bdt-ps-button {
    margin-bottom: 0 !important;
	border: 1px solid var(--ast-global-color-1);
    background-color: var(--ast-global-color-1);
    padding: 16px 32px;
	transition: .3s ease;
}
.home-slider .bdt-prime-slider-dragon .bdt-ps-button-text{
	margin-right: initial;
    color: var(--ast-global-color-0);
    letter-spacing: 0;
}
.home-slider .bdt-prime-slider-dragon h1, .home-slider .bdt-prime-slider-dragon h2 {color: var(--ast-global-color-5);}
.home-slider .bdt-prime-slider-dragon h2 {font-size:64px;}
.home-slider .bdt-prime-slider-dragon .bdt-ps-button:hover { background-color: transparent;}
.home-slider .bdt-prime-slider-dragon .bdt-ps-button:hover .bdt-ps-button-text {color: var(--ast-global-color-1);}
/* NOTICIAS HOME SLIDER */
/*.noticies-destacats .bdt-prime-slider-skin-coral .bdt-slide-btn::before {
	content: none;
}
.noticies-destacats .bdt-prime-slider-skin-coral .bdt-slide-btn {
	border-color: var(--ast-global-color-5);
}
.noticies-destacats .bdt-prime-slider-skin-coral .bdt-slide-btn:hover {
	color: var(--ast-global-color-0);
	background-color: var(--ast-global-color-1);
	border-color: var(--ast-global-color-1)
}*/
.noticies-home .ue-grid-item-category a {
	border: 1px solid var(--ast-global-color-0);
}
.noticies-home .ue-grid-item-category:hover a {
	border: 1px solid var(--ast-global-color-0);
	background-color: var(--ast-global-color-0)!important;
	color: var(--ast-global-color-1)!important;
}
/* DESTACADOS SLIDER */
/*igualar altura de destacados*/
.slider-destacat .bdt-prime-slider-tango .bdt-item{
	clip-path: none;
}
/*margin top para mostrar las flechas de navegación*/
.slider-destacat .bdt-prime-slider-tango {
	margin-top: clamp(3.5rem, 6vw, 3.755rem);
}
/*posición arriba de las flechas de navegación*/
.slider-destacat .bdt-prime-slider-tango .bdt-arrows-center.bdt-navigation-arrows .bdt-navigation-next {
	top: -34px;
}
.slider-destacat .bdt-prime-slider-tango .bdt-arrows-center.bdt-navigation-arrows .bdt-navigation-prev {
	right: 64px;
    left: initial;
    top: -34px;
}
/*posición y anchura bullets de navegación*/
.slider-destacat .bdt-prime-slider-tango .elementor-element .swiper~.swiper-pagination-bullets.swiper-pagination-horizontal {
	width: 100%!important;
}
.slider-destacat .bdt-prime-slider-tango .swiper-pagination {
	justify-content: center;
}
.slider-destacat .bdt-prime-slider-tango .swiper-pagination .swiper-pagination-bullet {
	width: clamp(1.875rem, 4vw, 3.125rem)!important;
}
/*===============================
 * MEGA MENÚ
 * =============================*/
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu {
	top:112px!important;
}
#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item-has-children > a.mega-menu-link > span.mega-indicator {
	display: block;
	text-align: center;
	margin: 0;
    margin-top: -16px;
}
li.mega-menu-row:nth-child(even) ul.mega-sub-menu li.mega-menu-column:first-child{
	clear: both;
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link, #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link:hover {
	font-weight: 500;
}
.sub-menu > .menu-item > .menu-link > .ast-icon.icon-arrow {display:none !important;}
@media (min-width: 769px) {
	#mega-menu-wrap-primary #mega-menu-primary li.mega-megamenu-col-5.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row > ul.mega-sub-menu > li.mega-menu-column {
		width: 20%;
	}	
}

/* menu mobile */
@media (max-width: 1024px){
	.stack-on-mobile .ast-menu-toggle {
		box-shadow: none;
    	border: none;
	}
	.ast-header-break-point .main-navigation ul .sub-menu .menu-item:not(.menu-item-has-children) .menu-link .icon-arrow:first-of-type {
		display: none;
	}
	.ast-header-break-point .sub-menu .menu-item {
		padding-left: 8px;
		font-size: 14px;
	}
	.ast-header-break-point .sub-menu .menu-item {
        padding-left: 0;
    }
}

/* LÍNEA EN HOVER*/
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:before{
	content:"";
	display: inline-block;
    position: absolute;
    color: inherit;
    background: var(--ast-global-color-1);
    height: 6px;
    
    
    width: 0;
	opacity: 0;
    bottom: -48px;
    left: 0px;
	transition: all .2s;
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item:hover > a.mega-menu-link:before{
    width: 100%;
	opacity:1
}
/* disable padre servicios */
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item-disable-cursor > a.mega-menu-link:hover, .mega-menu-wrap .mega-menu-item-disable-cursor > a.mega-menu-link {
	cursor: default !important;
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item-disable-cursor > a.mega-menu-link:hover {
    background-color: #ffffff !important;
}

/*===============================
 * PÁGINAS NIVEL 2 ANCLAS
 * =============================*/
.site-main{
	position: relative;
}

.submenu-sticky {
  position: relative;
  transition: all 0.3s ease;
}

.submenu-sticky.sticky-active {
  position: fixed;
  top: 132px;
  left: 0;
  right: 0;
  z-index: 40;
}
/* ajustar la posición del menú fijo en móvil */
@media (max-width: 767px) {
	.submenu-sticky.sticky-active {
		  top: 81px;
	}
}

/*===============================
 * PÁGINAS NIVEL 2 MENÚ SECUNDARIO
 * =============================*/
.menu-pages .uc-list-menu {
	display: flex;
}
.menu-pages .uc-list-menu li:last-child a {
	border: 0!important;
}
.menu-pages.sticky-menu {
	position: sticky;
        top: 136px;
	z-index: 10;
}
.elementor-nav-menu--dropdown.elementor-nav-menu__container {
	margin-top:0!important;
}
/*===============================
 * COMISSIONS
 * =============================*/
@media (min-width: 922px) {
	.post-type-archive-comission .site-content .ast-container {
		max-width:100%;
		padding-left: 0;
		padding-right: 0;
	}
}
.comission-template-default .entry-header {
	display:none;
}

/*===============================
 * ACTUALIDAD
 * =============================*/
.loop-grid-noticies .elementor-widget-image {
	overflow: hidden!important;
}

/*===============================
 * BLOG
 * =============================*/
.heateor_sss_horizontal_sharing .heateor_sss_svg, .heateor_sss_standard_follow_icons_container .heateor_sss_svg, div.heateor_sss_horizontal_sharing a.heateor_sss_button_instagram span {
	background: transparent!important;
}
/*Related post*/
.ast-related-posts-wrapper .ast-related-post-content {
	border-radius: 16px;
	overflow:hidden;
}
.ast-related-posts-wrapper .ast-related-post-content .ast-related-post-featured-section{
	overflow: hidden;
}
.ast-related-posts-wrapper .ast-related-post-content .wp-post-image {
	border-top-left-radius: 16px;
	border-top-right-radius: 16px;
	transform: scale(1);
}
.ast-related-posts-wrapper .ast-related-post-content:hover .wp-post-image {
	border-top-left-radius: 16px;
	border-top-right-radius: 16px;
	transform: scale(1.1);
}
.ast-related-posts-wrapper .ast-related-post-content .related-entry-header, .ast-related-posts-wrapper .ast-related-post-content div.entry-content {
	padding: 0 16px;
}
.ast-related-posts-wrapper .ast-related-post-content .related-entry-header {
	display: flex;
	flex-direction: column;
}
.ast-related-posts-wrapper .ast-related-post-content .related-entry-header .entry-meta{
	margin:0;
	display: flex;
    flex-direction: column;
	order: 1;
}
.ast-related-posts-wrapper .ast-related-post-content .related-entry-header .entry-title {
	order:2;
}
.ast-related-posts-wrapper .ast-related-post-content:hover .entry-header .entry-title a{
	color: var(--ast-global-color-0);
}
.ast-related-posts-wrapper .ast-related-post-content .related-entry-header .entry-meta .posted-on{
	color: var(--ast-global-color-3);
}

@media (min-width:769px) {
	body.archive.category .ast-blog-layout-4-grid .ast-article-post {
		width: 25%;
	}
}

/* FICHA DE NOTICIA */
/* color de fondo del banner del título */
.ast-single-entry-banner[data-post-type="post"][data-banner-layout="layout-2"] {
	background-color: var(--ast-global-color-0);
}
/* disposición en columna de autor, fecha y categoría */
.ast-single-entry-banner[data-post-type="post"][data-banner-layout="layout-2"] .entry-meta {
	display: flex;
	flex-direction: column;
	font-size: 0;
	gap: 4px;
}
/* añadir texto delante del autor */
.ast-single-entry-banner[data-post-type="post"][data-banner-layout="layout-2"] span.posted-by.vcard.author:before {
    content: "Una notície de: ";
    font-size: 14px;
}
/* apariencia de lo categoría */
.ast-single-entry-banner[data-post-type="post"][data-banner-layout="layout-2"] .ast-terms-link a {
	background-color: var(--ast-global-color-1);
	color: var(--ast-global-color-0);
	text-transform: lowercase;
	border: 1px solid var(--ast-global-color-1);
	border-radius: 16px;
	padding: 2px 12px;
}

/*===============================
 * SASSY SOCIAL SHARE
 * =============================*/
.heateor_sss_sharing_ul {
	display: flex;
	justify-content: center;
}
.heateor_sss_sharing_ul .heateor_sss_button_linkedin {order:1;}
.heateor_sss_sharing_ul .heateor_sss_button_instagram {order:2;}
.heateor_sss_sharing_ul .heateor_sss_button_youtube {order:3;}
.heateor_sss_sharing_ul .heateor_sss_facebook {order:4;}
.heateor_sss_sharing_ul .heateor_sss_button_x {order:5;}

/*===============================
 * CARRUSEL
 * =============================*/
.swiper-tango .bdt-content-wrap .bdt-subtitle a:hover {
    color: #FFF;
}

/*===============================
 * MODERN EVENT CALENDAR (MEC)
 * =============================*/
.mec-calendar .mec-calendar-events-side  .mec-color.mec-table-side-day {
    padding: 2px 2px 2px 4px;
    text-align: center;
}
.mec-calendar .mec-calendar-events-side .mec-table-side-title {
    letter-spacing: 1px!important;
}

.home-agenda .mec-event-footer{
	display: none;
}
@media (min-width: 768px){
	.single-mec-events .mec-wrap .mec-single-title {
		font-size: 40px;
	}
}
.single-mec-events .mec-wrap {
	padding: 40px 0;
}

.single-mec-events .mec-wrap h2 {
	font-size: 20px;
	font-family: 'Inter',sans-serif;
	font-weight: 500;
	line-height: 1.3em;
}
.single-mec-events .mec-wrap p {
	color: var(--ast-global-color-3)!important;
	font-size: 16px;
	font-weight: normal;
	line-height: 1.6;
}
.mec-single-event-description.mec-events-content ol li, .mec-single-event-description.mec-events-content ul li {
	color: var(--ast-global-color-3)!important;
	font-weight: normal;
	/*font-size: 16px;*/
}
.single-mec-events .mec-events-button:hover {
	color: var(--ast-global-color-1)!important;
}
.single-mec-events .mec-single-event-location dd > .mec-sl-location-pin {
	display: none;
}
.single-mec-events .mec-booking-button-register {
	color: var(--ast-global-color-5)!important;
}
.mec-gCalendar-filters .mec-gCalendar-filters-wrap .mec-search-reset-button button, .mec-gCalendar button.fc-findEvents-button.fc-button.fc-button-primary {
	color: var(--ast-global-color-1);
	border: 1px solid var(--ast-global-color-0);
	border-radius: 0!important;
	background-color: var(--ast-global-color-0);
}
.mec-gCalendar-filters .mec-gCalendar-filters-wrap .mec-search-reset-button button:hover, .mec-gCalendar button.fc-findEvents-button.fc-button.fc-button-primary:hover {
	color: var(--ast-global-color-0);
	background-color: var(--ast-global-color-1);
	border-color: var(--ast-global-color-1);
}
.mec-single-subtitle {
	padding-bottom: 8px;
}
.mec-event-meta  .mec-single-event-acf {
	padding: 12px 14px 8px;
    margin-bottom: 12px;
    vertical-align: baseline;
    position: relative;
}
.mec-event-meta  .mec-single-event-acf .mec-color-hover-acf:hover{
	color: var(--ast-global-color-1)!important;
}


/*
 * Ocultar categoría "Destacats" de la ficha del evento utilizando el atributo href 
 */
.mec-events-event-categories a[href*="destacats"] {
    display: none !important;
}

.mec-events-event-categories:has(a[href*="destacats"]) {
    display: none !important;
}
/*
 * Padding en mobile y en el sidebar de la agenda de la Home 
 */
@media only screen and (max-width: 479px) {
    .mec-container {
        width: auto;
    }
}
.mec-calendar .mec-calendar-events-side {
    padding: 40px 16px 40px 0;
}
/*===============================
 * FOOTER
 * =============================*/
@media only screen and (max-width: 768px) {
    footer.site-footer .logo-footer, footer.site-footer site-footer-section-1 .wp-image-30{
        width: 100px;
    }
}

.site-primary-footer-inner-wrap {
    padding-top: 24px;
    border-top: 1px solid #e8e8e8;
}
footer.site-footer .widget-info ul {
	list-style: none;
	margin: 0;
}
footer.site-footer .widget-info .horari-especial {
	margin-top: 24px;
}
footer.site-footer .widget-info .horari-especial dd {
	font-weight: normal;
}
footer.site-footer .widget-info .horari-especial dd {
	margin: 0;
}
footer.site-footer .widget-info > div {
	margin-bottom: 16px;
}
footer.site-footer .widget-title, footer.site-footer .widgettitle{
	font-family: 'Inter',sans-serif;
	text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 16px;
}
footer.site-footer .has-small-font-size {
	font-size: 14px!important;
}

/*botón col·legia't*/
footer.site-footer .wp-block-button .wp-block-button__link {
	font-size: 14px;
	padding: 12px 32px;
	background-color: var(--ast-global-color-1);
	border-color: var(--ast-global-color-1);
	color: var(--ast-global-color-0);
	transition:.3s;
}

footer.site-footer .wp-block-button .wp-block-button__link:hover {
	background-color: transparent;
	color: var(--ast-global-color-1);
}
footer.site-footer .widget-menus-footer {
	display: block;
}
@media (min-width: 768px){
	footer.site-footer .widget-info.widget-info-contacte {
		margin-left: 40px;
	}
	footer.site-footer .widget-menus-footer {
		display: flex;
		gap: 64px;
		 align-items: flex-start;
	}
}

@media (min-width: 480px){
	footer.site-footer #menu-menu-legal {
		display: flex;
		justify-content: center;
	}	
	footer.site-footer #menu-menu-legal li {
		padding: 0px 8px;
	}
}
	footer.site-footer .widget-info-demarcacions .demarcacions > p {
		margin-bottom: 8px!important;
	}
	footer.site-footer .widget-info-demarcacions ul {
		list-style: none;
		margin: 0 0 1em 0;
	}
	footer.site-footer .widget-info-demarcacions .demarcacions li{
		display: flex;
		align-items: baseline;
	}
	footer.site-footer .widget-info-demarcacions .demarcacions li i{
		margin-right: 4px;
    	display: inline-block;
	}
@media (min-width: 769px){
	footer.site-footer .widget-info-demarcacions {
		display: flex;
		grid-column-gap: 32px;
	}
	footer.site-footer .widget-info-demarcacions .demarcacions{
		flex: 1;
	}
}
@media (min-width: 480px) and (max-width: 768px) {
	footer.site-footer .widget-info-demarcacions {
		display: flex;
		flex-wrap: wrap;
		grid-column-gap: 32px;
	}
	footer.site-footer .widget-info-demarcacions .demarcacions{
		flex: 0 0 50%;
        max-width: 50%;
	}
}

/*===============================
 * INSTAGRAM CAROUSEL
 * =============================*/
.alice-carousel__wrapper, .FeedSliderLayout__item-sizer {
	height:300px!important;
}
.MediaTile__overlay .MediaOverlay__caption {
    font-size: 14px !important;
}

/*===============================
 * BUSCADOR HEADER
 =============================*/

 /* se abre debajo del menu de navegacion*/
/*.ast-search-menu-icon.slide-search .search-form {
	right: auto !important;
}
.ast-search-icon {
	padding-left: 0.5em;
	padding-top: 1em;
}
  .site-header-primary-section-center:has(.ast-dropdown-active) {
    flex-direction: column;
  }
  .ast-header-search:has(.ast-dropdown-active) {
	width: 100%;
	flex-direction: row;
	justify-content: space-between;
	z-index: 999;
}

.ast-search-menu-icon.ast-dropdown-active {
	    width: 100%;
}
.ast-search-menu-icon.ast-dropdown-active.slide-search .search-form {
	 margin: 0.5em 0;
	 width: 100%;
}
.search-form label {
	 width: 100%;	
}
.ast-search-menu-icon.ast-dropdown-active .search-field, .ast-dropdown-active.ast-search-menu-icon.slide-search input.search-field {
	 width: 100%;
	 padding-left: 2em !important;
}

@media (max-width: 768px) {
  .site-header-above-section-right:has(.ast-dropdown-active) {
    width: 100%;
  }
  .ast-header-search:has(.ast-dropdown-active) {
    width: 100%;
  }
.ast-builder-grid-row.ast-grid-center-col-layout:has(.ast-dropdown-active) {
    grid-template-columns: auto;
}
	.ast-search-icon {
		padding-top: 0;
	}
	.ast-dropdown-active .ast-search-icon {
		padding-top: 1em;
	}
}*/

/* se abre a la derecha */
.ast-search-menu-icon.ast-dropdown-active .search-field, .ast-dropdown-active.ast-search-menu-icon.slide-search input.search-field {
width: auto !important;
}
.ast-search-menu-icon.slide-search .search-form {
	right: auto !important;
}
input[type="search"] {
	    padding: 12px 16px 12px 24px !important;
}
.ast-search-icon {
	padding-left: 0.5em;
}
@media (max-width: 1280px) {
.ast-search-menu-icon.ast-dropdown-active .search-field, .ast-dropdown-active.ast-search-menu-icon.slide-search input.search-field {
	width: 150px !important;
}
}
@media (max-width: 1024px) {
.ast-search-menu-icon.ast-dropdown-active .search-field, .ast-dropdown-active.ast-search-menu-icon.slide-search input.search-field {
	width: 100px !important;
	}
}
@media (max-width: 768px) {
.ast-search-menu-icon.slide-search .search-form {
	right: 0 !important;
}
.ast-search-menu-icon.ast-dropdown-active .search-field, .ast-dropdown-active.ast-search-menu-icon.slide-search input.search-field {
	width: auto !important;
}
.ast-search-icon {
	padding-right: 0.5em;
}
}

body.search-results .ast-article-post .post-thumb-img-content img {
	object-fit: cover;
}


/*===============================
 * PAGINA INICIO SESIÓN plugin 
 THEME MY LOGIN
 * =============================*/
.elementor-lost-password:hover {
	color: #191970 !important;
}
.tml a {
	font-size: 0.875em;
}
.tml a:hover {
		color: #191970 !important;
}
.tml ul {
  padding-left: 0;
}
.tml li {
    list-style-type: none;
}
.tml .tml-action-confirmaction .success, .tml .tml-error, .tml .tml-message, .tml .tml-success, .tml .tml-alerts {
    background-color: #ffffff;
}

/* ===============================
 * MIGRACIÓ DRUPAL row/col
 * =============================== */
.eic-migrated-row {
	display: flex;
	flex-wrap: wrap;
	margin-left: -12px;
	margin-right: -12px;
	margin-bottom: 24px;
}

.eic-migrated-col {
	width: 100%;
	min-width: 0;
	padding-left: 12px;
	padding-right: 12px;
	margin-bottom: 24px;
}

.eic-migrated-column,
.eic-migrated-columns {
	width: 100%;
}

.eic-migrated-row img {
	display: block;
	max-width: 100%;
	height: auto;
}

@media (min-width: 768px) {
	.eic-migrated-col-tablet-1  { flex: 0 0 8.3333%;  max-width: 8.3333%; }
	.eic-migrated-col-tablet-2  { flex: 0 0 16.6667%; max-width: 16.6667%; }
	.eic-migrated-col-tablet-3  { flex: 0 0 25%;      max-width: 25%; }
	.eic-migrated-col-tablet-4  { flex: 0 0 33.3333%; max-width: 33.3333%; }
	.eic-migrated-col-tablet-5  { flex: 0 0 41.6667%; max-width: 41.6667%; }
	.eic-migrated-col-tablet-6  { flex: 0 0 50%;      max-width: 50%; }
	.eic-migrated-col-tablet-7  { flex: 0 0 58.3333%; max-width: 58.3333%; }
	.eic-migrated-col-tablet-8  { flex: 0 0 66.6667%; max-width: 66.6667%; }
	.eic-migrated-col-tablet-9  { flex: 0 0 75%;      max-width: 75%; }
	.eic-migrated-col-tablet-10 { flex: 0 0 83.3333%; max-width: 83.3333%; }
	.eic-migrated-col-tablet-11 { flex: 0 0 91.6667%; max-width: 91.6667%; }
	.eic-migrated-col-tablet-12 { flex: 0 0 100%;     max-width: 100%; }
}

/* ====================================
 * MENÚ MOBILE: Drawer full-screen
 * ==================================== */
@media (max-width: 921px) {

  /* ── Drawer full-screen ── */
  body.ast-main-header-nav-open .ast-mobile-header-content {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100vh !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    z-index: 9990;
    background-color: #ffffff;
    padding-top: 100px; /* fallback; el JS lo ajusta a 142+8=150px */
    box-sizing: border-box;
  }

  /* ── El header queda sobre el drawer ── */
  #ast-mobile-header .ast-above-header-wrap,
  #ast-mobile-header .ast-main-header-wrap {
    position: relative;
    z-index: 9999;
    background-color: #ffffff;
  }

  /* ── Overlay ── */
  body.ast-main-header-nav-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}