/*
Theme Name: hornilla
Theme URI: https://www.portotheme.com/wordpress/porto
Author: P-THEMES
Author URI: https://www.portotheme.com/
Description: Porto Responsive WordPress + eCommerce Theme.
Version: 1.1
Template: porto
License: Commercial
License URI: http://themeforest.net/licenses/regular_extended
Tags: woocommerce, corporate, ecommerce, responsive, blue, black, green, white, light, dark, red, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
*/

/*************** ADD YOUR CUSTOM CSS HERE  ***************/
:root {
    --primary-color: #649702;
    --secondary-color: #d8ff65;
    --tertiary-color: #000000;
}

body {
    font-size: 16px;
    color: #444;
}

.has-ccols.owl-loaded > div {
    max-width: 100%; /* Funciona en todos los navegadores */
    max-width: -webkit-fill-available; /* Para compatibilidad con WebKit */
    max-width: -moz-available; /* Para compatibilidad con Firefox */
    max-width: -webkit-available; /* Otra opción para WebKit */
}

.pt-100 {
    padding-top: 100px;
}

.py-100 {
    padding-block: 100px;
}

.my-100 {
    margin-block: 100px;
}

.py-40 {
    padding-block: 40px;
}

.pt-40{
	padding-top: 40px;
}


.mt-100 {
    margin-top: 100px;
}

.size-full{
	width: 100%;
}

.img-absolute-img{
    position: absolute;
    right: 0;
    max-width: calc(50% - 15px);
    object-fit: cover;
    height: calc(100% + 200px);
    top: -100px;
    width: 50%;
}

.img-absolute-img img{
	object-fit: cover;
}

.container-xs {
    max-width: 900px;
    margin: 0 auto !important;
}

.owl-carousel.owl-loaded {
    justify-content: center;
    display: flex;
}

.vc_single_image-wrapper,
.vc_single_image-wrapper img {
    width: 100%;
}

.porto-ibanner {
    margin: 0;
}

.mega-menu.menu-hover-line>li.menu-item>a:before {
    background: white;
}

.bg-fixed .porto-wrap-container {
    display: flex;
    align-items: center;
    height: 100%;
}

.bg-fixed .porto-wrap-container h2 {
    font-size: 40px;
    color: #ffffff;
    margin: 0;
    display: flex;
    gap: 15px;
    align-items: center;
}

.bg-fixed .porto-wrap-container h2::after {
    content: "\e70b";
    font-family: "porto";
    border: 3px solid;
    width: 55px;
    height: 55px;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    vertical-align: middle;
}

.bg-fixed.f-end .porto-wrap-container {
    justify-content: flex-end;
}

.bg-fixed.f-end .porto-wrap-container h2::before {
    content: "\e70b";
    font-family: "porto";
    border: 3px solid;
    width: 55px;
    height: 55px;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    vertical-align: middle;
}

.bg-fixed.f-end .porto-wrap-container h2::after {
    display: none;
}

.porto-tooltip-wrap .tooltip-inner {
    display: none !important;
}

.owl-carousel {
    margin-bottom: 0px;
}

.bg-cover-left .porto-wrap-container.container > .row{
	flex-direction: row-reverse;
    display: flex;
}

.bg-cover-left .img-absolute-img{
	left:0;
	right: inherit;
}

footer .bottom-footer .wpb_content_element {
    margin-bottom: 0;
}

footer .bottom-footer {
    padding: 25px 0;
    background: var(--primary-color);
}

footer .bottom-footer p,
footer .bottom-footer p a {
    font-size: 16px;
    color: white;
}

#header .main-menu > li.menu-item > a{
    padding: 10px 8px 10px 8px;
}

#header .header-main,
#header.sticky-header .header-main,
.fixed-header #header.sticky-header .header-main {
    position: relative;
    background: var(--primary-color);
}

.header-right-top {
    display: none !important;
}

#header .main-menu>li.menu-item>a {
    font-size: 14px;
    font-weight: 500;
    color: white;
}

#header .main-menu>li.menu-item.active>a,
#header .main-menu>li.menu-item:hover>a {
    color: var(--secondary-color) !important;
    font-weight: 500;
}

#header.sticky-header .header-main.sticky{
	padding-block: 15px;
}

.lang-item img{
    height: 17px !important;
    width: 25px !important;
    object-fit: cover;
}

#cert-block .wpb_single_image {
	margin-bottom: 0;
}

#reverse-row > .vc_column_container > .wpb_wrapper.vc_column-inner{
    flex-direction: column-reverse;
    display: flex;
}

#reverse-row .img-absolute-img{
    margin-bottom: -15px;
}

.accesos-directos {
    padding-block: 120px;
}

.mega-menu.menu-hover-line>li.menu-item>a:before {
    display: none;
}

.accesos-directos img {
    max-width: 60px;
    margin: 0 auto;
    margin-bottom: 15px;
    height: 75px;
    transform: scale(1);
    transition: transform .3s ease;
}

.accesos-directos img:hover {
    transform: scale(1.1);
}

.accesos-directos h2 {
    font-size: 15px !important;
    color: #aaaaaa !important;
    text-align: center;
    text-transform: uppercase;
    line-height: normal;
    margin: 0;
}

.img-absolute-img {
    position: absolute;
    right: 0;
    max-width: calc(50% - 0px);
    object-fit: cover;
    height: calc(100% + 200px);
    top: -100px;
}

.img-absolute-img .wpb_wrapper,
.img-absolute-img .wpb_wrapper .vc_single_image-wrapper,
.img-absolute-img .wpb_wrapper .vc_single_image-wrapper img {
    height: 100%;
}

.valores .porto-wrap-container.container {
    text-align: center;
}

.valores h2 {
    color: white !important;
    font-weight: 600;
    letter-spacing: normal;
    font-size: 25px !important;
	margin-bottom: 15px;
}

.valores p{
    font-size: 16px !important;
    line-height: normal;
	color: white !important;
}

.valores img{
    max-width: 200px;
    max-height: 200px;
	background: white;
    border-radius: 100%;
    padding: 25px;
    width: 200px;
    height: 200px;
    object-fit: cover;
}

.valores .wpb_wrapper.vc_column-inner > .row:last-child {
	justify-content: center;
}

.valores .wpb_wrapper.vc_column-inner > .row:last-child > div:last-child {
	display: none
}

.video .vc_column-inner {
    padding: 0 !important;
}

.video .wpb_content_element {
    margin-bottom: 0 !important;
}

.productos-grid>.porto-wrap-container.container>.row>.vc_column_container.col-md-12>.wpb_wrapper.vc_column-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    row-gap: 65px;
}

.productos-grid>.porto-wrap-container.container>.row>.vc_column_container.col-md-12>.wpb_wrapper.vc_column-inner>.vc_row.wpb_row {
    margin-bottom: 0;
    flex: 0 0 33.333%;
}

.productos-grid h2 {
    margin-bottom: 0;
    font-weight: 400;
}

.banner {
    position: relative;
    overflow: hidden;
}

.banner img {
    width: 100%;
    padding: 0;
}

.banner .content-banner {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.banner .content-banner p {
    font-size: 35px;
    color: white;
    margin-bottom: 15px;
}

.banner .content-banner h1 {
    margin: 0;
    color: white;
    font-size: 80px;
}

.page-template-template-productos .contenido {
    margin-block: 100px;
    font-size: 18px;
    text-align: center;
    line-height: normal;
    color: #444;
}

.page-template-template-productos .mapa h2,
.page-template-template-productos .dates-products h2 {
    font-size: 40px;
    margin-bottom: 55px;
    color: var(--primary-color);
}

.page-template-template-productos table thead {
    border-inline: 7px solid;
}

.page-template-template-productos table thead,
.page-template-template-productos table thead th {
    background: var(--primary-color);
    color: white;
}

.page-template-template-productos table tbody tr td {
    background: #f6f6f6;
}

.page-template-template-productos table tbody tr td:first-child {
    background: var(--primary-color);
    color: white;
}

.page-template-template-productos table th,
.page-template-template-productos table td {
    padding: 15px;
    color: #444;
}

.page-template-template-productos table tbody td {
    border-color: white;
    border-style: solid;
    border-width: 7px;
}

.grid-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.page-template-template-sustentabilidad .sidebar {
    position: relative;
}

.page-template-template-sustentabilidad .sidebar aside{
    padding: 35px;
    background: #f6f6f6;
    border-radius: 30px;
    /*box-shadow: 4px 5px 9px 0px #00000045;*/
    z-index: 9;
    max-width: 345px;
}

.page-template-template-sustentabilidad .sidebar aside ul {
    list-style: none;
    padding: 0;
}

.page-template-template-sustentabilidad .sidebar aside ul li + li{
    margin-top: 15px;
}

.page-template-template-sustentabilidad .sidebar aside ul li a{
    font-size: 20px;
    font-weight: 700;
}

.page-template-template-sustentabilidad .sidebar aside ul li:not(.current) a{
    color: #444;
}

.page-template-template-sustentabilidad .sidebar aside ul li:hover a{
    color: var(--primary-color);
}

.hornilla-form input{
    height: 50px;
    width: 100%;
    border-radius: 60px;
    background: #f1f1f1;
    border-color: #f1f1f1;
}

.hornilla-form .row + .row{
    margin-top: 15px
}

.hornilla-form textarea{
    width: 100%;
    border-radius: 15px;
    background: #f1f1f1;
    border-color: #f1f1f1;
}

.hornilla-form input[type="submit"]{
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    width: fit-content;
    padding: 0 30px;
    transition: all .3s ease-in-out;
}

.hornilla-form input[type="submit"]:hover{
    background: var(--secondary-color);
    color: var(--tertiary-color);
    border-color: var(--secondary-color);
}

.info-contact + .info-contact,
.info-contact .item + .item{
    margin-top: 15px;
}

.info-contact h4,
.info-contact .item i{
    color: var(--primary-color);
}

.info-contact .item a{
    color: var(--tertiary-color);
}

#header .mobile-toggle{
	font-size: 2rem;
}

#header .main-menu>li.menu-item:last-child a{
	padding-left: 0;
}

.banner-encabezado,
.banner-encabezado a,
.banner-encabezado::before,
.banner-encabezado::after{
	transition: all .3s ease;
}

.banner-encabezado:hover,
.banner-encabezado:hover a,
.banner-encabezado:hover::before,
.banner-encabezado:hover::after{
	color: #cffe74;
    opacity: 1;
}

.info-foot{
    max-width: 800px;
    margin: 55px auto !important;
    padding: 55px;
    border-radius: 30px;
    background: #598602;
}

.info-foot p{
    margin-bottom: 8px;
}

.info-foot p:first-child{
    font-weight: 700;
}

.info-foot p a:hover{
	color:var(--porto-quaternary-color);
}

.info-foot .row:first-child > div[class*="col"]{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 35px;
    font-weight: normal !important;
}

.info-foot .row:first-child > div[class*="col"] p{
	font-weight: normal !important;
}

.accordion .card-header a  {
    display: block;
    padding: 20px 20px;
    color: var(--porto-primary-color);
    font-size: 20px;
    letter-spacing: normal;
    border-radius: 5px;
}

.accordion .card{
	border: none;
}

.accordion .card-header{
	position: relative;
}

.accordion .card-title:after{
	content: "\f061";
    font-family: "Font Awesome 6 Free";
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
	transition: transform .3s ease-in-out;
}

.accordion .card-title.open-tab:after{
	transform: translateY(-50%) rotate(-90deg);
}

@media screen and (max-width: 768px) {
	.py-100 {
    padding-block: 15px;
}
	.img-absolute-img {
    position: relative;
    max-width: 100%;
    height: 100%;
    top: 0;
    width: 100%;
}
    .productos-grid>.porto-wrap-container.container>.row>.vc_column_container.col-md-12>.wpb_wrapper.vc_column-inner>.vc_row.wpb_row {
        flex: 0 0 100%;
    }

    .grid-gallery {
        grid-template-columns: 1fr;
    }
	
	.accordion-menu li.menu-item>a {
		text-transform: uppercase !important;
		font-weight: 600 !important;
		font-size: 1.2rem;
		letter-spacing: normal !important;
	}
	
	.accordion-menu .lang-item{
		width: auto;
		display: inline-block;
	}
	
	.accordion-menu .lang-item a{
		padding-right: 0 !important;
	}
	
	.hornilla-form .row{
		gap: 15px;
	}
	
	.owl-item:not(.active) {
    opacity: 1;
}
	
	.page-template-template-sustentabilidad .sidebar aside {
    max-width: 100%;
    margin-bottom: 25px;
}
	
	.banner .content-banner h1 {
    font-size: 30px !important;
}
	
	.info-foot .col-md-6 + .col-md-6{
	margin-top: 25px;
}
	
	.info-foot .row:first-child > div[class*="col"] {
    gap: 10px;
    font-weight: normal !important;
    flex-direction: column;
		align-items: flex-start;
}
	
	.productos-grid>.porto-wrap-container.container>.row>.vc_column_container.col-md-12>.wpb_wrapper.vc_column-inner {
    row-gap: 15px;
}
	
	.productos-grid>.porto-wrap-container.container>.row>.vc_column_container.col-md-12>.wpb_wrapper.vc_column-inner h2{
		font-size:32px;
	}

	.py-40 {
    padding-block: 15px;
}
	
	.pt-40 {
    padding-top: 15px;
}
	
	#cert-block .vc_column_container > .wpb_wrapper.vc_column-inner::before,
	#cert-block .vc_column_container > .wpb_wrapper.vc_column-inner::after{
		display:none;
	}
	
	#cert-block .vc_column_container > .wpb_wrapper.vc_column-inner{
		display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
		justify-content: center;
        margin-bottom: 15px;
	}
	
	#cert-block .vc_column_container > .wpb_wrapper.vc_column-inner > div{
		flex: 0 0 calc(50% - 8px);
	}
	
	.productos-grid h2 {
	margin-top: -30px;
}
	.wpb_button, .wpb_content_element, ul.wpb_thumbnails-fluid>li {
    margin-bottom: 15px;
}
	
	.valores{
		padding-top: 35px;
	}
	
	.bg-fixed {
    background-attachment: unset !important;
}
	
	.accesos-directos {
    padding-block: 45px;
}
	
	.accesos-directos > .porto-wrap-container > .row > .vc_column_container > .wpb_wrapper::before,
	.accesos-directos > .porto-wrap-container > .row > .vc_column_container > .wpb_wrapper::after{
		display: none !important;
	}
	
	.accesos-directos > .porto-wrap-container > .row > .vc_column_container > .wpb_wrapper{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}
}