/*
 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=Raleway:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


/*Nueva tipografía*/

@font-face {
    font-family: 'TheSans';
    src: url('/wp-content/themes/drnchild/fonts/TheSans-Regular.woff2') format('woff2'), url('/wp-content/themes/drnchild/fonts/TheSans-Regular.woff') format('woff');
}

@font-face {
    font-family: 'TheSans Bold';
    src: url('/wp-content/themes/drnchild/fonts/TheSans-Bold.woff2') format('woff2'), url('/wp-content/themes/drnchild/fonts/TheSans-Bold.woff') format('woff');
}

@font-face {
    font-family: 'TheSans SemiBold';
    src: url('/wp-content/themes/drnchild/fonts/TheSans-SemiBold.woff2') format('woff2'), url('/wp-content/themes/drnchild/fonts/TheSans-SemiBold.woff') format('woff');
}

@font-face {
    font-family: 'TheSans Light';
    src: url('/wp-content/themes/drnchild/fonts/TheSans-Light.woff2') format('woff2'), url('/wp-content/themes/drnchild/fonts/TheSans-Light.woff') format('woff');
}

@font-face {
    font-family: 'TheSans Thin';
    src: url('/wp-content/themes/drnchild/fonts/TheSans-Thin.woff2') format('woff2'), url('/wp-content/themes/drnchild/fonts/TheSans-Thin.woff') format('woff');
}

body:not(.wp-admin),
body:not(.elementor-editor-active) {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    margin: 0;
}

.tit-h1 h1 {
    font-size: 3.25em;
    font-weight: 300;
    line-height: 1.15em;
}

.tit-h2 h2 {
    font-size: 2.5em;
    font-weight: 300;
    line-height: 1.15em;
}

.tit-h3 h3 {
    font-size: 2em;
    font-weight: 300;
    line-height: 1.15em;
}

p a {
    color: #121037;
}

#wpadminbar a {
    color: white!important;
}

p a:hover {
    color: #121037!important;
    text-decoration: underline !important;
}

.broken_link {
    text-decoration: none !important;
}

a.btn-link.white {
    color: #fff;
    border-bottom: 1px solid #fff;
    transition: 0.3s;
}

a.btn-link.white:hover {
    text-decoration: none !important;
    color: #121037 !important;
    border-color: #121037;
}

.link-light {
    color: #fff;
    text-decoration: underline !important;
    font-weight: 600 !important;
}

.link-light:hover {
    text-decoration: none !important;
}

a.link-blanco:hover,
.link-blanco a:hover {
    color: #fff !important;
}


/* BOTONES */

.btn-gradient .elementor-button-link {
    background-image: linear-gradient(to right, #29ABE2 0%, #121037 50%, #121037 100%)!important;
    background-size: 200% auto;
    transition: 0.5s;
}

.btn-gradient .elementor-button-link:hover {
    background-position: right center;
}

.btn-gradient.grey .elementor-button-link {
    background-image: linear-gradient(to right, #fff 0%, #E0E0E0 50%, #f9f9f9 100%);
    background-size: 200% auto;
    transition: 0.5s;
}

.btn-gradient.grey .elementor-button-link:hover {
    background-position: right center;
}

.btn-gradient.grey .elementor-button-link .elementor-button-text {
    color: #7a7a7a
}




/* - - - - - MENUš - - - - - */

header .elementor-nav-menu .menu-item a {
    text-decoration: none !important;
}

header .elementor-nav-menu .menu-item a:focus {
    outline: none;
    background: white;
    color: #121037;
}

header .elementor-nav-menu .menu-item.lang-item a {
    height: 100%;
}

header .elementor-menu-toggle {
    outline: none;
}




/* - - - - - PAGINA DE INICIO - - - - - */

/* Altura de los textos de la seccion de tratamientos */
.home .elementor-element-7c2debaf .elementor-column-wrap .elementor-element-31954377 p,
.home .elementor-element-7c2debaf .elementor-column-wrap .elementor-element-c569c9a p {
    height: 96px;
}




/* - - - - - FORMULARIO DE CONTACTO - - - - - */

.formulario {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.formulario .celda-col {
    flex: 0 0 100%;
    /* margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; */
}

.formulario .celda-col p {
    width: 100%;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.formulario br {
    display: none;
}

.formulario .celda-col .celda-form,
.formulario .celda-col span {
    flex: 0 0 32%;
}

.formulario .celda-col.c50 .celda-form,
.formulario .celda-col.c50 span {
    flex: 0 0 49%;
}

/* .formulario input {
    background-color: #F9F9F9 !important;
    border: 1px solid #F8F8F8 !important;
    padding: 15px 20px;
    margin: 0 !important;
    height: 55px;
    max-width: 285px;
}

.formulario textarea {
    background-color: #F9F9F9;
    border: 1px solid #F8F8F8;
    padding: 15px 20px;
    width: 100%;
    height: 100px;
    resize: none;
} */

.formulario .celda-form-textarea {
    flex: 0 0 100%;
}

.formulario .celda-form-submit {
    flex: 0 0 100%;
}

.formulario .celda-form-submit .aceptar {
    display: flex;
    align-items: center;
}

.formulario .celda-form-submit .aceptar .aceptar-politica-privacidad {
    margin-right: 10px;
}

.formulario .celda-form-submit .aceptar .wpcf7-list-item {
    margin: 0;
}

.formulario .form-col {
    flex: 0 0 100%;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.formulario .form-col span {
    flex: 0 0 49%;
}

.formulario .form-col.full span {
    flex: 0 0 100%;
}

.formulario input,
.formulario select {
    width: 100%;
    max-width: 100%;
    background-color: #fff !important;
    border: 1px solid #121037 !important;
    border-radius: 5px;
    color: #121037;
    padding: 6px 12px !important;
    height: 50px;
}

.formulario textarea {
    width: 100%;
    max-width: 100%;
    background-color: #fff !important;
    border: 1px solid #121037 !important;
    border-radius: 5px;
    color: #121037;
    padding: 6px 12px;
    height: 100px;
    resize: none;
}

.formulario input[type="submit"] {
    text-transform: uppercase;
    font-size: 15px;
    width: 100%;
    max-width: 250px;
    color: #FFF;
    background: none;
    background-color: #121037 !important;
    border: 2px solid #121037 !important;
    border-radius: 0;
    transition: all 0.5s ease;
}

.formulario input[type="submit"]:hover {
    color: #121037;
    background-color: transparent !important;
    transition: all 0.5s ease;
}

.formulario .wpcf7-spinner {
    background-color: transparent;
}

.formulario .wpcf7-spinner::before {
    background-color: #121037;
}

.formulario #nacimiento {
    position: relative;
}

.formulario #nacimiento::after {
    content: "Fecha de nacimiento";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 40px;
    margin: auto;
    height: fit-content;
}




/* TIMELINE */

.eae-timeline .eae-tl-content {
    padding: 0 20px 20px;
}

.eae-timeline .eae-tl-content h2 {
    margin-bottom: 20px !important;
}




/* - - - - - FOOTER - - - - - */

.footer a:hover {
    color: #121037 !important;
    text-decoration: none !important;
}

.copyright .legal-footer a:hover {
    text-decoration: underline !important;
}




/* - - - - - RESPONSIVE - - - - - */

/* @media (max-width: 1023px) {
    body header .menu {
        top: -627px !important;
    }
} */

@media (max-width: 820px) {
    /* - - - - - PAGINA DE INICIO - - - - - */
    /* Altura de los textos de la seccion de tratamientos */
    .home .elementor-element-7c2debaf .elementor-column-wrap .elementor-element-31954377 p,
    .home .elementor-element-7c2debaf .elementor-column-wrap .elementor-element-c569c9a p {
        height: auto;
    }
    .imagen-destacada {
        /*display: none !important;*/
        display: block !important;
    }
    /* SOLUCIONAR PROBLEMA DE LAS IMAGENES EN LOS ARTICULOS DEL BLOG EN EL MOVIL */
    .single-post .cuerpo img {
        max-width: 100%;
        height: auto;
    }
    .swiper-container-horizontal>.swiper-pagination-bullets {
        display: none !important;
    }
    /* BOTON PIE */
    #llamanospie {
        width: 100%;
        position: fixed;
        margin: auto;
        bottom: 0;
        left: 0;
        right: 0;
        text-align: center;
        z-index: 980;
        height: 50px;
        line-height: 50px;
        display: block !important;
    }
    #llamanospie a {
        display: block;
        padding-right: 10px;
        padding-left: 10px;
        color: #fff !important;
        background: #a6dccf !important;
        width: 100%;
    }
    /* - - - - - FORMULARIO DE CONTACTO - - - - - */
    .formulario .celda-col .celda-form,
    .formulario .celda-col span,
    .formulario .celda-col.c50 .celda-form,
    .formulario .celda-col.c50 span {
        display: block;
        flex: 0 0 100%;
        select:first-child {
            margin-bottom: 20px;
        }
    }
    .formulario input {
        margin-bottom: 20px !important;
    }
    .formulario span:last-child input {
        margin-bottom: 0 !important;
    }
    .formulario .celda-form-textarea {
        flex: 0 0 100%;
    }
    .formulario textarea {
        height: 205px;
    }
    .formulario input[type="submit"] {
        margin-bottom: 0 !important;
    }
}

@media screen and (max-width: 425px) {
    .tit-h1 h1 {
        font-size: 2.5em;
    }
    .tit-h2 h2 {
        font-size: 2em;
    }
    .tit-h3 h3 {
        font-size: 1.5em;
    }
    /* - - - - - BANDERAS DEL MENU MOVIL - - - - - */
    .elementor-nav-menu {
        height: 70vh;
        padding: 10px !important;
    }
    .elementor-nav-menu .lang-item.lang-item-5 {
        width: 33.33%;
        float: left;
    }
    .elementor-nav-menu .lang-item {
        width: 33.33%;
        float: right;
    }
    /* - - - - - FORMULARIO DE CONTACTO - - - - - */
    .formulario {
        display: block;
    }
    .formulario input {
        max-width: 100%;
    }
    .tel-mv p a {
        display: block;
        font-size: 30px !important;
    }
}




/* - - - - - OCULTAR BANNER DE GOOGLE - - - - - */

.grecaptcha-badge {
    display: none !important;
}

.elementor-5065 .elementor-element.elementor-element-31c3cfc {
    z-index: 10 !important;
}




/* BOTÓN DE LLAMADA EN EL FOOTER RENOVADO EN DICIEMBRE 2021*/

#llamanospie {
    display: none;
}

#chat-application {
    z-index: 9800 !important;
}




/* ESTILOS DE LA PAGINA 404 */

.error404 .imagen-cabecera {
    display: none;
}




/* MEJORAR ALINEADO DE LAS LISTAS EN ELEMENTOR */

.elementor-widget .elementor-icon-list-item,
.elementor-widget .elementor-icon-list-item a {
    align-items: flex-start !important;
}

.elementor-widget.elementor-widget-icon-list .elementor-icon-list-icon {
    margin-top: 3px !important;
}




/* ESTILOS DE LA NUEVA PAGINA DE CLINICA */

.swiper-container-horizontal>.swiper-pagination-bullets {
    bottom: -10px !important;
}




/* NUEVOS ESTILOS PARA LAS LISTAS EN LA PÃGINA DE ODONTOPEDIATRÃA */

.lista-espaciada li {
    margin-bottom: 20px;
}




/* ESTILOS DE LA NUEVA PÃGINA DE ESTÃTICA DENTAL */

.page-id-1568 .imagen-cabecera {
    display: none;
}




/* ESTILOS PAGINA TRATAMIENTOS*/

/* Columnas clicables*/
/* Create and position :after pseudo-element */
.elementor-column.clickable a:after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
}

/* Remove relatively-positioned parent elements in column */
.clickable .elementor-widget,
.clickable .elementor-widget-wrap {
    position: static;
}

.clickable .elementor-element-populated {
    box-shadow: 0px 10px 10px 0px rgb(0 0 0 / 10%);
    transition: all 0.5s ease-in-out;
}

.clickable:hover .elementor-element-populated {
    box-shadow: 0px 20px 30px 0px rgb(0 0 0 / 10%);
}

.clickable img,
.clickable h2 {
    transition: all 0.5s ease-in-out;
}

.clickable:hover img {
    filter: brightness(0.8);
}

.clickable:hover h2 {
    color: #121037;
}




/* ------- BOTÓN WHATSAPP ----------- */

.btn-whatsapp {
    display: none;
    opacity: 0;
    transition: all 5ms;
}

@media only screen and (max-width: 768px) {
    .btn-whatsapp {
        display: flex !important;
        position: fixed;
        display: block !important;
        bottom: 60px;
        right: 20px;
        z-index: 9800;
        opacity: 1;
    }
    .btn-whatsapp .evento-whatsapp {
        background-color: #a6dccf !important;
        color: #fff !important;
        border-radius: 50%;
        height: 60px;
        width: 60px;
        margin-bottom: 20px;
        box-shadow: 0 2px 5px 0px rgb(0 0 0 / 20%);
    }
    .btn-whatsapp .evento-whatsapp {
        padding: 10px;
    }
    .btn-whatsapp a {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .btn-whatsapp a>i {
        font-size: 30px;
    }
}




/* NUEVA IMAGEN CORPORATIVA */

.lista-sidebar a {
    color: #121037 !important;
    border-left: 5px solid #121037 !important;
}

.lista-sidebar a:hover {
    background-color: #121037 !important;
}

h2 {
    color: #121037;
}

.boton-tratamientos {
    color: #fff !important;
    background-color: #121037 !important;
    border: 1px solid #121037 !important;
    text-decoration: none !important;
    padding: 20px;
    text-align: center;
    max-width: 46%;
    display: block;
    margin: auto;
    text-decoration: none !important;
    transition: 0.4s all ease;
}

.boton-tratamientos:hover {
    background-color: #fff !important;
    color: #121037 !important;
    transition: 0.4s;
}

input[type="submit"].wpcf7-form-control {
    background-color: #121037;
}

body .cuerpo .sidebar .widget-llamanos span,
.cuerpo a,
.link-contacto {
    color: #337AB7 !important;
    transition: all 0.3s ease;
}

body .cuerpo .sidebar .widget-llamanos span:hover,
.cuerpo a:hover,
.link-contacto:hover {
    color: #121037 !important;
}

blockquote>p {
    color: #337AB7 !important;
}

.vc_btn3.vc_btn3-color-juicy-pink,
.vc_btn3.vc_btn3-color-juicy-pink.vc_btn3-style-flat,
.vc_btn3-container a {
    background-color: #121037 !important;
    border: 2px solid #121037 !important;
    color: #fff !important;
}

.vc_btn3.vc_btn3-color-juicy-pink,
.vc_btn3.vc_btn3-color-juicy-pink.vc_btn3-style-flat:hover,
.vc_btn3-container a:hover {
    background-color: transparent !important;
    color: #121037 !important;
}

.vc_btn3-style-modern.vc_btn3-color-grey:hover {
    color: #fff !important;
}

.link-footer,
.footer a {
    color: #666 !important;
    transition: all 0.3s ease;
}

.link-footer:hover,
.footer a:hover {
    color: #337AB7 !important;
}

.vc_custom_1595516444410,
.vc_custom_1535119773249 .wpb_column {
    background-color: #337AB7 !important;
}

.vc_custom_1535119908250 h2,
.vc_custom_1527693582730,
.vc_custom_1527692716876 {
    color: #121037 !important;
}

.cuerpo a.boton-tratamientos {
    color: #fff !important;
}

.cuerpo a.boton-tratamientos:hover {
    color: #121037 !important;
}




/*CAMBIAR COLOR DE LAS FLECHAS DEL PLUGIN DE RESEÑAS DE GOOGLE */

.ti-widget.ti-goog .ti-controls .ti-next:before,
.ti-widget.ti-goog .ti-controls .ti-prev:before {
    border-color: #050520!important;
    background: transparent!important;
}

.ti-widget.ti-goog .ti-controls .ti-next:after,
.ti-widget.ti-goog .ti-controls .ti-prev:after {
    border-color: #050520!important;
    background: transparent!important;
}



/* títulos gp */
.page-template .entry-header h1 {
    text-align: center;
}



/* ARREGLAR CASOS BEFORE-AFTER */
.twenty20 {
    max-width: 100% !important;
}

.twentytwenty-handle {
    left: 50%;
}


/* ARREGLAR BOTONES OSCUROS */
.vc_btn3-color-grey:hover {
    color: #050520 !important;
}

/* ARREGLAR SCROLL HORIZONTAL */
body {
    overflow-x: hidden;
}