/**
Theme Name: Carlosdeblas Child Theme
Author: Carlos de Blas Mateo
Author URI: https://carlosdeblas.com
Description: Child Theme de Astra creado por Carlos de Blas
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: carlosdeblas-child-theme
Template: astra
*/

/* Estructura básica*/
body{max-width:1920px;margin:0 auto;min-width:300px;}
.elementor-column-gap-default .elementor-column .elementor-element-populated {padding: 0 !important;}
.e-con.e-flex>.e-con-inner{padding-top:0;padding-bottom:0;}
.e-con-full.e-flex{padding:0;}



/* Header */ 
.ast-above-header-bar a .elementor-icon-list-text {color: #000000 !important;}
.ast-above-header-bar a:hover .elementor-icon-list-text {color: #000000 !important;}
html[lang="es-ES"] .ast-header-button-2 {display: none !important;}
html[lang="ca"] .ast-header-button-1 {display: none !important;}
.ast-header-button-1 a, .ast-header-button-2 a{text-align:center;}
html[lang="ca"] li.ast-builder-language-switcher-menu-item-header:first-child {display: none !important;}
html[lang="es-ES"] li.ast-builder-language-switcher-menu-item-header:nth-child(2) {display: none !important;}
.ast-lswitcher-item-header img {width: 30px;}

@media (max-width:425px){
.ast-above-header-wrap span.elementor-icon-list-text {display: none;}
.ast-builder-layout-element.ast-flex.site-header-focus-item.ast-header-html-1, .ast-builder-layout-element.ast-flex.site-header-focus-item.ast-header-html-2 {width: 100%;justify-content:center;}
.ast-builder-html-element svg.e-font-icon-svg.e-far-envelope, .ast-builder-html-element svg.e-font-icon-svg.e-fas-phone-alt {height: 45px !important;width: auto;padding-top: 5px;padding-bottom: 5px;}
}

@media (min-width:1025px){
.nopc{display:none !important;}
.ast-above-header-bar .e-flex.e-con-boxed.e-con.e-parent {padding-left: 0 !important;padding-right: 0 !important;}
.e-flex.e-con-boxed.e-con.e-parent {padding-left: 50px;padding-right: 50px;}
.ast-builder-language-switcher-menu-item-header{padding-right:0 !important;}
}
@media (min-width:1400px){
.site-above-header-wrap.ast-container{padding: 0;max-width: 1300px;} 
.site-primary-header-wrap.ast-container{padding: 0;max-width: 1300px;} 
}
@media (min-width:1025px) and  (max-width:1499px){
.site-above-header-wrap.ast-container{padding-left:50px;padding-right:50px;max-width: 100%;} 
.site-primary-header-wrap.ast-container{padding-left:50px;padding-right:50px;max-width: 100%;} 
}
@media (min-width:768px) and (max-width:1024px){
.ast-mobile-header-wrap .e-flex.e-con-boxed.e-con.e-parent {padding: 0 !important;}
.ast-header-break-point #masthead .ast-mobile-header-wrap .ast-primary-header-bar{padding-left:35px;padding-right:50px;}
.ast-header-break-point #masthead .ast-mobile-header-wrap .ast-above-header-bar{padding-left:50px;padding-right:50px;}
.site-logo-img img {height: 50px;width: auto;} 
.ast-header-break-point #masthead .ast-mobile-header-wrap .ast-above-header-bar .ast-logo-title-inline .ast-site-identity {padding: 0;}
.e-flex.e-con-boxed.e-con.e-parent {padding-left: 50px;padding-right: 50px;}
}
@media (max-width:767px){
span.site-logo-img{padding-right:0 !important;}
header .custom-logo-link img, .ast-header-break-point .site-branding img, .ast-header-break-point .custom-logo-link img {max-width: unset !important;width:auto;}
.ast-header-break-point #masthead .ast-mobile-header-wrap .ast-primary-header-bar{padding-left:0px;padding-right:15px;}
.ast-header-break-point #masthead .ast-mobile-header-wrap .ast-above-header-bar{padding-left:15px;padding-right:15px;}
.site-logo-img img {height: 50px;width: auto;} 
.ast-above-header-bar .e-flex.e-con-boxed.e-con.e-parent {padding: 0;} 
.e-flex.e-con-boxed.e-con.e-parent {padding-left:15px;padding-right:15px;}
.ast-builder-language-switcher-menu-item-header{padding-left:0 !important;padding-right:0 !important;}
}
@media (min-width:300px) and (max-width:329px){
header .custom-logo-link img, .ast-header-break-point .site-branding img, .ast-header-break-point .custom-logo-link img{height:35px;}
}
@media (min-width:330px) and (max-width:355px){
header .custom-logo-link img, .ast-header-break-point .site-branding img, .ast-header-break-point .custom-logo-link img{height:40px;}
}
@media (min-width:356px) and (max-width:385px){
header .custom-logo-link img, .ast-header-break-point .site-branding img, .ast-header-break-point .custom-logo-link img{height:45px;}
}


@media (min-width:1025px) and (max-width:1051px) {
.main-header-menu .menu-link {padding: 0 10px;}
span.site-logo-img {padding-right: 0 !important;}
header .custom-logo-link img {max-width: 225px;width: 225px;}
.ast-header-button-1 .ast-custom-button, .ast-header-button-2 .ast-custom-button{padding-left:15px !important;padding-right:15px !important;font-size:15px !important;}
.ast-builder-layout-element.ast-flex.site-header-focus-item.ast-header-button-1, .ast-builder-layout-element.ast-flex.site-header-focus-item.ast-header-button-2 {padding: 0;}
}
@media (min-width:1052px) and (max-width:1081px){
.main-header-menu .menu-link {padding: 0 13px;}
span.site-logo-img {padding-right: 0 !important;}
header .custom-logo-link img {max-width: 225px;width: 225px;}
.ast-header-button-1 .ast-custom-button, .ast-header-button-2 .ast-custom-button{padding-left:15px !important;padding-right:15px !important;font-size:15px !important;}
.ast-builder-layout-element.ast-flex.site-header-focus-item.ast-header-button-1, .ast-builder-layout-element.ast-flex.site-header-focus-item.ast-header-button-2 {padding: 0;}
}
@media (min-width:1082px) and (max-width:1113px){
.main-header-menu .menu-link {padding: 0 16px;}
span.site-logo-img {padding-right: 0 !important;}
header .custom-logo-link img {max-width: 225px;width: 225px;}
.ast-header-button-1 .ast-custom-button, .ast-header-button-2 .ast-custom-button{padding-left:15px !important;padding-right:15px !important;font-size:15px !important;}
.ast-builder-layout-element.ast-flex.site-header-focus-item.ast-header-button-1, .ast-builder-layout-element.ast-flex.site-header-focus-item.ast-header-button-2 {padding: 0;}
}
@media (min-width:1114px) and (max-width:1153px){
header .custom-logo-link img {max-width: 225px;width: 225px;}
span.site-logo-img {padding-right: 0 !important;}
.ast-header-button-1 .ast-custom-button, .ast-header-button-2 .ast-custom-button{padding-left:15px !important;padding-right:15px !important;font-size:16px !important;}
.ast-builder-menu-1 .menu-item > .menu-link{font-size:16px;}
.ast-builder-layout-element.ast-flex.site-header-focus-item.ast-header-button-1, .ast-builder-layout-element.ast-flex.site-header-focus-item.ast-header-button-2 {padding: 0;}
}
@media (min-width:1154px) and (max-width:1194px){
header .custom-logo-link img {max-width: 225px;width: 225px;}
span.site-logo-img {padding-right: 0 !important;}
.ast-header-button-1 .ast-custom-button, .ast-header-button-2 .ast-custom-button{padding-left:15px !important;padding-right:15px !important;font-size:17px !important;}
.ast-builder-menu-1 .menu-item > .menu-link{font-size:17px;}
.ast-builder-layout-element.ast-flex.site-header-focus-item.ast-header-button-1, .ast-builder-layout-element.ast-flex.site-header-focus-item.ast-header-button-2 {padding: 0;}
}
@media (min-width:1195px) and (max-width:1249px){
header .custom-logo-link img {max-width: 225px;width: 225px;}
span.site-logo-img {padding-right: 0 !important;}
.ast-header-button-1 .ast-custom-button, .ast-header-button-2 .ast-custom-button{padding-left:15px !important;padding-right:15px !important;}
.ast-builder-layout-element.ast-flex.site-header-focus-item.ast-header-button-1, .ast-builder-layout-element.ast-flex.site-header-focus-item.ast-header-button-2 {padding: 0;}
.ast-header-button-1 .ast-custom-button, .ast-header-button-2 .ast-custom-button, .ast-builder-menu-1 .menu-item > .menu-link{font-size:18px !important;}
}
@media (min-width:1250px) and (max-width:1279px){
header .custom-logo-link img {max-width: 250px;width: 250px;}
span.site-logo-img {padding-right: 0 !important;}
.ast-builder-layout-element.ast-flex.site-header-focus-item.ast-header-button-1, .ast-builder-layout-element.ast-flex.site-header-focus-item.ast-header-button-2 {padding: 0;}
.ast-header-button-1 .ast-custom-button, .ast-header-button-2 .ast-custom-button, .ast-builder-menu-1 .menu-item > .menu-link{font-size:18px !important;}
}
@media (min-width:1280px) and (max-width:1317px){
span.site-logo-img {padding-right: 0 !important;}
.ast-builder-layout-element.ast-flex.site-header-focus-item.ast-header-button-1, .ast-builder-layout-element.ast-flex.site-header-focus-item.ast-header-button-2 {padding: 0;}
.ast-header-button-1 .ast-custom-button, .ast-header-button-2 .ast-custom-button, .ast-builder-menu-1 .menu-item > .menu-link{font-size:18px !important;}
}
@media (min-width:1318px){
.ast-header-button-1 .ast-custom-button, .ast-header-button-2 .ast-custom-button, .ast-builder-menu-1 .menu-item > .menu-link{font-size:18px !important;}
}




/*
@media (min-width:1129px) and (max-width:1175px){
.ast-header-button-1 .ast-custom-button, .ast-header-button-2 .ast-custom-button{padding-left:15px !important;padding-right:15px !important;font-size:15px !important;}
.ast-builder-layout-element.ast-flex.site-header-focus-item.ast-header-button-1, .ast-builder-layout-element.ast-flex.site-header-focus-item.ast-header-button-2 {padding: 0;}
}
@media (min-width:1176px) and (max-width:1215px){
.ast-header-button-1 .ast-custom-button, .ast-header-button-2 .ast-custom-button{font-size:15px !important;}
}
@media (min-width:1216px) and (max-width:1256px){
.ast-header-button-1 .ast-custom-button, .ast-header-button-2 .ast-custom-button, .ast-builder-menu-1 .menu-item > .menu-link{font-size:16px !important;}
}
@media (min-width:1257px) and (max-width:1296px){
.ast-header-button-1 .ast-custom-button, .ast-header-button-2 .ast-custom-button, .ast-builder-menu-1 .menu-item > .menu-link{font-size:17px !important;}
}
@media (min-width:1297px){
.ast-header-button-1 .ast-custom-button, .ast-header-button-2 .ast-custom-button, .ast-builder-menu-1 .menu-item > .menu-link{font-size:18px !important;}
}

*/


#content .ast-container{max-width:100%;padding:0;}
.ast-separate-container .ast-article-single{padding:0 !important;}
.ast-separate-container #primary{margin:0 !important;}
.espsup{padding-top:100px;}
.espinf{padding-bottom:100px;}
.espizq{padding-left:50px;}
.espder{padding-right:50px;}
.espacio-titulo{margin-bottom:30px !important;}
.separador{margin-bottom:50px !important;}
@media (max-width:767px){
.espsup{padding-top:50px;}
.espinf{padding-bottom:50px;}
.espacio-titulo{margin-bottom:20px !important;}
.ast-separate-container #content .ast-container {padding-left: 0;padding-right:0;}
}
@media (min-width:768px) and (max-width:1024px){
.espsup{padding-top:75px;}
.espinf{padding-bottom:75px;}
.espacio-titulo{margin-bottom:25px !important;}
.ast-separate-container #content .ast-container {padding-left: 0;padding-right:0;}
}

h2 strong{font-weight:600;color:#2F5C8F;}  
p{margin-bottom:20px;}
p:last-child{margin-bottom:0;}
.subtitulo p{font-size:14px;line-height:22px;color:#2F5C8F;margin-bottom:0 !important;} 



/* Tratamientos */
#titulo .col1{width:40%;}
#titulo .col2{width:60%;padding-left:50px;}
#titulo .col2 img{width:100%;}
#titulo h1{margin-bottom:30px;font-size:50px;line-height:60px;}
#titulo img{box-shadow: 3px 3px 10px 0px rgba(0, 0, 0, 0.5);}
#objetivos h2{text-align:centeR;margin-bottom:30px;}
#objetivos p{max-width:1000px;margin:0 auto;text-align:center;margin-bottom:20px;}
#objetivos p:last-child{margin-bottom:0 !important;}
#objetivos h3{margin-top:30px;text-align:center;margin-bottom:30px;font-size:25px;line-height:35px;} 
#tratamientos h2{max-width:1000px;margin:0 auto;text-align:center;margin-bottom:30px;}
#tratamientos p{max-width:1000px;margin:0 auto; margin-bottom:20px;text-align:center;}
#tratamientos .caja{background-color:#F5F7FA;padding-top:30px;padding-bottom:30px;padding-left:15px;padding-right:15px;border-radius:30px;}
#tratamientos .caja:hover{box-shadow: 3px 3px 10px 0px rgba(0, 0, 0, 0.5);}
#tratamientos h3, #tratamientos h4{font-size:24px;line-height:32px !important;text-align:center;margin-top:15px !important;margin-bottom:15px !important;font-weight:600;} 
#tratamientos .caja p{font-size:16px !important;line-height:24px !important;margin-bottom:20px !important;text-align:center;}
#tratamientos .caja p:last-child{margin-bottom:0 !important;}
#tratamientos .otros h3{text-align:centeR;margin-bottom:30px !important;}
#doctor .col1{width:50%;padding-right:50px;}
#doctor .col2{width:50%;}
#doctor h2{margin-bottom:20px;}
#doctor h2 strong{color:#A7A9AC;}
#doctor img{box-shadow: 3px 3px 10px 0px rgba(0, 0, 0, 0.5);border-radius:50px;}
#doctor figcaption{font-size:15px;line-height:22px;padding-top:5px;}
#doctor figcaption a{color:#FFFFFF !important;}
#doctor figcaption a:hover{color:#B1B2B5 !important;} 
#doctor p, #doctor h2{color:#FFFFFF;}
#doctor .boton a{background-color:#B1B2B5;color:#1A1D29;}
#doctor .boton a:hover{background-color:#7D8491;color:#FFFFFF;}
#testimonios h2, #faq h2{text-align:center;margin-bottom:30px;}
#faq summary.e-n-accordion-item-title {background-color: #FFFFFF;}
#faq summary.e-n-accordion-item-title:hover, #faq .e-n-accordion-item[open]   .e-n-accordion-item-title {background-color: #3D3F4A;}
#faq summary.e-n-accordion-item-title h3{font-size:20px;line-height:30px;color:#1A1D29;}
#faq summary.e-n-accordion-item-title:hover h3, #faq .e-n-accordion-item[open]   .e-n-accordion-item-title h3{color:#FFFFFF;}
#faq li{margin-bottom:10px;}
#faq li:last-child{margin-bottom:0px;}
#faq .e-con-full.e-flex.e-con.e-child{background-color:#FFFFFF;padding-left:15px!important;padding-right:15px !important;padding-top:20px;padding-bottom:20px;}
#blog h2{text-align:center;margin-bottom:30px;}
#blog .elementor-post__text {padding-left: 15px !important;padding-right: 15px !important;text-align: center;}
#blog h3 a{color:#1A1D29 !important;}
#blog h3 a:hover{color:#7D8491 !important;}
#contacto h2{text-align:center;margin-bottom:30px;}
#contacto .h3 p{text-align:center;margin-bottom:30px !important;font-size:25px;line-height:35px;font-weight:600;}
#contacto p{max-width:1000px;margin:0 auto;margin-bottom:20px;text-align:center;}
#contacto .col1{width:60%;}
#contacto .col2{margin-left:5%;width:35%;padding-top:50px;padding-lefT:30px;padding-right:30px;padding-bottom:50px;}
#contacto div#gform_wrapper_1, #contacto div#gform_wrapper_5 {margin-top: 30px;} 
#contacto div#gform_fields_1, #contacto div#gform_fields_5 {grid-row-gap: 15px;}  
#contacto .gform-theme--foundation .gfield input, #contacto textarea, .gform-theme--foundation .gfield select{border-radius:15px !important;}
#contacto div#gfield_consent_description_1_12, #contacto div#gfield_consent_description_5_12 {padding: 0;border: none;}
#contacto .gform-footer.gform_footer.top_label {margin-top: 10px;}
#contacto input#gform_submit_button_1, #contacto input#gform_submit_button_5 {border-radius: 30px;font-size: 18px;min-width: 200px;margin: 0 auto;padding-top: 10px;padding-bottom: 10px;background-color:#3D3F4A;}
#contacto input#gform_submit_button_1:hover, #contacto input#gform_submit_button_5:hover{background-color:#7D8491;color:#FFFFFF;} 
#exito h2{text-align:center;margin-bottom:30px;} 
.carrusel img{border-radius:50px;}
.caja2, .caja3{background-color:#FFFFFF;margin-top:50px;border-radius:50px;padding:50px !important;box-shadow: 3px 3px 10px 0px rgba(0, 0, 0, 0.5);}
.caja2 .col1{text-align:left;width:300px;}
.caja2 .col2{width:calc(100% - 300px);padding-left:50px !important;}
.caja3 .col2{text-align:left;width:300px;}
.caja3 .col1{width:calc(100% - 300px);padding-right:50px !important;;}
#tratamientos .caja2 h3, #tratamientos .caja3 h3{margin-bottom:20px !important;text-align:left  !important;margin-top:0 !important;}
#tratamientos .caja2  p:last-child, #tratamientos .caja3 p:last-child{margin-bottom:0px !important;}
.caja2 p, .caja3 p{text-align:left !important;}



@media (max-width:767px){
#titulo .col1 {width:100%;}
#titulo .col2{width:100%;padding-left:0;padding-top:30px;}
#titulo h1, #titulo p{text-align:center;}
#titulo h1{font-size:38px;line-height:48px;}
#doctor .col1{width:100%;padding-right:0;padding-bottom:20px;}
#doctor h2{text-align:center;}
#doctor .col2{width:100%;}
#contacto{padding-bottom:0;}
#contacto.e-flex.e-con-boxed.e-con.e-parent {padding-left: 0 !important;padding-right:0 !important;}
#contacto h2, #contacto p, #contacto h3{padding-left:15px;padding-right:15px;}
#contacto .col1{width:100%;padding-left:15px;padding-right:15px;}
#contacto .col2{width:100%;margin-lefT:0;margin-top:30px;}
#contacto h2, #contacto p{padding-left:15px;padding-right:15px;}
.caja2, .caja3{padding-left:15px !important;padding-right:15px !important;padding-top:30px !important;padding-bottom:30px !important;}
.caja2 .col1, .caja3 .col2{width:100%;}
.caja2 .col2, .caja3 .col1{width:100%;padding-left:0 !important;padding-top:30px !important;padding-right:0 !important;}
#tratamientos .caja2 h3, #tratamientos .caja3 h3, #tratamientos .caja2 p, #tratamientos .caja3 p{text-align:center !important;}
}

@media (min-width:768px) and (max-width:1024px){
#titulo .col1{width:100%;}
#titulo h1, #titulo p{text-align:center;}
#titulo .col2{padding-top:30px;padding-left:0;width:100%;}
#titulo h1{font-size:42px;line-height:50px;}
#doctor .col1{width:100%;padding-right:0;padding-bottom:30px;}
#doctor .col2{width:100%;}
#doctor h2{text-align:center;}
#contacto{padding-bottom:0;}
#contacto.e-flex.e-con-boxed.e-con.e-parent {padding-left: 0 !important;padding-right:0 !important;}
#contacto .col1, #contacto h2, #contacto p{width:100%;padding-left:50px;padding-right:50px;}
#contacto .col2{width:100%;margin-left:0;padding-left:50px;padding-right:50px;margin-top:50px;}   
.caja2 .col1,.caja3 .col2{width:100%;padding-bottom:30px;}
.caja2 .col2, .caja3 .col1{width:100%;padding-left:0 !important;padding-top:30px !important;padding-right:0 !important;}
#tratamientos .caja2 h3, #tratamientos .caja3 h3, #tratamientos .caja2 p, #tratamientos .caja3 p{text-align:center !important;}
}
/* Fin Tratamientos */



#contenido-blog .elementor-posts--thumbnail-top .elementor-post__thumbnail__link, #contenido-blog .elementor-posts .elementor-post__card .elementor-post__excerpt{margin-bottom:15px !important;}
#contenido-blog h3.elementor-post__title {text-align: center;margin-bottom: 15px !important;}
#contenido-blog .elementor-post__excerpt p {text-align: center;}
#contenido-blog span.elementor-post-date {float: right;}
#contenido-blog span.elementor-post-author {float: left;}
#contenido-blog a:hover{color:#7D8491;}
#contenido-blog nav.elementor-pagination {margin-top: 30px;}
#contenido-blog span.page-numbers.current, a.page-numbers, a.page-numbers:hover {color: #000000;background-color: #7D8491;padding-left: 10px;padding-right: 10px;padding-top: 5px;padding-bottom: 5px;border-radius: 50%;min-width: 35px !important;display: inline-block;font-weight:700 !important;}
#contenido-blog a.page-numbers {background-color: #000000;color: #FFFFFF;}
#contenido-blog a.page-numbers:hover{background-color: #7D8491 !important;color:#000000 !important;}