/**
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
*/


body{max-width:1920px;min-width:300px;margin:0 auto;}

.site-primary-header-wrap .site-logo-img img{width:auto !important;height:60px !important;}

@media (min-width:1025px) and (max-width:1499px){
.site-primary-header-wrap.ast-builder-grid-row-container.site-header-focus-item.ast-container {padding-left: 50px;padding-right: 50px;}
}
@media (min-width:1500px){
.site-primary-header-wrap.ast-builder-grid-row-container.site-header-focus-item.ast-container {max-width:1400px;}
}




.elementor-column-gap-default>.elementor-column>.elementor-element-populated {padding: 0px;}
.entry-content p, .site-content p{margin-bottom:20px;text-align:justify;}
p:last-child{margin-bottom:0 !important;}
.espsup{padding-top:100px;}
.espinf{padding-bottom:100px;}
.espizq{padding-left:50px;}
.espder{padding-right:50px;} 
@media (max-width:767px){
.espinf{padding-bottom:50px;}
.espsup{padding-top:50px;}
.espder{padding-right:0;}
.ast-container{padding-left: 0;padding-right: 0;}
.bloque-interno, .ast-container section{padding-left:15px;padding-right:15px;}
.ast-container section section {padding-left: 0;padding-right: 0;}
.elementor-section-full_width{padding-left:0 !important;padding-right:0 !important;}
}
@media (min-width:768px) and (max-width:1024px){
.espinf{padding-bottom:75px;}
.espsup{padding-top:75px;}
.ast-container{padding-left: 0;padding-right: 0;}
.bloque-interno, .ast-container section{padding-left:50px;padding-right:50px;}
.elementor-section-full_width{padding-left:0 !important;padding-right:0 !important;}
}
@media (min-width:1025px){      
.ast-container {max-width:1400px;}
.main-header-menu .sub-menu {width: 360px;}
}
@media (min-width:1025px) and (max-width:1499px){
.ast-container{padding-left: 0;padding-right: 0;max-width:100%;	}
.bloque-interno, .ast-container section{padding-left:50px;padding-right:50px;}
.elementor-section-full_width{padding-left:0 !important;padding-right:0 !important;}
}
@media (min-width:1500px) and (max-width:1920px){
.ast-container{padding-left: 0;padding-right: 0;max-width:100%;	}
.elementor-section-full_width{padding-left:0 !important;padding-right:0 !important;}
}


/* Textos Legales */
#titulo-legal h1{font-weight:400;text-align:center;padding-top:50px;}
#contenido-legal ul, #contenido-legal ol{margin-bottom:20px;}
#contenido-legal ol ul{margin-top:10px;margin-bottom:10px;}
#contenido-legal p, #contenido-legal lis{text-align:justify;}
#contenido-legal li{margin-bottom:10px;text-align:justify;}
#contenido-legal h3{margin-bottom:20px !important;}
#contenido-legal a{font-weight:700;}
#contenido-legal thead th{color:#FFFFFF;background-color:#A5586C;}
#contenido-legal tbody th{color:#FFFFFF;background-color:#A5586C;vertical-align:top;text-align:left;}
#contenido-legal tbody td{text-align:justify;}


/* Blog */
#titulo-blog h1{font-weight:400;text-align:center;padding-bottom:10px;}
#titulo-blog{font-weight:400;text-align:center;padding-top:30px;padding-bottom:30px;} 

/* Contenido Blog */
#cabecera-principal{padding-top:150px;padding-bottom:50px;}
#cabecera-principal h1{font-size:50px;line-height:60px;text-align:center;margin-bottom:20px;font-weight:700;}

#contenido-blog{padding-bottom:100px;padding-top:50px;}
#contenido-blog h2{font-size:50px;line-height:65px;margin-bottom:30px !important;}
#contenido-blog .elementor-posts--thumbnail-top .elementor-post__thumbnail__link {margin-bottom: 0;}
#contenido-blog .elementor-posts .elementor-post__card .elementor-post__text {padding: 0 15px;margin-bottom: 15px;margin-top: 15px;}
#contenido-blog .elementor-posts .elementor-post__card .elementor-post__title{text-align:center;margin-bottom:15px;}
#contenido-blog .elementor-posts .elementor-post__card h3.elementor-post__title a{font-weight:700;}
#contenido-blog .elementor-post__excerpt {margin-bottom: 0 !important;}
#contenido-blog .elementor-post__excerpt p {text-align: justify;}
#contenido-blog .elementor-post__meta-data {padding-left: 15px;padding-right: 15px;}
#contenido-blog span.elementor-post-date {float: right;}
#contenido-blog .elementor-posts .elementor-post__badge{background-color:#D6B46A;color:#000000;}
#contenido-blog nav.elementor-pagination {margin-top: 30px;}
#contenido-blog span.page-numbers.prev, #contenido-blog span.page-numbers.next{visibility:hidden;}
#contenido-blog a.page-numbers {background-color:#D6B46A;color: #000000;border-radius: 20px;width:38px;height:38px;text-align: center;display: inline-block;padding-top:5px;font-weight:600;}
#contenido-blog span.page-numbers.current{background-color:#000000;color: #D6B46A;border-radius: 20px;width:38px;height:38px;text-align: center;display: inline-block;padding-top:5px;font-weight:600;}
#contenido-blog a.page-numbers.prev{float: left;padding-left: 15px;padding-right:15px;padding-top: 5px;padding-bottom: 5px;border-radius:20px;width:auto;height:auto;font-weight:600;background-color:#D6B46A;color:#000000;}
#contenido-blog a.page-numbers.next{float: right;background-color: #D6B46A;color: #000000;padding-left: 15px;padding-right: 15px;padding-top: 5px;padding-bottom: 5px;font-weight:600;border-radius: 20px;width:auto;height:auto;}
#contenido-blog a.page-numbers:hover{background-color:#000000;color:#D6B46A;}  
#contenido-blog .elementor-button-wrapper a {border-radius: 30px;}
@media (max-width:767px){
	#contenido-blog{padding-bottom:50px;}
	#contenido-blog .page-numbers.prev, #contenido-blog .page-numbers.next{width:0;display:none;}
}
@media (min-width:768px) and (max-width:1024px){
	#contenido-blog{padding-bottom:75px;}
}
@media (min-width:1025px) and (max-width:1399px){
	#contenido-blog{padding-left:50px;padding-right:50px;}
}
@media (min-width:1025px) and (max-width:1199px){
.elementor-grid-3 .elementor-grid {grid-template-columns: repeat(2, 1fr);}
}
/* Búsqueda Cabecera */
div#ast-search-form, .ast-live-search-results a.ast-search-item:hover {background-color: #00C2EF;}
/* Breadcrumbs */
#breadcrumbs{margin-top:20px;color:#FFFFFF;font-size:15px;}
#breadcrumbs p{text-align:center;}
#breadcrumbs p a{color:#FFFFFF;font-weight:700;}
#breadcrumbs p a:hover{color:#d6b46a;}