/*
Theme Name: Betheme Child
Theme URI: https://themes.muffingroup.com/betheme
Author: Muffin group
Author URI: https://muffingroup.com
Description: Child Theme for Betheme
Template: betheme
Version: 2.0.2
*/

:root {
    /* Colores */
    --primary: #849FB4;
   
	--black: #1F1F1F;
	--grey: #6B6B6B;
    --dark-grey: #4A4A4A;
    --light-grey: #E9E9E9;
    --white: #FCFCFC;
    --white-dark:#F1F2F1;

    /* Tamaños de texto */
    --size-h1: 6rem;
    --size-h2: 3.37rem;
    --size-h3: 1.56rem;
    --size-h4: 1.37rem;
    --size-h5: var(--size-p-large);
    --size-h6: var(--size-p-medium);

    --size-p-large: 1.25rem;
    --size-p-medium: 1rem;
    --size-p-small: 0.75rem;
    --size-a-nav: 1.25rem;

    --size-p-extralarge: 1.5rem;
    --size-p-featured: 1.5rem;
    --size-a-btn: 1rem;

    --icon-arrow:25px;

    /* Fuentes*/
    --font-titles:'Unna', sans-serif !important;
    --font-text:'Space Grotesk', sans-serif !important;
    --font-decorative:'Spectral', sans-serif !important;

    /* Espaciados */
    --pad-h1-home:280px;
    --pad-120: 140px 0px;
    --120: 140px;
    --100: 100px;
    --80:80px;
    --60: 64px;
    --50: 54px;
    --40: 44px;
    --30: 34px;
    --20: 24px;

    /* Medidas */
    --container-width: 1920px;
    --pad-lateral: 64px;

    --half-section: min(calc(var(--container-width) / 2), calc(50dvw - var(--pad-lateral)));

    --admin-bar-height: 32px;

    /* Otros */
    --cookie-button-size: 28px;
    --cookie-button-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);

    /* Responsive */

    @media only screen and (max-width: 1239px) {  
        --container-width: 100%;
        --size-h1: 5.5rem;
    }
    
    @media only screen and (max-width: 959px) {
        --size-h1: 4rem !important;
        --pad-h1-home:250px;
    }
    
    @media only screen and (max-width: 782px) {
        --admin-bar-height: 46px;   
    }
    
    @media only screen and (max-width: 767px) {
       
        --cookie-button-size: 30px;
        --size-h1: 3.5rem;
        --size-h2: 2.3rem;
        --size-h3: 1.6rem;
        --pad-h1-home:10px;
        --pad-lateral: 35px;
        --pad-120: 80px 0px;
        --120: 80px;
        --60: 55px;
        --50: 45px;
        --30: 25px;
        --20: 15px;
        --size-p-small: 0.9rem;
        --icon-arrow:20px;

        .content_wrapper .section_wrapper, .container, .four.columns .widget-area{
            max-width: 100% !important;
            padding-left: var(--pad-lateral);
            padding-right: var(--pad-lateral);
        }
        .section.full-screen .pad-60-bottom{
            padding-bottom: var(--120) !important;
        }
    }
    
    @media only screen and (max-width: 480px) {
        --size-h1: 3rem !important;
        --size-p-extralarge: 1.25rem;
        --pad-120: 65px 0px;
        --120: 65px;
        --60: 45px;
        --50: 25px;
        --pad-lateral: 20px;
        .content_wrapper .section_wrapper, .container, .four.columns .widget-area{
        max-width: 100% !important;
        padding-left: var(--pad-lateral);
        padding-right: var(--pad-lateral);
        }
    }
    @media only screen and (max-width: 320px) {
        --size-h1: 3rem ;
    }

    @media only screen and (max-height:900px) {
        --size-h1: 4.5rem ;
    }

    @media only screen and (max-height:768px){
        --size-h1: 4rem ;
    }

    /* Scrollbar */
    scrollbar-color: var(--grey) var(--black);
    scrollbar-width: thin;
}

/*Estructura*/

.full-max{
    max-width: var(--container-width) !important;
    margin: 0 auto !important;
}

.maxWsmall{
    max-width: 500px;
}
.maxWmedium{
    max-width: 700px;
}
.maxWlarge{
    max-width: 900px;
}

/* Fuentes por defecto */
html {
    font-size: 16px;
    scroll-behavior: smooth;
    height: auto;

    @media only screen and (max-width: 1440px) {
        font-size: 15px;
    }

    @media only screen and (max-width: 767px) {
        font-size: 14px;
    }

    @media only screen and (max-width: 580px) {
        
    }
}

h1, #Subheader .title, .h1, .h1 .title {
    font-family: var(--font-titles) !important;
    font-size: var(--size-h1) !important;
    line-height: 1 !important;
    font-weight: 400 !important;
}

h2, .h2, .h2 h1, .h2 .title,  {
    font-family: var(--font-titles) !important;
    font-size: var(--size-h2) !important;
    line-height: 1.2;
    font-weight: 400;
}
.summary-service .title{
    line-height: 1 !important;
}
h3, .h3, .h3 .title {
    font-family: var(--font-titles);
    font-size: var(--size-h3);
    line-height: 1.2;
    font-weight: 400;
}

h4, .h4, .h4 p, .h4 .title, .h4 h1 {
    font-family: var(--font-titles) ;
    font-size: var(--size-h4) !important;
    line-height: 1.6;
    font-weight: 400;
	letter-spacing: 1.32px;
}

h5, .h5, .h5 p, .h5 .title {
    font-family: var(--font-titles);
    font-size: var(--size-h5);
    line-height: 1.2;
    font-weight: 400;
}

h6, .h6 {
    font-family: var(--font-titles);
    font-size: var(--size-h6);
    line-height: 1.2;
    font-weight: 400;
}

body, p, .medium, .medium a, .medium .title {
    font-family: var(--font-text);
    font-size: var(--size-p-medium);
    line-height: 1.5;
    font-weight: 400;
}

.lead, .lead .title, .lead p, .big, .big p, .big .title {
    font-family: var(--font-text) !important;
    font-size: var(--size-p-large) !important;
    line-height: 1.4;
    font-weight: 400;
}

.extralarge, .extralarge p, .extralarge .title{
	font-family: var(--font-text) !important;
    font-size: var(--size-p-extralarge) !important;
    line-height: 1.5;
    font-weight: 400;
    letter-spacing: 1px;
}

.small, .small p, .small a,
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-message,
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-description {
    font-family: var(--font-text);
    font-size: var(--size-p-small);
    line-height: 1.6;
    font-weight: 400;
}

#menu > ul > li > a, #overlay-menu ul li a {
    font-family: var(--font-text);
    font-size: var(--size-a-nav);
    line-height: 1.4;
    font-weight: 300;
	text-transform:uppercase;
}

.devalux-arrow:before, .slider-news .icon-left-open-big:before {
    font-size: var(--icon-arrow);
  }

/* Menú: activo con más peso */
#Top_bar #menu > ul > li.current-menu-item > a,
#Top_bar #menu > ul > li.current_page_item > a,
#Top_bar #menu > ul > li.current-menu-ancestor > a,
#Top_bar #menu > ul > li.current-page-ancestor > a,
#Top_bar #menu ul.menu-mobile > li.current-menu-item > a,
#Top_bar #menu ul.menu-mobile > li.current_page_item > a,
#Top_bar #menu ul.menu-mobile > li.current-menu-ancestor > a,
#Top_bar #menu ul.menu-mobile > li.current-page-ancestor > a {
    font-weight: 500 !important;
}

#Top_bar #menu > ul > li > a:hover,
#Top_bar #menu ul.menu-mobile > li > a:hover {
    font-weight: 500 !important;
}



/* Espaciados por defecto */
.pad-h1-home {
    padding-bottom: var(--pad-h1-home) !important;
}

.pad-120 { 
    padding: var(--pad-120) !important; 
}

.pad-lateral{
   padding-left: var(--pad-lateral) !important;
   padding-right: var(--pad-lateral) !important;  
}

.pad-60 {
	padding: var(--60) !important; 
}

.pad-50 { 
    padding-bottom: var(--50) !important;
    padding-top: var(--50) !important; 
}

.pad-120-top { 
    padding-top: var(--120); 
}

.pad-120-bottom { 
    padding-bottom: var(--120); 
}
.pad-80-bottom { 
    padding-bottom: var(--80); 
}
.pad-80-top { 
    padding-top: var(--80); 
}
.pad-60-bottom { 
    padding-bottom: var(--60); 
}
.pad-60-top { 
    padding-top: var(--60); 
}

.pad-50-bottom { 
    padding-bottom: var(--50); 
}
.pad-40-bottom { 
    padding-bottom: var(--40); 
}
.pad-30-bottom { 
    padding-bottom: var(--30); 
}

.pad-20-bottom { 
    padding-bottom: var(--20); 
}

/* Clases auxiliares */

.decorative { 
    font-family: var(--font-decorative); 
}

.primary { 
    color: var(--primary); 
}

.secondary { 
    color: var(--secondary); 
}

.black { 
    color: var(--black); 
}

.white { 
    color: var(--white); 
}

/* Navegación entre páginas fluida */
@view-transition { 
    navigation: auto; 
}

.container { 
    view-transition-name: page; 
}

::view-transition-old(page) { 
    animation: fade 0.2s linear forwards; 
}

::view-transition-new(page) { 
    animation: fade 0.3s linear reverse; 
}
    
/* FIX: Slick slider */
.slick-list { 
    width: 100%; 
} 

.slick-track { 
    display: flex; 
}

/* FIX: Hotspot */
.mfn-image-hotspot .hotspot-point { 
    transform: translate(-50%, -50%); 
}

/* Honeypot antispam: oculto de verdad (no accesible) */
.validate_email_against_bot {
    display: none;
}

/* Texto solo para lectores de pantalla (no usar display:none: lo saca del árbol a11y) */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.mobile-side-slide { 
    overflow-x: clip !important; 
}

p:empty { 
    margin: 0; 
    display: none; 
    visibility: hidden; 
    opacity: 0; 
}

a { 
    transition: all .3s ease;

    &:hover { 
        text-decoration: none; 
    }
}

.admin-bar .full-screen .section_wrapper {
    min-height: calc( 100dvh - var(--admin-bar-height) );
}

.style-simple, .style-simple .mfn-header-tmpl { 
    --mfn-column-gap-bottom: 0; 
    --mfn-column-gap-top: 0; 
    --mfn-column-gap-right: 0; 
    --mfn-column-gap-left: 0; 
}

.the_content_wrapper { 
    width: 100%; 
    margin: 0; 
}

.section_wrapper, .container {
    padding-left: var(--pad-lateral);
    padding-right: var(--pad-lateral);
    max-width: var(--container-width);
}


/*Home header*/

.section.header-full{
    height: auto;
    min-height:100dvh !important;
}
.section.header-full .full-max{
    margin-top: 200px !important;
}
/*********************************\
            COMPLIANZ
\*********************************/
/* Cookies button */
body #cmplz-manage-consent .cmplz-manage-consent {
    background: var(--white);
    right: unset !important;
    left: 10px;
    font-size: 0;
    line-height: 0;
    color: var(--black);
    bottom: 10px !important;
    padding: 0;
    width: var(--cookie-button-size);
    height: var(--cookie-button-size);
    border-radius: 100px;
    min-width: 0px;
    box-shadow: var(--cookie-button-shadow);

    &:before {
        content: "";
        background: transparent url(imagenes/icono-ajustes-negro.svg) center center / contain no-repeat;
        position: absolute;
        top: 50%;
        left: 50%;
        width: 20px;
    height: 20px;
        transform: translate(-50%, -50%);
    }

    &:hover:before {
        transform: translate(-50%, -50%);
    }
}

/* Cookies banner */
#cmplz-cookiebanner-container {
    .cmplz-body {
        scrollbar-width: none;
    }

    .cmplz-cookiebanner {
        grid-row-gap: 5px;
        padding: var(--20);
    }

    .cmplz-header {
        display: none;
    }   

    p {
        margin: 0;
        font-size: var(--size-p-small);
    }   
    
    .cmplz-buttons .cmplz-btn {
        letter-spacing: 0;
        font-size: var(--size-p-medium) !important;
        line-height: 1.2 !important;
        text-transform: none;
        justify-content: center;
        height: auto;
    }
    
    .cmplz-categories .cmplz-category {
        &:not(:last-child) {
            margin-bottom: 5px;
        }

        .cmplz-category-header .cmplz-category-title { 
            font-size:0.85rem;
            line-height: 1; 
            font-weight: 500;
        }

        .cmplz-category-header .cmplz-always-active {
            font-size:0.85rem;
            line-height: 1;
            
        }
    }
}

/* Complianz documents */
#cmplz-document {
    max-width: 100%;
    padding: var(--pad-120);
    

    p, li, td {
        font-size: var(--size-p-medium);
        line-height: 1.4;
        font-weight: 400;
        text-align: justify;
    }

    h2, h3, h4 {
        font-weight: 400;
        border: 0;
        padding: 0;
        margin: 0 0 var(--20);
        line-height: 1.2;
    }

    h2 {
        font-size: var(--size-h2);
        margin-top: var(--30);
       
    
        &:first-child {
            margin-top: 0;
        }
    }
    
    h3 {
        font-size: var(--size-h3);
    }
    
    h4 {
        font-size: var(--size-h4);
        font-weight: 700;
    }
}


/*********************************\
              FOOTER
\*********************************/
/* Back to top */
#back_to_top.sticky {
    bottom: 90px;
    right: 30px !important;
    width: var(--cookie-button-size);
    height: var(--cookie-button-size);
    font-size: calc(var(--cookie-button-size) * 0.6) !important;
    line-height: 1;
    padding: 0;
    border-radius: 100px;
    box-shadow: var(--cookie-button-shadow);
    background-color: var(--primary);

    &:before {
        content: none;
    }
}

/*Joinchat*/

.joinchat{
    bottom: 5px !important;
    right: 5px !important;
}

@media only screen and (max-width: 767px) {
    .joinchat__button{
        height: 5px !important;
        width: 5px !important;  
    }
}

/*Kit digital*/
body #mfn-footer-template .financiacion {
    display: grid;
    grid-template-columns: 1fr 1fr 5fr;
    gap: 20px;
    text-align: left;
    align-items: center;
}

body #mfn-footer-template .financiacion > div {
    line-height: 0;
}

body #mfn-footer-template .financiacion > div img {
    max-height: 50px;
    width: auto;
}

body #mfn-footer-template .financiacion > div p {
    font-size: 13px;
    line-height: 15px;
    margin-bottom: 0;
}

@media only screen and (max-width: 959px) {
    body #mfn-footer-template .financiacion {
        grid-template-columns: 1fr 1fr;
        text-align: center;
        gap: 5px;
   }

    body #mfn-footer-template .financiacion > div:last-child {
        grid-column: 1 / span 2;
   }
}

/* Accesibilidad */

body #pojo-a11y-toolbar {
    top: auto !important;
    bottom: calc( var(--cookie-button-size) + 20px ) !important;

    .pojo-a11y-toolbar-toggle a {
        font-size: calc(var(--cookie-button-size) * 0.6);
        padding: 6px;
        border-radius: 100px;
        box-shadow: var(--cookie-button-shadow);
    }

    .pojo-a11y-toolbar-overlay p.pojo-a11y-toolbar-title {
        line-height: 1.2;
    }

    &.pojo-a11y-toolbar-left .pojo-a11y-toolbar-toggle {
        left: 190px;
        bottom: 0;
    }
}

@media only screen and (max-width: 767px) {
    body #cmplz-manage-consent .cmplz-manage-consent{
        left:50px;
    }
    body #pojo-a11y-toolbar{
        bottom:10px !important;
    }
    #pojo-a11y-toolbar .pojo-a11y-toolbar-toggle a{
        height: 30px;
        width: 30px;
        padding: 3px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

   
}


/*********************************\
          BLOG / NOTICIAS
\*********************************/
/* FIX: Ocultar sidebar en archive */
body.archive.category .mcb-sidebar,
body.archive.tag .mcb-sidebar {
    display: none;
}


/*********************************\
            RESPONSIVE
\*********************************/
@media only screen and (max-width: 959px) {
    /* FIX: Desactivar delay de animaciones */
    body .animate {
        animation-delay: 0ms !important;
    }

    /* FIX: Ocultar botón de accesibilidad al abrir el menú lateral */
    html.mfn-header-tmpl-burger-sidebar-opened #pojo-a11y-toolbar { 
        display: none; 
    }
}


/*********************************\
            STYLE
\*********************************/

/*Header*/

#Action_bar .contact_details li>a{font-size:var(--size-p-small) !important;padding: 3px 0px;}
#Action_bar .contact_details li i{margin-right:5px !important;}
#Action_bar .social li{margin:0px !important;}
#Action_bar .social li a i{padding:6px 8px !important;}
#Top_bar{
	    background-color: transparent !important;
        box-shadow: none !important;
        @media only screen and (max-width: 959px) {
            position: absolute !important;}
}
#Top_bar .logo{
	width: 150px !important;
	margin: 0 30px 0 20px;
    margin-left: var(--pad-lateral) !important;
	padding: 0;
	position: absolute;
    top:25px;
	transition:0.3s all ease !important;
    @media only screen and (max-width: 1239px), only screen and (max-height: 900px) {
        width: 110px !important;
        top:15px;
    }
    @media only screen and (max-width: 959px) {
        width: 100px !important;
        top:0px;
    }
    @media only screen and (max-width: 767px) {
        width: 90px !important;
        top:0px;
    }
    @media only screen and (max-width: 48px) {
        width: 70px !important;
        top:0px;
    }
   
}
#Top_bar .logo #logo{    height: auto !important;}

#Top_bar:not(.is-sticky) .logo #logo img.svg, #Top_bar:not(.is-sticky) .logo #logo img{
    width: 100%;
    max-width: initial !important;
    max-height: inherit !important;   
}

#Top_bar a.responsive-menu-toggle{
    right: var(--pad-lateral) !important;
    margin-top: 0 !important;
}

#Top_bar.is-sticky .logo{
	width: auto !important;
    position: static !important;
}
#Top_bar.is-sticky .logo #logo{
	height: 40px !important;
    line-height: 40px !important;  
    display: flex;
}
#Top_bar.is-sticky .logo #logo img.svg{
    width: auto !important;
}
#Header #Top_bar.is-sticky{
	background-color: #1f1f1f !important;
    backdrop-filter: blur(120px);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .1) !important;
}
#Top_bar.is-sticky .menu > li > a{
    padding: 20px 0 !important;
}
@media only screen and (min-width: 767px){
    #Wrapper #Header #Top_bar{top:50px !important;}
}

@media only screen and (max-width: 767px) {
    .mobile-sticky #Top_bar.is-sticky a.responsive-menu-toggle{
        top: 50% !important;
        margin-top: -15px !important;
    }
    .mobile-header-mini #Top_bar:not(.is-sticky) #logo{
        margin: 15px 0 !important;
    }
    #Top_bar #logo img.logo-mobile-sticky{
        width: auto !important;
    }
   
}

#Top_bar .menu_wrapper{
    margin-right: var(--pad-lateral) !important;
}

@media only screen and (max-width: 958px) {
    #Side_slide {
        display: flex !important;
        flex-direction: column;
        height: 100dvh;
    }

    #Side_slide .extras,
    #Side_slide .lang-wrapper {
        display: none;
    }

    #Side_slide .side-slide-mobile-logo {
        padding: 20px 70px !important;
        text-align: center !important;
        align-items: center;
        display: flex;
        align-items: center;
        justify-content: center;
      
    }

    #Side_slide .side-slide-mobile-logo img.logo-mobile-sticky {
        width: auto !important;
        max-width: 100px !important;
        height: auto !important;
        display: block;
    }

    #Side_slide .menu_wrapper {
        flex: 1;
        display: flex;
        align-items: center;
        text-align: center;
    }

    #Side_slide .menu_wrapper nav {
        width: 100%;
    }

    #Side_slide ul.social {
        margin-top: auto;
    }

    #Side_slide .contact_details {
        display: flex;
        margin: 0;
        padding: 20px var(--pad-lateral) 10px;
        justify-content: space-between;
    }

    #Side_slide .contact_details li {
        display: block !important;
        margin: 0 0 10px !important;
    }
    #Side_slide .contact_details li i{
        margin-right: 10px !important;
    }

    #Side_slide .contact_details li:last-child {
        margin-bottom: 0 !important;
    }
    #Side_slide .close-wrapper{
        position: absolute;
        top: 0;
        right: 0;
    }
    #Side_slide .social li{
        margin: 6px 11px !important;
    }
}

#Action_bar .column{
    padding: 0 var(--pad-lateral) !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#Action_bar .contact_details li{
    margin-right: 30px !important;
    display: inline-flex !important;
    align-items: center !important;

}

/*Subheader*/

#Subheader {
    background-color: var(--black) !important;
    padding: 300px 0 65px !important;
    @media only screen and (max-width: 767px) {
        padding: 150px 0 30px !important;
}
}

#Subheader .title {
    color:var(--white) !important;
    font-size: var(--size-h1) !important;
}

/*Banner news*/

.banner-news{
    position:absolute; 
    right: 0px !important;
    bottom:60px !important;
    backdrop-filter: blur(20px);
    width: auto !important;
    max-width: 500px !important;

    @media only screen and (max-width: 959px) {
        bottom:30px !important;
    }

   @media only screen and (max-width: 767px) {
    position:static !important;
    margin-bottom: 60px !important;
    max-width: 100% !important;
    width: 100% !important;
}

   
}
.banner-news .article_box{
    height: 100%;
    justify-content: flex-start;
}

.banner-news .article_box .photo_wrapper{
	    width: auto !important;
    line-height: 0;
    aspect-ratio: 1 / 1;
    max-width: 30%;
    height: 100%;
    display: flex;
    @media only screen and (max-width: 767px){
        max-width: 20%;
    }
    @media only screen and (max-width: 480px){
        display: none !important;
    }

}
.banner-news .article_box .photo_wrapper img{
	object-fit:cover !important;
}
.banner-news .article_box .desc_wrapper{
    display: flex;
    flex-direction: column;
    height: 100%;
    width: auto;
    @media only screen and (max-width: 767px){
        width: 100% !important;
        padding: 0px 20px  ;
    }
    @media only screen and (max-width: 480px){
        padding: 0px 20px 0 0 ;
    }
}
.banner-news .article_box .desc_wrapper p span{
    font-size: var(--size-p-small) !important;
}
.banner-news .article_box .desc_wrapper .title{
    max-width: 300px;
    padding-right: var(--60) !important;
    padding-bottom: 0px !important;
}

.banner-news .article_box .desc_wrapper i.icon-right-open{
	display:flex !important;
	color:var(--white) !important;
	left:initial !important;
	right:initial !important;
    margin-top: auto;
    align-self: flex-end !important;
    transition: 0.3s all ease !important;
    font-size: var(--icon-arrow) !important;
    position: absolute;
    bottom: 0;
    right: 0 !important;
}
.banner-news .article_box:hover .desc_wrapper i.icon-right-open{
    transform: rotate(-45deg);
}
.banner-news .article_box .desc_wrapper i.icon-right-open:before{
    content: "\e90c" !important;
    font-family: 'icomoon' !important;
}
.banner-news .swiper-pagination{
	position: absolute;
    transform: rotate(90deg);
    left: -125px !important;
    width: auto;
   
    @media only screen and (max-width: 767px) {
    transform: none;
    left: inherit !important;
    width: 100%;
    bottom: -37px;
    }
}
.mfn-dots-standard .swiper-pagination{
    margin-top:0px !important;
}
.banner-news .swiper-pagination .swiper-pagination-bullet{transition:0.3s all ease !important; height:24px; width:24px; margin:0 10px !important; }
.banner-news .swiper-pagination .swiper-pagination-bullet-active{
width:34px;
	transform: none !important;
}
.mfn-dots-standard  .banner-news  .swiper-pagination {
    margin-top:0px !important;
}

.banner-news .article_box .desc_wrapper p:after{
	display:none !important;
}

.banner-news .mcb-wrap-inner{
    display: flex;
    align-items: center;
}

.banner-news .mcb-column-inner,
.banner-news .mcb-column-inner .article_box {
    height: 100% !important;

}

/*Slider news*/

.slider-news  .icon-left-open-big:before{
    content: "\e90c";
    font-family: 'icomoon' !important;
    transform: rotate(-180deg) !important;
}

.slider-news  .swiper-button-prev{
    top: -5px !important;
    right: 60px !important;
   
}
.slider-news  .swiper-button-next{
    right: 0px !important;
   
}

.slider-news .swiper-wrapper,
.slider-news .swiper.mfn-looped-items-slider{
    overflow: visible !important;
}
.slider-news .swiper-wrapper .swiper-slide .mcb-wrap{
    height: 100% !important;
}

/*Card services*/

.services .article_box a{
    display: flex;
    width: 100%;
    flex-direction: column;
}
.services .article_box a > div{width: 100% !important;}
.services .article_box .desc_wrapper{
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
}
.services .article_box .desc_wrapper i:before{
    content: "\e90c" !important;
    font-family: 'icomoon' !important;
}
.services .article_box .desc_wrapper i{
    display: flex !important;
    font-size: var(--icon-arrow) !important;
    color: var(--dark-grey);
    transition: 0.3s all ease !important;
}
.services .article_box .desc_wrapper .title{
    padding-right: var(--40) !important;
}

.services .article_box:hover .desc_wrapper i{
rotate: -45deg;
}

@media only screen and (max-width: 767px) {
    .services.wrap .mcb-wrap-inner .desc_wrapper{
        display: flex;
    flex-direction: column;
    }
    .services.wrap .mcb-wrap-inner .desc_wrapper .title{
        padding-right: 0 !important;
    }
}

@media only screen and (max-width: 380px) {
    .services.wrap .mcb-wrap-inner{
        grid-template-columns: repeat(1, 1fr) !important;
    }
}

/*Client slider*/

.client-slider .mfn-media-carousel-wrapper .mfn-grid-item-image img{
    object-fit: contain !important;
}


/*Footer*/

@media only screen and (min-width: 1240px){
    #mfn-footer-template .column.grid ul{
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 29px; 
    }
}

@media only screen and (max-width: 767px) and (min-width: 580px){
    #mfn-footer-template .column.grid ul{
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 29px; 
    }
}

@media only screen and (max-width: 767px){
    #mfn-footer-template .column.grid ul.social li a{
        display: flex;
    flex-direction: row-reverse;
    }
}

#mfn-footer-template .column_footer_menu.grid ul li{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100px; 
}

/*Shortcode social*/

ul.social{
    list-style: none;
    margin: 0;
    padding: 0;
}

ul.social li a{
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

ul.social li a .social-label{
    line-height: 1;
}

/*Services list*/

.summary-service .feature_list ul{
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 0px;
    column-gap: 40px;
    @media only screen and (max-width: 1440px) {
        grid-template-columns: 1fr;
    }
}
.summary-service .feature_list hr{display: none !important;}
.summary-service .feature_list li{
    padding: 0;
    width: 100% !important;
    align-self: self-end !important;
    border-bottom: 1px solid #ffffff54;
   
}

.summary-service .feature_list li p{
    font-size: var(--size-p-large) !important;
    padding: 10px 0px !important;
}
.summary-service .feature_list li:hover{
    background-color: transparent !important;
}
.summary-service .feature_list li:hover .icon i, 
.summary-service .feature_list li i{
color: white !important;
}
.summary-service .feature_list li .icon{
    display: none !important;
}

.summary-service .row-info > .mcb-wrap-inner{
    align-content: stretch !important;
}

@media only screen and (max-width: 767px){
    .summary-service .pad-60-bottom{
        padding-bottom: 0px !important;
    }
}

/* Sticky full-screen sections overlay effect (desktop + tall screens; off on tablets ≤1024px)*/
@media (min-width: 1025px) and (min-height: 900px){
    .summary-service{ box-shadow: 0 1px 24.2px 0 rgb(0 0 0);}

    .sticky-section{
        position: sticky;
        top: 30px;
       
        min-height: 100vh;
        overflow: hidden;
        z-index: 1;
  padding-bottom: var(--pad-120) !important;
    }

    .sticky-section + .sticky-section{
        z-index: 2;
    }

    .sticky-section + .sticky-section + .sticky-section{
        z-index: 3;
    }

    .sticky-section + .sticky-section + .sticky-section + .sticky-section{
        z-index: 4;
    }
    .sticky-section + .sticky-section + .sticky-section + .sticky-section + .sticky-section{
        z-index: 5;
    }
    .sticky-section + .sticky-section + .sticky-section + .sticky-section + .sticky-section + .sticky-section{
        z-index: 6;
    }

    /* Keep normal page content above sticky stack */
    .sticky-section + .sticky-section + .sticky-section + .sticky-section + .sticky-section + .sticky-section ~ *{
        position: relative;
        z-index: 7;
    }
} 
@media (max-width: 1024px), (max-height: 900px) {
    .sticky-section.summary-service.pad-120{
        padding-top: var(--60) !important;
        padding-bottom: 0 !important;
    }
    .sticky-section  .wrap.border-bottom {
        padding-bottom: var(--60) !important;
        border-bottom: 1px solid #ffffff54 !important;
    }
}


/*How work*/

.how_it_works {
    text-align: left;
    padding-left: 200px;
    @media only screen and (max-width: 767px) {
        padding-left: 70px;
    }
}
.how_it_works span.number{
    font-size: var(--size-h1) !important;
    position:static !important;
    width: auto !important;
    height: auto !important;
    margin-left: 0 !important;
    line-height: 1;
}
.how_it_works .image{ display: none !important;}
.how_it_works .image_wrapper{
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
    width: 100px !important;
    @media only screen and (max-width: 767px) {
        width: 50px !important;
    }
}

/*Archive*/

.archive.tag  .devaluxtag-tag:before{
    color:white !important;
}

/* Card post*/

.post-item, .post-item .post-desc{
    display: flex;
    flex-direction: column-reverse;
}
.post-item .post-head{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
}
.post-item .post-meta{
    margin-bottom: 0px !important;
    font-size: var(--size-p-small);
}
.post-item .date_label{
    display: flex;
    position: static;
    border-radius: 0;
    background-image: none;
    padding: 0px !important;
    background: none !important;
    color: var(--dark-grey) !important;
}
.post-item .post-desc{
    padding: 30px 8px 8px 8px !important;

}
.post-item  .image_wrapper{
    height: 300px;
}
.post-item  .image_wrapper, .post-item .image_wrapper a{
    display: flex;
}

.post-item .image_wrapper img{
    object-fit: cover;
    object-position: center;
}

.post-item .post-meta .category .cat-btn{
    display: none;
}

.post-item .post-meta .category .cat-wrapper{
    display: block;
    position: static;
}

.post-item .date_label:after{
    display: none !important;
}

/*Related post*/

.single-post .related-posts .post-item{
    padding: 8px !important;
    background-color: var(--white-dark) !important;
}
 .post-item .post-desc-wrapper  .entry-title{
    font-size: var(--size-p-large) !important;
}

/* Grid para listados de posts */

.posts_group{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr ;
    gap: 20px;
}

.posts_group .post-item{
    width: 100% !important;
    margin: 0 !important;
    position: static !important;
}

@media only screen and (max-width: 1239px) {
    .posts_group{
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media only screen and (max-width: 959px) {
    .posts_group{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media only screen and (max-width: 767px) {
    .posts_group{
        grid-template-columns: 1fr;
    }
}

/* En single, siempre 2 columnas (1 en móvil) */

.single-post .posts_group{
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media only screen and (max-width: 959px) {
    .single-post .posts_group{
        grid-template-columns: 1fr;
    }
}

.single-post .tag-content.column_tag_cloud .mfn-tag-cloud{
    padding-left: 60px !important;
}
.single-post .tag-content.column_tag_cloud .mfn-tag-cloud:before {
        content: "";
        width: 42px;
        height: 42px;
        background-color: var(--white-dark);
        background-image: url(imagenes/icono-tag-gray.svg);
        background-repeat: no-repeat;
        background-position: center;
        background-size: 18px;
        border-radius: 50%;
        position: absolute;
        top: 0px;
        left: 0px;
}

.single-post .cat-news.column_tag_cloud .mfn-tag-cloud:before{
    content: '\e85f' !important;
    font-family: mfn-icons;
    font-style: normal;
    font-weight: 400;
    width: 42px;
    height: 42px;
    background-color: #f1f2f145;
    background-size: 18px;
    border-radius: 50%;
    position: absolute;
    top: 0px;
    left: 0px;
    font-size: var(--size-p-large);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}
.single-post .cat-news.column_tag_cloud .mfn-tag-cloud{
    padding-left: 60px !important;
}

.icon-tag:before{
 content: "\e900" !important;
 font-family: 'icomoon' !important;
 width: 42px;
 height: 42px;
 background-color: var(--white-dark);
 
}

.single-post .cat-news.column_tag_cloud .mfn-tag-cloud:before{
    content: "\e85f";
}

.archive .h4 .title i:before{ color:white;}
.archive .h4 .title i{margin-right: 5px !important; }


/*Filters*/

#Filters .filters_buttons {
    background: #6b6b6b26 !important;
    padding: 10px 20px !important;
    margin-bottom: 20px;
}
#Filters .filters_buttons .authors {
    display: none !important;
}
#Filters .filters_wrapper{
    text-align: left !important;
}
#Filters .filters_wrapper ul{
    border-bottom-width: 0 !important;
}
#Filters  .filters_wrapper ul li{
    margin-right:10px !important;
    margin-bottom: 10px !important;
    text-transform: uppercase !important;
}
#Filters .filters_wrapper ul li a{
    padding: 5px 15px !important;
}
#Filters .filters_wrapper ul li.current-cat a:after{
    display: none !important;
}

/*Contact info*/


.contact-info ul.social li a .social-label{
    display: none !important;
}
.contact-info ul.social{
    display:flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
}
.contact-info ul.social li{
    margin-right: 20px !important;
    margin-bottom: 20px !important;
    font-size: var(--size-p-large) !important;
}

@media only screen and (max-width: 580px) {

    .contact-info .wrap .mcb-wrap-inner {
        grid-template-columns: 1fr !important;
    }
}



/* Contact Form 7 */

.form-legal p{
    font-size: var(--size-p-small) !important;
    line-height: 1.1 !important;
}

.column_cf7 .wpcf7 input:not([type="checkbox"]):not([type="radio"]),
.column_cf7 .wpcf7 textarea{
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    transition: padding-left 0.2s ease;
}

.column_cf7 .wpcf7 input:not([type="checkbox"]):not([type="radio"]):focus,
.column_cf7 .wpcf7 textarea:focus{
    padding-left: 20px !important;
}


.column_cf7 .wpcf7 .wpcf7-submit:after{
    content: "\e90c" !important;
    font-family: "icomoon";
    font-size: var(--icon-arrow) !important;
   
}

.column_cf7 .wpcf7 .wpcf7-submit{
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

#mfn-footer-template .column_footer_menu.grid ul li:after{
    content: "\e90c" !important;
    font-family: "icomoon";
    font-size: var(--size-p-small) !important;
    @media only screen and (max-width: 580px) {
        display: none !important;
    }
}




