/* BA custom theme. */


/* masthead-internal */
.masthead-internal-section{padding:var(--padding-normal) 0; background:url("../img/bg-noise.png") var(--color-green);}
.masthead-internal-section .image{position: absolute; top:0; right:0; bottom:0; left:calc(var(--page-side-gap) + var(--container)*0.4166 + var(--container)/24);}
.masthead-internal-section .decor{position: absolute; top:0; right:0; bottom:0; left:0;}
.masthead-internal-section .decor:before{content: ''; z-index: 2; background: rgba(255,255,255,0.32); left:calc(var(--page-side-gap)*0.33); top:0; height:var(--padding-large); width:1px; position: absolute;}
.masthead-internal-section .decor:after{content: ''; z-index: 2; background: rgba(255,255,255,0.32); left:calc(var(--page-side-gap)*0.33); right:calc(var(--page-side-gap) + var(--container)*0.3333); position: absolute; bottom:2rem; height:1px;}


/* cta-short */
.cta-short-section{background:url("../img/bg-noise.png") var(--color-green); padding:var(--padding-large) 0;}
.cta-short-section .row{gap:4.31rem;}
.cta-short-section:before{content: ''; top:3.5rem; background: rgba(255,255,255,0.32); width:calc(var(--page-side-gap) + var(--container)*0.5); position: absolute; height:1px; left:0;}
.cta-short-section:after{content: ''; bottom:3.5rem; background: rgba(255,255,255,0.32); width:calc(var(--page-side-gap) + var(--container)*0.5); position: absolute; height:1px; right:0;}


/* masthead-home */
.masthead-home-section{padding:10rem 0; background: url("../img/bg-noise.png") var(--color-green);}
.masthead-home-section .image{z-index: 2; position: absolute; top:0; right:0; bottom:calc(-1*var(--margin-big)); left:calc(var(--page-side-gap) + var(--container)*0.4166 + var(--container)/24);}
.masthead-home-section .decor{position: absolute; top:0; right:0; bottom:0; left:0;}
.masthead-home-section .decor:before{content: ''; z-index: 3; background: rgba(255,255,255,0.32); left:calc(var(--page-side-gap)*0.33); top:0; height:43%; width:1px; position: absolute;}
.masthead-home-section .decor:after{content: ''; z-index: 3; background: rgba(255,255,255,0.32); left:calc(var(--page-side-gap)*0.33); right:calc(var(--page-side-gap) + var(--container)*0.3333); position: absolute; bottom:2rem; height:1px;}


/* featured products */
.products-section{background:url("../img/bg-noise.png") var(--color-green); padding-bottom:calc(var(--padding-large) + var(--margin-big)); padding-top:calc(var(--padding-normal) + var(--margin-big));}
.products-section:before{content: ''; background: #fff; left:calc(var(--page-side-gap)*0.33); position: absolute; top:0; bottom:0; right:0;}

.featured-listing{display: flex; align-items: stretch; gap:1.5rem;}
.featured-listing .item{display: flex; flex-direction: column; justify-content: center; overflow: hidden; width:calc((100% - 1.5rem*3)/4);}
.featured-listing .content{outline:1px solid rgba(255,255,255,0.32); outline-offset: -1rem; top:100%; text-align: center; display: flex; flex-direction: column; justify-content: center; align-items: center; background: rgba(0, 104, 56, 0.96); padding:2rem; min-height: 20rem; transition:top 0.4s ease;}
.featured-listing .item:hover .content{top:0;}
.featured-listing a:not(.area-link){z-index: 5;}
.featured-listing .image{position: absolute; right:0; width:100%; text-align: center;}
.featured-listing .image img{max-width: 100%; max-height: 100%;}


/* about */
.about-section{background:url("../img/bg-noise.png") var(--color-green); padding:var(--padding-large) 0;}
.about-section .image{position: absolute; width:calc(var(--page-side-gap) + var(--container)*0.5 + 2.5rem); top:calc(-1*var(--margin-big)); left:0; bottom:0;}
.about-section .decor{position: absolute; top:0; right:0; bottom:0; left:0;}
.about-section .decor:before{content: ''; z-index: 2; background: rgba(255,255,255,0.32); right:calc(var(--page-side-gap)*0.33); top:0; height:50%; width:1px; position: absolute;}
.about-section .decor:after{content: ''; z-index: 2; background: rgba(255,255,255,0.32); right:calc(var(--page-side-gap)*0.33); left:calc(var(--page-side-gap) + var(--container)*0.25); position: absolute; bottom:2rem; height:1px;}


/* poultry */
.poultry-section{background:url("../img/bg-noise.png") var(--color-green); padding-top:calc(var(--padding-large) + var(--margin-big)); padding-bottom:var(--padding-large);}
.poultry-section .image{position: absolute; top:0; right:0; bottom:0; width:calc(var(--page-side-gap) + var(--container)*0.3333 + 2rem);}
.poultry-section:before{content: ''; background: #fff; position: absolute; top:var(--margin-big); right:0; bottom:0; left:0;}
.poultry-section .myers-logo{top:50%; transform: translateY(-50%); position: absolute; left:0; }
.poultry-section .myers-logo > div{text-align: center; padding:var(--padding-normal) 2rem; background:var(--color-light-beige); width:calc(var(--page-side-gap) + var(--container)*0.0833 + 2rem);}
.poultry-section .myers-logo img{max-width: 100%;}




/* ************************* */
/* FOOTER					 */
/* ************************* */
#footer{margin-top:auto; flex:none; padding:var(--padding-large) 0; background: #fff; }

.footer-brand img{width:9.5rem; max-width: 100%;}

.copyright-block{display: flex; flex-direction: column; gap:var(--margin-small); color:var(--color-dark-grey); font-size: var(--text-small);}
.copyright-block .copy-group{display: flex;}
.copyright-block .copy-group > div+div:before{content: '|'; margin:0 0.5rem;}
.copyright-block a:not(:hover):not(:focus){color:inherit;}

.footer-phone-contact{font-size:var(--h5); font-weight: 800;}
.footer-phone-contact a{text-decoration: none; color:var(--color-base);}
.footer-phone-contact a:hover, .footer-phone-contact a:focus{color:var(--color-hover);}

.social-share{display: flex; gap:1rem; flex-wrap:wrap;}
.social-share a{font-size: 1.25rem; text-decoration: none; color:#fff; background: var(--color-link); width:2.5rem; height:2.5rem; display: flex; align-items: center; justify-content: center;}
.social-share a:hover, .social-share a:focus{background: var(--color-hover);}

.site-map ul{padding:0; list-style-type: none; display: flex; flex-direction: column; gap:var(--margin-small);}
.site-map a{color:var(--color-base); text-decoration: none;}
.site-map a:hover, .site-map a:focus{color:var(--color-hover);}



/* ************************* */
/* RESPONSIVE				 */
/* ************************* */
@media (max-width: 1399.98px) {/* xl */
	#page-wrap{box-shadow:inset 0 0 0 0 black;}
	
	.masthead-internal-section .image{left:calc(var(--page-side-gap) + var(--container)*0.5 + var(--container)/24);}
	
	.cta-short-section .row{gap:2.5rem;}
	
	.masthead-home-section .image{left:calc(var(--page-side-gap) + var(--container)*0.5 + var(--container)/24);}
	
	.about-section .image{width:calc(var(--page-side-gap) + var(--container)*0.4166 + 2.5rem);}

}

@media (max-width: 1199.98px) {/* lg */
	#page-wrap{box-shadow:inset 0 0 0 0 red;}
	
	.cta-short-section .row{gap:1.5rem;}
	
	.masthead-home-section{padding:var(--padding-large) 0;}
	
	.featured-listing{flex-wrap:wrap;}
	.featured-listing .item{width:calc((100% - 1.5rem)/2);}
	
	.poultry-section .myers-logo > div{padding:var(--padding-normal) 1rem;}

	
}

@media (max-width: 991.98px) {/* md */
	#page-wrap{box-shadow:inset 0 0 0 0 green;}
	
	.masthead-internal-section .decor:before{height:calc(var(--padding-normal)*0.66); left:0.75rem;}
	.masthead-internal-section .decor:after{left:0.75rem;}
	
	.masthead-home-section .decor:before{height:calc(var(--padding-normal)*0.66); left:0.75rem;}
	.masthead-home-section .decor:after{left:0.75rem;}
	
	.featured-listing{gap:0.75rem;}
	.featured-listing .item{width:calc((100% - 0.75rem)/2);}
	.featured-listing .image{position: relative;}
	.featured-listing .content{top:0; min-height: inherit;}
	.products-section:before{left:0;}
	
	.about-section .decor:before{right:0.75rem; height:calc(var(--padding-large)*0.66);}
	.about-section .decor:after{right:0.75rem;}
	
	.poultry-section .image{width:calc(var(--container)*0.4166);}
	.poultry-section .myers-logo{left:auto; right:0;}
	.poultry-section .myers-logo > div{ width:calc(var(--container)*0.25); padding:2rem;}
	

}

@media (max-width: 767.98px) {/* sm */
	#page-wrap{box-shadow:inset 0 0 0 0 blue;}

	.masthead-internal-section .image{aspect-ratio:1.7777/1; margin-bottom:var(--margin-normal); margin-top:calc(-1*var(--padding-normal)); position: relative; left:0; right:0;}
	.masthead-internal-section .image:after{content: ''; height:calc(100vw/1.777 + 3rem); position: absolute; top:0; right:0.75rem; width:1px; background: rgba(255,255,255,0.32);}
	.masthead-internal-section .decor:before{display: none;}
	.masthead-internal-section .decor:after{right:1.5rem; left:0;}
	
	.cta-short-section .row{display: flex; flex-direction: column; text-align: center;}
	
	#footer{text-align: center;}
	#footer .row{flex-direction: column-reverse; align-items: center; gap:var(--margin-big);}
	#footer .site-map{display: flex; flex-direction: column; align-items: center;}
	#footer .site-map .heading-decor{justify-content: center; align-items: center;}
	#footer .site-map ul{padding:0 10%; flex-direction: row; flex-wrap:wrap; gap:var(--margin-small) 2rem; justify-content: center;}
	#footer .social-share{justify-content: center;}
	#footer .copyright-block{align-items: center; flex-direction: column-reverse;}
	
    .masthead-home-section .image{aspect-ratio:1.7777/1; margin-bottom:var(--margin-normal); margin-top:calc(-1*var(--padding-large)); bottom:0; position: relative; left:0; right:0;}
	.masthead-home-section .image:after{content: ''; height:calc(100vw/1.777 + 1rem); position: absolute; top:0; right:0.75rem; width:1px; background: rgba(255,255,255,0.32);}
	.masthead-home-section .decor:before{display: none;}
	.masthead-home-section .decor:after{right:1.5rem; left:0;}
	
	.products-section{padding:var(--padding-large) 0;}
	
	.about-section .image{aspect-ratio:1.777/1; margin-bottom:var(--margin-normal); width:100%; top:0; position: relative; margin-top:calc(-1*var(--padding-large));}
	.about-section .decor:before{height:calc(100vw/1.777 + 1rem);}
	.about-section .decor:after{right:1.5rem; left:0;}
	
	.poultry-section{padding-top:0;}
	.poultry-section .image{margin-bottom:var(--margin-normal); position: relative; width:100%; aspect-ratio:1.777/1;}
	.poultry-section:before{top:0;}
	.poultry-section .myers-logo{top:0; transform: none; left:0; }
	.poultry-section .myers-logo > div{width:33.33%;}
	
	
}

@media (max-width: 575.98px) {
	#page-wrap{box-shadow:inset 0 0 0 0 yellow;}
	
	.copyright-block .copy-group{flex-direction: column; gap:var(--margin-small);}
	.copyright-block .copy-group > div + div::before{display: none;}
	
	.featured-listing .item{width:100%;}
}

@media (max-width: 360px) {
	#page-wrap{box-shadow:inset 0 0 0 0 red;}

}




