/*
 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
*/


/* ------------------------ fuentes ------------------------ */


/*  
    font-family: 'Playfair Display SC', serif;
    font-family: 'Poppins', sans-serif;
    font-family: 'Prata', serif;
    font-family: 'Frank Ruhl Libre', serif;
    font-family: "SangBleuEmpire-Regular",serif;
*/

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500&family=Prata&display=swap");

/* @font-face {
    font-family: SangBleuEmpire-Regular;
    src: url(/wp-content/themes/generatepress_child/font/SangBleuEmpire-Regular-WebXL.woff);
} */


/* --- quitar margenn por defecto qeu trae elementor --- */

.elementor-text-editor p:last-child {
    margin-bottom: 0px;
}


/* ------------------------ colores ------------------------ */

:root {
    --main-txt-color: #1b1b1b;
    --loscos-c-greyblue: #7f8c94;
    --loscos-c-grey-1: #a1a2a2;
    --loscos-c-grey-2: #050404;
    --loscos-c-blue: #79cbf0;
    --loscos-c-middleblue: #3072b2;
    --loscos-c-darkblue: #203b54;
    --primary-font: "Prata", serif;
    --secondary-font: "Poppins", serif;
}

body {
    font-family: var(--secondary-font);
    font-size: 16px;
    font-weight: 300;
    color: var(--main-txt-color);
    letter-spacing: 0.03em;
}

p {
    line-height: 1.6em !important;
}

.subtext p {
    font-size: 0.8em !important;
    color: #474747 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--primary-font);
    margin-bottom: 0px;
}

.tit h1 {
    font-size: 4em;
    line-height: 1.3em;
    color: var(--main-txt-color);
}

.subtit h2,
.subtit h3,
.tit-inner h1 {
    font-size: 1.8em;
    color: var(--main-txt-color);
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.subtit-par p {
    font-size: 24px;
    font-family: var(--primary-font);
}

span.subtit {
    font-size: 30px;
}

.subtit h2 span.tit-subtit {
    font-size: 0.7em;
}

.s-accent h2,
.s-accent {
    font-size: 1.5em;
    line-height: 1.2em;
}

.tit.txt-white h1,
.subtit.txt-white h2,
.subtit.txt-white h3 {
    color: #fff;
}

.txt-white * {
    color: #fff !important;
}

.txt-dark-blue {
    color: var(--loscos-c-darkblue) !important;
}

.txt-accent p {
    font-size: 25px;
    line-height: 35px;
    /* font-style: italic; */
    font-family: var(--primary-font);
    letter-spacing: 0.05em;
}

.comillas p {
    font-style: italic;
    font-family: var(--primary-font);
    font-size: 200px;
    opacity: 0.5;
}

.italic {
    font-style: italic !important;
}

.list-faq p {
    font-family: var(--primary-font) !important;
    font-size: 1.2em !important;
    color: var(--main-txt-color);
    line-height: 1.4em !important;
    margin-bottom: 0px;
}

#faq h3 {
    font-family: var(--primary-font) !important;
    font-size: 18px !important;
    color: var(--main-txt-color);
    line-height: 17px !important;
    margin-bottom: 0px !important;
}


/* ---------------- sombras de las caja img  -------------------- */

.shadow-box img {
    box-shadow: 0px 20px 30px 0px rgb(0 0 0 / 10%) !important;
}


/* ---------------- tarjetas transparentes -------------------- */

.target-glass {
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(7.2px);
    -webkit-backdrop-filter: blur(7.2px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.target-glass.target-cta {
    padding: 10%;
}


/* ---------------- tarjetas tratamientos -------------------- */

.col-trata .elementor-widget-container .elementor-cta {
    margin: 20px;
    padding: 20px;
    /* border-radius: 16px; */
    box-shadow: 0 4px 20px rgb(0 0 0 / 10%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--main-txt-color);
    min-height: 450px;
}

.col-trata .elementor-cta__title {
    text-transform: uppercase;
    margin-bottom: 0 !important;
    position: absolute;
    bottom: 0;
    font-size: 22px;
}

.col-trata .elementor-cta:hover .elementor-cta__title {
    opacity: 0;
}

.col-trata .elementor-cta .elementor-cta__description {
    transform: translateY(100%);
}

.col-trata .elementor-cta:hover .elementor-cta__description {
    transform: translateY(0%);
}

.min-h {
    min-height: 150px;
    border-left: 1px solid #cfd2d8;
}


/* ---------------- diapositivas -------------------- */

.dipositivas .swiper-slide-contents {
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(7.2px);
    -webkit-backdrop-filter: blur(7.2px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--main-txt-color);
    padding: 30px;
}

.dipositivas .swiper-slide .swiper-slide-inner .elementor-slide-heading {
    font-weight: 500;
    margin-bottom: 10px !important;
    font-size: 1.5em;
}

.dipositivas .elementor-slides-wrapper.elementor-main-swiper .elementor-swiper-button {
    color: var(--main-txt-color);
}


/* ---- flecha animada ----- */

.animated-arrow {
    animation: MoveUpDown 4s ease infinite;
    cursor: pointer;
}

@keyframes MoveUpDown {
    0% {
        bottom: 0;
    }
    50% {
        bottom: 20px;
    }
    100% {
        bottom: 0;
    }
}

/* ---------------- home -------------------- */

.col-tit-slide {
    padding: 0% 10% 0% 5%;
}

.pad-full-contain {
    padding: 5% !important;
}

.cta-home {
    margin-bottom: 5%;
}

.space-cta {
    min-height: 60vh;
}


/* ---------------- footer -------------------- */

.contain-footer p {
    font-size: 14px !important;
}

.contain-footer .link-footer a,
.contain-footer .elementor-widget-text-editor a {
    padding: 15px;
    transition: all 0.4s ease;
    color: var(--loscos-c-greyblue) !important;
    font-style: var(--primary-font) !important;
    font-size: 14px !important;
    margin-bottom: 0px !important;
    border: none !important;
}

.contain-footer .link-footer a:hover,
.contain-footer .elementor-widget-text-editor a:hover {
    transition: all 0.4s ease;
    color: #fff !important;
    background-color: var(--loscos-c-greyblue);
}


/* ---------------- contact -------------------- */

.call-form {
    margin: 20px 0px;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    color: var(--loscos-c-greyblue);
}

.call-form a {
    font-weight: 600;
    transition: all .4s ease-in-out;
}

.call-form a:hover {
    color: var(--main-txt-color);
    transition: all .4s ease-in-out;
}


/* ---------------- banner contacto con formulario -------------------- */

.cta-banner form .wpcf7-acceptance label {
    font-size: 14px;
}

.cta-banner .target-glass.target-cta {
    padding: 5%;
}


/* ---------------- blog -------------------- */

.blog .masonry-container {
    height: auto !important;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.blog .masonry-container>div:first-child {
    display: none;
}

.blog .masonry-container>article {
    position: static !important;
    flex: 0 0 31.33%;
}

.blog main>div {
    padding: 80px 20px 50px;
}

.blog article header {
    padding: 20px;
}

.blog article header h2 {
    font-size: 1.75em;
}

.blog article .entry-summary {
    padding: 0 20px 20px;
}

.blog article .read-more-container a {
    border: solid 3px var(--main-txt-color);
    border-radius: 0px;
    background-color: #fff;
    color: var(--main-txt-color);
    transition: all 0.4s ease;
    text-transform: uppercase;
    padding: 15px 30px;
    font-weight: 500;
    box-shadow: inset 0 0 0 0 var(--loscos-c-greyblue);
    transition: all 0.4s ease;
}

.blog article .read-more-container a:hover {
    background-color: var(--main-txt-color);
    color: #fff;
    border-radius: 50px;
    transition: all 0.4s ease;
    transform: translateY(-3px);
    box-shadow: 0 20px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}


/* ---------------- entrada individual -------------------- */

.single h1 {
    font-size: 3em;
    line-height: 1.3em;
    color: var(--main-txt-color);
    margin-bottom: 25px;
}

.single h2 {
    font-size: 2em;
    color: var(--main-txt-color);
    letter-spacing: 0.05em;
    margin-bottom: 25px;
}

.single h3 {
    font-size: 1.75em;
    color: var(--main-txt-color);
    letter-spacing: 0.05em;
    margin-bottom: 25px;
}

.single .inside-article {
    background-color: #f7f8f9;
    padding: 0 20px 50px;
}

.single .featured-image {
    margin: 25px 0 !important;
}

.single .featured-image img {
    max-width: 750px;
    width: 100%;
}

.single .entry-meta .posted-on {
    display: inline-block;
    margin-bottom: 15px;
    margin-top: 0;
    font-size: 16px;
}

.single .entry-content p>a,
.single .entry-content li>a,
.single .post-navigation a {
    text-decoration: none;
    color: #428bca !important;
    border-bottom: solid 1px #428bca;
    transition: 0.3s;
}

.single .inside-article p>a:hover,
.single li>a:hover,
.single .post-navigation a:hover {
    color: #428bcacb !important;
    border-bottom: solid 1px #428bcacb;
}

.single .inside-article ul li {
    margin-bottom: 10px;
}

.single .post-navigation {
    margin-top: 40px;
}


/* Pagina de brackets */

.col-trata.w-btn .elementor-cta .elementor-cta__button {
    border: solid 3px #fff;
    border-radius: 0;
    text-transform: uppercase;
    background-color: transparent;
    color: #fff;
    padding: 15px 30px;
    transition: all 0.4s ease;
}

.col-trata.w-btn .elementor-cta .elementor-cta__button:hover {
    border-radius: 50px;
    background-color: #fff;
    color: var(--loscos-c-grey-2);
    box-shadow: 0 20px 20px rgba(0, 0, 0, 0.15);
}

.col-trata.w-btn .elementor-cta .elementor-cta__description,
.col-trata.w-btn .elementor-cta .elementor-cta__button-wrapper {
    transform: translateY(300px) !important;
}

.col-trata.w-btn .elementor-cta:hover .elementor-cta__description,
.col-trata.w-btn .elementor-cta:hover .elementor-cta__button-wrapper {
    transform: translateY(-20px);
}

.col-trata.w-btn .elementor-cta .elementor-cta__description.showing,
.col-trata.w-btn .elementor-cta .elementor-cta__button-wrapper.showing {
    transform: translateY(-20px);
}

/* Pagina ortodoncia adultos y adolescentes */

.col-trata.w-btn.adult .elementor-cta .elementor-cta__button {
    border: solid 3px #fff;
    border-radius: 0;
    text-transform: uppercase;
    background-color: transparent;
    color: #fff;
    padding: 15px 30px;
    transition: all 0.4s ease;
}

.col-trata.w-btn.adult .elementor-cta .elementor-cta__button:hover {
    border-radius: 50px;
    background-color: #fff;
    color: var(--loscos-c-grey-2);
    box-shadow: 0 20px 20px rgba(0, 0, 0, 0.15);
}

.col-trata.w-btn.adult .elementor-cta .elementor-cta__description,
.col-trata.w-btn.adult .elementor-cta .elementor-cta__button-wrapper {
    transform: translateY(400px) !important;
}

.col-trata.w-btn.adult .elementor-cta:hover .elementor-cta__description,
.col-trata.w-btn.adult .elementor-cta:hover .elementor-cta__button-wrapper {
    transform: translateY(-20px) !important;
}

.col-trata.w-btn.adult .elementor-cta .elementor-cta__description.showing,
.col-trata.w-btn.adult .elementor-cta .elementor-cta__button-wrapper.showing {
    transform: translateY(-20px);
}

/* ------------- tecnología ----------------- */

#tec .col-trata .elementor-widget-container .elementor-cta {
    margin: 20px;
    padding: 20px;
    box-shadow: 0 4px 20px rgb(0 0 0 / 10%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--main-txt-color);
    min-height: 120px !important;
}

#tec .elementor-element .elementor-cta__content {
    min-height: 100px !important;
    /* cursor: pointer; */
}

/* ---------------- responsive -------------------- */

@media (max-width: 1440px) {
    .col-tit-slide {
        padding: 5% 0%;
    }
    .tit h1 {
        font-size: 3em;
    }
    .subtit h2,
    .subtit h3 {
        font-size: 1.4em;
        line-height: 1.2em;
    }
    .s-accent h2,
    .s-accent {
        font-size: 1.4em;
    }
    .pad-full-contain {
        padding: 5% !important;
    }
    .pad-full-contain.extra-pad {
        padding-top: 5% !important;
    }
    .col-trata .elementor-widget-container .elementor-cta {
        min-height: 350px;
    }
    .target-glass.target-cta {
        padding: 5%;
    }
    .cta-home {
        margin-bottom: 3%;
    }
}

@media (max-width: 768px) {
    .space-cta {
        min-height: 350px;
    }
    /* BOTÓN PIE */
    #llamanospie {
        width: 100%;
        position: fixed;
        margin: auto;
        bottom: 0;
        left: 0;
        right: 0;
        text-align: center;
        z-index: 9800;
        height: 50px;
        line-height: 50px;
        display: block !important;
    }
    #llamanospie a {
        display: block;
        padding-right: 10px;
        padding-left: 10px;
        color: #fff !important;
        background: #428bcaef;
        width: 100%;
        text-decoration: none !important;
        font-family: var(--primary-font);
        font-size: 18px;
    }
    .class-mv-ico {
        width: 15px;
        height: 15px;
        margin-right: 10px;
    }
    .col-trata .elementor-widget-container .elementor-cta {
        min-height: 300px;
        padding: 0;
    }
    .col-trata .elementor-widget-container .elementor-cta .elementor-cta__content {
        padding: 20px !important;
    }
    .col-trata .elementor-widget-container .elementor-cta:not(:hover) .elementor-cta__bg-overlay {
        background-color: #00000000 !important;
    }
    .col-trata .elementor-cta__title {
        position: static;
        margin-bottom: 15px !important;
    }
    .col-trata .elementor-cta .elementor-cta__description {
        transform: translateY(500px);
    }
    .col-trata .elementor-cta .elementor-cta__description.showing {
        transform: translateY(0%);
    }
    /* ---------------- blog -------------------- */
    .blog .masonry-container {
        justify-content: space-between;
    }
    .blog .masonry-container>article {
        flex: 0 0 49%;
        margin-bottom: 20px;
    }
    .blog article header {
        padding: 20px 0;
    }
    .blog article .entry-summary {
        padding: 0;
    }
    /* ------------- tecnologia ---------------- */
    #tec .col-trata .elementor-cta__title {
        position: static;
        margin-bottom: 0px !important;
    }
}

@media (max-width: 600px) {
    .txt-accent p {
        font-size: 20px;
        line-height: 30px;
    }
    .tit h1 {
        font-size: 2em;
    }
    .subtit h2 {
        font-size: 1.2em;
    }
    .pad-full-contain,
    .pad-full-contain.extra-pad {
        padding: 10% 5% !important;
    }
    .tit-inner h1 {
        font-size: 1.5em;
        line-height: 1.1em;
    }
    span.subtit {
        font-size: 25px;
    }
    .subtit-par p {
        font-size: 1.2em;
    }
    .list-faq .elementor-icon-box-icon {
        margin-top: 6px;
    }
    /* ---------------- blog -------------------- */
    .blog .masonry-container {
        display: block;
    }
    .blog main>div {
        padding: 40px 20px;
    }
    /* ---------------- entrada individual -------------------- */
    .single h1 {
        font-size: 2.25em;
    }
    .single h2 {
        font-size: 1.75em;
    }
    .single h3 {
        font-size: 1.5em;
    }
    /* Pagina de brackets */
    .col-trata.w-btn .elementor-cta .elementor-cta__description {
        display: none;
    }
    .col-trata.w-btn .elementor-cta .elementor-cta__button-wrapper.showing {
        transform: translateY(0px);
    }
}


/* OCULTAR BADGE DE RECAPTCHA */

.grecaptcha-badge {
    display: none;
}


/* BOTONES EN EL FOOTER */

#llamanospie {
    display: none;
}


/* ESTILOS PARA LOS ENLACES DE LOS TEXTOS */


/*.elementor-widget-text-editor a {
    color: rgb(127 140 148)!important;
    border-bottom: solid 1px rgba(127,140,148,0.3);
}*/

.elementor-widget-text-editor a {
    color: #428bca !important;
    border-bottom: solid 1px #428bca;
    transition: 0.3s;
}

.elementor-widget-text-editor a:hover {
    color: #428bcacb !important;
    border-bottom: solid 1px #428bcacb;
}


/* Quitar margen en párrafos */

.p-mb.elementor-widget-text-editor p {
    margin-bottom: 0;
}


/* SOLUCIONAR SOLAPAMIENTO DEL BANNER DE COOKIES CON EL HEADER STICKY EN EL MÓVIL */

nav.is_stuck {
    z-index: 9800!important;
}


/* ESTILOS DEL BLOQUE DE COMPARTIR EN REDES SOCIALES EN LOS ARTÍCULOS DEL BLOG */

.bloque-redes {
    margin-bottom: 0px;
    margin-top: 35px;
    padding-left: 0px;
    padding-right: 0px;
}

.bloque-redes-inicial {
    margin-top: 10px;
    margin-bottom: 20px;
}

.bloque-redes a {
    text-decoration: none;
}

.bloque-redes-inicial a {
    text-decoration: none;
}

.titulo-compartir-redes {
    display: block;
    font-family: var(--primary-font);
    line-height: 1.2em;
    font-weight: 400;
    font-size: 2em;
    color: var(--main-txt-color);
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.ico-compartir-redes {
    max-width: 40px;
    max-height: 40px;
    margin-right: 12px;
    transition: all 0.5s ease-out!important;
}

.ico-compartir-redes:hover {
    transform: scale(1.1) translateY(-5px);
}

.ico-compartir-redes-inicial {
    max-width: 35px;
    max-height: 35px;
    margin-right: 5px;
    transition: all 0.5s ease-out!important;
}

.ico-compartir-redes-inicial:hover {
    transform: scale(1.1) translateY(-5px);
}

@media screen and (max-width:768px) {
    /* .bloque-redes {
        padding-left: 30px;
        padding-right: 30px;
    } */
    .titulo-compartir-redes {
        font-size: 1.75em;
    }
    .ico-compartir-redes {
        max-width: 40px;
        max-height: 40px;
    }
}

.bloque-redes a:hover,
.bloque-redes-inicial a:hover {
    text-decoration: none !important;
    opacity: 1!important;
}