/*

 Theme Name:   GeneratePress Child

 Theme URI:    https://generatepress.com

 Description:  Default GeneratePress child theme

 Author:       Tom Usborne

 Author URI:   https://tomusborne.com

 Template:     generatepress

 Version:      0.1

*/
@import url('https://fonts.googleapis.com/css2?family=Cabin:ital,wght@0,400..700;1,400..700&family=Outfit:wght@100..900&display=swap');


:root {
    --c-primario: #74d8c8;
    --c-primario-oscuro: #31a299;
    --c-blanco: #ffffff;
    --c-texto: #7A7A7A;

    --fuente-principal: 'Roboto', sans-serif;

    --c-secundario: #31A299;
    --c-fondo: #F0EFEF;
    --c-gris: #c1c1c1;
    --c-gris-medio: #54595F;
    --c-gris-oscuro: #3A3A3C;
    --c-gris-claro: #f7f7f7;

    --deg-verde: linear-gradient(75deg, var(--c-primario) 0%, var(--c-secundario) 70%);
}


.elementor-widget-text-editor>.elementor-widget-container>p:last-child,
.elementor-tab-content>p:last-child {
    margin-bottom: 0;
}

.link-contacto a {
    color: #333;
}

.link-contacto a:hover {
    color: var(--c-primario);
}

.btn-norm a {
    background-color: var(--c-primario) !important;
    color: var(--c-blanco);
    font-size: 15px;
    padding: 12px 24px;
    border-radius: 3px;
    font-weight: 600;
}

.elementor-heading-title>a {
    color: var(--c-primario-oscuro) !important;
}

.elementor-heading-title>a:hover {
    color: var(--c-primario) !important;
}

/* Boton pop up 

.popup-modal .btn {
    text-align: center;
}

.popup-modal .btn .elementor-button {
    z-index: 0;
    padding: 20px;
    font-size: 14px;
    line-height: 1.25em;
}

.popup-body .popup-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.popup-body h3 {
    flex: 0 0 90%;
    letter-spacing: 0.07em;
    line-height: 1.2;
    font-weight: 300;
}

.popup-body h4 {
    letter-spacing: 0.07em;
    line-height: 1.2;
    font-weight: 300;
    font-size: 22px;
}

.popup-body p {
    color: var(--c-texto);
}

.popup-body .closeBtn {
    flex: 0 0 9%;
    margin-left: 1%;
    padding: 0;
    max-width: 40px;
    width: 40px;
    height: 40px;
    border-radius: 3px;
    background-color: var(--c-primario);
    transition: 0.3s;
    position: absolute;
    top: 0;
    right: 0;
}

.popup-body {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    padding: 50px 40px 40px;
    padding-right: 30px;
    z-index: 15;
    background: rgba(255, 255, 255, 0.8);
    max-width: 900px;
    width: 100%;
    min-height: 30vh;
    max-height: 70vh;
    overflow-y: scroll;
    transition: 200ms ease-in-out;
    border-radius: 3px;
}

.popup-body::-webkit-scrollbar {
    -webkit-appearance: none;
    display: none;
}

/* .popup-body::-webkit-scrollbar:vertical {
    width: 10px;
}

.popup-body::-webkit-scrollbar-thumb {
    background-color: #fff;
} 

.openModal {
    transform: translate(-50%, -50%) scale(1);
}

.popup-body .content {
    text-align: center;
} */

/* - - - - - - - - - - - - - - - - - - - - */

.cuando-acudir .elementor-tab-title {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row-reverse;
}

.cuando-acudir .elementor-tab-title .elementor-toggle-title {
    margin-right: 10px;
}

.curso-aux {
    border: 3px solid #54595F;
    padding: 25px;
}

.curso-aux h3 {
    font-size: 22px;
    line-height: 27px;
}

.curso-aux p {
    margin-bottom: 0;
}

.overlay {
    position: fixed;
    background: rgb(122 122 122 / 50%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    -moz-backdrop-filter: blur(10px);
    -ms-backdrop-filter: blur(10px);
    -o-backdrop-filter: blur(10px);
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    opacity: 0;
    pointer-events: none;
    transition: 200ms ease-in-out;
    z-index: 1;
}

.overlay.active {
    pointer-events: all;
    opacity: 1;
}

/* icon list de elementor */
ul.elementor-icon-list-items li.elementor-icon-list-item {
    align-items: flex-start;
}

ul.elementor-icon-list-items li.elementor-icon-list-item .elementor-icon-list-icon {
    margin-top: 8px;
}

/* textos */
.c-verde {
    color: var(--c-primario-oscuro);
}

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

    .tabla-cookies {
        /* tabla cookies */
        overflow-x: scroll;
    }

    /* .popup-modal .btn a {
        letter-spacing: 0.2rem;
        padding: 1rem;
        font-size: 13px;
    }

    .popup-body {
        padding-right: 40px;
    }

    .popup-header h3,
    .curso-aux h3 {
        font-size: 22px;
        line-height: 27px;
    }

    .popup-body h4 {
        font-size: 18px;
        line-height: 23px;
    } */
}

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

    .cuando-acudir .elementor-tab-content p {
        text-align: left !important;
    }

    /* .popup-body {
        padding: 50px 20px 40px;
    }

    .popup-body h4 {
        font-size: 16px;
        line-height: 20px;
    } */
}

/* ESTILOS TEXTOS */
.c-verde {
    color: var(--c-secundario);
}

.f400 {
    font-weight: 400;
}

.f500 {
    font-weight: 500;
}

.f600 {
    font-weight: 600;
}

.txt-center {
    text-align: center;
}

/* BOTONES */
.btn .elementor-button {
    color: var(--c-blanco) !important;
    background-color: var(--c-primario) !important;
    display: block;
    padding: 20px 35px;
    border-top: 1px solid var(--c-primario);
    border-bottom: 1px solid var(--c-primario);
    cursor: pointer;
    text-decoration: none;
    /*text-transform: uppercase;*/
    transition: all 0.4s ease-in-out;
    font-size: 0.8em;
    line-height: 1.3em;
}

.btn .elementor-button:hover {
    color: var(--c-texto) !important;
    background-color: transparent !important;
    transition: all 0.4s ease-in-out;
}

.btn .elementor-button:after,
.btn .elementor-button:before {
    position: absolute;
    top: 1px;
    left: 2px;
    width: 35%;
    height: 3px;
    background: var(--c-secundario);
    -webkit-transition: left .3s ease-out .3s, right .3s ease-out .3s, background .3s linear;
    -o-transition: left .3s ease-out .3s, right .3s ease-out .3s, background .3s linear;
    transition: left .3s ease-out .3s, right .3s ease-out .3s, ba ckground .3s linear;
    content: '';
}

.btn .elementor-button-wrapper:after {
    top: auto;
    left: auto;
    bottom: 2px;
    width: 3px;
    right: 0;
}

.btn .elementor-button:after {
    top: auto;
    left: auto;
    bottom: 1px;
    right: 3px;
}

.btn:hover .elementor-button:before {
    left: -40px;
    -webkit-transition: left .3s ease-out, right .3s ease-out;
    -o-transition: left .3s ease-out, right .3s ease-out;
    transition: left .3s ease-out, right .3s ease-out;
}

.btn:hover .elementor-button:after {
    right: -40px;
    -webkit-transition: left .3s ease-out, right .3s ease-out;
    -o-transition: left .3s ease-out, right .3s ease-out;
    transition: left .3s ease-out, right .3s ease-out;
}

.btn:hover .elementor-button-wrapper:before,
.btn:hover .elementor-button-wrapper:after {
    height: -webkit-calc(100% - 4px);
    height: calc(100% - 4px);
}

.btn .elementor-button-wrapper {
    width: 100%;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
    -webkit-transition: opacity 2.1s cubic-bezier(.23, 1, .38, 1) 1.2s, -webkit-transform 2.1s cubic-bezier(.23, 1, .38, 1) 1.2s;
    -o-transition: transform 2.1s cubic-bezier(.23, 1, .38, 1) 1.2s, opacity 2.1s cubic-bezier(.23, 1, .38, 1) 1.2s;
    transition: transform 2.1s cubic-bezier(.23, 1, .38, 1) 1.2s, opacity 2.1s cubic-bezier(.23, 1, .38, 1) 1.2s;
    transition: transform 2.1s cubic-bezier(.23, 1, .38, 1) 1.2s, opacity 2.1s cubic-bezier(.23, 1, .38, 1) 1.2s, -webkit-transform 2.1s cubic-bezier(.23, 1, .38, 1) 1.2s;
    display: inline-block;
    vertical-align: bottom;
    text-align: center;
    cursor: pointer;
    font-size: 1em;
    line-height: 1em;
    padding: 2px;
    overflow: hidden;
    letter-spacing: .5px;
    color: #515151 !important;
    background-color: transparent;
}

.btn .elementor-button-wrapper:after,
.btn .elementor-button-wrapper:before {
    position: absolute;
    top: 2px;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--c-secundario);
    -webkit-transition: height .3s ease-out 150ms;
    -o-transition: height .3s ease-out 150ms;
    transition: height .3s ease-out 150ms;
    content: '';
}

.btn .elementor-button-wrapper:after {
    top: auto;
    left: auto;
    bottom: 2px;
    width: 3px;
    right: 0;
}

.btn .elementor-button:after {
    top: auto;
    left: auto;
    bottom: 1px;
    right: 3px;
}

/* fondo transparente */
.btn-line .elementor-button {
    color: var(--c-texto) !important;
    background-color: transparent !important;
    display: block;
    padding: 20px 35px;
    border-top: 1px solid var(--c-primario);
    border-bottom: 1px solid var(--c-primario);
    cursor: pointer;
    text-decoration: none;
    /*text-transform: uppercase;*/
    transition: all 0.4s ease-in-out;
    font-size: 0.8em;
    line-height: 1.3em;
}

.btn-line .elementor-button:hover {
    color: var(--c-blanco) !important;
    background-color: var(--c-primario) !important;
    transition: all 0.4s ease-in-out;
}

.btn-line .elementor-button:after,
.btn-line .elementor-button:before {
    position: absolute;
    top: 1px;
    left: 2px;
    width: 35%;
    height: 3px;
    background: var(--c-primario-oscuro);
    -webkit-transition: left .3s ease-out .3s, right .3s ease-out .3s, background .3s linear;
    -o-transition: left .3s ease-out .3s, right .3s ease-out .3s, background .3s linear;
    transition: left .3s ease-out .3s, right .3s ease-out .3s, ba ckground .3s linear;
    content: '';
}

.btn-line .elementor-button-wrapper:after {
    top: auto;
    left: auto;
    bottom: 2px;
    width: 3px;
    right: 0;
}

.btn-line .elementor-button:after {
    top: auto;
    left: auto;
    bottom: 1px;
    right: 3px;
}

.btn-line:hover .elementor-button:before {
    left: -40px;
    -webkit-transition: left .3s ease-out, right .3s ease-out;
    -o-transition: left .3s ease-out, right .3s ease-out;
    transition: left .3s ease-out, right .3s ease-out;
}

.btn-line:hover .elementor-button:after {
    right: -40px;
    -webkit-transition: left .3s ease-out, right .3s ease-out;
    -o-transition: left .3s ease-out, right .3s ease-out;
    transition: left .3s ease-out, right .3s ease-out;
}

.btn-line:hover .elementor-button-wrapper:before,
.btn-line:hover .elementor-button-wrapper:after {
    height: -webkit-calc(100% - 4px);
    height: calc(100% - 4px);
}

.btn-line .elementor-button-wrapper {
    width: 100%;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
    -webkit-transition: opacity 2.1s cubic-bezier(.23, 1, .38, 1) 1.2s, -webkit-transform 2.1s cubic-bezier(.23, 1, .38, 1) 1.2s;
    -o-transition: transform 2.1s cubic-bezier(.23, 1, .38, 1) 1.2s, opacity 2.1s cubic-bezier(.23, 1, .38, 1) 1.2s;
    transition: transform 2.1s cubic-bezier(.23, 1, .38, 1) 1.2s, opacity 2.1s cubic-bezier(.23, 1, .38, 1) 1.2s;
    transition: transform 2.1s cubic-bezier(.23, 1, .38, 1) 1.2s, opacity 2.1s cubic-bezier(.23, 1, .38, 1) 1.2s, -webkit-transform 2.1s cubic-bezier(.23, 1, .38, 1) 1.2s;
    display: inline-block;
    vertical-align: bottom;
    text-align: center;
    cursor: pointer;
    font-size: 1em;
    line-height: 1em;
    padding: 2px;
    overflow: hidden;
    letter-spacing: .5px;
    color: #515151 !important;
    background-color: transparent;
}

.btn-line .elementor-button-wrapper:after,
.btn-line .elementor-button-wrapper:before {
    position: absolute;
    top: 2px;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--c-primario-oscuro);
    -webkit-transition: height .3s ease-out 150ms;
    -o-transition: height .3s ease-out 150ms;
    transition: height .3s ease-out 150ms;
    content: '';
}

.btn-line .elementor-button-wrapper:after {
    top: auto;
    left: auto;
    bottom: 2px;
    width: 3px;
    right: 0;
}

.btn-line .elementor-button:after {
    top: auto;
    left: auto;
    bottom: 1px;
    right: 3px;
}

/* ESTILO DE LISTAS */
.lista ul,
ul.lista {
    margin: 0 0 0 30px;
}

.lista ul li::marker,
ul.lista li::marker {
    color: transparent;
}

.lista ul li,
ul.lista li {
    position: relative;
}

.lista ul li::before,
ul.lista li::before {
    content: "";
    position: absolute;
    left: -20px;
    top: 7px;
    width: 10px;
    height: 10px;
    background-color: var(--c-primario-oscuro);
    border-radius: 50px;
}

.lista.blanca ul li::before {
    background-color: var(--c-primario);
}

/* REDISEÑO HOME 2024 */
#blog-home h3 {
    font-weight: 300 !important;
}

/*mapa*/
#mapa-mahon {
    width: 100%;
    height: 500px;
    display: block;
    background: url(/wp-content/uploads/2026/04/mapa-mahon.png);
    background-size: 49%;
    background-position: 10% center;
    background-repeat: no-repeat;
}

.info-centro {
    background: #fff;
    width: 400px;
    max-width: 100%;
    min-height: 60px;
    padding: 10px 40px 30px 40px;
    /* margin: 0 auto; */
    position: absolute;
    top: 28%;
    right: 0;
    box-shadow: 5px 3px 15px #c4c4c4;
    z-index: 1;
    transition: all 0.5s;
}

.info-centro .linea-centro {
    margin-top: 2px;
    border-bottom: 2px solid #31a2999e;
    position: absolute;
    top: 50%;
    left: -447px;
    width: 447px;
}

.info-centro .linea-centro::after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 30px;
    bottom: 0;
    top: 0;
    border-left: 2px solid #31a2999e;
}

.info-centro>div {
    text-align: center;
}

.info-centro .datos-centro {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.info-centro .datos-centro img {
    max-width: 200px;
    object-fit: contain;
}

.info-centro .datos-titulo {
    font-family: var(--fuente-principal);
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 5px;
}

.info-centro .datos-centro .direccion {
    font-size: 16px;
}

.info-centro .btn {
    text-decoration: none;
    color: var(--c-primario);
    border: 2px solid var(--c-primario);
    background: var(--c-blanco);
    padding: 12px 20px;
    transition: all 0.5s;
    font-family: "Roboto", Sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1.3em;
    letter-spacing: 1px;
}

.info-centro .btn:hover {
    color: var(--c-blanco);
    background: var(--c-primario);
}

.menu-mv {
    display: none !important;
}

@media screen and (max-width: 1200px) {
    #mapa-mahon {
        background-position: 20px center;
    }

    .info-centro .linea-centro {
        display: none;
    }

    .info-centro {
        width: 46%;
    }
}

@media screen and (max-width: 1024px) {
    #mapa-mahon {
        height: 420px;
    }
}

@media screen and (max-width: 767px) {
    .info-centro {
        top: 15%;
    }

    .list-ico .elementor-image-box-wrapper {
        flex-direction: row;
        display: flex;
        align-items: center;
        text-align: left !important;
        gap: 20px;
    }

    .menu-mv {
        display: initial !important;
    }
}

@media screen and (max-width: 600px) {
    #mapa-mahon {
        height: 650px;
        background-size: 70%;
        background-position: center top;
    }

    .info-centro {
        width: calc(100% - 20px) !important;
        right: 10px !important;
        left: 10px !important;
        bottom: 0;
        top: initial;
        padding: 10px 20px 30px;
    }
}

@media screen and (max-width: 500px) {
    #mapa-mahon {
        background-size: 90%;
    }
}

@media screen and (max-width: 400px) {
    #mapa-mahon {
        background-size: 95%;
    }
}

/* Menú banderas */
.cpel-switcher__list {
    background: var(--c-blanco);
    padding: 0 5px !important;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);

    a {
        height: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

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

    .cpel-switcher__toggle a .cpel-switcher__icon {
        color: var(--c-gris-oscuro) !important;
    }
}

.custom-flip-box .custom-flip-back {
    height: 100%;
    opacity: 0;
    transition: all 0.7s ease
}

.custom-flip-box:hover .custom-flip-back {
    opacity: 1;
}

.custom-flip-box .btn-cita-tuotempo button {
    line-height: 1;
    padding: 12px 24px;
    background-color: transparent !important;
    border: 1px solid var(--c-blanco);
    border-radius: 0;
    transition: all 0.5s ease;
}

.btn-cita-tuotempo-txt button {
    padding: 0 !important;
    background-color: transparent !important;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.2em;
    color: var(--c-primario-oscuro)
}

.btn-cita-tuotempo span {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2em;
    text-transform: uppercase;
    padding-left: 4px;
    color: var(--c-blanco);
    transition: all 0.5s ease;
}

.btn-cita-tuotempo-txt button:hover {
    color: var(--c-primario);
}

.btn-cita-tuotempo button:hover span {
    color: var(--c-secundario);
}

.custom-flip-box .btn-cita-tuotempo button:hover {
    background-color: var(--c-blanco) !important;
}

.custom-flip-box .btn-cita-tuotempo button:hover i {
    color: var(--c-primario-oscuro) !important;
}

.custom-flip-box .btns-flip-back .elementor-button-wrapper,
.custom-flip-box .btns-flip-back .elementor-button-wrapper a {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}