/*
Theme Name: Base
Theme URI: https://www.invbit.com
Author: Base
Author URI: https://www.invbit.com
Description: Base para Betheme
Template: betheme
Version: 1.6.2
*/
@import './css/variables.css';
@import './style-new.css';

.validate_email_against_bot {
    display: none;
}

/*********************************\
            COPYRIGHT
\*********************************/
body #Footer .copyright a:hover {
    text-decoration: none;
}

body #Footer .footer_copy {
    border: 0;
    background: black;
    color: white;
}

body #Footer .footer_copy a {
    color: white;
}

body #Footer .footer_copy a:hover {
    color: var(--primary);
}

body #Footer .footer_copy .one {
    --mfn-column-gap-bottom: 15px;
    padding-top: 15px;
    margin-bottom: 0;
}

body #Footer .footer_copy .mcb-column-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

body #Footer .menu {
    list-style: none;
    padding: 0;
    background: none;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

body #Footer .copyright .menu {
    gap: 0 10px;
    flex-direction: row;
}

body #Footer .menu li:after {
    content: none;
}

body #Footer .menu a {
    padding: 5px 0;
}

body #Footer .footer_copy .copyright {
    font-size: 14px;
    line-height: 1.3;
    letter-spacing: .02em;
    float: none;
    text-align: left;
}

body #Footer .footer_copy .copyText {
    margin: 0 0 5px;
}

body #Footer .footer_copy .social {
    line-height: 0;
}

body #Footer .footer_copy .social li a {
    font-size: 22px;
    line-height: 1;
}

@media only screen and (max-width: 959px) {
    body .animate {
        animation-delay: 0ms !important;
    }

    body #Footer .footer_copy .mcb-column-inner {
        flex-direction: column;
    }

    body #Footer .copyright .menu {
        justify-content: center;
    }

    body #Footer .footer_copy .copyright {
        text-align: center;
    }

    body #Footer .footer_copy .social {
        margin-top: 15px;
    }
}

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

.menu-item {
    cursor: pointer;
}

.menuHomeIcon img {
    height: 22px;
    margin-top: 5px;
}

.contentLoop {
    display: block;
    height: calc(100% - 20px);
    position: relative;
}


.contentGallery {
    position: absolute;
    top: 10px;
    left: 20px;
    height: calc(100% - 20px);
    background: #fff;
    width: 50%;
    max-width: 50%;
    float: none;
    padding: 16px;
    display: block !important;
    border-radius: 10px;
}

.contentGallery a.button.button_right.button_size_2 {
    border-radius: 0;
}

.contenSliderLink {
    position: absolute;
    top: 472px;
}

@media only screen and (min-width: 769px) and (max-width: 1051px) {
    .contenSliderLink {
        top: 447px;
    }
}

@media only screen and (min-width: 402px) and (max-width: 768.9px) {
    .contenSliderLink {
        top: 272px;
    }
}

@media only screen and (max-width: 401.9px) {
    .contenSliderLink {
        top: 251px;
    }
}

.contenSliderLink a {
    color: #0A6CAD;
    text-decoration: none !important;
}

.imgRadius img {
    border-radius: 10px;
}

body #cmplz-manage-consent .cmplz-manage-consent:before {
    background-color: transparent;
}

/**************/

.mfn-header-menu>.mfn-menu-li:last-child .mfn-submenu .mfn-menu-li .mfn-submenu {
    left: -100%;
    top: 0;
}

.mfn-header-menu .mfn-menu-li:last-child .mfn-submenu .mfn-menu-li .mfn-menu-link {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.mfn-header-menu .mfn-menu-li:last-child .mfn-submenu .mfn-menu-link .menu-sub {
    margin-left: 0;
    margin-right: auto;
    rotate: 180deg;
}

.mcb-section .mcb-wrap .mfn-header-menu>li.mfn-menu-li>a.mfn-menu-link {
    padding-right: 7px !important;
    padding-left: 7px !important;
}

#Content{
    padding-top: 0px;
}

#menu-item-794 .sub-menu .menu-item {
    padding: 10px 0;
}

.mfn-sidemenu-tmpl-builder #menu-main-menu-1>li.menu-item:not(:first-child) {
    border-bottom: 1px solid #acacac70;
}

.mfn-sidemenu-tmpl-builder #menu-main-menu-1>li.menu-item a.outer-menu-sub {
    margin-top: 6px;
}

@media only screen and (max-width: 1186px) {
    div#menuPrincipal {
        display: none;
    }

    header .column_header_burger.mfn-item-inline.hide-desktop.hide-laptop {
        display: block !important;
    }
}

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



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




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

    .contentGallery {
        max-width: 80%;
    }

    /**/

}

@media only screen and (max-width : 480px) {
    /**/


    .contentGallery {
        max-width: 80%;
    }

    /**/

}

/********************/
/* generico */
html {
    scroll-behavior: smooth;
}

.size-32 {
    font-size: 32px;
    line-height: 42px;
}

.fw600 {
    font-weight: 600;
}

.br-8 img {
    border-radius: 8px;
}

/* mobile tipography */
@media only screen and (max-width:425.9px) {
    #Wrapper h1 {
        font-size: 40px;
        line-height: 50px;
    }
}


/* sticky header */
.mfn-header-scrolled .mfn-header-tmpl.mfn-hasSticky .mfn-header-tmpl-builder>.mfn-default-section,
.mfn-header-tmpl.mfn-hasSticky .mfn-header-sticky-section {
    display: block !important;
}

/* contenedor */
@media only screen and (max-width: 1239px) {

    .container,
    .section_wrapper,
    .with_aside .content_wrapper {
        max-width: 100%;
    }

    section {
        padding-inline: 24px;
    }
}

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

    .content_wrapper .section_wrapper,
    .container,
    .four.columns .widget-area {
        max-width: 100% !important;
        padding-inline: 0;
    }
}

/* fix post slider width and height */
@media only screen and (min-width:768.9px) {
    #Wrapper .sliderPostLoop .swiper-slide {
        max-width: 618px;
        width: 100% !important;
        /* min-height: 547px; */
    }
}


/* quienes somos */

@media only screen and (max-width: 768px) {
    #Wrapper .staticPosition {
        position: static;
    }
}

.contactoTrabajador p {
    margin-bottom: 4px;
}

.separador {
    background-color: #031e30;
    max-height: 1px;
    margin: 15px 0;
}

@media only screen and (max-width:450px) {
    #Wrapper .contactoTrabajador p {
        font-size: 14px;
    }
}

/* acordeon equipo */
.acordeonEquipo .inner-tab {
    display: grid;
    row-gap: 15px;
}

@media only screen and (min-width:960px) {
    .acordeonEquipo .inner-tab {
        grid-template-columns: repeat(2, 1fr);
    }

    .acordeonEquipo .mfn-acc.accordion_wrapper div:nth-child(1) .inner-tab>.trabajador:nth-child(21) {
        border: 0;
    }
}

@media only screen and (max-width:425.9px) {
    .acordeonEquipo .inner-tab .trabajador p {
        font-size: 16px;
    }

    #Wrapper .acordeonEquipo .answer {
        padding: 16px 24px;
    }
}

.acordeonEquipo .inner-tab .trabajador {
    display: flex;
    flex-direction: column;
    row-gap: 4px;
    border-bottom: 1px solid #031e30;
    padding-bottom: 15px;
}

/* fix border */
#Wrapper .acordeonEquipo .accordion_wrapper div:first-child .inner-tab>div:nth-child(3),
#Wrapper .acordeonEquipo .accordion_wrapper div:last-child .inner-tab>div:nth-child(3) {
    border-bottom: 1px solid #031e30;
}

.acordeonEquipo .inner-tab .trabajador p {
    margin-bottom: 0;
}



.acordeonEquipo .style-simple .accordion .question:after {
    max-width: 0 !important;
}

/* quitar el borde de la ultima fila */
/* investigadores */
.acordeonEquipo .mfn-acc.accordion_wrapper div:nth-child(1) .inner-tab>.trabajador:last-child {
    border: 0;
}

/* investigadores en formacion */
.acordeonEquipo .accordion_wrapper div:nth-child(2) .inner-tab>.trabajador:nth-child(3),
.acordeonEquipo .accordion_wrapper div:nth-child(2) .inner-tab>.trabajador:last-child {
    border: 0;
}

/* tecnico superior en gestion */
.acordeonEquipo .mfn-acc.accordion_wrapper div:nth-child(3) .inner-tab>.trabajador:nth-child(1) {
    border: 0;
}

/* colaborades externos */
.acordeonEquipo .mfn-acc.accordion_wrapper div:nth-child(4) .inner-tab>.trabajador:last-child {
    border: 0;
}


/* consultoria */
/* slider clientes */
.sliderClientes a[title="Caixa Galicia"] img {
    min-width: 150px;
    min-height: 150px;
}

.sliderClientes a[title="ForGA"] img {
    min-width: 100px;
    min-height: 100px;
}

.sliderClientes a[title="Concheiro & Seoane"] img {
    min-height: 70px;
}


/* enlaces */
.enlaces-container>.mcb-wrap-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 1rem;
    row-gap: 2rem;
    justify-content: center;
    align-items: stretch;
    grid-auto-flow: dense;
}


@media only screen and (min-width: 1025px) {
    .enlaces-container>.mcb-wrap-inner>*:nth-last-child(-n+2) {
        margin-left: calc(39% - -38% * (1/3));
    }
}

@media only screen and (max-width: 1024.9px) {
    .enlaces-container>.mcb-wrap-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    #Wrapper .enlace-item .mcb-wrap-inner .column .mcb-column-inner {
        margin-bottom: 24px;
    }
}

@media only screen and (max-width: 768px) {
    .enlaces-container>.mcb-wrap-inner {
        grid-template-columns: 1fr;
    }

    .enlaces-container {
        max-width: 400px;
    }
}

/* contacto */
input.wpcf7-form-control.wpcf7-submit.has-spinner {
    min-width: 100%;
    text-transform: uppercase;
}

.form-legal {
    font-size: 10px;
    line-height: 16px;
}

/* noticias */
.blog .post-footer {
    display: none;
}

.blog .posts_group .post-desc {
    padding-inline: 0;
}

/* single post */

.single-post .column_post_content p {
    font-size: 16px;
    line-height: 26px;
}

.single-post .column_post_content a {
    text-decoration: underline;
    font-weight: 500;
    transition: text-underline-offset 0.3s ease;
}

.single-post .column_post_content a:hover {
    text-underline-offset: 2px;
}

.single-post .flex-center .column {
    display: flex;
    justify-content: center;
}

.fuente-info {
    margin: 20px 0;
    padding: 10px;
    border-top: 1px solid #eee;
}

.fuente-info a {
    color: #333;
    text-decoration: none;
}

.fuente-info a:hover {
    text-decoration: underline;
}

.single-post .posts_group.lm_wrapper.element_classes.col-3.grid .image .image_wrapper,
.single-post .posts_group.lm_wrapper.element_classes.col-3.grid .image img {
    border-radius: 8px;
}

/* footer */
.footerCol.contact .mcb-wrap-inner {
    max-width: 500px;
    width: 100%;
}

/* plantilla trabajadores */
.info-miembro .trabajador p {
    margin-bottom: 10px;
}

.info-miembro .trabajador p:last-child {
    margin-bottom: 0;
}

p.footer-heading {
    color: #5E6E78;
    font-size: 16px;
    text-transform: uppercase;
    font-family: 'Raleway';
    font-weight: 500;
    letter-spacing: 0.8px;
    margin-bottom: 24px;
}

@media only screen and (max-width: 959.9px) {
    #Wrapper .footerCol .width-50 {
        width: 50%;
    }

    .footerCol.contact {
        justify-content: center;
    }

    .footerCol.contact li.mfn-list-item {
        max-width: 450px;
        margin: 0 auto;
        text-align: center;
    }
}

/* mobile footer */
.mobile-tab-content {
    display: flex;
    flex-direction: column;
    row-gap: 6px;
    margin-top: 15px;
}

#Wrapper .mobile-tab-content a {
    color: #031e30;
}

.mobile-tab-content ul {
    margin: 0;
    text-align: left;
}

.mobile-tab-content li.mfn-list-item {
    justify-content: flex-start;
}

@media only screen and (max-width:768px) {
    #Wrapper #mfn-footer-template .footer {
        max-width: 100% !important;
        width: 100% !important;
        padding-inline: 16px;
    }

    #mfn-footer-template .accordion .question>.title {
        box-shadow: none;
        padding-left: 8px;
    }

    #mfn-footer-template .accordion .answer {
        padding-inline: 24px;
    }

    #mfn-footer-template .question {
        border-bottom: 1px solid #0a6cad47;
        border-left: 0;
    }

    #mfn-footer-template .mobile-tab-content i {
        font-size: 16px;
    }

    #mfn-footer-template .question.active:after {
        display: none;
    }

    #mfn-footer-menu-70 {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 10px;
    }

    #mfn-footer-template .title i {
        right: 0;
        left: unset;
        padding-left: 0;
    }
}

/* legales */
div#cmplz-document {
    max-width: 100%;
}

.page-template-aviso-legal div#cmplz-document,
.cmplz-document .entry-content {
    padding-top: 80px;
    padding-bottom: 100px;
}

div#cmplz-document h1 {
    font-size: 48px;
    line-height: 50px;
    font-weight: 600;
    letter-spacing: 0px;
}

div#cmplz-document h2 {
    font-size: 22px;
    text-transform: initial;
    font-weight: 600;
    padding: 0;
}

div#cmplz-document p {
    font-size: 16px;
    line-height: 26px;
}

div#cmplz-document h2:not(:first-of-type) {
    margin-top: 24px;
}

div#cmplz-document ul {
    color: #031e30;
}

@media only screen and (max-width: 768px) {
    div#cmplz-document {
        padding-inline: 16px;
    }
}