/*
Theme Name: Agrinaco Child
Theme URI: https://www.agrinaco.es
Author: veovirtual.com
Author URI: https://www.veovirtual.com
Template: agrinaco
Version: 060524
*/
/*-------- Layout ----------*/
.has_content .the_content_wrapper {margin-bottom: 0;}
.the_content_wrapper {margin: 0; width: 100%;}
.alignleft {margin: 0; margin-inline-end: 0 !important;}
#Error_404 .error_desk p .button{display:inline-block;}
#bloque-parallax{overflow:hidden; max-width: 100%!important; position:relative;}
#bloque-parallax .contenido-parallax{position:relative; z-index:2;}
a.wp-block-button__link{transition:all .3s ease-in-out;}
a.wp-block-button__link:hover{text-decoration:none; filter: brightness(130%);}
.single-portfolio .share-simple-wrapper{padding:15px 5%;}
.subheader-both-center #Subheader .breadcrumbs {position: relative; z-index: 1;}
#galeria-producto figure.wp-block-image{transition:all .3s ease-in-out;}
#galeria-producto figure.wp-block-image:hover {transform: scale(1.03); filter: brightness(110%);}

/* Header */
#Action_bar .contact_details {display:flex; gap: 35px;}
#Top_bar{box-shadow: 0 10px 10px rgb(0 0 0 / 11%); top: 0px; position: relative !important;}
.logo-main{margin-top:-24px;}

/* Home */
#inicio-cabecera{background-color: #e3e2e2; display: flex;}
#inicio-cabecera > div{padding:20%;}

#productos-home{background-color:#fff;}
#productos-home h2{font-size: 1.75em; line-height: 1.3em; letter-spacing: 0.1em; border-bottom: solid 1px #d9d9d9; padding-bottom: 20px;}
#productos-home h2 strong{color: #328f25; font-size:1.2em;}

#mantenimiento-home > span{background-color:#000;}
#mantenimiento-home > div {padding:200px 0 160px;}
#mantenimiento-home h2{text-transform:uppercase; color:#fff; margin-bottom:60px;}

#vr-home{padding:5%;}

@media only screen and (min-width: 960px){
	#inicio-cabecera{width: 50%;}
}
@media only screen and (max-width: 959px){
	#inicio-cabecera{width: 100%;}
	.cabecera-inicio > div{display:flex; flex-direction:column-reverse; align-items:center; min-height:650px;}
	#inicio-cabecera > div {padding: 7%; text-align: center;}
	#inicio-cabecera .wp-block-buttons{justify-content:center;}
}
@media only screen and (max-width: 780px){
	#vr-home h2, #vr-home p{text-align:center;}
	#vr-home .wp-block-buttons{justify-content:center; text-align:center;}
}

/* Productos */
.portfolio-item .desc{text-align:center;}
.portfolio_group.grid .portfolio-item .desc .desc-wrapper{display:block; margin-right:0;}
/*.portfolio_group.grid.col-3 .portfolio-item{width:30%;}*/
@media only screen and (max-width: 767px){
	.portfolio_group .portfolio-item {width: 50% !important;}
}

/* Producto */
.single-portfolio .section-post-header{display:none;}
#cabecera-producto > div {padding:0 5%;}
#cabecera-producto .texto-producto > div {padding:10%;}
#cabecera-producto .texto-producto h2{color: #24510d; line-height: 1.1em; font-size: 3em;}
#cabecera-producto .texto-producto p strong{font-size: 1.5em; line-height: 1.1em; color: #4b8345;}
.video-producto iframe{width:100%; height:24em; margin-top:40px;}
.dosvideos{padding:5%;}
#galeria-producto > div {padding:10px;}
.descargas-producto > div {padding:10%;}
.contenido-descargas-producto > div {display: flex; align-items: center; justify-content: right;}
.descargas-texto{padding:5%;}
.descargas-texto h2{color:#fff; font-size: 4em; line-height: 1em;}
.botones-descargas{display:flex; gap:20px; align-items:center; margin-top:60px;}
.botones-descargas .boton a{background-color: #fff; font-size: 1.25em; line-height: 1.3em; padding: 10px 20px; border-radius: 4px; transition:all .3s ease-in-out;}
.botones-descargas .boton a:hover{text-decoration:none;}

@media only screen and (min-width: 960px){
	#cabecera-producto > div {display:flex;}
	#cabecera-producto > div > div {width:50%;}
	#cabecera-producto .imagen-producto figure{margin-top:-15%;}
	.descargas-texto{text-align:right; border-right:solid 2px #fff;}
}
@media only screen and (max-width: 959px){
	.contenido-descargas-producto > div {justify-content:center; flex-direction:column;}
	.descargas-texto{text-align:center; border-bottom:solid 2px #fff;}
	#cabecera-producto .imagen-producto figure{margin-top:-10%;}
	#cabecera-producto .texto-producto h2, #cabecera-producto .texto-producto p{text-align:center;}
	.botones-descargas{margin-bottom:40px;}
	.botones-descargas .boton{width:100%;}
}
@media only screen and (max-width: 580px){
	.video-producto iframe{height:16em;}
}
@media only screen and (max-width: 435px){
	.botones-descargas{flex-direction:column;}
	.botones-descargas .boton a{display:block;}
}

/* Nuestra Empresa */
.cabecera-empresa{margin-bottom:60px;}
.cabecera-empresa > div{padding:200px 0;}
.dos-columnas-empresa{margin-bottom:40px;}
#calidad{background-color: #fff; border-top: solid 3px #ebebeb;}
.titulo-calidad{border-bottom:solid 1px #dfdfdf;}
.titulo-calidad p{margin-bottom: 0; color: #afafaf;}
.texto-calidad h4 strong{color: #fff; background-color: #b77421; display: inline-flex; width: 33px; height: 33px; align-items: center; justify-content: center; border-radius: 50px; margin-right: 2px;}
.texto-calidad p{text-align: justify;}
@media only screen and (max-width: 780px){
	.dos-columnas-empresa{text-align:center; margin-bottom:60px;}
	.dos-columnas-empresa .wp-block-buttons{justify-content:center;}
}

/* Mantenimiento */
@media only screen and (max-width: 780px){
	#texto-mantenimiento h2{text-align:center;}
	#texto-mantenimiento p{text-align:justify;}
}

/* Footer */
#premios-footer{width: 100%; display: flex; justify-content: center; align-items: center; flex-wrap: wrap;}
#Footer .footer_copy { border-top: 0; background-color: rgb(0 0 0 / 5%); }
#Footer .footer_action {background-image: url(https://www.agrinaco.es/imagenes/fondo-360-2.jpg); background-position: center center; background-size: 100% auto; padding: 90px 0; background-attachment: fixed;}
#Footer .footer_action a{background-color: rgba(255, 255, 255, 0.82); padding: 10px 20px; font-size: 1.3em; border-radius: 7px;}
@media only screen and (max-width: 959px){
	#Footer .footer_action {background-image: url(https://www.agrinaco.es/imagenes/fondo-360.jpg); background-size:cover; background-attachment:inherit;}
}

/* Quitar botón recaptcha V3 de Google */
.grecaptcha-badge { visibility: hidden !important; }

/* CSS CookieYes */
.button-custom button:hover{background-color:transparent;}
.cky-footer-wrapper div[data-cky-tag="detail-powered-by"]{display:none !important;}
.cky-show-desc-btn, .cky-accordion-header .cky-always-active {color: #1E7432 !important;}
.cky-banner-element{cursor:pointer;}
.cky-btn{justify-content:center;}
@media only screen and (max-width: 959px) {
	body .cky-revisit-bottom-left {bottom: 70px;}
}

/* Responsive Comun */
@media only screen and (min-width: 1240px){
	body.page #Content .section_wrapper, body.single-portfolio #Content .section_wrapper{max-width: inherit;}
	.caja > div{max-width: 1240px; padding:3%; margin:0 auto;}
}
@media only screen and (max-width: 1239px){
	
}
@media only screen and (max-width: 1050px){
	#Top_bar .menu > li > a span:not(.description) {padding: 0 10px;}
}

@media only screen and (min-width: 960px) and (max-width: 1239px){
	body.page #Content .section_wrapper, body.single-portfolio #Content .section_wrapper{max-width:inherit; padding:0;}
	.caja > div{padding:3%; margin:0 auto;}	
	#Top_bar .container{max-width:inherit;}
}

@media only screen and (min-width: 768px) and (max-width: 959px){
	body.page #Content .section_wrapper, body.single-portfolio #Content .section_wrapper{max-width:inherit;}
	.caja > div{padding:3%; margin:0 auto;}	
}
@media only screen and (min-width: 960px){
	
}
@media only screen and (max-width: 959px){
	
}
@media only screen and (min-width: 768px){
	.movil{display:none;}
	.caja-reverso > div{justify-content:flex-end;}
	#Action_bar .column{display:flex; justify-content: end;}
}
@media only screen and (max-width: 767px){
	body.page #Content .section_wrapper, body.single-portfolio #Content .section_wrapper{max-width:inherit !important; padding-left: 0; padding-right: 0;}
	.caja > div{padding:3%; margin:0 auto;}
	.pc-tablet{display:none;}
	#Action_bar .column{display:flex; justify-content: center;}
}