/**
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
*/

html {
  scroll-padding-top: 220px; /* igual que la altura del menú */
}

/************************
 * HEADER
************************/
@media (min-width:1024px){
   .elementor-nav-menu .sub-menu {
        display: block!important;
        position: initial!important;
        width: 100% !important;
    }
	.elementor-nav-menu .sub-arrow {
		display: none;
	}
}

/* Efecto apertura/cierre suave */
.mega-menu-section {
    max-height: 0;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}


/* Cuando está abierto */
.mega-menu-section.open {
    max-height: initial;
}

.menu-toggle.open::before {
    content: "\2715"; /* X unicode */
    font-size: 24px;
    position: absolute;
}
.menu-toggle.open svg{
    visibility: hidden;
}

.menu-toggle {
    cursor: pointer;
}
.menu-toggle .elementor-icon:after {
    content: "Menu";
    font-size: 16px;
    font-weight: 600;
    font-family: 'Roboto',Arial,Helvetica,sans-serif;
    position: absolute;
    right: 0;
    bottom: 14px;
}

/* caja de búsqueda al hacer clic en la lupa */
.oculto-search {
  display: none;
  transition: all 0.3s ease;
}

.oculto-search.activo {
  display: block;
}
.icono-busqueda {
	cursor: pointer;
}


/************************
 * SLIDER
************************/
.bdt-prime-slider-skin-general .bdt-ps-slide-img {
	background-blend-mode: multiply;
    background-color: rgba(0, 0, 0, 0.4);
}
.bdt-prime-slider-skin-general .bdt-slide-btn .bdt-prime-slider-button-text {
	transition: .3s ease;
}
.bdt-prime-slider-skin-general .bdt-slide-btn:hover .bdt-prime-slider-button-text {
	color: var(--ast-global-color-0);
}
/************************
 * TABS
************************/
summary.e-n-accordion-item-title[aria-expanded="true"] {
  background-color: #fff;
	margin-bottom:0;
}
/************************
 * FAQS
************************/
.faqs-coib .e-n-accordion-item {
	margin-block-end: 16px !important;
}
/************************
 * BUTTONS LINK
************************/
.elementor-button.elementor-button-link{
	text-align: left;
}
/************************
 * AGENDA
************************/
body.post-type-archive-mec-events .mec-gCalendar{
	background-color: #FFF;
}
body.post-type-archive-mec-events .ast-container {
	padding: 80px 24px;
}
body.post-type-archive-mec-events .ast-container h1 {
	padding-bottom: 16px;
	margin-bottom: 32px;
	border-bottom: 1px solid #000;
}

/************************
 * FOOTER
************************/

.site-footer h2.widget-title {
	text-transform: uppercase;
	font-family:'Roboto',sans-serif;
	font-size: 16px;
    color: var(--ast-global-color-2);
	font-weight: 600;
}

.site-footer .contact-footer-block .subtitle-widget {
	font-weight: 600;
}

.site-footer .contact-footer-block ul {
	list-style: none;
    margin-left: 0;
    margin-bottom: 1em;
}

.site-footer .ast-builder-social-element, .site-footer .social-show-label-true .ast-builder-social-element {
	border-radius: 100%;
	border: 1px solid var(--ast-global-color-2);
}
@media (max-width: 768px){
	.site-footer .site-below-footer-wrap .site-below-footer-inner-wrap {
		display: flex;
		flex-direction: column-reverse;
		align-items: center;
	}	
}

/************************
 * NOTICIES
************************/
.sidebar-main aside {
	padding: 0 8px!important;
}
.wp-block-latest-posts__list .wp-block-latest-posts__post-title{
	font-family: 'Spectral', serif;
	font-size: 20px;
}
.wp-block-latest-posts__list li {
	border-bottom: 1px solid #D5D8DC;
}