/*
Theme Name: Beaver Builder Child Theme
Theme URI: http://www.wpbeaverbuilder.com
Version: 1.0
Description: An example child theme that can be used as a starting point for custom development.
Author: The Beaver Builder Team
Author URI: http://www.fastlinemedia.com
template: bb-theme
*/
body{--maxh:500px}
body .woocommerce-message{font-weight: normal}
.woocommerce-message p {font-weight: normal}
.woocommerce-page .woocommerce-message{background-color: #c3d574}
.pickup-location-field.pickup-location-cart-item-field{max-width: 100%}
.woocommerce a.remove{font-size:2em}
.woocommerce-shipping-total small{font-weight:normal}

.tc-epo-element-product-container-cart .product-title a{pointer-events:none}
.pickup-location-field .pickup-location-address{font-size:1em}
table.lpp-shipping-package-wrapper tr.woocommerce-shipping-totals .select2,table.lpp-shipping-package-wrapper{max-width: 400px}
.prod-overlay {
   	z-index: 1;
   	text-align: center;
  	bottom: 0;
  	position: relative;
  	margin-bottom: -10px;
}
.prod-overlay-feat {
   right: -0.5em;
   width: 1.5em;
   height: 1.5em;
   font-size: 300%;
   color: yellow;
   text-shadow: 0 0 0.0125em black, 0 0 0.0125em black;
}
.prod-overlay-text {
   	text-overflow: visible;
   	white-space: nowrap;
  	width: auto;
  	height: 30px;
	margin-left: 80px;
}
.prod-overlay-label {
   	color: #fff;
   	font-weight: bold;
   	text-shadow: 0 0 0.125em black, 0 0 0.125em black;
  	font-size: 18px;
  	transform: rotate(135deg);
  	position: absolute;
	translate: 23px -23px;
}
.exdemo .prod-overlay-label,.qa .prod-overlay-label{
  	text-shadow: 0 0 0.1em black, 0 0 0.1em black;
  	font-size: 15px;
	line-height: 15px;
}
.products .exdemo .prod-overlay-label,.products .qa .prod-overlay-label{
	top: auto;
	left: auto;
	translate: -53px 26px !important
}
.flex-viewport{border: 1px solid #207335}
body.woocommerce-page div.product div.images .flex-viewport img {border: 0 solid #207335}
.products .prod-overlay-text{
  	margin: 0;
  	/*left: 0;*/
  	justify-content: left;
  	/*transform: rotate(-90deg);
  	background-image: url(/wp-content/themes/bb-theme-child/images/New-Corner-Textless.png);*/
  	background-size: contain;
  	background-repeat: no-repeat;
    /*top: -137px;
    margin-bottom: -120px;
    width: 120px;/*150px;* /
    height: 120px;/*150px;*/
	position: absolute;
}
.products .prod-overlay-text.qa {
  	transform:inherit;
  	width: 60px;
  	height: 60px;
  	right: 20px;
  	background-image: url(/wp-content/uploads/2024/03/MK-QA-Logo-3.png);
  	top: 6px;
  	margin-bottom: -73px;
}
.qa .prod-overlay-label{display: none}
.products .prod-overlay-label{translate: -44px 24px}
.flex-viewport .prod-overlay-text{
	left: 0;
  	padding: 9px 0;
	width: 100px;
  	height: auto;
}
.flex-viewport .prod-overlay-label{
  	font-size: 20px;
  	display: block;
  	position: absolute;
  	text-align: center;
  	width: 100%;
}
.galleryup{
  	position: absolute;
  	z-index: 999;
  	bottom: 0px;
  	text-align: center;
  	left: 12px;
}
.galleryup button {
  	padding: 5px;
  	background-color: #207335;
  	color: #fff;
}
body.woocommerce ul.products li.product a img{
  	width: auto !important;
  	max-width: inherit;
	height: auto !important;
  	max-height: 14vw;
	border: 0;
}
.woocommerce ul.products li.product a,.woocommerce .products ul li, .woocommerce ul.products li{
  	overflow: hidden;
}
.woocommerce div.product div.images .flex-control-thumbs{
	/*max-height:var(--maxh) !important;*/
	overflow:hidden !important;
}
.single-product .prod-overlay{display:none}
.single-product .prod-overlay-text{margin-left: 0}
.flex-control-nav.flex-control-thumbs{height:200px} /* will be overwritten immediately

/* STICKER */
.stickerBox{
	position: absolute;
	display: flex;
	align-items: center;
	color: white;
	z-index: 500;
	width: 120px;
  	height: 120px;
  	justify-content: left;
	background-repeat: no-repeat;
	/* left: 80px; */
  	/* transform: rotate(-90deg); */
  	/* bottom: -2px; */
  	top: 10px;
  	right: 20px;
  	transform: rotate(0deg);
  	border-radius: 50%;
}
.triangle.qa{
	background-size: contain;
	width:60px;
	height:60px;
	background-image: url(/wp-content/uploads/2024/03/MK-QA-Logo-3.png);/*150px*/
	/* background-image: url(/wp-content/themes/bb-theme-child/images/New-Corner-Textless.png); */
}
.woocommerce div.product .product_title{margin-top:10px}
body .flex-viewport figure .prod-overlay-label {display: none !important}
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image--placeholder:nth-child(1) img{/* Doive 06/04/23*/display: none;}
/* Doive 10/06/24: Buttons */
body .fl-node-blzohvgk638q{width: 160px}
body .fl-node-2ouply3ifm94{width: calc(100% - 160px)}
#phoneme a.fl-button:hover, .fl-builder-content #phoneme a.fl-button:hover{
  	background-color: #217333 !important;
  	border-color: #217333 !important;
}
#phoneme a.fl-button:hover span, .fl-builder-content #phoneme a.fl-button:hover span{color: #fff}

@media only screen and (max-width: 1280px) and (min-width: 900px){
	body.woocommerce img, body.woocommerce-page img {
	  	height: auto;
  		max-width: 86%;
	}
	body.woocommerce-page img.wp-post-image{max-width: 100%}
}
@media only screen and (max-width: 1280px) and (min-width: 901px){
	body .flex-viewport {
  		/*width: 37vw;
  		height: 27vw !important;*/
		display: block;
	}
	.flex-viewport .prod-overlay-text {
  		/*width: 37vw;*/
		bottom: 0;
  		position: fixed;
    	display: block;
    	top: initial;
  	}
	.flex-viewport figure{
  		/*height: 26vw;*/
  		display: block;
  		/*width: 31vw !important;*/
	}
}
@media only screen and (max-width: 974px){
	.products .prod-overlay-text{top:-134px}
}
@media only screen and (max-width: 900px){
	body.woocommerce ul.products li.product a img{height: 66vw}
	body .flex-viewport {
  		/*height: 66vw !important;
  		width: 79vw;*/
	}
	.flex-viewport .prod-overlay-text {
  		/*width: 81vw;*/
  		position: fixed;
		bottom: -1vw;
    	display: block;
    	top: initial;
	}
	.flex-viewport figure{
  		/*width: 79vw !important;*/
  		/*height: 66vw;*/
  		display: block;
	}
	/*.stickerBox{bottom: -2px}*/
}

@media only screen and (max-width: 420px){/* Doive 06/04/23 - changed to 420px */
	body.woocommerce ul.products li.product a img {height: 69vw}
	.flex-viewport .prod-overlay-text{width: 90vw}
	.stickerBox{
		/*left: 0;
  		width: 130px;
  		height: 130px;
		bottom: -2px;*/
	}
	.woocommerce div.product .product_title {
    	margin-top: 20px;
	}
	.galleryup{
    	bottom: 196px;
    	right: 0;
		left: auto;
    	transform: rotate(90deg);
	}
	/* Doive 06/04/23*/
	.woocommerce div.product .flex-control-thumbs img{max-width: 100px !important}
  	/*body.woocommerce div.product div.images .flex-control-thumbs li{flex: inherit}*/
	.woocommerce div.product div.images .flex-control-thumbs{display: none}
	/*.flex-viewport figure::after {
  		content: "Swipe Left/Right on the image above to see more images";
  		display: block;
  		width: 100%;
  		height: 20px;
	}*/
}

/* Responsive tweaks by Beth 2/3/23 - to be moved over when changes go live */

@media (max-width:1085px) {
    body.woocommerce ul.products li.product a img {
    	width: auto !important;
    	max-height: 100vw;
    	max-width: inherit;
    	border: 0;
	}
}
@media (max-width: 900px) {/*Doive 10/06/24*/
  	.fl-node-blzohvgk638q.fl-col-small:not(.fl-col-small-full-width){max-width: 100%}
}
@media (max-width:862px) {
    .prod-overlay-text {
    	text-overflow: visible;
    	white-space: nowrap;
    	/*left: 0;*/
	}
	.exdemo .prod-overlay-label, .qa .prod-overlay-label {
	    text-shadow: 0 0 0.1em black, 0 0 0.1em black;
	    font-size: 16px;
    	line-height: 16px;
		translate: 17px -28px
	}
}
@media (max-width:640px) {
    /*.prod-overlay-text {
    	text-overflow: visible;
    	white-space: nowrap;
	}*/
	.products .prod-overlay-text.qa {right: 10px}
    .exdemo .prod-overlay-label, .qa .prod-overlay-label {
    	text-shadow: 0 0 0.1em black, 0 0 0.1em black;
	}
}

@media (max-width:767px) {
    body.woocommerce ul.products li.product a img {
    	/* width: auto !important; */
    	/* height: 21vw !important; */
    	height: 34vw!important;
    	max-width: inherit;
    	border: 0;
	}
}

@media (max-width:479px) {
    body.woocommerce ul.products li.product a img {
    	/* width: auto !important; */
    	/* height: 35vw !important; */
    	height: 66vw !important;
    	max-width: inherit;
    	border: 0;
	}
}