/*
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
*/

/*********************************\
              GENERAL
\*********************************/
.validate_email_against_bot {
    display: none
}

:root {
    scrollbar-color: var(--principal) var(--gris);
    scrollbar-width: thin;
}

::-webkit-scrollbar {
    width: 8px;
    background-color: var(--gris);
}

::-webkit-scrollbar-track {
    background-color: var(--gris);
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: var(--principal);
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--secundario);
}

body {
    --mfn-column-gap-bottom: 0;
}

a {
    transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
}

a:hover {
    text-decoration: none;
}

.form-legal {
    font-size: 0.7em;
    line-height: 1.5em;
    opacity: .7;
    padding: 10px;
    text-align: justify;
}

input[name="politica"] + span {
    font-weight: 500;
}

#cmplz-document {
    max-width: 100%;
    padding: 40px 0 120px;
    text-align: justify;
}

#cmplz-document h2, 
#cmplz-document h3 {
    font-size: 35px;
    line-height: 37px;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 0;
    padding: 0;
    margin-bottom: 15px;
    margin-top: 60px;
}

.principal {
    color: var(--principal);
}

.secundario {
    color: var(--secundario);
}

.blanco {
    color: var(--blanco);
}

.spaced {
    letter-spacing: .1em;
}

.uppercase {
    text-transform: uppercase;
}

.bold {
    font-weight: 700;
}

.light {
    font-weight: 300;
}

.opac8 {
    opacity: .8;
}

.opac6 {
    opacity: .6;
}

.opac3 {
    opacity: .3;
}

.margin0 {
    margin: 0;
}

.listNone {
    list-style: none !important;
    margin: 0 !important;
}

.listNone li {
    display: flex;
    align-items: flex-start;
}

.listNone li i {
    margin-right: 10px;
    color: var(--principal);
    font-size: 1.2em;
    margin-top: .1em;
}

.button-custom .button .button_label,
.button-custom input[type="submit"],
.button-custom button:not(.cc-btn),
.button-custom .action_button {
    text-transform: uppercase;
}

.button-custom .button {
    transform-origin: left;
}

.button-custom .align_right .button {
    transform-origin: right;
    margin-right: 0;
    margin-left: 10px;
}

.otgs-development-site-front-end,
.wpml-ls-statics-footer {
    display: none;
}

p:empty {
    margin: 0;
    display: none;
    visibility: hidden;
    opacity: 0;
}

#cmplz-manage-consent .cmplz-manage-consent{ 
    background-image: url(imagenes/fondo-ajustes.svg); 
    background-repeat: no-repeat; 
    background-position: center; 
    background-size: 100%; 
    right: unset !important; 
    left: 0px; 
    font-size: 0px; 
    color: var(--negro) !important; 
    width: 140px; 
    background-color: transparent !important; 
    box-shadow: unset !important; 
    bottom: -2px !important; 
    padding: 0 !important; 
}

#cmplz-manage-consent .cmplz-manage-consent:before{
    content: "";
    background-image: url(imagenes/icono-ajustes.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    width: 28px;
    height: 28px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.8s ease;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    -webkit-transition: all 0.8s ease;
    -moz-transition: all 0.8s ease;
    -ms-transition: all 0.8s ease;
    -o-transition: all 0.8s ease;
}

#cmplz-manage-consent .cmplz-manage-consent:hover:before{
    transform: translate(-50%, -54%);
    -webkit-transform: translate(-50%, -54%);
    -moz-transform: translate(-50%, -54%);
    -ms-transform: translate(-50%, -54%);
    -o-transform: translate(-50%, -54%);
}

.cmplz-cookiebanner .cmplz-buttons .cmplz-btn {
    letter-spacing: 0;
    height: 35px !important;
    padding: 8px 10px !important;
}

h2 {
    text-transform: uppercase;
}


/*********************************\
              HEADER
\*********************************/
#Top_bar .menu li ul li {
    width: 250px;
    line-height: 1.5;
}

#Top_bar .search_wrapper button[type="submit"] {
    display: none;
}

.header-fixed #Top_bar:not(.is-sticky) {
    box-shadow: none;
}

.header-plain #Top_bar {
    border-bottom: 0;
}

.header-plain #Top_bar .menu > li > a span:not(.description) {
    padding: 0 20px;
}

.header-plain #Top_bar .menu > li.destacado > a {
    background: var(--principal);
}

.header-plain #Top_bar .menu > li.destacado > a:hover {
    background: var(--grisOscuro);
}

.header-plain #Top_bar .menu > li.current_page_item.destacado > a:not(:hover) {
    color: var(--blanco);
}

#Subheader {
    border-bottom: solid 3px var(--principal);
}

#Subheader .title {
    text-transform: uppercase;
}


/*********************************\
              FOOTER
\*********************************/
#Footer {
    font-family: var(--fontFooter);
}

#Footer .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

#Footer .copyright a:hover {
    text-decoration: none;
}

#Footer .footer_copy {
    border: 0;
}

#Footer .footer_copy .one {
    --mfn-column-gap-bottom: 15px;
    padding-top: 15px;
    margin-bottom: 0;
}

#Footer .footer_copy .social {
    display: none;
}

#Footer .menu {
    list-style: none;
    padding: 0;
    background: none;
}

#Footer .menu li:after {
    content: none;
}

#Footer .menu a {
    padding: 5px 0;
}

#Footer .footer_copy .copyright {
    font-size: 14px;
    float: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

#Footer .footer_copy .copyright a {
    color: #d0d0d0;
}

#Footer .footer_copy .copyright a:hover {
    color: var(--principal);
}

#Footer .footer_copy .copyright .menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 10px;
}

#back_to_top {
    padding: 0;
    border-color: transparent;
}

#Footer .widgets_wrapper {
    background: #3D3D3D;
    border-bottom: solid 1px var(--blanco);
}

#Footer .widgets_wrapper .widget {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
}

#Footer .widgets_wrapper .footerImage {
    background: var(--blanco);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 130px;
    height: 130px;
    box-shadow: 1px -2px 4px 0 rgba(6, 9, 0, 0.1);
    padding: 20px;
    box-sizing: border-box;
    position: relative;
    margin-top: -65px;
    z-index: 20;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}

#Footer .widgets_wrapper .direccion {
    text-align: center;
}

#Footer .widgets_wrapper .direccion a {
    color: #d0d0d0;
    font-size: 15px;
}

#Footer .widgets_wrapper .infoContacto {
    font-size: 18px;
    text-align: center;
}

#Footer .widgets_wrapper .infoContacto a {
    font-weight: 600;
}

#Footer .footer_action .mcb-column-inner {
    margin-bottom: 10px;
}

/*Kit digital*/
#Footer .footer_action {
    background: none;
}

#Footer .footer_action .one {
    margin-bottom: 0;
}

#Footer .footer_action .financiacion {
    display: grid;
    grid-template-columns: 1fr 1fr 5fr;
    gap: 20px;
    text-align: left;
    align-items: center;
}

#Footer .footer_action .financiacion > div img {
    max-height: 50px;
    width: auto;
}

#Footer .footer_action .financiacion > div p {
    font-size: 13px;
    line-height: 15px;
    margin-bottom: 0;
}

@media only screen and (max-width: 959px) {
	#Footer .footer_action .financiacion {
		grid-template-columns: 1fr 1fr;
		text-align: center;
		gap: 5px;
	}

	#Footer .footer_action .financiacion > div:last-child {
		grid-column: 1 / span 2;
	}
}

@media only screen and (max-width: 767px) {
	#Footer .footer_action .financiacion > div img {
		max-height: unset;
		width: 100%;
	}
}

#pojo-a11y-toolbar .pojo-a11y-toolbar-overlay p.pojo-a11y-toolbar-title {
    line-height: 1.2;
}


/*********************************\
              INICIO
\*********************************/
#Portada {
    height: calc(100vh - 75px);
}

.admin-bar #Portada {
    height: calc(100vh - 107px);
}

#Portada .section_video {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

#Portada .section_video .mask {
    background: rgb(0 0 0 / 60%);
}

#Portada .section_video video {
    filter: grayscale(1);
    -webkit-filter: grayscale(1);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
}

#Portada .section_wrapper:before {
    content: "Equitación y doma";
    width: max-content;
    position: absolute;
    color: var(--principal);
    z-index: 2;
    font-family: var(--fontTitles);
    font-size: 5.5vw;
    line-height: .45;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: .05em;
    opacity: .2;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
}

#Portada .section_wrapper .wrap:not(.bottomButtons) {
    height: calc( 100% - 60px );
    border-bottom: solid 1px var(--principal);
}

#Portada .section_wrapper .wrap:not(.bottomButtons) .column,
#Portada .section_wrapper .wrap:not(.bottomButtons) .column .mcb-column-inner {
    height: 100% !important;
}

#Portada .section_wrapper .wrap:not(.bottomButtons) .column .mcb-column-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#Portada .section_wrapper .wrap:not(.bottomButtons) .column .mcb-column-inner h2 {
    font-size: 24px;
    line-height: 1.5;
    text-transform: uppercase;
    font-weight: 300;
    letter-spacing: 12px;
    margin: 0;
    color: var(--blanco);
}

#Portada .section_wrapper .wrap:not(.bottomButtons) .column .mcb-column-inner:before,
#Portada .section_wrapper .wrap:not(.bottomButtons) .column .mcb-column-inner:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url(/wp-content/uploads/2023/03/inicio-2023-03-27-inicio-1.jpeg) center center/cover no-repeat;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    z-index: -1;
}

#Portada .section_wrapper .wrap:not(.bottomButtons) .column .mcb-column-inner:after {
    background: rgb(0 0 0 / 60%);
}

#Portada .section_wrapper .wrap:not(.bottomButtons) .column .mcb-column-inner:hover:before,
#Portada .section_wrapper .wrap:not(.bottomButtons) .column .mcb-column-inner:hover:after {
    opacity: 0;
}

#Portada .section_wrapper .bottomButtons {
    z-index: 3;
}

#Portada .section_wrapper .bottomButtons .button {
    width: 100%;
    text-align: center;
    padding: 24px;
    background: var(--secundario);
}

#Portada .section_wrapper .bottomButtons .column_button:first-child .button {
    background: var(--grisOscuro);
}

#Portada .section_wrapper .bottomButtons .button:hover {
    background: var(--principal) !important;
}

.bannerTexto {
    padding: 30px 0 15px;
    text-align: center;
}

.bannerTexto h2 {
    font-family: var(--fontContent);
    font-size: 28px;
    line-height: 1.3;
    letter-spacing: 1px;
    text-transform: none;
}

.fullWidthImages img {
    height: 650px;
    object-fit: cover;
}

.topLine .mcb-wrap-inner {
    position: relative;
}

.backBox .mcb-wrap-inner:before {
    content: "";
    position: absolute;
    width: 120px;
    height: calc( 150% + 80px);
    background: var(--principal);
    opacity: .1;
    top: -80px;
    left: -35px;
}

.topLine .mcb-wrap-inner:before {
    content: "";
    position: absolute;
    width: 130px;
    height: 3px;
    background: var(--principal);
    top: 0;
    left: calc( 50% - 65px );
}


/*********************************\
             CONTACTO
\*********************************/
.wpcf7-form [type="submit"] {
    width: 100%;
    margin: 0 !important;
}

.wpcf7-form .wpcf7-spinner {
    margin: 5px 0 0 -12px;
    left: 50%;
}

.style-simple .column_list {
    margin-bottom: 20px;
}

.style-simple .column_list .list_item > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.style-simple .column_list .list_item .list_left {
    width: 65px;
    height: 65px;
    font-size: 30px;
    border-radius: 100px;
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    -ms-border-radius: 100px;
    -o-border-radius: 100px;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
}

.style-simple .column_list .list_item > a:hover .list_left {
    background: var(--grisOscuro);
}

.style-simple .column_list .list_item .list_right {
    margin: 0;
    padding: 0;
    width: calc( 100% - 85px );
}

.contactForm .column_attr > p {
    display: none;
}

.contactForm form {
    box-shadow: 0 2px 10px rgb(0 0 0 / 15%);
    padding: 40px 40px 0;
}

.contactData .mcb-wrap-inner:before {
    height: 260px;
}


/*********************************\
            LA ESCUELA
\*********************************/
.iconBoxesWrap .mcb-wrap-inner {
    align-items: stretch;
}

.column_icon_box_2 {
    margin-bottom: 20px;
}

.column_icon_box_2 .mcb-column-inner {
    padding: 40px;
    box-shadow: 0 2px 8px rgb(0 0 0 / 15%);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.column_icon_box_2 .mfn-icon-box .icon-wrapper i {
    font-size: 70px;
}

.column_icon_box_2 .mfn-icon-box .title {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.3;
    letter-spacing: 1px;
}


/*********************************\
          BLOG / NOTICIAS
\*********************************/
/* Fixed nav arrows */
.fixed-nav {
    box-shadow: 0 0 10px rgb(0 0 0 / 10%);
}

.fixed-nav .desc h6 {
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fixed-nav .desc .date {
    font-size: 13px;
    color: var(--gris);
    border: 0;
}

.fixed-nav .desc .date .icon-clock {
    display: none;
}

/* Barra lateral */
.Recent_posts ul li a .desc {
    padding: 8px 10px 3px;
    min-height: 80px;
}

.Recent_posts ul li a .desc h6 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14px;
    line-height: 20px;
}

.Recent_posts ul li a .desc .date {
    font-size: 12px;
    line-height: 14px;
}

.widget:not(.widget_block) > h3 {
    font-size: 21px;
    line-height: 29px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.mcb-sidebar select {
    width: 100%;
}

.widget_categories ul {
    list-style: none;
    padding: 0;
    background: none;
}

.widget_categories ul li:after {
    content: none
}

.widget_categories ul li a {
    padding: 5px 10px;
    background: var(--principal);
    display: block;
    border-radius: 3px;
    margin-bottom: 6px;
}

.widget_categories ul li a:hover {
    background: var(--secundario);
}


/*********************************\
           WOOCOMMERCE
\*********************************/
.woocommerce .quantity .qty {
    padding: 10px 30px !important;
}

.woocommerce table.shop_table tr.order-total .includes_tax {
    display: block;
}

.woocommerce table.shop_table tr.order-total .includes_tax .woocommerce-Price-amount {
    font-size: 1em;
    font-weight: 400;
    color: #767676;
}


/*********************************\
            RESPONSIVE
\*********************************/
@media only screen and (min-width: 960px) and (max-width: 1239px) {
    
}

@media only screen and (min-width: 768px) and (max-width: 1239px) {
    .Recent_posts ul li .photo {
        display: none;
    }

    .Recent_posts ul li a .desc {
        margin: 0;
    }
}

@media only screen and (min-width: 768px) and (max-width: 959px) {
    #Top_bar .top_bar_left {
        width: 100%;
    }
}

@media only screen and (max-width: 959px) {
    .section.has-video .section_video {
        display: flex !important;
    }

    #Portada .section_wrapper .wrap:not(.bottomButtons) .column .mcb-column-inner:before, 
    #Portada .section_wrapper .wrap:not(.bottomButtons) .column .mcb-column-inner:after {
        content: none;
    }
}

@media only screen and (min-width: 768px) {
    .paddingLeft {
        padding-left: 40px;
    }

    .paddingRight {
        padding-right: 40px;
    }

    #Top_bar.is-sticky #logo img.logo-sticky {
        max-height: 50px;
    }
}

@media only screen and (max-width: 767px) {
    .hideMobile {
        display: none !important;
    }

    #Portada .section_wrapper:before {
        font-size: 8vw;
    }

    #Portada .section_wrapper .bottomButtons .column_button {
        width: 50%;
    }

    .fullWidthImages img {
        height: auto;
        margin-bottom: 20px;
    }
}

@media only screen and (max-width: 480px) {
    #Portada .section_wrapper .bottomButtons .column_button {
        width: 100%;
    }

    #Portada .section_wrapper .wrap:not(.bottomButtons) {
        height: calc( 100% - 120px );
    }

    #Portada .section_wrapper:before {
        bottom: 120px;
    }
}
