/*
	Theme Name: Alimentaria del Valle
	Description: Custom WordPress Theme
	Version: 1.0.0
	Author: Ubernova
	Author URI: https://ubernova.co.uk/
	Tags: Blank, HTML5, CSS3
	License: MIT
*/

/* VARIABLES */
:root{
    --cta-color: #329966;
    --cta-color2:#1f7249;
    --cta-orange:#ff8900;
    --base-color:#27272a;
    --grey-color:#505050;
    --light-grey:#f4f4f4;
    --alt-font: 'Montserrat', serif;
    font-size:62.5%;
}

/* global box-sizing */
*,
*:after,
*:before {
	-webkit-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
	margin: 0;
	padding: 0;
}

body {
	font:400 1.6rem/1.5 'Raleway', sans-serif;
	color:var(--base-color);
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
    min-height: 100vh;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

body::-webkit-scrollbar-track,
.modal-inner::-webkit-scrollbar-track
{
	background-color:var(--black-color);
}
body::-webkit-scrollbar,
.modal-inner::-webkit-scrollbar
{
	width: 6px;
	background-color: var(--black-color);
}

body::-webkit-scrollbar-thumb,
.modal-inner::-webkit-scrollbar-thumb
{
	background-color: var(--cta-color);
}
/* wrapper */
.wrapper {
	-webkit-box-flex: 1;
	-ms-flex: 1 0 auto;
	flex: 1 0 auto;
	position:relative;
}
/*------------------------------------*\
    GRID
\*------------------------------------*/
.container,
.container-narrow,
.container-wide {
	margin: 0 auto;
    padding: 0 2rem;
}
.container {
	max-width: 116rem;
}
.container-narrow {
	max-width: 83rem;
}
.container-wide {
	max-width: 180rem;
}

.col1,
.col2,
.col3,
.col4,
.col5,
.col6,
.col7,
.col8,
.col9,
.col10,
.col11,
.col12 {
	position: relative;
	padding: 2rem;
	-webkit-box-flex: 1;
	-ms-flex: 1 1 100%;
	flex: 1 1 100%;
	max-width: 100%;
}
@media only screen and (min-width:480px) {
	.col3{
		-webkit-box-flex: 1;
		-ms-flex: 1 1 50%;
		flex: 1 1 50%;
		max-width: 50%;
	}
}
@media only screen and (min-width:840px) {
	.col1{
	-webkit-box-flex: 1;
	-ms-flex: 1 1 8.33%;
	flex: 1 1 8.33%;
	max-width: 8.33%;
}
.col2{
	-webkit-box-flex: 1;
	-ms-flex: 1 1 16.66%;
	flex: 1 1 16.66%;
	max-width: 16.66%;
}

.col4{
	-webkit-box-flex: 1;
	-ms-flex: 1 1 33.33%;
	flex: 1 1 33.33%;
	max-width: 33.33%;
}
.col5{
	-webkit-box-flex: 1;
	-ms-flex: 1 1 41.66%;
	flex: 1 1 41.66%;
	max-width: 41.66%;
}
.col6{
	-webkit-box-flex: 1;
	-ms-flex: 1 1 50%;
	flex: 1 1 50%;
	max-width: 50%;
}
.col7{
	-webkit-box-flex: 1;
	-ms-flex: 1 1 58.33%;
	flex: 1 1 58.33%;
	max-width: 58.33%;
}
.col8{
	-webkit-box-flex: 1;
	-ms-flex: 1 1 66.66%;
	flex: 1 1 66.66%;
	max-width: 66.66%;
}
.col9{
	-webkit-box-flex: 1;
	-ms-flex: 1 1 75%;
	flex: 1 1 75%;
	max-width: 75%;
}
.col10{
	-webkit-box-flex: 1;
	-ms-flex: 1 1 83.33%;
	flex: 1 1 83.33%;
	max-width: 83.33%;
}
.col11{
	-webkit-box-flex: 1;
	-ms-flex: 1 1 91.63%;
	flex: 1 1 91.63%;
	max-width: 91.63%;
}
.col12{
	-webkit-box-flex: 1;
	-ms-flex: 1 1 100%;
	flex: 1 1 100%;
	max-width: 100%;
}

}
@media only screen and (min-width:1024px) {
	.col3{
		-webkit-box-flex: 1;
		-ms-flex: 1 1 25%;
		flex: 1 1 25%;
		max-width: 25%;
    }
}
.row {
	margin: 0 -2rem;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;	
}

/*------------------------------------*\
    FLEX
\*------------------------------------*/
.flex {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}
.flex-center {
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
}
.flex-vertical-center {
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}
.flex-wrap {
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}
.flex-space-between {
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
}
.flex-end {
	-webkit-box-pack: end;
	-ms-flex-pack: end;
	justify-content: flex-end;
}
.flex-column{
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
}

/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/
.text-center {
	text-align: center;
}
p, h1, h2, h3, h4, h5, h6 {
	margin-bottom: 2rem;
}
h3, h4, h5, h6 {
	line-height: 1.3;
	font-weight: 600;
}
h1 {
	font-size: 6.4rem;
    font-weight: 400;
    line-height: 1.13;
    font-family: var(--alt-font);
}
h2 {
	font-size: 4.4rem;
    font-weight: 700;
    line-height: 1.3;
    font-family: var(--alt-font);
}
h3 {
	font-size: 3.2rem;
    font-weight: 500;
    font-family: var(--alt-font);
    line-height: 1.25;
}
h4 {
	font-size: 2.4rem;
    font-weight: 700;
}
h5 {
	font-size: 1.8rem;
    font-weight: 700; 
}
h6 {
	font-size: 1.6rem;
}
img {
	max-width:100%;
	vertical-align:bottom;
	height: auto;
}
a {
	color:var(--cta-color);
	text-decoration:none;
	transition:all .23s ease-in;
	-webkit-transition:all .23s ease-in;
	-moz-transition:all .23s ease-in;
	-ms-transition:all .23s ease-in;
	-o-transition:all .23s ease-in;
}
a:hover {
	color:var(-grey-color);
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}

/*------------------------------------*\
	GUTENBERG
\*------------------------------------*/
.alignfull {
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	width: calc(100vw - 6px);
}
.alignfull .wp-block-cover__inner-container {
	margin: 0 auto;
	max-width: 116rem;
	width: 100%!important;
}
.hero {
	border-bottom: 16px solid #a03222;
}
.hero .wp-block-columns {
 border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.75);
  max-width: 74rem;
  padding: 4rem;
}
.hero .wp-block-columns {
	margin-bottom: 8vh;
}
.gutenberg h1 {
	font-size: 6.4rem!important;
}
.btn,
.wp-block-button .wp-block-button__link,
.wpcf7-submit {
	background-color: var(--cta-color);
	color: #fff;
	text-transform: uppercase;
	box-shadow: 0 2px 4px 0 rgba(39, 39, 42, 0.5);
	display: block;
	line-height: 1;
	padding: 1.5rem 2.4rem;
	font-weight: 800;
	font-size: 1.6rem;
	letter-spacing: 0.5px;
	border-radius: 2rem;
	border-top-left-radius: 0;
	cursor: pointer;
}
.btn:hover,
.wp-block-button .wp-block-button__link:hover {
	background-color: var(--cta-orange);
}
.btn-orange {
		background: var(--cta-orange);
	text-transform: uppercase;
	line-height: 1;
	width: auto;
	display: inline-block;
	letter-spacing: 0.5px;
	font-weight: 800;
	font-size: 1.6rem;
	border-radius: 20px;
  box-shadow: 0 2px 4px 0 rgba(39, 39, 42, 0.5);
  border: solid 3px #fff;
   padding: 8px 17px 8px 18px;
   border-top-left-radius: 0;
   transition: all .23s ease;
   color: #fff;
}
.btn-orange:hover {
	background-color: var(--cta-color);
}

.gutenberg h4 {
	text-transform: uppercase;
	font-size: 1.8rem;
	line-height: 1;
	font-weight: 800;
	color: var(--cta-color2);
}
.wp-block-columns.alignfull {
	margin-bottom: 0;
	gap: 8rem;
}
.wp-block-columns.alignfull img {
	object-fit: cover;
	width: 100%;
}
.wp-block-columns.alignfull .wp-block-image {
	margin-bottom: 0;
}
.gutenberg h2 {
	font-weight: 400;
	font-size: 6.4rem;
	line-height: 1.13;
}
.gutenberg .banner {
	border-bottom: 16px solid var(--cta-orange);
}
.gutenberg .banner .wp-block-button .wp-block-button__link {
	background-color: var(--cta-color2);
}
.gutenberg .banner .wp-block-button .wp-block-button__link:hover {
	background-color: var(--cta-orange);
}
.gutenberg .banner h2 {
	margin-bottom: 4rem;
}

.gutenberg .wp-block-gallery {
	margin: 7rem 0;
}

.zig-zag > .zig-zag-text:first-child {
	position: relative;
    left: calc( (100vw - 112.8rem) / 2 );
}
.zig-zag-img {
	margin-left: auto!important;
	max-width: 60vw;
	width: 100%!important;
	position: relative;
}
.gutenberg iframe {
	border:none!important;
}
.alt-font {
	font-family: var(--alt-font);
	font-weight: 500;
	line-height: 1.14;
}
.tel a {
	color: var(--base-color);
}
/*------------------------------------*\
	end of GUTENBERG
\*------------------------------------*/

/*------------------------------------*\
	FORMS AND CF7
\*------------------------------------*/
#contact, .history-section {
	background-image: url(assets/images/leaf.png);
	background-repeat: no-repeat;
	background-position: 2% top;
	position: relative;
	overflow: hidden;
}
#contact::before, .history-section::before {
	content: "";
	background-image: url(assets/images/leaf.png);
	background-repeat: no-repeat;
	position: absolute;
    right: -112px;
    top: 23%;
    width: 358px;
    height: 130px;
    transform: rotate(90deg);
    z-index: -1;
}
#contact::after, .history-section::after {
	content: "";
	background-image: url(assets/images/leaf.png);
	background-repeat: no-repeat;
	position: absolute;
    right: 23vw;
    bottom: 0;
    width: 358px;
    height: 130px;
    transform: rotate(180deg);
    z-index: -1;
}
#contact h4 {
	color: #fff!important;
}
#contact {
	padding: 7rem 2rem;
}
#contact form {
	max-width: 74.6rem;
	margin: 3.5rem auto 0;
}
input, textarea {
	border-radius: 8px;
  border: solid 2px #1f7249;
  background-color: #fff;
  width: 100%;
  font-family: var(--alt-font);
  font-size: 2.1rem;
  padding: 8px 16px;
}
#contact form input:not(.wpcf7-submit),
#contact form textarea {
	position: relative;
	left: -1rem;
	width: calc(100% + 1rem);
	margin-top: .5rem;
}
#contact form label {
	font-family: var(--alt-font);
	 line-height: 1.33;
	 font-size: 1.8rem;
	 display: block;
    margin-bottom: 28px;
    padding-left: 10px;
}
.wpcf7-submit {
	box-shadow: 0 2px 4px 0 rgba(39, 39, 42, 0.5);
	background-color: var(--cta-orange);
	max-width: 15.4rem;
	border: none;
}
.wpcf7-submit:hover {
	background-color: #ffa337;
}
.wpcf7-acceptance, .wpcf7-acceptance .wpcf7-list-item{
	display: block;
}
.wpcf7-acceptance .wpcf7-list-item label {
	display: flex;
}
.wpcf7-acceptance .wpcf7-list-item label input {
	width: auto!important;
}

/*Checkboxes styles*/
input[type="checkbox"]  { display: none!important; }

input[type="checkbox"] + span,
input[type="checkbox"] + label {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 20px;
  color: var(--base-color);
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
        line-height: 1.4;

}

/*input[type="checkbox"] + span:last-child { margin-bottom: 0; }*/

input[type="checkbox"] + span:before {
  content: ''!important;
  display: block!important;
  width: 23px;
  height: 23px;
  border-radius: 8px;
  border: solid 2px #1f7249;
  position: absolute;
  left: 0;
  top: 1px;
  background-color: #fff;
  transition: all .12s, border-color .08s;
}

input[type="checkbox"]:checked + span:before {
  width: 10px;
  top: -2px;
  left: 5px;
  border-radius: 0;
  opacity: 1;
  border-top-color: transparent!important;
  border-left-color: transparent!important;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  border-color: var(--cta-color2);
  background-color: transparent;
}
.wpcf7-list-item label {
	padding-left: 0!important;
}
#contact .wpcf7-list-item-label {
	color: #fff;
}
/*------------------------------------*\
	end of FORMS
\*------------------------------------*/

/*------------------------------------*\
	ANIMATIONS
\*------------------------------------*/

/*------------------------------------*\
	end of ANIMATIONS
\*------------------------------------*/

/*------------------------------------*\
	HEADER
\*------------------------------------*/
.header .logo img {
	height: auto;
	max-width: 20rem;
}
.header.sticky {
	/*box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);*/
}
.header.nav-up {
	    transform: translateY(-100%);
}
header.sticky.nav-up .logo{
	transform: translateY(-100%);
}
.header-top {
	background-color: var(--cta-color2);
	padding: .8rem 0;
	font-size: 1.3rem;
	color: #fff;
	font-family: var(--alt-font);
}
.header-top a {
	color: #fff;
	display: inline-flex;
	align-items: center;
	margin-left: 4rem;
}
.header-top a svg {
	margin-right: .5rem;
}
.header-top .contacts {
	margin-left: auto;
}
.header {
	position: sticky;
	top: 0;
	padding: 0;
	background-color: var(--cta-color);
	z-index: 2015;
	transition: all .23s ease;
}
.header ul {
	display: flex;
	list-style: none;
}
header nav a {
	font-family: var(--alt-font);
	font-weight: 700;
	font-size: 1.6rem;
	letter-spacing: 0.5px;

}
.header nav > ul > li > a {
	color: #fff;
	text-transform: uppercase;
	display: inline-block;
	margin-left: 4.5rem;
}
.header nav {
	flex: 1 0 auto;
    align-items: flex-end;
    justify-content: space-evenly;
}
.header nav ul li a:hover,
header .current-menu-item a {
	color:var(--cta-orange)!important;
}
.header nav .menu-item-has-children {
	position: relative;
}
.header nav .menu-item-has-children > .plus {
	position: relative;
	z-index: 9999;
    margin-bottom: -14px;
    margin-left: 6px;
}
.header nav .menu-item-has-children > .sub-menu {
	position: absolute;
	flex-direction: column;
	left: 4rem;
	padding: 12px 20px;
	background-color: #fff;
	transition: all .23s ease-in;
	display: none;
}
.header nav .menu-item-has-children > .sub-menu a {
	color: var(--base-color);
}
.header nav .menu-item-has-children:hover > .sub-menu {
	display: block;
}

.header-bottom {
	position: relative;
	padding-top: 2.8rem;
	padding-bottom: 2.8rem;
}
.header .logo {
	background-color: #fff;
	position: absolute;
	left: 0;
	top: -38.25px;
	width: 16.5rem;
	display: inline-flex;
	align-items: flex-end;
	justify-content: center;
	min-height: 18.8rem;
	padding: 2.3rem;
	border-bottom-left-radius: 8rem;
	border-bottom-right-radius: 8rem;
	transition: all .23s ease;
}
.header .logo::after {
	content: "";
	position: absolute;
	height: calc(100% + .4rem);
	width: calc(100% + 1rem);
	top: 0;
	left: -.5rem;
	border: 2px solid #fff;
	border-bottom-left-radius: 8rem;
	border-bottom-right-radius: 8rem;
	border-top: none;
}
.header .logo a {
	position: relative;
	z-index: 10;
}

.socials svg {
	margin-left: .5rem;
	transition: all .23s ease-in;
	margin-right: .5rem;
}


/*
/*------------------------------------*\
	end of HEADER
\*------------------------------------*/


/*------------------------------------*\
	FOOTER
\*------------------------------------*/
.footer {
	background-color: #fff;
	border-top: 16px solid var(--cta-orange);
}
.footer a {
	color: var(--base-color);
}
.footer ul {
	list-style: none;
}


.footer-bottom {
	background-color: var(--light-grey);
	padding: 2rem;
}
.footer-bottom ul {
	margin-left: auto;
	display: flex;
}
.footer-bottom ul li {
	margin-left: 2rem;
	margin-right: 2rem;
}
.footer-bottom ul li a {
	font-size: 1.3rem;
}
.footer-bottom ul li a:hover,
.footer-bottom ul li.current-menu-item a {
	color: var(--cta-orange);
}

#return-to-top {
	position: fixed;
	right: 2rem;
	bottom: 2rem;
	background-color: var(--cta-color);
	border-radius: .5rem;
	padding: 0.1rem 0.5rem 0.5rem;
    line-height: 1;
}
#return-to-top:hover {
	transform: translateY(-.7rem);
}



.footer .socials a:hover svg g {
	fill: var(--cta-orange);
}
.footer .socials {
	display: flex;
	justify-content: center;
}
.footer .socials a {
	display: inline-flex;
}

.footer-top2 {
	align-items: center;
	margin:2.5rem 0 6rem;
}

.footer-top2 .subsidies {
	flex: 1;
}

.footer-top2 .subsidy-image {
	max-width: 240px;
}

.footer-top2 .subsidy-description {
	margin-top: 8px;
}

.footer-top2 .menu {
	flex:1;
	display: flex;
	justify-content: flex-end;
}
.footer-top1 {
	align-items: flex-end;
	font-family: var(--alt-font);
	padding-bottom: 7rem;
}

.footer-logo {
	background-color: var(--cta-color2);
	min-height: 32rem;
	display: inline-flex;
	align-items: flex-end;
	border-bottom-left-radius: 8rem;
	border-bottom-right-radius: 8rem;
	padding: 2rem;
	position: relative;
	margin-top: -1.6rem;
	margin-bottom: -7rem;
}
.footer-logo a {
	z-index: 5;
	position: relative;
}
.footer-logo::after {
	content: "";
	border: 2px solid var(--cta-color2);
	position: absolute;
	left: -.5rem;
	top: 0;
	width: calc(100% + 1rem);
	height: calc(100% + .6rem);
	border-bottom-left-radius: 8.5rem;
	border-bottom-right-radius: 8.5rem;
	border-top: none;
}

.footer-contacts {
	flex: 1;
	display: flex;
	flex-direction: column;
	line-height: 1.33;
	font-size: 1.8rem;
	font-family: var(--alt-font);
	padding-left: 5rem;
}
.footer-contacts svg {
	position: relative;
	top: 2px;
}
.copyright {
	flex: 1;
	font-size: 1.6rem;
	text-align: right;
	padding-right: 5rem;
}

li.cta > a {
	background-color: var(--cta-orange);
	color: #fff;
	text-transform: uppercase;
	box-shadow: 0 2px 4px 0 rgba(39, 39, 42, 0.5);
	display: block;
	line-height: 1;
	padding: 1.5rem 2.4rem;
	font-weight: 800;
	font-size: 1.6rem;
	letter-spacing: 0.5px;
	border-radius: 2rem;
	border-top-left-radius: 0;
}
li.cta > a:hover {
	background-color: var(--cta-color);
}


.brands-section {
	padding: 10rem 0 15rem 2rem;
	background-color: var(--light-grey);
}
.brands-section h4 {
	margin-bottom: 9rem;
}
.brands-section .swiper-slide {
	height: auto;
}
/*------------------------------------*\
	end of FOOTER
\*------------------------------------*/

/*------------------------------------*\
	RESPONSIVE
\*------------------------------------*/
@media only screen and (max-width:1170px) {

	.year-title::before {
		left: -2rem!important;
		width: 2rem!important;
	}
	.parent-cat-details {
		left: 2rem!important;
		padding: 2rem!important;
	}

	h1 {
		font-size: 4.4rem;
	}
	.parent-cat-details h1 {
		margin-bottom: 0;
	}

	.zig-zag > .zig-zag-text:first-child {
		left: 2rem!important;
	}
}

@media only screen and (min-width:1025px) {
	header .mob-logo {
		display: none;
	}
}
@media only screen and (max-width:1024px) {
	.gutenberg h1, .gutenberg h2 {
		font-size: 4.4rem!important;
	}
	header .mob-logo {
		display: block;
	}
	header .mob-logo svg {
		max-width: 10rem;
		height: auto;
		display: block;
	}
	.custom-logo-link {
		display: none;
	}
	#mob-menu-bar {
		margin-left: auto;
	}
	#mob-menu-bar > div {
	    width: 3rem;
	    height: .2rem;
	    background: #fff;
	    border-radius: 3px;
	    margin-bottom: .84rem;
	    -webkit-transition: all .23s ease-in;
	    transition: all .23s ease-in;
	}
	.change .bar1 {
	    -webkit-transform: rotate(-45deg) translate(-5px, 6px);
	    transform: rotate(-45deg) translate(-5px, 6px);
	    -moz-transform: rotate(-45deg) translate(-5px, 6px);
	    -o-transform: rotate(-45deg) translate(-5px, 6px);
	}

	.change .bar2 {
	    opacity: 0;
	}

	.change .bar3 {
	    -webkit-transform: rotate(45deg) translate(-9px, -10px);
	    transform: rotate(45deg) translate(-9px, -10px)
	}
	body .header nav {
	    position: fixed;
	    top: 0;
	    left: 0;
	    bottom: 0;
	    width: 60rem;
	    background: var(--cta-color);
	    color: #fff;
	    max-width: 75vw;
	    transition: all .33s ease-in-out;
	    flex-direction: column-reverse;
	    align-items: flex-start;
	    padding: 4rem;	
	    transform: translateX(-100%);
	}
	body .header nav ul {
		flex-direction: column;
		width: 100%;
	}
	body .header nav ul li a {
		color: #fff!important;
		margin: 0!important;
	}
	body .header nav > ul > li {
		padding: .84rem 0;
		position: relative;
	}
	.header nav .menu-item-has-children > .plus {
		fill: #fff;
		margin: 0!important;
	    top: 10px;
	    right: 0;
	    position: absolute;
	    transition: all .23s ease;
	}
	.header nav .menu-item-has-children.opened > .plus {
		transform: rotate(45deg);
	}
	header nav .sub-menu-wrap {
		display: none;
	}
	header nav .sub-menu-wrap li {
		padding-top: .5rem;
	}
	body .header nav > ul > li:not(:last-child) {
		border-bottom: 1px solid rgba(255,255,255,.5);
	}
	body .header nav.menu-open {
		transform: translateX(0);
	}
	.header nav .menu-item-has-children > .sub-menu {
		left: 0;
		z-index: 999;
		padding: 10px 20px;
	}
	body .header nav ul.sub-menu li a {
		color: var(--cta-color2) !important;
	}
	body .header nav .header-top {
		flex-wrap: wrap;
	}
	body .header nav .header-top a {
		color: #fff;
	}
	body .header nav .header-top a:not(.instagram) path{
		fill: #fff;
	}
	body .header nav .header-top a.instagram path{
		stroke: #fff;
	}
	header .socials {
		margin-bottom: 2rem;
	}
	header .socials svg {
		margin: 0 1.5rem 0 0!important;
	}
	header .container-wide {
		justify-content: space-between;
		align-items: center;
	}
	body.menu-open {
		overflow: hidden;
	}
	
}
@media only screen and (max-width:1023px) {
	.main-cats {
		padding-bottom: 5rem!important;
	}
	.footer-top2, .footer-top1 {
		flex-direction: column-reverse;
	}

	.footer-top2 .socials {
		margin-top: 3rem;
	}

	.footer-logo {
		margin: -1.6rem 0 3rem!important;
		order: 3;
		min-height: 5rem;
	}

	.footer-top1 {
		align-items: center!important;
		justify-content: center!important;
		padding-bottom: 1rem!important;
	}
	.footer-top1 .copyright {
		text-align: center;
		margin-top: 3rem;
		padding: 0;
	}

	.footer .footer-contacts {
		align-items: center;
		padding: 0;
	}
}

@media only screen and (max-width:780px) {
	.wp-block-columns.alignfull {
		gap: 4rem!important;
	}
	.zig-zag-text {
		padding: 0 2rem 4rem;
		text-align: center;
	}
	.zig-zag-text .wp-block-buttons,
	.gutenberg .banner .wp-block-buttons {
		justify-content: center;
	}
	.brands-section {
		padding: 4rem 0 4rem 2rem!important;
	}
	.brands-section h4 {
		margin-bottom: 3rem!important;
	}
	.gutenberg .banner {
		text-align: center;
		padding: 4rem 2rem;
	}
	.zig-zag-img {
		max-width: 100%!important;
	}
	.zig-zag > .zig-zag-text:first-child {
		left: 0!important;
	}
	.gutenberg > .wp-block-columns {
		gap: 0!important;
	}
	.history-section > .flex {
		flex-direction: column;
	}
	.history-by-year {
		max-width: 100%!important;
	}
	.history-section img {
		margin: 4rem auto 0;
	}
	.history-section {
		padding: 6rem 0!important;
		margin-bottom: 6rem;
	}
}

@media only screen and (max-width:767px) {
	.hide-on-mobile {
		display: none;
	}

	.header-top .contacts {
		display: flex;
		flex-direction: column;
		align-items: flex-end;
	}
	.header .header-bottom {
		align-items: center;
		padding-top: .5rem;
		padding-bottom: .5rem;
	}
	.header .header-bottom .logo {
		position: relative;
		min-height: 100%;
		background-color: transparent;
		padding: 0;
		top: 0;
		left: 0;
		justify-content: flex-start;
	}
	.header .header-bottom .logo img {
		max-width: 10rem;
	}
	.header .header-bottom .logo::after {
		display: none;
	}

	.zig-zag {
		flex-direction: column-reverse;
	}
	.zig-zag > .zig-zag-text {
		padding-top: 32px;
	}

	.footer-widget p a {
		font-size: 1.6rem!important;
	}
	.footer-widget p a::before {
		width: 2rem!important;
		height: 2rem!important;
	}
	.footer-bottom ul {
		 flex-direction: column;
   		 align-items: center;
	}
	.footer-bottom ul li {
		margin: .5rem 0!important;
	}
	.footer-bottom ul li:not(:last-child):after, footer .socials::before {
		display: none;

	}
	.subcategory > .flex, .subcat-intro > .flex {
		flex-direction: column;
		align-items: flex-start;
	}
	.subcategory > .flex .subcat-img, .subcat-intro > .flex  .subcat-img {
		margin-bottom: 3rem;
	}
	.subcat-intro {
		flex-direction: column-reverse;
	}
	.subcat-intro .btn-orange {
		margin-bottom: 3rem;
	}
}
/*------------------------------------*\
	end of RESPONSIVE
\*------------------------------------*/


/*------------------------------------*\
	PAGE
\*------------------------------------*/

.page.page-template-default .content-spacer {
	height: 120px;
}

/*------------------------------------*\
	SINGLE ARTICLE
\*------------------------------------*/
body.single .body-content {
	padding-top: 20rem;
}
.featured-image {
	border-bottom: 16px solid #a03222;
	margin-bottom:2rem;
	position: relative;
}
.featured-image img {
	object-fit: cover;
	width: 100%;
	min-height: 30rem;
}
.single .main article {
	background: #fff;
    position: relative;
    margin-top: -15rem;
    padding: 4rem;
    border-radius: 3rem;
}
.side-ads {
	position: sticky;
	top: 0;
}
.related-block {
	background-color: #fff;
	    border-top-left-radius: 4rem;
    border-top-right-radius: 4rem;
    padding: 7rem 0;
    margin-top: 5rem;
}

#nextpreviouslinks {
    background: rgba(101, 193, 141, .1);
    border-radius: 4rem;
    padding: 4rem;	
    justify-content: space-between;
}
#nextpreviouslinks > div {
	max-width: 40%;
	width: 100%;
}
#nextpreviouslinks .next-post {
	text-align: right;
}
#nextpreviouslinks .next-post .arrow {
	justify-content: flex-end;
}
#nextpreviouslinks .next-post .arrow svg {
	margin-left: 2rem;
}
#nextpreviouslinks .arrow svg {
	transition: all .23s ease;
}
#nextpreviouslinks .next-post:hover .arrow svg {
	transform: translateX(10px);
}
#nextpreviouslinks .prev-post:hover .arrow svg {
	transform: translateX(-10px);
}
#nextpreviouslinks .prev-post .arrow svg {
	margin-right: 2rem;
}
#nextpreviouslinks .arrow {
	text-transform: uppercase;
	font-size: 1.4rem;
	color: var(--cta-color);
}
#nextpreviouslinks a {
	font-weight: 700;
	color: var(--base-color);
	margin-top: 1rem;
	display: block;
}

.cat-label {
	 /*   background: var(--cta-color);*/
    color: #fff;
    position: absolute;
    text-transform: uppercase;
    font-size: 1.2rem;
    padding: 1rem;
    border-radius: 3rem;
    left: 0rem;
    top: 0;
    z-index: 5;
    overflow: hidden;
}
.cat-label::before {
	    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: -1;
    background-color: var(--cta-color);
}
.cat-label::after {
	    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 0;
    z-index: -1;
    background-color:var(--base-color);
    opacity: .8;
    transition: all .23s ease-in;
}
.cat-label:hover::after {
	width: 100%;
}
.loop-image {
	height: 26rem;
	overflow: hidden;
	border-radius: 3rem;
	margin-bottom: 1.5rem;
}
.loop-image img {
	object-fit: cover;
	width: 100%;
	transition: all .23s ease;
}
.loop-image:hover img {
	transform: scale(1.03) rotate(2deg);
} 
.related-block h6 {
	margin-bottom: 1.5rem;
}
.post-loop-details {
	font-size: 1.4rem;
}
.relatedPostsTitle {
	margin-bottom: 5rem;
}
#relatedposts {
	margin-bottom: 4rem;
}
/*------------------------------------*\
	end of SINGLE ARTICLE
\*------------------------------------*/



.post-in-loop  {
	background-color: #fff;
	border-radius: 3rem;
	    padding: 3rem;
    margin-bottom: 3rem;
}
.post-in-loop img {
	border-radius: 3rem;
}
.post-in-loop-content {
	flex: 1;
	padding-left: 3rem;
}
.post-in-loop-content h2 a {
	color: var(--base-color);
	display: inline-block;
	line-height: 1;
}




.main-cats {
	padding: 10rem 0 20rem;
}
.main-cats h4 {
	margin-bottom: 6.5rem;
}
.main-cats .wp-block-button {
	margin-top: 1.5rem;
}
.main-cats .wp-block-button a {
	background-color: var(--cta-orange);
}
.main-cats .wp-block-button a:hover {
	background-color: var(--cta-color);
}
.gutenberg .wp-block-gallery.columns-2 .wp-block-image {
	position: relative;
	padding: 2rem;
	overflow: hidden;
}
.gutenberg .wp-block-gallery.columns-2 .wp-block-image .wp-element-caption {
	background: var(--cta-orange);
	text-transform: uppercase;
	line-height: 1;
	position: absolute;
	left: 1rem;
	top: 50%;
	bottom: auto;
	transform: translateY(-50%);
	width: auto;
	display: inline-block;
	letter-spacing: 0.5px;
	font-weight: 800;
	font-size: 1.6rem;
	border-radius: 20px;
	box-shadow: 0 2px 4px 0 rgba(39, 39, 42, 0.5);
	border: solid 3px #fff;
	padding: 8px 17px 8px 18px;
	border-top-left-radius: 0;
	transition: all .23s ease;
}
.gutenberg .wp-block-gallery.columns-2 .wp-block-image:hover  .wp-element-caption {
	transform: translate(-150%, 5%)!important;
	opacity: 0;
}

.parent-cat-details {
	position: absolute;
	bottom: 0;
	border-radius: 8px;
	background-color: rgba(255, 255, 255, 0.75);
	padding: 4rem 4rem 2rem;
	min-width: 38vw;
	left: calc( (100vw - 116rem) / 2);
}
.parent-cat-description {
	max-width: 38vw;
	margin-bottom: 32px;
	padding: 0 2rem;
	font-family: var(--alt-font);
    font-size: 1.8rem;
    line-height: 1.33;
}

.subcategory {
	margin-bottom: 11.5rem;
}
.subcategory > .flex {
	margin-bottom: 3rem;
}
.subcat-details h4 {
	text-transform: uppercase;
	line-height: 0.67;
	letter-spacing: 0.57px;
	font-weight: 800;
	opacity: .7;
	font-family: 'Raleway', sans-serif;
	margin-bottom: 1rem;
}
.subcat-details {
	font-family: var(--alt-font);
	font-size: 1.8rem;
	line-height: 1.33;
	max-width: 46rem;
}
.subcat-img {
	border-radius: 100%;
	margin-right: 2.4rem;
}
.subcategory .btn {
	display: inline-block;
	margin-top: 6rem;
}
.subcategories {
	margin-top: 10rem;
}

.products-loop .product {
	display: flex;
	flex-direction: column;
	border-radius: 2.4rem;
	overflow: hidden;
	height: 100%;
	border: 1px solid var(--light-grey);
}
.products-loop .img-wrap {
	max-height: 17.6rem;
}
.products-loop .img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: all .23s ease;
}
.product-item-body {
	background-color: var(--light-grey);
	color: var(--base-color);
	height: 100%;
	flex: 1;
	padding: 1rem 2.4rem 4rem;
	position: relative;
	transition: all .23s ease;
}
.product-item-body::before {
	content: "";
	height: 4rem;
	width: 4.5rem;
	background-color: var(--cta-orange);
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	border-top-left-radius: 2rem;
	border-top-right-radius: 2rem;
	border: .5rem solid #fff;
	border-bottom: 0;
	transition: all .23s ease;
}
.product-item-body::after {
	content: "+";
	transition: all .23s ease;
	color: #fff;
	position: absolute;
	bottom: 10px;
	left: 50%;
	transform: translateX(-50%);
	 font-size: 24px;
  font-weight: 800;
  line-height: 0.67;
  letter-spacing: 0.75px;
}
.product-item-body h3 {
	font-size: 2.1rem;
	text-align: center;
	font-weight: 500;
}
.products-loop a:hover .product-item-body {
	background-color: var(--cta-color);
}
.products-loop a:hover .img-wrap img {
	transform: scale(1.02);
}

.loop3 {
	margin-bottom: 10rem;
	margin-top: 3rem;
}
.excerpt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-height: 1.23;
    overflow: hidden;	
    font-size: 1.3rem;
}
.subcat-intro {
	align-items: flex-start;
}
.loop3 .product-item-body h3 {
	text-align: left;
}
.loop3 .product-item-body::after, .loop3 .product-item-body::before {
	display: none;
}

.category-cta {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin-bottom: 64px;
}

.category-cta-message {
	margin-bottom: 20px;
	font-size: 2.2rem;
	font-weight: 700;
	line-height: 1.33;
	max-width: 46rem;
	text-align: center;
}

.category-cta-button .btn {
	background-color: var(--cta-orange);
}

.category-cta-button .btn:hover {
	background-color: #ff9720;
}

/**
 * Breadcrumbs
 */

body.home .breadcrumbs {
	display: none;
}
.breadcrumbs {
	margin-bottom: 6rem;
}
/*
body.page .breadcrumbs {
	margin-top: 12rem;
}*/
.single .breadcrumbs {
	margin-bottom: 16rem;
}


/**
 * HISTORY BLOCK
 */
.history-section {
	background-color: var(--cta-color);
	color: #fff;
	position: relative;
	padding: 13rem 0;
}
.history-section > .flex {
	max-width: 116rem;
	margin: 0 auto;
	padding: 0 2rem;
}
.history-section img {
	margin-left: auto;
}
.history-by-year {
	max-width: 65rem;
}
.history-section h2 {
	font-family: 'Raleway', sans-serif;
	text-transform: uppercase;
	line-height: 0.89;
	font-weight: 800;
	font-size: 1.8rem;
}
.history-section h3 {
	font-size: 2.4rem;
	font-weight: 500;
	line-height: 1.33;
}
.year-text {
	font-family: var(--alt-font);
	font-size: 1.8rem;
	line-height: 1.33;
}
.year-title {
	position: relative;
	margin-bottom: 1.5rem;
}
.year-title::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	background-color: #1f7249;
    width: calc( (100vw - 112rem) / 2 );
    left: calc( (112rem - 100vw) / 2 );
    height: 100%;
}
.year-title span {
	font-weight: 800;
	font-size: 3.2rem;
	color: #fff;
	background-color: #1f7249;
	border-top-right-radius: 2.4rem;
	border-bottom-right-radius: 2.4rem;
	    padding: 8px 18px 8px 0;
    margin-right: 11px;
}
.year-title h3 {
	margin-bottom: 0;
}
.history-year:not(:last-child) {
	margin-bottom: 42px;
}

.wp-block-gallery.has-nested-images .wp-element-caption {
	display: none;
}

@media only screen and (max-width:767px) {
	.parent-cat-description {
		max-width: 100%;
	}
	.subcat-details h4 {
		line-height: 1.2;
	}
}