/*

 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

*/

: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%);
}


.link-contacto a {
    color: #333;
}

.link-contacto a:hover {
    color: var(--c-primario);
}

.elementor-heading-title>a {
    color: var(--c-primario-oscuro) !important;
}

.elementor-heading-title>a:hover {
    color: var(--c-primario) !important;
}

/* 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);
}


/* RESPONSIVE TABLA COOKIES */
@media screen and (max-width: 820px) {
    .tabla-cookies {
        overflow-x: scroll;
    }
}

/* 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;
}

/*mapa*/
#mapa-valencia {
    width: 100%;
    height: 500px;
    display: block;
    background: url(/wp-content/uploads/2025/04/valencia-mapa.webp);
    background-size: 40%;
    background-position: center center;
    background-repeat: no-repeat;
}

.info-centro {
    background: #fff;
    width: 345px;
    max-width: 100%;
    min-height: 60px;
    padding: 10px 40px 30px 40px;
    /* margin: 0 auto; */
    position: absolute;
    box-shadow: 5px 3px 15px #c4c4c4;
    z-index: 1;
    transition: all 0.5s;
}

.info-centro.vital {
    top: 0;
    left: 0;
}

.info-centro.cozar {
    bottom: 0;
    right: 0;
}

.info-centro .linea-centro {
    margin-top: 2px;
    border-bottom: 2px solid #31a2999e;
    position: absolute;
}

.info-centro .linea-centro::after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
}

.info-centro.vital .linea-centro {
    top: 50%;
    right: -316px;
    width: 316px;
}

.info-centro.vital .linea-centro::after {
    height: 145px;
    top: 100%;
    border-right: 2px solid #31a2999e;
}

.info-centro.cozar .linea-centro {
    bottom: 50%;
    left: -111px;
    width: 111px;
}

.info-centro.cozar .linea-centro::after {
    height: 100px;
    bottom: 100%;
    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: 100px;
    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);
}

@media screen and (max-width: 1200px) {
    #mapa-valencia {
        background-position: 10% center;
    }

    .info-centro.vital {
        right: 0;
        left: initial;
    }

    .info-centro .linea-centro {
        display: none;
    }

    .info-centro {
        width: 46%;
    }
}

@media screen and (max-width: 767px) {
    #mapa-valencia {
        background-position: left center;
        background-size: 48%;
        height: 515px;
    }

    .info-centro {
        width: 50%;
    }

    .list-ico .elementor-image-box-wrapper {
        flex-direction: row;
        display: flex;
        align-items: center;
        text-align: left !important;
        gap: 20px;
    }
}

@media screen and (max-width: 685px) {
    #mapa-valencia {
        height: 950px;
        background-size: 60%;
        background-position: center top;
    }  

    .info-centro {
        width: calc(100% - 20px) !important;
        right: 10px !important;
        left: 10px !important;
        padding: 10px 20px 30px;
    }

    .info-centro.vital {
        bottom: 250px;
        top: initial;
    }
}

@media screen and (max-width: 600px) {
    #mapa-valencia {
        background-size: 70%;
    }
}

@media screen and (max-width: 500px) {
    #mapa-valencia {
        background-size: 90%;
    }  
}

@media screen and (max-width: 400px) {
    #mapa-valencia {
        height: 900px;
    }  

    .info-centro.vital {
        bottom: 265px;
    }
}

/* MARGEN POST INDIVIDUAL */
body.single-post #content > div {
    margin-bottom: 0;
}

/* RESERVA CITA TUOTEMPO */
.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;
}