/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */

@media (max-width: 768px) {
	#et-secondary-nav {
		margin-top: 2px !important;
    	margin-bottom: 2px;
    	display: flex !important;
    	align-items: center;
    	justify-content: center;
	}
	input[name="coupon_code"] {
		width:100%;
		margin-bottom:10px;
	}
	button[name="apply_coupon"] {
		display: block;
    	float: none;
    	width: 100%;
	}
	.et_secondary_nav_two_panels #et-secondary-menu {
		margin-bottom: 12px;
	}
	#main-content article .entry-content .et-l > .et_builder_inner_content > .et_pb_section_first {
		padding-top: 260px !important;
    	padding-bottom: 50px !important;
	}
	#et-secondary-menu>ul>li a {
		padding-bottom: 0;
	}
	
}

@media (min-width: 768px) and (max-width: 980px) {
	#et-secondary-nav {
		    display:block !important;
		    padding-top: .75em;
	}
}

@media (max-width:980px) {
	#et-secondary-menu {
		display: flex !important;
		align-items:center;
		justify-content:center;
		gap: 1.5em;
	}
}


/* .et-cart-info { display:none !important; } */

.et-cart-info span:before {
	margin-right:5px;
}

body.et_pb_recaptcha_enabled .grecaptcha-badge {
    visibility: hidden;
}

/* body.logged-in #shopMessage {
	display:none !important;
}
body:not(.logged-in) #dvProducts {
	display:none !important;
} */

#et-main-area a:hover {
	opacity:0.8;
}

/***** BUTTONS *****/
body .et_pb_button:not(.wholesale-slider-button),
body .woocommerce a.button,
body .woocommerce button.button,
body .woocommerce a.button.checkout-button,
body .woocommerce button.button.alt {
	color: #fff !important;
    background-color: #bd1f3e;
    border-width: 0px !important;
    border-radius: 100px !important;
    padding: 15px 40px !important;
    font-size: 14px !important;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 2px;
}
.et_pb_button:after, .et_pb_button:before,
body .woocommerce a.button.checkout-button:before, body .woocommerce a.button.checkout-button:after,
body .woocommerce a.button:before, body .woocommerce a.button:after,
body .woocommerce button:before, body .woocommerce button:after {
	display:none;
}
body .et_pb_button:not(.wholesale-slider-button):hover,
body .woocommerce button.button:hover,
body .woocommerce button.button.alt:hover,
body .woocommerce a.button:hover,
body .woocommerce a.button.checkout-button,
.woocommerce-message a.button.wc-forward:hover {
	background-color:#c2a679;
	color:#fff !important;
}

body button[type="submit"]:not(#place_order) {
	background-color:#c2a679;
}
body button[type="submit"]:not(#place_order):hover {
	background-color: #bd1f3e !important;
	border-color: #bd1f3e !important;
	color:#fff !important;
	cursor:pointer;
}

/***** TYPE *****/

h2, h3, h4, h5, h6,
.et_pb_contact_main_title {
	font-family: 'Lexend Deca', sans-serif !important;
}

.yesteryear-header h2 {
	font-family: 'Yesteryear',handwriting !important;
}

.et_pb_text_inner a {color: #bd1f3e!important;text-decoration:underline;}

a.et_pb_button {
line-height: 1.4em !important;	
}

small {font-size: 0.7rem;
    font-weight: 400;}

hr {
	display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

.sup {
    vertical-align: super;
    font-size: 0.5em;
}

.et-social-icon > a:before {
	font-size: 16px;
}

.icon-list ul {
	padding-left: 26px;
}

.icon-list ul > li {
    font-family: 'Source Serif Pro',Georgia,"Times New Roman",serif;
    list-style: none;
}

.icon-list ul > li:before {
	content: '';
    display: inline-block;
    height: 13px;
    width: 12px;
    background-image: url(/wp-content/uploads/2019/09/deluxe-vanilla-favicon.png);
    background-size: contain;
	background-position: center center;
    position: absolute;
    left: 0px;
    top: 6px;
}

.et-fixed-header #top-menu #menu-item-34>a, 
.et-fixed-header #top-menu #menu-item-38>a {
	color: #2d2d2d!important;
}
header:not(.et-fixed-header) nav>ul>#menu-item-34>a,
header:not(.et-fixed-header) nav>ul>#menu-item-38>a{
	color: #fff !important;
}

.btn-inline .et_pb_button_module_wrapper {
    display: inline-block;
    margin: 0 10px;
	width:230px;
}

.btn-inline .et_pb_button_module_wrapper > a {
	width: 100%;
}

#mobile_menu {
	background-color: rgba(0, 0, 0, 1) !important;
}

.et_header_style_split #main-header .mobile_nav {
    background-color: rgba(0,0,0,.3);
}

.et_pb_wc_images .onsale {display: none;}

/***** sticky logo *****/
.et-fixed-header #logo {
content: url(/wp-content/uploads/2019/09/deluxe-vanilla-favicon.png);
}
body .et-fixed-header .centered-inline-logo-wrap {
	height: 50px !important;
    top: -14px;
}

/***** TOP NAV *****/
@media (min-width:981px) {
	.et_header_style_split #et-top-navigation nav>ul>li>a {
		padding-bottom: 3em;
	}
}
@media (min-width:980px) and (max-width:1200px) {
	.et_header_style_split #top-menu-nav {
		width:100%;
	}
	header:not(.et-fixed-header) .centered-inline-logo-wrap #logo {
		top:-10px !important;
	}
}

.et_header_style_split #top-menu-nav {
/* 	    width: 80%; */
    max-width: 1400px;
}
#top-menu {
	display: flex;
    justify-content: space-evenly;
    align-items: center;
/*     flex-wrap: wrap; */
    height: 100%;
}

#top-menu li:not(.centered-inline-logo-wrap) {
    max-width: 20%;
    line-height: 1.5em;
	flex:1;
}

header:not(.et-fixed-header) .centered-inline-logo-wrap #logo {
    top: -18px;
    position: relative;
}

header:not(.et-fixed-header) .centered-inline-logo-wrap{
max-width: 175px !important;
}

#top-menu li {
	padding: 0 20px !important;
}

header.et-fixed-header ul#top-menu > * {
    padding-bottom: 25px;
}

/**** HOME SHOP ****/

/* image edge fix */
.woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image {
	margin-right:1px !important;
}
.home-shop-section {
	display: flex;
    justify-content: center;
}
.home-shop-section .et_pb_column_1_4 {
	    margin-right: -40px;
}
.home-shop-links-extra a {
    padding: 5px 20px;
    display: inline-block;
}
ul.products li.product .wc-new-badge {
	display:none;
}
.ags_woo_shop_plus {
	min-height:0 !important;
}
/* div.ags_woo_shop_plus .wc-new-badge {
	background:#bd1f3e;
	font-size: 0.8rem;
	padding: 0.1em 1em;
	display: inline-block !important;
    border-radius: 0 !important;
	z-index: 2;
	position: absolute;
} */

/***** WHOLESALE *****/
body.logged-in .wholesale-inquiry-box {
	display: none;
}

.woocommerce-form-coupon-toggle {
	display:none;
}
body .woocommerce form.checkout_coupon {
	display: block !important;
}

#customer_details {
	margin-bottom:30px;
}

.woocommerce-terms-and-conditions-wrapper {
	margin-bottom: 20px;
}

.woocommerce .woocommerce-order-details {
    margin-top: 2em;
}

/***** ONLINE SHOP *****/

/***** hide product sale prices *****/
.woocommerce ul.products li.product .price del {
	text-decoration: none;
    opacity: 1;
}
.woocommerce ul.products li.product .price ins {
	display:none;
}

.woocommerce-breadcrumb {
	pointer-events:none;
}

p.woocommerce-result-count {
	font-style:italic;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: 'Open Sans' !important;
	color: #bd1f3e;
    font-weight: 900;
}
.woocommerce ul.products li.product .price * {
	font-weight:900 !important;
	font-size:18px;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price {
	font-size:18px;
}
.price ins bdi {
    color: #be213d !important;
}
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .price del {
    color: #000000 !important;
}
.woocommerce ul.products li.product .onsale {
    left: 0px!important;
    top: 0 !important;
    border-radius: 0px !important;
    background: #be213d !important;
    font-size: 16px;
    font-weight: 600 !important;
}

.berocket_better_labels.berocket_better_labels_image {
	right:auto !important;
}
.berocket_better_labels .br_alabel > span {
	padding: 1em !important;
    margin: 0px !important;
    width: auto !important;
    border-radius: 0px !important;
}

.ags_woo_shop_plus_0.ags_woo_shop_plus {
	min-height: auto !important;
}

.product_cat-gallon-product:before{
	content: "10% off 4 or more - Mix and Match Gallon";
}

.product_cat-quart-product-alt:before {
	content:"10% off case of 6 or more";
}

.product_cat-quart-product:before {
	content:"10% off 6 or more - Mix and Match Pure Organic";
}

.product_cat-gallon-product:before,
.product_cat-quart-product-alt:before,
.product_cat-quart-product:before {
    background: #bd1f3e;
    padding: 0.4em 1.4em;
    color: #fff;
    border-radius: 100px;
    position: absolute;
    z-index: 1;
    top: 5px;
    left: auto;
    right: 0;
    font-size: 90%;
	line-height: 1rem;
}



/***** SINGLE PRODUCT *****/
.woocommerce table.shop_attributes th {
	text-align:left;
}
.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td {
	padding:0.5em;
}
.et-dynamic-content-woo--product_reviews.woocommerce .woocommerce-Reviews-title, 
.wdr_table_container,
.bulk_table,
.woocommerce-product-attributes-item--weight, 
.woocommerce-product-attributes-item--dimensions {
	display:none !important;
}

/****** CART ******/
@media (max-width:767px) {
	.woocommerce-notices-wrapper .woocommerce-message {
		text-align: center;
	}
	.woocommerce-notices-wrapper .woocommerce-message span {
		margin-bottom: 10px;
    	display: block;
	}
	.woocommerce-notices-wrapper .woocommerce-message a.button {
		float:none !important;
		display:block;
		margin:3% 0;
	}

}

@media (min-width:767px) {
body .woocommerce-notices-wrapper .woocommerce-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1em;
}
/* 	body .woocommerce-notices-wrapper .woocommerce-message span {
	width:60%;
}
	body .woocommerce-notices-wrapper .woocommerce-message a.button {
		width: 40%;
	} */
}

body .woocommerce-message a.button {
	border:2px solid #fff !important;
    text-align: center;
	color: #bd1f3e !important;
	background: #fff;
    text-decoration: none;
}

body .woocommerce-info a {
	color: #fff !important;
}

/****** CHECKOUT ******/
li.wc_payment_method label {
    font-size: 1.1em;
	font-family: 'Lexend Deca';
    color: #000;
}

/***** FOOTER *****/
@media (min-width:981px) {
	.footer-contact-2-columns .et_pb_column_1_2 {
		width:50% !important;
	}
}

body #footer-credits a {
font-weight: 500;
    color: #808080 !important;
}
.footer-quick-links a {
	color:#c2a679 !important;
}



/****** Woo Shop + Module ******/

.ags_woo_shop_plus .products {
    margin-top: 30px;
    list-style-type: none;
    padding-left: 0px;
}
.ags_woo_shop_plus .woocommerce ul.products li.product .price {
	display:block;
}
.ags_woo_shop_plus .woocommerce ul.products li.product .quantity .qty {
	text-align: center;
    margin: 5px 10px 10px 0px;
}
.ags_woo_shop_plus .woocommerce ul.products li.product .add_to_cart_button,
.woocommerce ul.products li.product .button {
	display: block;
    letter-spacing: 1px;
	text-align: center;
}
/* .ags_woo_shop_plus .woocommerce ul.products li.product  {
    border-bottom: 2px solid #e4e4e4;
} */

@media (max-width: 980px) {

.ags_woo_shop_plus .woocommerce ul.products li.product {
    margin-bottom: 30px !important;
    padding-bottom: 20px;
}
}