/*
Theme Name: Impreza Child
Template: Impreza
Version: 1.0
Author:	UpSolution
Theme URI: http://impreza.us-themes.com/
Author URI: http://us-themes.com/
*/

/*Add your own styles here:*/
html, body{
	overflow-x: hidden !important;
}
.cmplz-cookiebanner .cmplz-buttons {
    flex-direction: row-reverse;
}

.l-header.sticky .w-image.ush_image_1.header-logo {
	height: 8.1rem !important;
}

/* Cabecera */
.header-menu ul>li[id^="menu-item"]:nth-child(6){
	display: none !important;
}
@media screen and (width<=1390px){
	header div.w-image.header-logo{
		height: 6.2rem !important;
	}
}
@media screen and (1024px<=width<=1110px){
	header div.w-image.header-logo{
		height: 5rem !important;
	}
	
}

@media screen and (width<=1024px){
	.header-menu ul>li[id^="menu-item"]:nth-child(6){
		display: block !important;
	}
	header .contact-btn-header{
		display: none !important;
	}
}

header .w-image{
	height: 8.1rem !important;
    margin-right: auto !important;
}


/**************************************************
 * 
 * HOME
 * 
 * *************************************************/
/* Fila con recurso */
.resource-img{
	transform: rotate(120deg) scale(1.5);
    opacity: 0.3;
}

@media screen and (width<=600px){
	.advantages-grid>.w-grid-list>article.ventaja.w-grid-item{
		width: 100% !important;
	}
}

@media screen and (width<=1280px){
	.counter-wrapper .w-counter-title{
		font-size: 25px !important;
	}
	.counter-wrapper{
		gap: 2rem;
	}
}

/* Fila ventajas */
.advantages-grid>.w-grid-list>article:first-child, .advantages-grid>.w-grid-list>article:last-child{
	width: 110% !important;
}

.advantages-grid>.w-grid-list>article:first-child .w-vwrapper, .advantages-grid>.w-grid-list>article:last-child .w-vwrapper{
	background-color: #A8AED7 !important;
}

.advantages-grid>.w-grid-list>article:last-child{
	justify-self: end;
}

.advantages-grid>.w-grid-list>article:nth-child(2), .advantages-grid>.w-grid-list>article:nth-child(3){
	width: 90% !important;
	
}
.advantages-grid>.w-grid-list>article:nth-child(2){
	justify-self: right;
}
.advantages-grid>.w-grid-list>article:nth-child(3){
	justify-self: left;
}


/* Formulario contacto home */
.home-contact-form form{
	display: flex;
    flex-direction: column;
    gap: 0.5rem;
	width: 85%;
    margin: 0 auto;
}

.home-contact-form form label{
	font-size: 20px;
	font-weight: 700;
}

.home-contact-form form input, .home-contact-form form textarea{
	border-radius: 8px;
	background-color: #F6F6F6;
	border: none;
    box-shadow: unset;
}

.home-contact-form form .name-tel-row{
	display: flex;
	gap: 0.8rem;
}

.home-contact-form form input[type="submit"]{
	align-self: self-start;
    margin-top: 1rem;
}
.home-contact-form form textarea:focus{
	    outline: 2px solid #a8aed7 !important;
	background-color: white !important;
}


@media screen and (width<=390px){
	.home-contact-form form{
		width: 100%;
	}
	.home-contact-form form .name-tel-row{
		flex-direction: column;
	}
}


/* Fila blog home */
.wrapper-blog{
	display: grid;
    grid-template-columns: auto;
    grid-template-rows: 12rem 12rem;
}

.wrapper-blog>.w-vwrapper:last-of-type{
	align-items: self-start;
    justify-content: space-between;
}

.wrapper-blog>.w-vwrapper:last-of-type>a{
	width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
}

/* Páginas servicios */
.svg-icon{
	transition: 0.5s ease;
}

.svg-icon img{
	 filter: invert(69%) sepia(12%) saturate(400%) hue-rotate(190deg);
}
.treatments-row-page .w-grid .w-grid-list>article{
	transition: 0.3s ease;
}
.treatments-row-page .w-grid .w-grid-list>article:hover{
	transform: scale(1.05);
}

.resource-row h2, .resource-row .w-grid{
	position: relative;
	z-index: 2;
}
.what-row-page .styled-grid .w-grid-list>article:nth-child(1), .what-row-page .styled-grid .w-grid-list>article:nth-child(4){
	width: 110% !important;
}

.what-row-page .styled-grid .w-grid-list>article:nth-child(2), .what-row-page .styled-grid .w-grid-list>article:nth-child(3):has(~article){
	width: 90% !important;

}

.what-row-page .styled-grid .w-grid-list>article:nth-child(3){
	width: 205%;
}

.what-row-page .styled-grid .w-grid-list>article:nth-child(1) .w-vwrapper, .what-row-page .styled-grid .w-grid-list>article:nth-child(4) .w-vwrapper{
	background-color: #A8AED7 !important;
}

.what-row-page .styled-grid .w-grid-list>article:nth-child(1), .what-row-page .styled-grid .w-grid-list>article:nth-child(3){
	justify-self: left;
}

.what-row-page .styled-grid .w-grid-list>article:nth-child(2), .what-row-page .styled-grid .w-grid-list>article:nth-child(4){
	justify-self: right;
}

.faq-row-page h3{
	font-weight: 600 !important;
}

@media screen and (width<=1024px){
	.reasons-row .g-cols{
		flex-direction: column;
		gap: 2rem;
	}
	
	.reasons-row .g-cols>.wpb_column{
		width: 100%;
	}
	.reasons-row .resource-img{
		width: 37%;
		top: 0rem !important;
	}
}

@media screen and (width<=850px){
	.w-grid.styled-grid.type_grid .w-grid-list>article.w-grid-item{
		    width: 100% !important;
	}
}


/* *************************
 * 
 * Contacto
 * 
 ************************* */
.contact-form-page form label{
	font-family: Raleway,sans-serif;
}

.contact-form-page form label>span, .contact-form-page form textarea{
	margin-bottom: 1rem;
	border-radius: 8px;
}

.contact-form-page form input{
	border-radius: 8px;
}

.contact-form-page form label[for="aceptacion"]{
	display: block;
    width: fit-content;
	margin-left: auto;
}

.contact-form-page form label[for="aceptacion"]>span.wpcf7-form-control-wrap{
	display: inline-block !important;
}

.contact-form-page form input[type="submit"]{
	display: block;
    margin: 1rem auto;
}

.data-element{
	justify-content: space-between;
}

.contact-form-page .flex-row{
	display: flex;
    gap: 1rem;
}

@media screen and (width<=1280px){
	.w-hwrapper.data-element{
		flex-direction: column;
    	align-items: baseline;
    	gap: 3rem;
    	margin-top: 2rem;
	}
	
	.w-hwrapper.data-element>.w-vwrapper{
		width: 100%;
	}
} 


/* **********************
 * 
 * Página quiénes somos 
 * 
 * ********************/
.mission-row .w-vwrapper>.wpb_text_column{
	opacity: 0;
	transition: 0.5s ease;
}
.mission-row .w-vwrapper>.w-image{
	transition: 0.5s ease;
	position: absolute;
	bottom: 2rem;
}
.mission-row .w-vwrapper:hover>.wpb_text_column{
	height: auto;
	opacity: 1;
}
.mission-row .w-vwrapper:hover>.w-image{
	transform: rotate(180deg);
	bottom: -3.5rem;
}

.diferencias:hover>.w-grid-item-h>.w-vwrapper>.svg-icon{
	transform: scale(1.2);
}
/*
.trabajadores .w-post-elm.post_content{
	height: 0;
    opacity: 0;
	transition: .3s ease;
}

.trabajadores:hover .w-post-elm.post_content{
	height: 25rem;
	opacity: 1;
}*/

.trabajadores .post_title>i{
	font-size: 25px;
    vertical-align: baseline;
}

@media screen and (width<=1024px){
	.first-styled-square-row .g-cols{
		flex-direction: column;
		margin: 0 !important;
	}
	.second-styled-square-row .g-cols{
		flex-direction: column-reverse;
		margin: 0 !important;
	}
	
	.first-styled-square-row .g-cols .wpb_column, .second-styled-square-row .g-cols .wpb_column{
		width: 100%;
		margin: 0 !important;
	}
}

@media screen and (width<=1250px){
	.about-differences-row .g-cols{
		flex-direction: column;
		gap: 2rem;
	}
	.about-differences-row .g-cols>.wpb_column{
		width: 100%;
	}
	.about-differences-row .resource-img{
		width: 40%;
		top: 0rem !important;
	}
}

/* Footer */
@media screen and (width<=1200px){
	footer p.vc_custom_heading{
		font-size: 20px !important;
	}
	footer span.w-text-value, footer li[id^="menu-item"]>a, footer .wpb_text_column p{
		font-size: 16px;
	}
}

@media screen and (width<=1024px){
	footer .main-row .g-cols{
		flex-direction: column;
		gap: 2rem;
	}
	footer .main-row .g-cols>.vc_column_container{
		width: 100% !important;
	}
	.column-data{
		flex-direction: row !important;
		flex-wrap: wrap;
		justify-content: center;
	}
	.menu-data{
		justify-content: center;
	}
	
}

@media screen and (width<=450px){
	footer .footer-img{
		width: 80% !important;
	}
	.menu-data{
		flex-direction: column;
    	gap: 2rem;
	}
}
