/**
Theme Name: CW.Optimized.07
Author: ComunicaWeb
Author URI: https://comunica-web.com
Description: CW-Optimized es un Wordpress theme optimizado para generar negocio en internet
Ligero y con una gran experiencia de uso para el usuario. Carga muy rápido y tiene excelentes valoraciones en herramientas de medición y test de velocidad.

Hiper-optimizado para generar más tráfico desde Google y mejorar el posicionamiento en buscadores: contiene integrado códigos schema.org para facilitar las tareas de indexación y mejorar la visibilidad en las SERP.

Con la conversión y la venta como base de su diseño. Se han cuidado todos los detalles para incrementar los ratios de conversión
Version: 3.2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cw-optimized-07
Template: astra
*/

/*Evita el subrayado por defecto al clicar*/
a:focus {outline: none !important;}

/*Clase para subrayar link en párrafo*/
.pasubrayado a{text-decoration:underline !important;}

/*Footer------------*/
/*Oculta los títulos de los menús en el footer*/
.footer-widget-area > .widget_nav_menu > .widget-title{display:none !important;}

/*Ancho máximo de la primera columna del footer*/
.site-primary-footer-wrap .site-footer-section-1{max-width: 400px !important;}

/*Ajuste para que los iconos de los "listados de iconos" se alineen verticalmente bien*/
.wp-block-uagb-icon-list > .uagb-icon-list__wrap > .wp-block-uagb-icon-list-child > span > svg{top: 4px !important;position: relative !important;}

/*Modificar márgenes inferiores creados por defecto en encabezados*/
.entry-content :where(h1,h2,h3,h4,h5,h6) {margin-bottom: 5px;}

/*Título de compartir en redes de los posts*/
.ast-post-social-sharing h3{font-size:18px;margin-top:20px;margin-bottom:0px !important;}

/*Ajustes de la barra lateral: bordes y espacios*/
@media (min-width: 993px) {.ast-right-sidebar #secondary {padding-left: 52px;}}
.ast-right-sidebar #secondary {border-left: 0px solid #0000ff00;}
@media (min-width: 922px) {.ast-right-sidebar #primary {border-right: 1px solid var(--ast-global-color-3);}}

/*Ajustes formulario CF7*/
.wpcf7-list-item{display: inline-block;margin: 0em;}
form br{height:10px;}
.form-field input, select, textarea{font-size: 15px;border-color: var(--ast-global-color-2) !important;}

/*Sombra que proyecta la cabecera*/
.main-header-bar {box-shadow: 0px 0px 100px #00000014;}

/*Ajuste de color claro para textos del footer*/
footer a, footer p{color: var(--ast-global-color-7);}
footer .wp-block-uagb-icon-list-child .uagb-icon-list__source-wrap svg, footer .wp-block-uagb-icon-list-child .uagb-icon-list__label{color: var(--ast-global-color-7) !important;fill: var(--ast-global-color-7) !important;}
.site-below-footer-wrap p, .site-below-footer-wrap a{color: var(--ast-global-color-3) !important;}
.site-below-footer-wrap a:hover{color: var(--ast-global-color-0) !important;}

/*Ajuste de espacios en página servicios*/
@media (min-width: 1200px) {.page-id-85 #primary {margin-top: 0px !important;margin-bottom: 0px !important;}}

/*Ajustes visuales en módulo de entradas en home*/
.uagb-post__text.uagb-post-grid-byline{display: flex !important;}
.uagb-post-grid .uagb-post__date:not(:last-child):after{content:"/" !important;}
.uagb-post-grid .uagb-post-grid-byline>* {margin-right: 4px !important;}
.uagb-post__text.uagb-post-grid-byline a:hover{color: var(--ast-global-color-0) !important;}

/*Subrayado menú principal de página seleccionada*/
.ast-desktop .ast-menu-hover-style-underline > .menu-item.current-menu-item > .menu-link:before,.ast-desktop .ast-menu-hover-style-overline > .menu-item.current-menu-item > .menu-link:before {width: calc(100% - 1.2em);background-color: currentColor;transform: scale(1,1) translate(50%,0);}

/*Efectos en grid de entradas*/
.uagb-post__inner-wrap:hover .uagb-post__title, article.post:hover .entry-title.ast-blog-single-element {text-decoration: underline;}
.uagb-post__inner-wrap:hover img, article.post:hover img {opacity: .95;}
/*.wp-block-uagb-post-grid.uagb-post-grid article .uagb-post__image a{max-height:210px !important;}*/

/*Border redondeado en las imágenes de las entradas*/
.ast-single-post-featured-section{border-radius: 7px;overflow: hidden;}
.ast-related-post-featured-section{border-radius: 7px;overflow: hidden;}

/*Estradas relacionadas efecto subrayar título al hacer hover*/
.ast-single-related-posts-container .ast-related-post:hover .ast-related-post-title{text-decoration:underline;}


/*RESPONSIVE--------------------------------------------------------------------------------------------------------------------------------*/
@media only screen and (max-width: 976px) {
	/*Clase para evitar márgenes por defecto creados en los grid de entradas*/
    .is-grid .uagb-post__inner-wrap .uagb-post__image:first-child {
		margin-left: -20px !important;
		margin-right: -20px !important;
		margin-top: -20px !important;
    }
	/*Clase para invertir orden en tablet y movil*/
	.invertorder > .uagb-container-inner-blocks-wrap > .wp-block-uagb-container:first-child{order:1;}
}

@media (min-width: 922px) {
	/*Cambiar el color de la línea divisoria de la barra lateral*/
    .ast-right-sidebar #secondary {
        border-left: 1px solid #ebebeb !important;
    }
	
	/*Quitar el margen negativo por defecto de la portada de las entradas*/
	.ast-right-sidebar .site-content .ast-article-image-container--wide{
        margin-left: 0px !important;
        margin-right: 0px !important;
    }
}

@media (max-width: 921px) {
	/*Alinear contenido a la izquierda en Footer en las versiones responsive*/
    .footer-widget-area[data-section="sidebar-widgets-footer-widget-1"].footer-widget-area-inner, .footer-widget-area[data-section="sidebar-widgets-footer-widget-2"].footer-widget-area-inner, .footer-widget-area[data-section="sidebar-widgets-footer-widget-3"].footer-widget-area-inner {
        text-align: left !important;
		margin-bottom:30px !important;
    }
	/*Alinear iconos sociales a la izquierda en Footer en las versiones responsive*/
    [data-section="section-fb-social-icons-1"] .footer-social-inner-wrap {
        text-align: left !important;
    }
	/*Espacio de margen exterior en la página de entradas*/
	.blog .site-content{
		padding: 10px !important;
	}
}

@media only screen and (max-width: 767px) {
	/*Clase para evitar márgenes por defecto creados en los grid de entradas*/
	.is-grid .uagb-post__inner-wrap .uagb-post__image:first-child {
		margin-left: -20px !important;
		margin-right: -20px !important;
		margin-top: -20px !important;
	}
	
	/*Espacio lateral extra en la barra lateral */
	.widget-area.secondary{
		padding-left:10px !important;
		padding-right:10px !important;
	}
}

@media (max-width: 544px) {
	/*Alinear iconos sociales a la izquierda en Footer en las versiones responsive*/
    [data-section="section-fb-social-icons-1"] .footer-social-inner-wrap {
        text-align: left !important;
    }
	
	/*Espacio extra entre las columnas del footer en versión móvil*/
    .site-primary-footer-wrap[data-section="section-primary-footer-builder"].ast-footer-row-mobile-stack .site-footer-section {
        display: block;
        margin-bottom: 30px !important;
    }	
}

/*Eliminar cabecera en la páina 404*/
.error404 .ast-archive-entry-banner {
    display: none !important;
}

/*Ajustes para teléfono activo solo en móvil*/
.uagb-icon-list__wrap{
	cursor:text !important;
}
@media (min-width: 600px){
	.solomovil{
		pointer-events: none !important;
		cursor:text !important;
	}	
}

/*Espacio extra lateral en las portadas de noticias para ajustarse al ancho del texto*/
header.entry-header:not(.related-entry-header) .post-thumb img, .ast-single-post-featured-section.post-thumb img {
    padding: 0px 20px !important;
}

@media (max-width: 921px) {
    .blog.ast-plain-container #primary {
        margin-top: 2.3em !important;
        margin-bottom: 1.5em;
    }
}
.grecaptcha-badge { visibility: hidden; }


/*Blur cabecera*//*
.ast-stick-primary-below-wrapper .main-header-bar-wrap .main-header-bar{
	background: transparent !important;
        backdrop-filter: blur(15px) !important;
}
*/

/*Blur sobrecabecera*//*
.ast-above-header-bar{
        backdrop-filter: blur(15px) !important;
}
*/

/*Espacios titulares*/
h3{
	margin-top: var(--wp--preset--spacing--20) !important;
    margin-bottom: var(--wp--preset--spacing--50) !important;
}





/*Quitar sombrita blanca*/
.main-header-bar {
    box-shadow: none !important;
}

.ast-primary-sticky-header-active .main-header-bar-wrap .main-header-bar{
	background: var(--ast-global-color-0) !important;
    backdrop-filter: blur(0px) !important;
	box-shadow: #0000009e 0px 0px 20px !important;
}




.wp-block-uagb-icon-list a{
	z-index: 9999999;
}

#block-18 .wp-block-uagb-icon-list>.uagb-icon-list__wrap>.wp-block-uagb-icon-list-child>span>svg {
    top: 0px !important;
    position: relative !important;
}







.listadoproductos.is-grid .uagb-post__inner-wrap .uagb-post__image:first-child {
    margin-left: 0px !important;
    margin-right: 0px !important;
    margin-top: 0px !important;
}

.listadoproductos .wp-block-button__link.uagb-text-link{
	border: none !important;
	box-shadow: none;
	border-bottom: 2px solid white !important;
    padding-bottom: 5px !important;
}

.listadoproductos article:hover .wp-block-button__link.uagb-text-link{
	border-bottom: 2px solid var(--ast-global-color-0) !important;
}


.listadoproductos .uagb-post__image img{
	border-bottom: 5px solid var(--ast-global-color-0) !important;

}

.listadoproductos .uagb-post__image a{
	background-color: var(--ast-global-color-0) !important;
}






.uagb-post__inner-wrap:hover .uagb-post__title, article.post:hover .entry-title.ast-blog-single-element {
    text-decoration: none !important;
	opacity:1;
}

.uagb-post__inner-wrap:hover img, article.post:hover img {
    opacity: .5 !important;
}



.tituloconpunto img{
	  float: left;
    position: relative;
    top: -7px;
    margin-right: 20px;
}

.widget_nav_menu ul.menu{
	    display: grid;
	    row-gap: 7px !important;
	margin-bottom:40px;
}


.uagb-post__text.uagb-post__excerpt{
	    text-align: justify;    
    hyphens: auto;
    overflow-wrap: break-word; 
}


.ast-builder-menu-1 .sub-menu, .ast-builder-menu-1 .inline-on-mobile .sub-menu {
    border-top-width: 0px !important;
}


.widget_nav_menu #menu-principal .menu-item-has-children > a{
	display:none !important;
}

.widget_nav_menu ul ul.sub-menu li {
    padding-left: 0px !important;
}


/*Transición*/

/*
.seccionseguro .imagenproducto {
  transition: transform 0.7s ease;
}

.seccionseguro:hover .imagenproducto {
  transform: scale(1.05);
}



.overflowhidden{
	overflow:hidden !important;
	display:inline !important;
}

.overflowhidden figure{
	display:inline !important;
}

*/

/*
.seccionseguro .columnaimagen{
	background-size: 100%;
  transition: background-size 0.5s ease;
}

.seccionseguro:hover .columnaimagen{
	transition: background-size 1.5s ease, background-position 1.5s ease;
	background-size: 101%;
}
*/

.seccionseguro p a{
	text-decoration:none !important;
	padding-bottom:5px;
}

.seccionseguro:hover p a{
	border-bottom:1px solid var(--ast-global-color-0) !important;
}

@media (max-width: 1400px) {
.fondo-linea{
	background: white !important;
}
	
	.fondo-linea-gris{
	background: #f9f6fe !important;
}
	
	}




@media (max-width: 919px) {
.seccionseguro.inversa > div > div:nth-child(2){
	order: -1;
}
	
	}



.listadoproductos article{
	display: flex !important;
	flex-direction: column !important;
}

.listadoproductos article .wp-block-button{
	margin-top: auto !important;
}

.justificartexto {
    text-align: justify;
    hyphens: auto;
    overflow-wrap: break-word;
}


.main-header-menu .sub-menu {
    width: 300px;
}

@media (max-width: 1480px) {
.main-header-menu .sub-menu {
    width: 240px !important;
}}

.main-header-menu .sub-menu .menu-link{
	padding: 0em 1.5em 1.5em 1.5em;
}

.main-header-menu .sub-menu li:first-child .menu-link{
	padding-top: 1.5em !important;
}

.blog article.post{
	padding:16px;
	border:1px solid white !important;
}

.blog article.post:hover{
	border:1px solid var(--ast-global-color-0) !important;
}

.blog article.post .post-thumb-img-content{
	background-color:var(--ast-global-color-0) !important;
    border-bottom: 5px solid var(--ast-global-color-0) !important;
}


.blog article.post .ast-article-inner {
    padding: 0em;
}

.blog article.post:hover .read-more{
		margin-bottom:0px !important;
}

.blog article.post:hover .read-more > a{
		border-bottom:1px solid var(--ast-global-color-0) !important;
}

.site-logo-img, .site-logo-img a{
	display:flex !important;
}

.site-logo-img a:hover img{
	opacity:0.8 !important;
}

#ast-mobile-header .content-align-flex-start {
    max-height: 80vh !important;
    overflow: auto;
}

.ast-menu-toggle {
    border-style: none !important;
}

.ast-menu-toggle:focus {
    outline: none!important;
}





@media (max-width: 990px) {
.ast-container {
    padding-left: 0px !important;
    padding-right: 0px !important;
}
	
	.main-header-menu .sub-menu {
        width: 100% !important;
    }
	
	.main-header-menu .sub-menu li:first-child .menu-link {
    padding-top: 15px !important;
}
	
		.main-header-menu .sub-menu li:last-child .menu-link {
    padding-bottom: 15px !important;
			border-bottom-width: 1px !important;
    border-color: #eaeaea !important;
    border-style: solid!important;
}
	
	.sub-menu > .menu-item > a{
		    border-bottom-width: 0px !important;
	}
	
	.wp-block-separator{
		margin-top: 10px !important;
		margin-bottom: 30px !important;
	}
	
	
}

@media (max-width: 600px) {

.has-large-font-size {
    font-size: var(--wp--preset--font-size--large) !important;
    font-size: 24px !important;
}
	
	
	.tituloconpunto img {
    width: 38px !important;
    margin-right: 10px;
	}
	
	.mvordermenosuno{
		order:-1 !important;
	}
	
	.site-below-footer-wrap {
    padding: 20px !important;
}
	
	.secciondosseguros h2{
		font-size: 20px !important;
    line-height: 1.3em!important;
	} 
	
}


/*Título home*/
.titulohome{
	font-size:40px!important;
}

@media (max-width: 600px){
	.titulohome{
		font-size:36px !important;
	}	
}

@media (min-width: 1400px){
	.titulohome{
		font-size:24px !important;
		    letter-spacing: 0.1px !important;
	}	
}

.ast-button-wrap .menu-toggle:focus {
    outline: none !important;
}

input:focus, input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="password"]:focus, input[type="reset"]:focus, input[type="search"]:focus, input[type="number"]:focus, textarea:focus, .wp-block-search__input:focus, [data-section="section-header-mobile-trigger"] .ast-button-wrap .ast-mobile-menu-trigger-minimal:focus, .ast-mobile-popup-drawer.active .menu-toggle-close:focus, #ast-scroll-top:focus, #coupon_code:focus, #ast-coupon-code:focus {
    border-width: 0 !important;
}


.ast-above-header-bar .ast-builder-language-switcher .ast-builder-language-switcher-item > span:nth-child(2){
	display:none !important;
}

.ast-mobile-header-content{
	box-shadow: 0px 10px 10px #00000042 !important;
}


@media (min-width: 975px) and (max-width: 1660px){
	

.wp-block-uagb-container.seccionconlinea{
	background: linear-gradient(90deg, #84bdac 2%, rgba(255, 255, 255, .5) 2%) !important;
}
	
}


/*Ocultar banner WPML*/
.otgs-development-site-front-end{
	display:none !important;
}

