/*
Theme Name: Divi Child
Theme URI: https://www.elegantthemes.com/gallery/divi/
Description: Divi child theme via Freshy
Author: Freshy
Author URI: https://freshysites.com/
Template: Divi
Version: 4.2.1
*/
/* Add your own styles at the bottom */

/* -- COLORS -- */

.white, 
.white h1, .white h2, .white h3, .white h4, .white h5, .white h6, .white li, .white a,
h1.white, h2.white, h3.white, h4.white, h5.white, h6.white, li.white, a.white, p.white {
	color: #fff;
}

.black, 
.black h1, .black h2, .black h3, .black h4, .black h5, .black h6, .black li, .black a,
h1.black, h2.black, h3.black, h4.black, h5.black, h6.black, li.black, a.black, p.black {
	color: #000;
}

.primary, 
.primary h1, .primary h2, .primary  h3, .primary h4, .primary h5, .primary h6, .primary li, .primary a,
h1.primary, h2.primary, h3.primary, h4.primary, h5.primary, h6.primary, li.primary, a.primary, p.primary {
	color: #32a709;
}

.secondary, 
.secondary h1, .secondary h2, .secondary h3, .secondary h4, .secondary h5, .secondary h6, .secondary li, .secondary a,
h1.secondary, h2.secondary, h3.secondary, h4.secondary, h5.secondary, h6.secondary, li.secondary, a.secondary, p.secondary {
	color: #daf238;
}

.tertiary, 
.tertiary h1, .tertiary h2, .tertiary h3, .tertiary h4, .tertiary h5, .tertiary h6, .tertiary li, .tertiary a,
h1.tertiary, h2.tertiary, h3.tertiary, h4.tertiary, h5.tertiary, h6.tertiary, li.tertiary, a.tertiary, p.tertiary {
	color: #e4debe;
}

/* background colors */
.bg-white, a.bg-white {background-color: #fff;}
.bg-black, a.bg-black {background-color: #000;}
.bg-primary, a.bg-primary {background-color: #32a709;}
.bg-secondary, a.bg-secondary {background-color: #daf238;}
.bg-tertiary, a.bg-tertiary {background-color: #e4debe;}

/* -- END COLORS -- */


/* -- TYPOGRAPHY -- */

.text-lowercase, 
.text-lowercase h1, .text-lowercase h2, .text-lowercase h3, .text-lowercase h4, .text-lowercase h5, .text-lowercase h6, .text-lowercase li, .text-lowercase a {
	text-transform: lowercase !important;
}

.text-uppercase, 
.text-uppercase h1, .text-uppercase h2, .text-uppercase h3, .text-uppercase h4, .text-uppercase h5, .text-uppercase h6, .text-uppercase li, .text-uppercase a {
	text-transform: uppercase !important;
}

.text-capitalize, 
.text-capitalize h1, .text-capitalize h2, .text-capitalize h3, .text-capitalize h4, .text-capitalize h5, .text-capitalize h6, .text-capitalize li, .text-capitalize a {
	text-transform: capitalize !important;
}

/* .text-transform-none, 
.text-transform-none h1, .text-transform-none h2, .text-transform-none h3, .text-transform-none h4, .text-transform-none h5, .text-transform-none h6, .text-transform-none li, .text-transform-none a {
	text-transform: none !important;
} */

.font-weight-bold, 
.font-weight-bold h1, .font-weight-bold h2, .font-weight-bold h3, .font-weight-bold h4, .font-weight-bold h5, .font-weight-bold h6, .font-weight-bold li, .font-weight-bold a {
	font-weight: 700;
}

.font-weight-normal, 
.font-weight-normal h1, .font-weight-normal h2, .font-weight-normal h3, .font-weight-normal h4, .font-weight-normal h5, .font-weight-normal h6, .font-weight-normal li, .font-weight-normal a {
	font-weight: 400;
}

.font-italic {font-style: italic;}

.text-underline-none, .text-underline-none a {text-decoration: none !important;}

.text-underline, .text-underline a {text-decoration: underline !important;}

.text-nowrap, .text-nowrap a {white-space: nowrap !important;}

.text-wrap-normal, .text-wrap-normal a {white-space: normal !important;}

/* -- END TYPOGRAPHY -- */


/* -- TEMPLATE -- */



/* -- END TEMPLATE -- */


/* -- HEADER -- */

/* helps logo to not be pixelated when scaled down */
#logo {
	transform: none !important;
}

/* when mobile menu is open, change hamburger icon to x icon */
#et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before,
#et-boc header .mobile_nav.opened .mobile_menu_bar::before {
	content: '\4d';
}

/* makes sub sub menu icon be right arrow instead of down arrow */
#top-menu .menu-item-has-children .menu-item-has-children > a:first-child::after, 
#et-secondary-nav .menu-item-has-children .menu-item-has-children > a:first-child::after,
#et-boc header .menu-item-has-children  .menu-item-has-children > a:first-child::after {
	content: '5';	
}

/* if parent link of child menu is a deadlink, then make it not clickable */
#main-header #mobile_menu.et_mobile_menu .menu-item-has-children > a[href="#0"],
#et-boc header .et_mobile_menu .menu-item-has-children > a[href="#0"] { 
	pointer-events: none;
}

/* - mobile menu toggling elements, injected via jQuery - */

/* make menu list item be relative, to be able to position toggle within this item */
#main-header #mobile_menu.et_mobile_menu .menu-item-has-children,
#et-boc header .et_mobile_menu .menu-item-has-children {
	position: relative;	
}
/* the new toggle element, which is added via jQuery */
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle,
#et-boc header .et_mobile_menu .sub-menu-toggle {
	position: absolute;
	background-color: rgba(0,0,0,0.03);
	z-index: 1;
	width: 36px;
	height: 36px;
	line-height: 36px;
	border-radius: 50%;
	top: 4px;
	right: 4px;
	cursor: pointer;
	text-align: center;
}
/* the new toggle element when popped */
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped,
#et-boc header .et_mobile_menu .sub-menu-toggle.popped {
	background-color: rgba(0,0,0,0.1);
}
/* toggle icon */
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle::before,
#et-boc header .et_mobile_menu .sub-menu-toggle::before {
	font-family: "ETmodules" !important;
	font-weight: normal;
	font-style: normal;
	font-variant: normal;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	line-height: 36px;
	font-size: 24px;
	text-transform: none;
	speak: none;
	content: '\33';
}
/* toggle icon when triggered */
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped::before,
#et-boc header .et_mobile_menu .sub-menu-toggle.popped::before {
	content: '\32';
}
/* hide sub menus by default */
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle ~ ul.sub-menu,
#et-boc header .et_mobile_menu .sub-menu-toggle ~ ul.sub-menu {
	display: none !important;
	padding-left: 0;
}
/* show sub menu when triggered via jQuery toggle, and add slight bg color */
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped ~ ul.sub-menu,
#et-boc header .et_mobile_menu .sub-menu-toggle.popped ~ ul.sub-menu {
	display: block !important;
	background-color: rgba(0,0,0,0.03);
}
/* remove sub menu list item left padding, since padding will be on anchors */
#main-header #mobile_menu.et_mobile_menu li li,
#et-boc header .et_mobile_menu li li {
	padding-left: 0;
}

/* adjust mobile menu anchors side paddings */
#main-header #mobile_menu.et_mobile_menu li a,
#et-boc header .et_mobile_menu li a {
	padding-left: 20px;
	padding-right: 20px;
}
/* indent sub menu */
#main-header #mobile_menu.et_mobile_menu li li a,
#et-boc header .et_mobile_menu li li a {
	padding-left: 40px;
	padding-right: 20px;
}
/* indent sub sub menus further */
#main-header #mobile_menu.et_mobile_menu li li li a,
#et-boc header .et_mobile_menu li li li a {
	padding-left: 60px;
	padding-right: 20px;
}
/* if mobile menu anchor has toggle, make room for it to fit next to the link */
#main-header #mobile_menu.et_mobile_menu .menu-item-has-children .sub-menu-toggle + a,
#et-boc header .et_mobile_menu .menu-item-has-children .sub-menu-toggle + a {
	padding-right: 44px;
}

/* - end mobile menu toggling elements - */

/* undo Divi's default styling of mobile menu links that have children */
#main-header #mobile_menu.et_mobile_menu .menu-item-has-children > a,
#et-boc header .et_mobile_menu .menu-item-has-children > a {
	background-color: transparent;
	font-weight: inherit;
}

/* make the current page's mobile menu link be different */
#main-header #mobile_menu.et_mobile_menu li.current-menu-item > a,
#et-boc header .et_mobile_menu li.current-menu-item > a {
	font-weight: bolder;
}

/* -- END HEADER -- */


/* -- FOOTER -- */

/* - Bottom Bar - */

/* copyright wrapper */
#freshy_copyright {
	display: flex;
	flex-direction: column;
	align-items: center;
	color: #F5EFE0;
	font-size: 12px;
	line-height: 1.25em;
	font-weight: 400;
}

/* vertical pipe divider */
#freshy_copyright span.copyright_via {
	width: 33.33333%;
	height: 1px;
	overflow: hidden;
	white-space: nowrap;
	text-indent: 200%;
	background: rgba(255,255,255,0.25);
	vertical-align: middle;
	margin: 10px auto 15px;
	display: block;
}

/* add an FS logo via background */
#freshy_copyright a.copyright_fs {
	display: block;
	width: 68px;
	height: 20px;
	background-image: url("/wp-content/uploads/freshy_logo_WHITE.svg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	text-indent: 200%;
	white-space: nowrap;
	overflow: hidden;
	margin: 4px 0 0 0;
	flex-shrink: 0;
	transition: all 0.4s ease-in-out;
}
/* FS logo link hover */
#freshy_copyright a.copyright_fs:hover {
	opacity: 0.8;
}

/* remove the bottom margin that Divi adds to the social media follow icons */
#fs-footer-bottom-bar .et_pb_social_media_follow li {
	margin-bottom: 0;
}

@media (min-width: 600px) {
	/* make the copyright elements be side by side at wider screens */
	#freshy_copyright {
		flex-direction: row;
	}
	/* change horizontal pipe divider to vertical on wider screens */
	#freshy_copyright span.copyright_via {
		width: 1px;
		height: 20px;
		margin: 0 10px;
	}
}

/* -- END FOOTER -- */


/* -- RESPONSIVE -- */

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

/* do for desktop */
@media screen and (min-width: 768px) {
	/* hide on desktop */
	.hide-desktop {
		display: none;
	}
}

/* -- END RESPONSIVE -- */


/* -- CHECKLIST -- */

.checklist ul {
	margin: 0;
	padding: 0 !important;
	list-style: none;
}

.checklist ul li {
	position: relative;
	padding-left: 30px;
	margin: 0 0 6px !important;
}

.checklist-columns-2 ul li,
.checklist-columns-3 ul li,
.checklist-columns-4 ul li {
	margin-bottom: 30px !important;
}

@media (max-width: 638px) {
	.checklist-columns-2 ul li,
	.checklist-columns-3 ul li,
	.checklist-columns-4 ul li {
		margin-bottom: 20px !important;
	}
	.checklist-columns-2 ul li:last-child,
	.checklist-columns-3 ul li:last-child,
	.checklist-columns-4 ul li:last-child {
		margin-bottom: 0 !important;
	}
}

/* create columns of list items with this class */
@media (min-width: 639px) {
	.checklist-columns-2 ul::after,
	.checklist-columns-3 ul::after,
	.checklist-columns-4 ul::after {
		content: '';
		clear: both;
		display: table;
	}
	.checklist-columns-2 ul li,
	.checklist-columns-3 ul li,
	.checklist-columns-4 ul li {
		float: left;
		width: 50%;
		padding-right: 30px;
	}
	.checklist-columns-2 ul li:nth-child(odd),
	.checklist-columns-3 ul li:nth-child(odd),
	.checklist-columns-4 ul li:nth-child(odd){
		clear: both;	
	}
	.checklist-columns-2-alt > ul,
	.checklist-columns-3-alt > ul,
	.checklist-columns-4-alt > ul {
		column-count: 2;
		column-gap: 20px;
	}
	.checklist-columns-2-alt ul li,
	.checklist-columns-3-alt ul li,
	.checklist-columns-4-alt ul li {
		break-inside: avoid-column;
	}
}
@media (min-width: 981px) {
	.checklist-columns-3 ul li,
	.checklist-columns-4 ul li {
		float: left;
		width: 33.333333%;
	}
	.checklist-columns-3 ul li:nth-child(odd),
	.checklist-columns-4 ul li:nth-child(odd) {
		clear: none;	
	}
	.checklist-columns-3 ul li:nth-child(3n+1),
	.checklist-columns-4 ul li:nth-child(3n+1) {
		clear: both;	
	}
	.checklist-columns-3-alt ul,
	.checklist-columns-4-alt ul {
		column-count: 3;
	}
}
@media (min-width: 1199px) {
	.checklist-columns-4 ul li {
		float: left;
		width: 25%;
	}
	.checklist-columns-4 ul li:nth-child(odd) {
		clear: none;	
	}
	.checklist-columns-4 ul li:nth-child(3n+1) {
		clear: none;	
	}
	.checklist-columns-4 ul li:nth-child(4n+1) {
		clear: both;	
	}
	.checklist-columns-4-alt ul {
		column-count: 4;
	}
}

.checklist ul li::before {
	font-family: 'ETModules';
	content: '\4e';
	width: 20px;
	margin: 0;
	display: inline-block;
	text-align: center;
	position: absolute;
	top: 0;
	left: 0;
	color: #32a709;
	/* set font size helps make icon sharper */
	font-size: 22px;
	font-weight: normal;
}
.pluslist ul li::before {
	content: '\e050';
}
.externallist ul li::before {
	content: '\e906';	
}

/* -- END CHECKLIST -- */


/* -- DIVI HACKS -- */

/* make parallax image be centered at the start */
.et_parallax_bg {
	background-position: center center;	
}

/* Divi was turning off bottom padding on last paragraphs, when it should be only if it's the last child */
p:last-of-type,
p:not(.has-background):last-of-type {
	padding-bottom: 1em;
}
p:last-child,
p:not(.has-background):last-child {
	padding-bottom: 0;
}

/* if there are more than one paragraphin the Fullwidth Header module, they should have padding */
.et_pb_fullwidth_header p:not(:last-child) {
	padding-bottom: 1em;
}

/* -- END DIVI HACKS -- */


/* -- PASSWORD PROTECTED -- */

/* set a max width to make it only as wide as most content */
.post-password-required .et_password_protected_form {
	width: 80%;
	margin: 10% auto;
	max-width: 1140px;
}

/* give the input a border */
.post-password-required .et_password_protected_form p input {
	border: 1px solid !important;
}

/* remove the arrow on hover of the submit button */
.post-password-required .et_password_protected_form .et_submit_button::after {
	display: none;
}

/* -- END PASSWORD PROTECTED -- */


/* -- TESTIMONIALS PLUGIN -- */

/* flip quote so it's an opening quote icon for grid and slider versions */
.b3_archive_testimonials_grid article .b3_quote.grid_quote::before,
.et_pb_module.et_pb_testimonial_slider .et_pb_slides_testi::before {
	transform: scale(-1,-1);
}

/* -- END TESTIMONIALS PLUGIN -- */


/* -- GRAVITY FORMS -- */

/* confirmation (success) message */
.gform_confirmation_wrapper .gform_confirmation_message {
	font-size: 1.2rem;
	line-height: 1.5em;
	padding: 2rem;
	background: rgba(90, 90, 90, 0.1);
	text-align: center;
}

/* -- END GRAVITY FORMS -- */


/* -- HELPERS -- */

/* use the "fullwidth-section" class on a SECTION to make a "standard" SECTION truly be fullwidth 
(NOTE: the SECTION needs THIS class) */
.fullwidth-section.et_pb_section {
	padding: 0;
}
.fullwidth-section.et_pb_section > .et_pb_row {
	width: 100% !important;
	max-width: 100% !important;
	padding: 0;
}

/* use the "fullwidth-row" class on a SECTION to make a "full width" ROW truly be fullwidth 
(NOTE: the ROW module settings needs to be Gutter Width 1, and the SECTION needs THIS class,
and unlike the class above, THIS class will auto-add padding to the columns) */
.fullwidth-row.et_pb_section {
	padding: 0;	
}
.fullwidth-row.et_pb_section .et_pb_row {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}
/* helps add padding to each column */
.fullwidth-row.et_pb_section .et_pb_row > .et_pb_column {
	padding: 50px 10%;
}
@media (min-width: 767px) {
	.fullwidth-row.et_pb_section .et_pb_row > .et_pb_column {
		padding: 80px 6%;
	}
}
/* for some reason Divi removes bottom margin from modules if in column with no gutters, 
so we need to add margins back */
.fullwidth-row.et_pb_section .et_pb_row.et_pb_gutters1 > .et_pb_column .et_pb_module:not(:last-child) {
	margin-bottom: 30px;
}
@media (min-width: 981px) {
	.fullwidth-row.et_pb_section .et_pb_row.et_pb_gutters1 > .et_pb_column_2_3 .et_pb_module:not(:last-child) {
		margin-bottom: 4.242%;
	}
	.fullwidth-row.et_pb_section .et_pb_row.et_pb_gutters1 > .et_pb_column_1_3 .et_pb_module:not(:last-child) {
		margin-bottom: 9.27%;
	}	
}
/* reduce gap between toggles if in fullwidth row */
.fullwidth-row.et_pb_section .et_pb_row.et_pb_gutters1 > .et_pb_column .et_pb_module.et_pb_toggle:not(:last-child) {
	margin-bottom: 3px;
}

@media (max-width: 980px) {
	/* use the "stacked-flex" class on a ROW to make it be flexbox when stacked, to help with adjusting order of stacked columns */
	.stacked-flex,
	.stacked-flex.et_section_specialty .et_pb_row {
		display: flex;
		flex-wrap: wrap; 
	}
	/* add the desired class to COLUMNS to designate their order when stacked within a "stacked-flex" ROW */
	.stacked-order-negative-4 {
		order: -4;
	}
	.stacked-order-negative-3 {
		order: -3;
	}
	.stacked-order-negative-2 {
		order: -2;
	}
	.stacked-order-negative-1 {
		order: -1;
	}
	.stacked-order-1 {
		order: 1;
	}
	.stacked-order-2 {
		order: 2;
	}
	.stacked-order-3 {
		order: 3;
	}
	.stacked-order-4 {
		order: 4;
	}
	/* adds margin to former "last" column that otherwise wouldn't have it */
	.stacked-flex:last-child .et_pb_column:last-child {
		margin-bottom: 30px;
	}
}

/* -- END HELPERS -- */

/* -- BLOG -- */

/* sidebar recent posts */
.et_pb_widget.widget_recent_entries ul li  {
	margin-bottom: 1em;
}

/* sidebar recent posts dates */
.et_pb_widget.widget_recent_entries ul li span.post-date {
	display: table;
	font-size: 0.85em;
}

/* -- END BLOG -- */

/* --- CUSTOM CODE - FRESHY --- */

/* -- GENERAL-- */
body {
    font-weight: 400;
	font-size: 14px !important;
}

.no-padding-heading h1,
.no-padding-heading h2,
.no-padding-heading h3,
.no-padding-heading h4,
.no-padding-heading h5,
.no-padding-heading h6 {
	padding-bottom: 0;
}

.white-space-no-wrap {
	white-space: nowrap;
}

@media (min-width: 981px) {
	.hidden-desktop {
		display: none;
	}
}

#main-content {
	background-color: RGBA(255, 255, 255, 0) !important;	
}

.completely-hidden {
	display: none !important;
	visibility: hidden !important;
}

.font-weight-500 .et_pb_module_header,
.font-weight-500 .et_pb_toggle_title {
	font-weight: 500;
}

.no-padding-p p {
	padding-bottom: 0;
}

/* background grid */
body.custom-background {
	position: relative;
	background-color: #F0E7D2 !important;
}

body.custom-background::before {
  content:"";
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100vw, 1446px);         
  height: 100vh;
  background-image: url("/wp-content/uploads/bkgd-gold-grid-v8.svg");
  background-repeat: no-repeat;
  background-position: center 20px;
  background-size: 100% auto;
  pointer-events: none;
  z-index: -1;
  transition: background-position 180ms ease; 
}

body #mega-menu-wrap-secondary-menu #mega-menu-secondary-menu > li.mega-menu-item > a.mega-menu-link,
body .col-two ul li a,
body .col-three ul li a,
body .col-three .textwidget p {
	color: #3E1D2B;
}

/* making sure catalog remains the same font-weight */
#mega-menu-wrap-secondary-menu #mega-menu-secondary-menu > li#mega-menu-item-441 > a.mega-menu-link,
#mega-menu-wrap-secondary-menu #mega-menu-secondary-menu > li#mega-menu-item-441 > a.mega-menu-link:hover,
#mega-menu-wrap-secondary-menu #mega-menu-secondary-menu > li#mega-menu-item-441 > a.mega-menu-link:focus,
#mega-menu-wrap-secondary-menu #mega-menu-secondary-menu > li#mega-menu-item-441 > a.mega-menu-link:active,
#mega-menu-wrap-secondary-menu #mega-menu-secondary-menu > li#mega-menu-item-441 > a.mega-menu-link:focus-visible,
#mega-menu-wrap-secondary-menu #mega-menu-secondary-menu > li#mega-menu-item-441 > a.mega-menu-link:focus-within,
#mega-menu-wrap-secondary-menu #mega-menu-secondary-menu > li#mega-menu-item-441 > a.mega-menu-link:target,
#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link,
#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li{
	font-weight: 500 !important;
}


body #mega-menu-wrap-secondary-menu #mega-menu-secondary-menu > li.mega-menu-megamenu > ul.mega-sub-menu {
	background-color: #F0E7D2;	
}

#mega-menu-wrap-secondary-menu #mega-menu-secondary-menu li.mega-menu-column.col-two {
    border-right: 1px solid #D1B779;
}

/* START add a background to the bottom-header on scroll */
body header.et-l--header.is-scrolled #bottom-header::after {
    content: "";
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
	width: min(calc(100vw - 20px), 1423.7px);
	height: 51px;
	background-color: rgb(240 230 209 / 100%) !important;
    background-image: url(/wp-content/uploads/bkgd-gold-grid-v8-2.svg)!important;
    background-repeat: no-repeat;
    background-position: center 0;
    background-size: 100% auto;
    pointer-events: none;
    z-index: 1;
}

body header.et-l--header.is-scrolled #bottom-header {
	padding-bottom: 0;
}

/* END add a background to the bottom-header on scroll */

/* - change position of background - */

/* just the bottom-header grid */
@media (max-width: 1430px) {
	body header.et-l--header.is-scrolled #bottom-header::after {
		width: min(calc(100vw - 22px), 1423.7px);
	}	
}

@media (min-width: 1401px) and (max-width: 1430px) {
	body header.et-l--header.is-scrolled #bottom-header::after {
		background-position: center -2px;
	}	
}

@media (min-width: 1351px) and (max-width: 1400px) {
	body header.et-l--header.is-scrolled #bottom-header::after {
		background-position: center 6px;
	}	
}

@media (min-width: 1321px) and (max-width: 1350px) {
	body header.et-l--header.is-scrolled #bottom-header::after {
		background-position: center 2px;
	}	
}

@media (min-width: 1300px) and (max-width: 1320px) {
	body header.et-l--header.is-scrolled #bottom-header::after {
		background-position: center 0;
	}	
}

@media (max-width: 1299px) {
	body header.et-l--header.is-scrolled #bottom-header::after {
		width: min(calc(100vw - 20px), 1423.7px);
	}	
}

@media (min-width: 1271px) and (max-width: 1299px) {
	body header.et-l--header.is-scrolled #bottom-header::after {
		background-position: center 8px;
	}	
}

@media (min-width: 1241px) and (max-width: 1270px) {
	body header.et-l--header.is-scrolled #bottom-header::after {
		background-position: center 6px;
	}	
}

@media (min-width: 1200px) and (max-width: 1240px) {
	body header.et-l--header.is-scrolled #bottom-header::after {
		background-position: center 3px;
	}	
}

@media (max-width: 1199px) {
	body header.et-l--header.is-scrolled #bottom-header::after {
		width: min(calc(100vw - 19px), 1423.7px);
	}	
}

@media (min-width: 1171px) and (max-width: 1199px) {
	body header.et-l--header.is-scrolled #bottom-header::after {
		background-position: center 10px;
	}	
}

@media (min-width: 1151px) and (max-width: 1170px) {
	body header.et-l--header.is-scrolled #bottom-header::after {
		background-position: center 6px;
	}	
}

@media (min-width: 1121px) and (max-width: 1150px) {
	body header.et-l--header.is-scrolled #bottom-header::after {
		background-position: center 4px;
	}	
}

@media (min-width: 1100px) and (max-width: 1120px) {
	body header.et-l--header.is-scrolled #bottom-header::after {
		background-position: center 2px;
	}	
}

@media (max-width: 1099px) {
	body header.et-l--header.is-scrolled #bottom-header::after {
		width: min(calc(100vw - 17px), 1423.7px);
	}	
}

@media (min-width: 1071px) and (max-width: 1099px) {
	body header.et-l--header.is-scrolled #bottom-header::after {
		background-position: center 12px;
	}	
}

@media (min-width: 1051px) and (max-width: 1070px) {
	body header.et-l--header.is-scrolled #bottom-header::after {
		background-position: center 10px;
	}	
}

@media (min-width: 1021px) and (max-width: 1050px) {
	body header.et-l--header.is-scrolled #bottom-header::after {
		background-position: center 10px;
	}	
}

@media (min-width: 981px) and (max-width: 1020px) {
	body header.et-l--header.is-scrolled #bottom-header::after {
		background-position: center 8px;
	}	
}

@media (min-width: 768px) and (max-width: 980px) {
	body header.et-l--header #catalog-and-search-section::after {
		content: "";
		position: absolute;
		top: -2px;
		left: 50%;
		transform: translateX(-50%);
		width: min(calc(100vw - 15px), 1423.7px);
		height: 51px;
		background-color: rgb(240 230 209 / 100%) !important;
		background-image: url(/wp-content/uploads/bkgd-gold-grid-v8-2.svg)!important;
		background-repeat: no-repeat;
		background-position: center 10px;
		background-size: 100% auto;
		pointer-events: none;
		z-index: 1;
	}
}

@media (min-width: 851px) and (max-width: 899px) {
	body header.et-l--header #catalog-and-search-section::after {
		width: min(calc(100vw - 14px), 1423.7px);
		height: 51px;
		background-position: center 12px;
	}	
}

@media (min-width: 768px) and (max-width: 850px) {
	body header.et-l--header #catalog-and-search-section::after {
		width: min(calc(100vw - 14px), 1423.7px);
		height: 51px;
		background-position: center 12px;
	}	
}

/* just the body background grid */
@media (min-width: 1300px) and (max-width: 1400px) {
	body.custom-background::before {
	  background-position: center 32px;
	}	
}

@media (min-width: 1200px) and (max-width: 1299px) {
	body.custom-background::before {
	  background-position: center 42px;
	}	
}

@media (min-width: 1100px) and (max-width: 1199px) {
	body.custom-background::before {
	  background-position: center 53px;
	}	
}

@media (min-width: 1040px) and (max-width: 1099px) {
	body.custom-background::before {
	  background-position: center 63px;
	}	
}

@media (min-width: 981px) and (max-width: 1039px) {
	body.custom-background::before {
	  background-position: center 68px;
	}	
}

@media (max-width: 980px) {
	body.custom-background::before {
	  background-position: center 26px;
	}	
	
	.et_pb_column.no-margin-bottom {
		margin-bottom: 0 !important;
	}
}

@media (min-width: 730px) and (max-width: 767px) {
	body.custom-background::before {
	  background-position: center 75px;
	}		
}

@media (min-width: 551px) and (max-width: 729px) {
	body.custom-background::before {
	  background-position: center 90px;
	}	
}


@media (max-width: 550px) {
	body.custom-background::before {
	  background-position: center 101px;
	}	
}

/* - Change the highlighted text color - */
::selection {
    background-color: #8D4A38;
    color: #fff;
}

::-moz-selection {
    background-color: #8D4A38;
    color: #fff;
}

::-o-selection {
    background-color: #8D4A38;
    color: #fff;
}

::-ms-selection {
    background-color: #8D4A38;
    color: #fff;
}

::-webkit-selection {
    background-color: #8D4A38;
    color: #fff;
}

.et_pb_scroll_top.et-pb-icon {
    background: #8D4A38;
}	


@media (min-width: 981px) {
	.vertically-aligned {
		margin: auto;
	}
}

/* --- centered columns --- */
.centered-2-col {
	justify-content: center;
}

.centered-2-col .et_pb_column_empty {
	display: none !important;
}

/* -- DIVI Buttons -- */
body .et_pb_button,
.et_button_no_icon .et_pb_button,
body .et_pb_button:hover,
.et_button_no_icon .et_pb_button:hover {
	font-weight: 600 !important;
	padding: .7em 1.75em !important;
	line-height: 1.3em !important;
	text-align: center;
}

/* hide arrows */
body .et_pb_button:after, 
body .et_pb_button:before {
	content: "";	
}

@media (max-width: 480px) {
	body .et_pb_button,
	.et_button_no_icon .et_pb_button,
	body .et_pb_button:hover,
	.et_button_no_icon .et_pb_button:hover {
		font-size: 12px;
	}	
}

/* -- DIVI Blurbs -- */
/* left-aligned centered */
.center-blurb .et_pb_blurb_content {
	display: flex;
    align-items: center;
    margin: auto;
    justify-content: center;
}

.center-blurb .et_pb_blurb_content .et_pb_main_blurb_image {
	margin-bottom: 0;
}

/* reduce spacing between icon and text */
.blurb-spacing .et_pb_blurb_container {
	padding-left: 0;
}

/* change the icon font-weight to normal */
.icon-normal-font-weight .et_pb_blurb_content .et_pb_main_blurb_image .et_pb_image_wrap .et-pb-icon {
	font-weight: 500 !important;
}

/* -- RECAPTCHA BADGE -- */
.grecaptcha-badge {
	z-index: 9;
}

/* -- Screen reader–only text -- */
.sr-only,
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* -- GRAVITY FORMS -- */

/* hide header */
.gform_heading {
	display: none;
}

/* Placeholder text color */
.gform_wrapper ::placeholder,
.gform_wrapper select::placeholder{
  color: #3e1d2bbd;
  opacity: 1; /* important for Firefox */
}

/* Browser-specific fallbacks */
.gform_wrapper :-ms-input-placeholder,
.gform_wrapper select:-ms-input-placeholder {
  color: #3e1d2bbd;
}

.gform_wrapper ::-ms-input-placeholder,
.gform_wrapper select::-ms-input-placeholder {
  color: #3e1d2bbd;
}

/* Grey when no real value chosen */
.gform_wrapper select.is-placeholder {
  color: #3e1d2bbd;
}

/* Normal color once user selects something */
.gform_wrapper select:not(.is-placeholder) {
  color: #3e1d2bbd;
}

body .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), 
body .gform_wrapper textarea.textarea, 
body div.form_saved_message div.form_saved_message_emailform form input[type=text],
body .gform_wrapper select {
	font-weight: 500;
}
body .gform_wrapper select {
    height: auto;
    padding: 8px !important;	
}

/* -- HEADER -- */
/* font weight */
.primary-menu-row-desktop .et_pb_menu--with-logo .et_pb_menu__menu>nav>ul.et-menu>li>a {
	font-weight: 500;
}

/* no opacity change on hover */
.primary-menu-row-desktop .et_pb_menu ul.et-menu li a:hover {
	opacity: 1;
}

/* logo */
.primary-menu-row-desktop ul.et-menu li.et_pb_menu__logo-slot {
	padding-left: 30px;
	padding-right: 30px;
	padding-bottom: 8px;
}

.et_pb_menu__logo img[src$=".svg"] {
	min-width: 385px;
}

body #page-container .ppb-inline-button-wrap .et_pb_button_module_wrapper{
	display: inline-block;
}
body #page-container .ppb-center-right{
	text-align: right;
}
/* spacing */
.primary-menu-row-desktop .et_pb_menu .et_pb_menu__menu>nav>ul.et-menu {
	align-items: center;
}

.primary-menu-row-desktop .et_pb_menu .et_pb_menu__menu>nav>ul.et-menu >li a {
	padding-bottom: 20px;	
}

.primary-menu-row-desktop .et_pb_menu .et_pb_menu__menu>nav {
	justify-content: center;
}

#top-header .et_pb_menu--with-logo .et_pb_menu__menu>nav>ul>li>a {
	padding: 20px 0;
}

body #page-container .et_pb_menu .et_pb_menu__search-input { 
  color: #fff;
  
}
.primary-menu-row-desktop .et_pb_menu .et_pb_menu__menu>nav>ul.et-menu >li.et_pb_menu__logo-slot a {
	padding-bottom: 0;
}

header .et_pb_menu__menu,
header .et-menu-nav {
  width: 100%;
}

header .et_pb_menu__menu > nav > ul.et-menu {
  display: flex;
  width: 100%;
  justify-content: space-between !important;
  align-items: center;
  flex-wrap: wrap;
}

.et_pb_menu__menu > nav > ul.et-menu li.et_pb_menu_page_id-344 {
	order: 1;
}

.et_pb_menu__menu > nav > ul.et-menu li.et_pb_menu_page_id-346 {
	order: 2;
}

.et_pb_menu__menu > nav > ul.et-menu li.et_pb_menu__logo-slot {
	order: 3;
}


.et_pb_menu__menu > nav > ul.et-menu li.et_pb_menu_page_id-42 {
	order: 3;
}

.et_pb_menu__menu > nav > ul.et-menu li.et_pb_menu_page_id-405 {
	order: 6;
}
body .ppb-main-menu-wrap .et_pb_menu__menu li.et_pb_menu_page_id-2{
	order: 4;
}
body .ppb-main-menu-wrap .ppb-menu-search .wp-block-search__button{
	cursor: pointer;
	background-color: #eeeeee;
 	margin-left: 0;
  	color: #3e1d2b;
	padding: 0 5px 0 0;
	height: 32px;
	order: 1;
}

body .ppb-main-menu-wrap .ppb-menu-search .wp-block-search__button svg {
	height: 32px;
}

body .ppb-main-menu-wrap .ppb-menu-search .wp-block-search__input {
	background-color: #eeeeee;	
	color: #3e1d2b;
	height: 32px;
	order: 2;
	padding: 0 10px 0 0;
}

body .ppb-main-menu-wrap .wp-block-search__inside-wrapper{
   overflow: hidden;
	width: 200px;	
}
body .ppb-main-menu-wrap .et_pb_menu__menu .et_pb_menu__search-button{
	text-transform: uppercase;
  font-size: 18px;
  font-weight: 500;
}
body .ppb-main-menu-wrap .et_pb_menu__menu .et_pb_menu__search-button::after{
	margin-left: 5px;
}
.et-menu li.custom-menu-search {
  margin-left: auto;
}

header .et_pb_menu--style-inline_centered_logo .et-menu > li {
  padding-left: 0;
  padding-right: 0;
}

.et-menu li.custom-menu-search {
  margin-left: auto;
}

header .et_pb_menu--style-centered.ppb-main-menu-wrap .et_pb_menu__wrap {
	margin-top: 10px !important;
}


/* search */
.et_pb_menu .et_pb_menu__menu>nav>ul>li.custom-menu-search {
	align-items: center;	
}

.custom-menu-search a::after {
	content: '';
	background: url("/wp-content/uploads/top-header-search-icon.svg");
	background-repeat: no-repeat;
	width: 27px;
    height: 15px;
    margin-left: 7px;
	background-size: contain;
	transform: none !important;
}

/* catalog icon */
#mega-menu-wrap-secondary-menu #mega-menu-secondary-menu li.custom-catalog-icon > a.mega-menu-link { 
	display:flex; 
	align-items:center; 
}

#mega-menu-wrap-secondary-menu #mega-menu-secondary-menu li.custom-catalog-icon a.mega-menu-link::before {
	content: '';
	display: inline-block;
	background-image: url("/wp-content/uploads/blue-catalog-icon-v2.svg");
	background-repeat: no-repeat !important;
	width: 27px;
    height: 15px;
    margin-right: 1px;
	background-size: contain;
	transform: none !important;
	flex: 0 0 auto;
}

#mega-menu-wrap-secondary-menu #mega-menu-secondary-menu li.custom-catalog-icon a.mega-menu-link::before {
	background-image: url("/wp-content/uploads/purple-catalog-icon-v2.svg");
	background-repeat: no-repeat !important;
	background-size: contain;
	transform: none !important;
}

/* adjustment for right side links */
.right-side {
	left: 29px;
}

/* Initial hidden state */
#search-dropdown {
  position: absolute;
  top: 100%;            
  left: 0;
  width: 100%;
  transform: translateY(-20px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 999;
}

/* Visible state */
#search-dropdown.is-active {
  transform: translateY(-55px);
  opacity: 1;
  pointer-events: auto;
}

.et-l--header.is-scrolled #search-dropdown.is-active {
  transform: translateY(-60px);
}

.et-l--header {
  position: relative;
}

input.swp-input--search {
	height: 52px;
	font-size: 16px;
	color: #676561;
	border-color: #8D4A38;
	border-radius: 4px !important;
}

input.swp-button {
	text-transform: uppercase;
	background-color: #3E1D2B;
	border: none;
	color: #F0E7D2;
	font-weight: 600;
	border-radius: 4px !important;
	letter-spacing: 1px;
	padding: 0 24px;
	cursor: pointer;
	transition: 0.3s all ease-in-out;
}

input.swp-button:hover {
	background-color: #8D4A38;	
}

/* phone icon for phone number */
ul#menu-primary-menu li.contact img {
	margin: 0 7px 0 5px;
}
 
@media (min-width: 1500px) and (max-width: 1699px) {
	ul#menu-primary-menu li.et_pb_menu__logo-slot {
		padding-left: 20px;
		padding-right: 20px;
	}

}

@media (min-width: 1350px) and (max-width: 1499px) {
	.primary-menu-row-desktop ul.et-menu li.et_pb_menu__logo-slot {
		padding-left: 20px;
		padding-right: 20px;
		max-width: 493px;
    	padding-bottom: 0;
		bottom: 12px;
	}
	
	.custom-menu-search::after,
	.custom-catalog-icon::before {
		width: 29px;
    	height: 16px;
	}
}

@media (min-width: 1050px) and (max-width: 1349px) {	
	#menu-primary-menu li.custom-menu-search a::after {
		width: 24px;
    	height: 12px;
		margin-left: 10px;
    	margin-top: 0;
	}
	
	#mega-menu-wrap-secondary-menu #mega-menu-secondary-menu li.custom-catalog-icon a.mega-menu-link::before {
		width: 24px;
    	height: 12px;
	}
	
	#bottom-header {
		padding-top: 10px !important;
	} 
}
@media (min-width: 981px) and (max-width: 1170px) {
	body .ppb-main-menu-wrap .wp-block-search__inside-wrapper {   
	  width: 200px;
	}	
}

@media (min-width: 1050px) and (max-width: 1170px) {
	.primary-menu-row-desktop .et_pb_menu .et_pb_menu__menu>nav>ul.et-menu >li a{
		font-size: 13px;
	}
}

@media (min-width: 981px) and (max-width: 1049px) {	 
	.et_pb_menu .et_pb_menu__menu>nav>ul#menu-secondary-menu >li a,
	#mega-menu-wrap-secondary-menu #mega-menu-secondary-menu > li.mega-menu-item > a.mega-menu-link,
	body .ppb-main-menu-wrap .et_pb_menu__menu .et_pb_menu__search-button,
	.primary-menu-row-desktop .et_pb_menu .et_pb_menu__menu>nav>ul.et-menu >li a {
    	font-size: 11px;		
	}
	
	.primary-menu-row-desktop ul.et-menu li.et_pb_menu__logo-slot {
		padding-left: 5px;
		padding-right: 5px;
		max-width: 293px;
    	padding-bottom: 0;
		margin-bottom: 15px;
	}
	
	.primary-menu-row-desktop ul.et-menu li.et_pb_menu__logo-slot img {
		min-width: auto;
	}
	
	#menu-primary-menu li.custom-menu-search a::after {
		width: 24px;
    	height: 12px;
		margin-left: 10px;
    	margin-top: 0;
	}
	
	#mega-menu-wrap-secondary-menu #mega-menu-secondary-menu li.custom-catalog-icon a.mega-menu-link::before {
		width: 24px;
    	height: 12px;
	}
	
	#bottom-header{
		padding-top: 10px !important;
	} 
}

@media (max-width: 729px){
	body #page-container .ppb-center-right{
		text-align: center;
	}
body #page-container .ppb-center-right .et_pb_button_module_wrapper{
		margin: 0 7px 10px!important;
	}
}

/* live results */
.searchwp-live-search-result--title {
	padding-bottom: 0;
}

/* - Secondary menu - */
#bottom-header .et_pb_menu ul li a {
	font-weight: 500;
}

/* max mega menu secondary menu */
#mega-menu-wrap-secondary-menu #mega-menu-secondary-menu > li.mega-menu-item > a.mega-menu-link:hover, 
#mega-menu-wrap-secondary-menu #mega-menu-secondary-menu > li.mega-menu-item > a.mega-menu-link:focus,
#mega-menu-wrap-secondary-menu #mega-menu-secondary-menu > li.mega-menu-item > a.mega-menu-link:visited,
#mega-menu-wrap-secondary-menu #mega-menu-secondary-menu > li.mega-menu-item > a.mega-menu-link {
	font-weight: 500 !important;
	padding: 0;
}

#mega-menu-wrap-secondary-menu #mega-menu-secondary-menu {
    display: flex;
    width: 100%;
    justify-content: space-between !important;
    align-items: center;
    flex-wrap: wrap;	
}

/* fly out menu */
#mega-menu-wrap-secondary-menu #mega-menu-secondary-menu > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link,
#mega-menu-wrap-secondary-menu #mega-menu-secondary-menu > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link:hover,
#mega-menu-wrap-secondary-menu #mega-menu-secondary-menu > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link:focus {
	font-weight: 500 !important;
}

#mega-menu-wrap-secondary-menu #mega-menu-secondary-menu > li.mega-menu-flyout ul.mega-sub-menu,
#mega-menu-wrap-secondary-menu #mega-menu-secondary-menu > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link,
#mega-menu-wrap-secondary-menu #mega-menu-secondary-menu > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link:hover {
	background-color: #f0e7d2;
}

#mega-menu-wrap-secondary-menu #mega-menu-secondary-menu > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
	color: #3E1D2B;
}


/* CUSTOM mobile window */
/* Off-canvas panel */
.mobile-offcanvas {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 80vw;
  max-width: 320px;
  background: #85322a;
  z-index: 999999;
  transform: translateX(-100%);
  transition: transform 300ms ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Open state */
.mobile-offcanvas.is-open {
  transform: translateX(0);
}

/* Overlay */
.mobile-offcanvas-overlay {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 999998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}

.mobile-offcanvas-overlay.is-open {
  opacity: 0;
  pointer-events: auto;
}

body.offcanvas-open {
  overflow: hidden;
}

.open-mobile-menu,
.mobile-secondary-menu,
.full-search-mobile {
	z-index: 9999999 !important;
}

/* Ensure overlay is below panel */
.mobile-offcanvas-overlay {
  z-index: 9999990 !important;
}

.mobile-offcanvas {
  left: 0 !important;
  transform: translateX(-110%) !important; 
}

.mobile-offcanvas.is-open {
  transform: translateX(0) !important;
}

/*open menu module */
.open-mobile-menu .et_pb_menu__menu,
.mobile-secondary-menu .et_pb_menu__menu {
	display: flex;
}

.open-mobile-menu .et_pb_menu__menu ul.et-menu,
.mobile-secondary-menu .et_pb_menu__menu ul.et-menu {
	flex-direction: column;	
	align-items: start;
}

.open-mobile-menu.et_pb_menu .et-menu,
.mobile-secondary-menu.et_pb_menu .et-menu {
    margin-left: 0;
    margin-right: 0;
}

.open-mobile-menu .et_pb_menu__menu ul.et-menu .right-side {
	left: 0;
}

.open-mobile-menu .et_mobile_nav_menu,
.mobile-secondary-menu .et_mobile_nav_menu {
	display: none;
}

.mobile-offcanvas .et_pb_menu--without-logo .et_pb_menu__menu>nav>ul>li>a {
	padding-bottom: 15px;
}

/* === DIVI MOBILE OFFCANVAS MENU: INLINE (PUSH-DOWN) SUBMENUS === */
.mobile-offcanvas .et_pb_menu__wrap .et-menu li {
  display: block !important;
  float: none !important;
}

.mobile-offcanvas .et_pb_menu__wrap .et-menu li > .sub-menu li {
  width: 100%;	
}

.mobile-offcanvas .et_pb_menu__wrap .et-menu li > a {
  display: block !important;
  width: 100% !important;
}

/* Hide submenus by default + force normal document flow */
.mobile-offcanvas .et_pb_menu__wrap .menu-item-has-children > .sub-menu {
  position: static !important;
  display: none !important;
  float: none !important;
  width: 100% !important;
  clear: both !important;
  margin: 0 !important;
  background-color: transparent !important;
  border-color: transparent;
  box-shadow: none;
  padding: 0 0 20px 0;
}

.mobile-offcanvas .et_pb_menu__wrap .menu-item-has-children > .sub-menu li,
.mobile-offcanvas .et_pb_menu__wrap .menu-item-has-children > .sub-menu li a {
	padding-left: 10px;
	font-size: 13px !important;
}

.mobile-offcanvas .et_pb_menu__wrap .menu-item-has-children > .sub-menu li > .sub-menu > li {
	padding-left: 15px;
}
body #page-container .ppb-center-text{
	text-align: right;
	max-width: 80%;
  margin-right: 0 !important;
  float: right;
}
@media (max-width: 480px) {
	body .et_pb_row.mobile-offcanvas {
		padding-right: 10px !important;
    	padding-left: 10px !important;
	}
	
	.mobile-offcanvas .et_pb_menu__wrap .menu-item-has-children > .sub-menu li,
	.mobile-offcanvas .et_pb_menu__wrap .menu-item-has-children > .sub-menu li a {
		padding-left: 0;
		padding-right: 0;
		font-size: 11px !important;
	}
	
	.mobile-offcanvas .et_pb_menu__wrap .et-menu li {
		width: 100%;
	}
	
	.mobile-offcanvas .close-icon {
		top: -17px;
	}
}

/* Show submenu when open */
.mobile-offcanvas .et_pb_menu__wrap .menu-item-has-children.et-show-dropdown > .sub-menu {
  display: block !important;
}


/* search field */
.full-search-mobile form.searchwp-form .swp-flex--row {
	flex-direction: column;
}

.full-search-mobile form.searchwp-form .swp-flex--row .swp-button {
	padding: 1.35em 1.75em !important;	
}

@media (max-width: 980px) {
	.open-mobile-menu  ul.et-menu li.custom-menu-search {
		display: none;
	}
	body #page-container .ppb-center-text {
	  text-align: left;
	  max-width: 100%;  
	  float: unset;
	}
	
	#menu-secondary-menu.et-menu li li.menu-item-has-children>a:first-child:after {
		top: 6px;
		right: 0px;
	}
}

@media (max-width: 405px) {
	.mobile-offcanvas .et_pb_menu .et-menu li a {
		font-size: 13px;
	}
}

/* - Sticky header - */
body {
	transition: padding-top 0.25s ease;
}

header.et-l--header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 9;	
	transition: all 0.25s ease;
}

header.et-l--header.is-scrolled #bottom-header,
.et-db.search-no-results #et-boc .et-l.is-scrolled .et_pb_section_2_tb_header.et_pb_section#bottom-header {
  background: rgb(255 255 255 / 100%) !important;
}

header.et-l--header.is-scrolled #bottom-header {
  background: rgb(240 230 209 / 100%) !important;
}

header.et-l--header #top-header,
header.et-l--header #bottom-header {
  transition: 0.3s all ease-in-out;
}

header.et-l--header.is-scrolled #bottom-header {
	padding-bottom: 5px;
}

.custom-mobile-header {
	display: flex;
}

.custom-mobile-header .et_pb_column {
	margin: auto 0;
}

@media (max-width: 767px) {
	.logo-col {
		width: 60%;
	}
	
	.icon-col {
		width: 40%;
	}
}


@media (max-width: 550px) {
	.custom-mobile-header .et_pb_column.logo-col {
		width: 80% !important;
	}
	
	.custom-mobile-header .et_pb_column.icon-col {
		width: 20% !important;
	}
}

/* hover functionality and styling in the max mega menu catalog */
/* catalog dropdown menu - styling */
#mega-menu-wrap-secondary-menu #mega-menu-secondary-menu li.mega-menu-column.col-one {
	padding-right: 25px;	
}

#mega-menu-wrap-secondary-menu #mega-menu-secondary-menu li.mega-menu-column.col-two {
	/* border-right: 1px solid #CAE1EC; */
	padding-right: 25px;
}

#mega-menu-wrap-secondary-menu #mega-menu-secondary-menu li.mega-menu-column.col-three {
	padding-left: 35px;
}

.col-three ul {
	padding: 0;
}

.col-two sup,
.col-three sup,
.mobile-offcanvas .et_pb_menu__wrap .menu-item-has-children > .sub-menu li a sup,
sup {
    bottom: .2em;
}

.col-two ul li,
.col-three ul li {
	padding-bottom: 3px;
}

.col-two ul li a,
.col-three ul li a {
	color: #536770;
	font-size: 13px;
	font-weight: 500;
}

@media (min-width: 981px) and (max-width: 1024px) {
	.col-two ul li a,
	.col-three ul li a,
	.col-three .textwidget p {
		font-size: 13px !important;
	}	
}

.col-two ul li a:hover,
.col-three ul li a:hover {
	color: #293338;
	font-weight: bold;
}

.col-two ul li::marker,
.col-three ul li::marker {
	content:'';
}

.col-two ul,
.col-three ul {
	list-style: none;
	padding-left: 0;
	margin-left: 0;
}

.col-three .textwidget p {
	color: #536770;
	font-size: 20px;
	font-weight: 500;	
	line-height: 1.3em;
}

/* image */
.col-one img {
	border-radius: 8px;
	box-shadow: 2px 2px 5.2px 3px rgb(0 0 0 / 11%);
	width: 100%;
}

.col-two::after {
	border-right: 1px solid #CAE1EC;
}

/* functionality */
#mega-menu-wrap-secondary-menu .mega-menu-row .col-three .catalog-panel,
#mega-menu-wrap-secondary-menu .mega-menu-row .col-one .catalog-panel { 
  display: none;
}

#mega-menu-wrap-secondary-menu .mega-menu-row .col-three .catalog-panel.is-active,
#mega-menu-wrap-secondary-menu .mega-menu-row .col-one .catalog-panel.is-active {
  display: block;
}

#mega-menu-wrap-secondary-menu .mega-menu-row h4.mega-block-title {
	display: none !important;
}

/* catalog and search - mobile only */
#catalog-and-search-section .et_pb_menu .et_mobile_nav_menu {
	display: none;
}

#catalog-and-search-section .et_pb_menu__menu {
	display: flex;
}

#catalog-and-search-section .et_pb_menu--without-logo .et_pb_menu__menu>nav>ul>li>a {
    padding-bottom: 0;
}

#catalog-and-search-section .et_pb_menu--without-logo .et_pb_menu__menu>nav>ul>li {
	margin-top: 0;
}

header #catalog-and-search-section .et_pb_menu--style-centered.ppb-main-menu-wrap .et_pb_menu__wrap {
	margin-top: 0 !important;
}

header #catalog-and-search-section li.custom-catalog-icon a {
	font-weight: 500;
}

header #catalog-and-search-section .et_pb_menu .et-menu>li.menu-item-type-yspl_win {
	padding-left: 0;
    padding-right: 0;
}

body header #catalog-and-search-section .ppb-main-menu-wrap .ppb-menu-search .wp-block-search__input {
	padding: 0;
}

body header #catalog-and-search-section .et_pb_menu .et-menu-nav {
    justify-content: center;	
}


/* catalog icon */
header #catalog-and-search-section li.custom-catalog-icon a::before {
	content: '';
    display: inline-block;
    background-image: url(/wp-content/uploads/purple-catalog-icon-v2.svg);
    background-repeat: no-repeat !important;
    background-size: contain;
    transform: none !important;	
	margin-right: 1px;
	flex: 0 0 auto;
	width: 24px;
    height: 12px;
}

@media (max-width: 362px) {
	header #catalog-and-search-section .et_pb_menu__menu > nav > ul.et-menu {
		flex-wrap: nowrap;	
	}
	
	header #catalog-and-search-section li.custom-catalog-icon a::before {
		display: none;
	}
}

/* don't have the catalog link have an active state on the SEO pages */
body.parent-pageid-424 #mega-menu-wrap-secondary-menu #mega-menu-secondary-menu > li.mega-menu-item.mega-current-page-ancestor > a.mega-menu-link {
	color: #3e1d2b;
}

/* -- HOME -- */
@media (max-width: 980px) {
	#home-hero-section .et_pb_column {
		width: 33.3333% !important;
	}	
	#home-hero-section .et_pb_row{
		display:flex;
	}
}


@media (min-width: 401px) and (max-width: 550px) {
	#home-hero-section .et_pb_column a.et_pb_button {
		font-size: 10px;
	}
	
	#home-hero-section .et_pb_column {
		padding-top: 50px;
        padding-bottom: 50px;
	}
}

@media (max-width: 440px) {
	#home-hero-section .et_pb_column a.et_pb_button {
		font-size: 7px;
	}
	
	#home-hero-section .et_pb_column {
		padding-top: 50px;
        padding-bottom: 50px;
	}
}

/* products and systems slider section */
.inherit-case h2 {
	text-transform: inherit;
}

#products-and-systems-slider-section .et_pb_blurb .et_pb_main_blurb_image {
	margin-bottom: 15px;
}

/* -- SLICK SLIDER -- */
body .entry-content ul.slick-dots {
	padding-bottom:0 !important;
}
.slick-dots {
    position: absolute;
    bottom: 0px;
    margin: auto;
    left: 0;
    right: 0;
    text-align: center;
	z-index:99;
}
.slick-dots li {
	position: relative;
	display: inline-block;
	margin: 0px;
	padding: 0;
	cursor: pointer;
}
.slick-dots li.slick-active button { 
	background-color:#44D62D;
}
.slick-dots li button {
	font-size: 0;
	line-height: 0;
	display: block;
	width: 17px;
	height: 17px;
	padding: 0;
	cursor: pointer;
	color: transparent;
	border: 0;
	outline: none;
	background-color: rgba(255,255,255,1);
	border-radius: 50%;
	margin-left: 3px;
	margin-right: 3px;
}

.slick-prev,
.slick-next {
    display: block !important;
    opacity: 1 !important;
    padding: 0px;
    background-color: transparent;
    position: absolute;
    top: 40%;
    transform: translateY(-40%);
    padding: 10px 5px;
    margin: 0px;
    border: none;
    font-size: 0;
    line-height: 0;
    background-size: contain;
    background-position-x: center;
    border-radius: 6px;
    z-index: 999;
    cursor: pointer;
    transition: 0.2s all ease-in-out !important;	
}

.slick-prev {
    left: 0;
}

.slick-next {
    right:0;
}

.slick-prev:before,
.slick-next:before {
	content: '';
	background:url(/wp-content/uploads/arrow-left-icon.svg);
	width: 35px;
    height: 35px;
    margin:auto;
    display:block;
    background-size:100% 100%;
    background-repeat:no-repeat  !important;
    opacity: 1;
    -webkit-transition: 0.2s all ease-in-out !important;
    transition: 0.2s all ease-in-out !important;
}

.slick-next:before {
	transform: scaleX(-1);
}

/* products slider */
.fullwidth-carousel .slick-slide {
  padding: 0 !important;
}

.fullwidth-carousel .slick-slide.et_pb_blurb {
  margin: 0 5px;           
}

.fullwidth-carousel .slick-list {
  margin: 0 -5px;
}
/* gradient */
.fullwidth-carousel .slick-prev,
.fullwidth-carousel .slick-next {
	height: 110%;
	top: 30%;	
	width: 200px;
}

.fullwidth-carousel .slick-prev::before {
	margin: auto auto auto 0;
}

.fullwidth-carousel .slick-next::before {
	margin: auto 0 auto auto;
}

.fullwidth-carousel .slick-prev {
	background-image: linear-gradient(90deg, #f0e7d2 0, rgba(255, 255, 255, 0) 100%) !important;
	left: -5px;
}

.fullwidth-carousel .slick-next {
	background-image: linear-gradient(90deg,rgba(255,255,255,0) 10%,#f0e7d2 100%) !important;
	right: -5px;
}
.fullwidth-carousel .slick-slide.et_pb_blurb .et_pb_module_header {
	transition: 0.3s all ease-in-out;
}

.fullwidth-carousel .slick-slide.et_pb_blurb:hover .et_pb_module_header {
	color: #8d4a38 !important;
}

/* responsive */
@media (min-width: 981px) and (max-width: 1215px) {
	#products-and-systems-slider-section .fullwidth-carousel .et_pb_blurb .et_pb_module_header {
		font-size: 11px;
	}
	
	.fullwidth-carousel .slick-prev,
	.fullwidth-carousel .slick-next {
		width: 225px;
	}
}

@media (min-width: 768px) and (max-width: 980px) {
	#products-and-systems-slider-section .fullwidth-carousel .et_pb_blurb .et_pb_module_header {
		font-size: 11px;
	}
	
	.fullwidth-carousel .slick-prev,
	.fullwidth-carousel .slick-next {
		width: 122px;
	}
}

@media (max-width: 767px) {
	#products-and-systems-slider-section .fullwidth-carousel .et_pb_blurb .et_pb_module_header {
		font-size: 10px;
	}
	
	#products-and-systems-slider-section .fullwidth-carousel .et_pb_blurb .et_pb_main_blurb_image {
		max-width: 100%px;
	}
	
	.fullwidth-carousel .slick-prev,
	.fullwidth-carousel .slick-next {
		width: 56px;
		height: 104%;
		top: 40%;
	}

	.fullwidth-carousel .slick-prev {
		background-image: linear-gradient(90deg, #f0e7d2 100%, rgba(255, 255, 255, 0) 10%) !important;
		left: -8px;
	}

	.fullwidth-carousel .slick-next {
		background-image: linear-gradient(90deg,rgba(255,255,255,0) 0%,#f0e7d2 10%) !important;
		right: -8px;
	}
	
	.fullwidth-carousel .slick-prev::before {
		margin: -40px auto auto 0;
	}

	.fullwidth-carousel .slick-next::before {
		margin: -40px 0 auto auto;
	}
}

/* quick links section */
#quick-links-section {
    background-size: 77%;	
}

#quick-links-section .col-1 .et_pb_button,
#quick-links-section .col-3 .et_pb_button {
	width: 100%;
}

#quick-links-section .et_pb_gutters2 {
	justify-content: center;
}

@media (min-width: 1400px) {
	#quick-links-section .col-2 .et_pb_button {
		width: 83%;
	}
	#quick-links-section .col-1 {
		width: 25.9%;
	}

	#quick-links-section .col-2 {
		width: 44.75%;
	}

	#quick-links-section .col-3 {
		width: 25.7%;
	}

	#quick-links-section .col-4 {
		width: 15.6%;
	}	
}
@media (min-width: 981px) {
	#quick-links-section .et_pb_gutters2 .et_pb_column, 
	#quick-links-section .et_pb_gutters2.et_pb_row .et_pb_column {
		margin-right: 2.5%;
	}	
}

@media (max-width: 980px) {
	#quick-links-section .et_pb_column {
		margin-bottom: 15px;
		padding-top: 20px;
		padding-bottom: 20px;
	}
	
	#quick-links-section .our-associations-heading .et_pb_column,
	#quick-links-section .logos-row .et_pb_column {
		margin-bottom: 0;
		padding-top: 0;
		padding-bottom: 0;
	}
	
	#quick-links-section .our-associations-heading .et_pb_module_heading {
		padding-bottom: 0;
	}
	
	#quick-links-section .et_pb_column .et_pb_module {
		margin-bottom: 10px;
	}
	
	#quick-links-section .et_pb_column .et_pb_button {
		width: 100%;
	}
	
	#quick-links-section .logos-row .et_pb_column {
		width: 15.6% !important;
	}
	
	#quick-links-section .logos-row .et_pb_column:not(last-of-type) {
		margin-right: 5.5%;
	}
}


/* blur columns */
.four-custom-cols .et_pb_column {
	backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

@media (min-width: 981px) and (max-width: 1599px) {
	.logos-row .et_pb_blurb .et_pb_image_wrap {
		width: 100% !important;
	}	
}

@media (max-width: 980px) {
	.logos-row .et_pb_column.et-last-child {
    	margin-left: auto;
    	margin-right: auto !important;		
	}
}

@media (min-width: 1400px) and (max-width: 1700px) {
	#quick-links-section {
		background-size: 87%;
		background-position: 54% 10%;
	}
}

@media (min-width: 981px) and (max-width: 1399px) {
	#quick-links-section .four-custom-cols .et_pb_button,
	#quick-links-section .four-custom-cols .et_pb_button:hover {
		padding: .8em 1em !important;
	}
	
	#quick-links-section .col-1 {
		width: 25.125%;
	}

	#quick-links-section .col-2 {
		width:44.125%;
	}

	#quick-links-section .col-3 {
		width: 25.125%;
	}

	#quick-links-section .col-4 {
		width: 21.125%;
	}
	
	#quick-links-section .col-2 .et_pb_button {
		width: 100%;
	}
	
	#quick-links-section {
		background-size: 87%;
		background-position: 54% 10%;
	}
}

@media (max-width: 767px) {
	#quick-links-section .col-1,
	#quick-links-section .col-2,
	#quick-links-section .col-3,
	#quick-links-section .col-4 {
		width: 100%;
		margin-right: 0;
	}
	
	#quick-links-section .col-3 {
		margin-bottom: 0;
		background-size: contain;
	}
}

@media (min-width: 981px) and (max-width: 1250px) {
	.associations-logos-row .et_pb_blurb .et_pb_image_wrap {
		width: 100% !important;
	}
}

/* -- FOOTER -- */
.custom-footer .et_pb_menu ul.et-menu li a,
.custom-footer .col-4 .contact-info .et_pb_text_inner,
.bottom-footer-row .et_pb_menu ul.et-menu li a {
	font-weight: 400;
}

.custom-footer .col-4 .contact-info .et_pb_text_inner p {
	padding-bottom: 0;
}

.custom-footer .et_pb_menu--without-logo .et_pb_menu__menu>nav>ul>li>a {
	padding-bottom: 0;
}

.custom-footer .et_pb_menu--without-logo .et_pb_menu__menu>nav>ul>li>a:hover,
.bottom-footer-row .et_pb_menu--without-logo .et_pb_menu__menu>nav>ul>li>a:hover {
	color: #fff !important;
	opacity: 1;
}

.custom-footer .et_pb_menu ul.et-menu {
	flex-direction: column;
}

.custom-footer.et_pb_gutters1 .et_pb_column_1_6, 
.custom-footer.et_pb_gutters1.et_pb_row .et_pb_column_1_6 {
	width: 22.6667%;	
}

.bottom-footer-row .col-2 {
    display: flex;
    gap: 2em;
    justify-content: flex-end;	
}

@media (max-width: 980px) {
	.custom-footer .et_pb_menu .et_mobile_nav_menu {
		display: none;
	}
	
	.custom-footer .et_pb_menu .et_pb_menu__menu {
		display: flex;
	}
	
	.custom-footer .et_pb_menu.et_pb_menu--style-left_aligned .et_pb_menu__wrap {
		-webkit-box-pack: start;
    	-ms-flex-pack: start;
    	justify-content: flex-start;
	}
	
	#fs-footer-bottom-bar > .et_pb_row.et_pb_equal_columns.bottom-footer-row {
		flex-direction: column;
	}
	
	#freshy_copyright,
	.bottom-footer-row .col-2,
	.bottom-footer-row .et_pb_menu--without-logo .et_pb_menu__menu>nav>ul {
		justify-content: center;
	}
}

@media (min-width: 1070px) and (max-width: 1470px) {
	.custom-footer.et_pb_gutters1 .col-1.et_pb_column_1_2,
	.custom-footer.et_pb_gutters1 .col-2.et_pb_column_1_6,
	.custom-footer.et_pb_gutters1 .col-3.et_pb_column_1_6 {
		padding-right: 3.3%;
	}
}

@media (min-width: 981px) and (max-width: 1069px) {
	.custom-footer.et_pb_gutters1 .col-1.et_pb_column_1_2,
	.custom-footer.et_pb_gutters1 .col-2.et_pb_column_1_6,
	.custom-footer.et_pb_gutters1 .col-3.et_pb_column_1_6 {
		padding-right: 3.3%;
	}
	
	.custom-footer.et_pb_gutters1 .et_pb_column_1_6, 
	.custom-footer.et_pb_gutters1.et_pb_row .et_pb_column_1_6 {
		width: 25.6667%;	
	}
}

@media (min-width: 768px) and (max-width: 980px) {
	.custom-footer.et_pb_gutters1 .col-1.et_pb_column_1_2 {
		width: 100%;
	}
	
	.custom-footer.et_pb_gutters1 .et_pb_column_1_6, 
	.custom-footer.et_pb_gutters1.et_pb_row .et_pb_column_1_6 {
		width: 33.33%;	
	}
}

@media (max-width: 980px) {
	#fs-footer-bottom-bar > .et_pb_row.et_pb_equal_columns.bottom-footer-row .et_pb_column,
	#fs-footer-bottom-bar > .et_pb_row.et_pb_equal_columns.bottom-footer-row .et_pb_module {
		margin-bottom: 0;
	}
	
	#fs-footer-bottom-bar > .et_pb_row.et_pb_equal_columns.bottom-footer-row {
		align-items: center;
		padding-bottom: 18px !important;
	}
	
	#fs-footer-bottom-bar > .et_pb_row.et_pb_equal_columns.bottom-footer-row .et_pb_menu__menu {
		display: flex;
	}
	
	#fs-footer-bottom-bar > .et_pb_row.et_pb_equal_columns.bottom-footer-row .et_mobile_nav_menu {
		display: none;
	}
}

@media (max-width: 899px) {
	#fs-footer-bottom-bar > .et_pb_row.et_pb_equal_columns.bottom-footer-row {
		display: block;
	}
	
	#freshy_copyright,
	.bottom-footer-row .col-2 {
        justify-content: center;
    }
	
	#fs-footer-bottom-bar > .et_pb_row.et_pb_equal_columns.bottom-footer-row {
		padding-bottom: 25px !important;
	}
	
	.custom-footer.et_pb_gutters1.et_pb_row .et_pb_column_1_6 {
		padding-bottom: 20px;
	}
}

@media (min-width: 981px) and (max-width: 999px) {
	#fs-footer-bottom-bar > .et_pb_row.et_pb_equal_columns.bottom-footer-row .et_pb_code {
		padding-left: 0;
	}
}

@media (max-width: 767px) {
	.custom-footer.et_pb_gutters1 .col-1.et_pb_column_1_2,
	.custom-footer.et_pb_gutters1.et_pb_row .et_pb_column_1_6 {
		width: 100%;
	}
	
	.custom-footer.et_pb_gutters1 .col-1.et_pb_column_1_2 .et_pb_image {
		margin-left: auto !important;
	}
	
	.custom-footer .et_pb_menu.et_pb_menu--style-left_aligned .et_pb_menu__wrap,
	.custom-footer .et_pb_menu .et_pb_menu__menu>nav>ul>li {
		-webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
	}
	
	#fs-footer-bottom-bar {
		background-size: auto;
	}
}


/* footer grid */
footer.et-l #fs-footer-bottom-bar {
	position: relative;
	overflow: hidden;
}

footer.et-l #fs-footer-bottom-bar::before {
  content:"";
  position: absolute;
  top: auto;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: min(100vw, 1446px);         
  height: 126vh;
  background-image: url("/wp-content/uploads/background-grid-gold-vector-footer-large-v6.svg");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 97% auto;
  pointer-events: none;
  z-index: 1;
  transition: background-position 180ms ease; 
}

.bottom-footer-row {
	top: -28px;
}

.bottom-footer-row .col-1 {
	margin-top: 3px;
}

.bottom-footer-row .col-2 .et_pb_menu ul li a {
	padding-bottom: 0;
}

.bottom-footer-row .col-2 .et_pb_menu ul li.insta-icon img {
	width: 18px;
}

#fs-footer-bottom-bar > .et_pb_row.et_pb_equal_columns.bottom-footer-row {
	display: flex;
	align-items: center;
}

.bottom-footer-row .col-2 .et_pb_menu ul li.regular-link {
	margin-top: 10px;
}

.bottom-footer-row .col-2 .et_pb_menu {
	padding-right: 17px;
}
body #page-container .ppb-left-text{
	text-align: left;
}
@media (min-width: 1940px) {
	.bottom-footer-row .col-2 .et_pb_menu {
		padding-right: 8%;
	}	
	
	.bottom-footer-row .col-1 .et_pb_code {
		padding-left: 8%;
	}
	
	#fs-footer-bottom-bar .custom-footer {
		padding-left: 1%;
    	padding-right: 1%;		
	}
}

@media (min-width: 981px) and (max-width: 1359px) {
	.bottom-footer-row .col-2 .et_pb_menu ul li a {
		height: auto;
	}
	
	.bottom-footer-row .col-2 .et_pb_menu ul li.insta-icon img {
		width: 16px;
	}
	
	.bottom-footer-row .col-2 .et_pb_menu--without-logo .et_pb_menu__menu>nav>ul>li.regular-link {
		margin-top: 0;
	}
	
	.bottom-footer-row .col-2 .et_pb_menu ul li.insta-icon {
		margin-top: 3px;
	}
	
	.bottom-footer-row #menu-footer-legal {
		align-items: center;
	}
	
	#freshy_copyright {
		white-space: nowrap;
	}
}

@media (min-width: 981px) and (max-width: 1265px) {
	#fs-footer-bottom-bar > .et_pb_row.et_pb_equal_columns.bottom-footer-row {
		top: -22px;
	}
}

@media (max-width: 980px) {
	.bottom-footer-row .col-2 {
		padding-bottom: 5px;
	}
	
	.bottom-footer-row .col-2 .et_pb_menu {
		padding-right: 0;
	}
}

/* -- PARTS BIN -- */
#parts-bin-section {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 600px;
  z-index: 99999;
  transform: translateX(528px);
  transform: translate3d(528px, 0, 0);
  transition: transform 280ms ease;
  pointer-events: none; 
  background: transparent !important;
}

#parts-bin-section .et_pb_row {
  width: auto !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* open state */
#parts-bin-section.is-open {
  transform: translateX(0);
  pointer-events: auto;
}

#parts-bin-section .quote-form-row {
	display: none !important;
}

#parts-bin-section.is-open .quote-form-row {
    width: 527px !important;   
	display: block !important;
}

#parts-bin-section.is-open .bin-button {
  background: #84332b;	
}
body #page-container .ppb-full-button{
	width: unset;
}
#parts-bin-section .bin-button {
    display: flex;	
	transform-origin: 30% -4%;      
    transform: translateY(-0%) rotate(90deg);
	cursor: pointer;
    pointer-events: auto;
	z-index: 3 !important;
    position: absolute !important;
    top: 50%;
    bottom: auto;
    right: auto;
    left: auto;
	width: 264px !important;
  height: 60px;
	margin: 0;           
    padding: 0;
	background: #84332b;
	border-radius: 0 0 20px 20px;
}
body #parts-bin-section .bin-button:hover{
	background: #3e1d2b;
}
#parts-bin-section .bin-button .et_pb_column {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;	
	width: 100% !important;
}

#parts-bin-section .quote-form-row {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 600px;
  overflow-y: auto;
  padding: 24px;
  background: #84332b;
  z-index: 9;
}

#parts-bin-section .drawer-close {
  position: absolute;
  top: 12px;
  right: 12px;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  color: #f5efe0;
}

body.parts-bin-open footer .et_builder_inner_content {
	z-index: 9 !important;
}

/* The parts bin gravity form - ID2 */
body .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), 
body .gform_wrapper textarea.textarea, 
body div.form_saved_message div.form_saved_message_emailform form input[type=text] {
	color: #3e1d2b !important;
	padding: 10px !important;
}

body .gform_wrapper #field_submit input, 
body .gform_wrapper .gform_footer input.button, 
body .gform_wrapper .gform_page_footer input.button, 
body div.form_saved_message div.form_saved_message_emailform form input[type=submit],
body .gform_wrapper #field_submit input:hover, 
body .gform_wrapper .gform_footer input.button:hover, 
body .gform_wrapper .gform_page_footer input.button:hover, 
body div.form_saved_message div.form_saved_message_emailform form input[type=submit]:hover {
	font-weight: 600 !important;
	letter-spacing: 1px !important;
}

#parts-bin-section .quote-form-row #gform_2 h2,
#parts-bin-section .quote-form-row #gform_2 label,
#parts-bin-section .quote-form-row #gform_2 .gfield_description,
#parts-bin-section .quote-form-row #gform_2 .ginput_container_fileupload input,
#parts-bin-section .quote-form-row #gform_2 .gfield_list .gform-grid-col {
	color: #f5efe0 !important;
}

#parts-bin-section .quote-form-row #gform_2 h2 {
	font-size: 16px;
}

#parts-bin-section [class*=cs-theme--] .gsection.collapsible-sections-field:after {
	color: #f5efe0;
	background: #f5efe0;
	right: 5px;
}

#parts-bin-section [class*=cs-theme--] .gsection.collapsible-sections-field {
	background-color: transparent;
	border-color: transparent !important;
	border-radius: 0;
	padding: 0 !important;
	border-bottom: 1px solid #f5efe0 !important;
}

#parts-bin-section .cs-theme--accordion .gsection.collapsible-sections-field h3 {
	padding-top: 10px;
    padding-left: 0;	
}

#parts-bin-section [class*=cs-theme--] .collapsible-sections-collapsible-body {
	background-color: transparent;
	border: none;
	padding: 0;
}

body #parts-bin-section .gform_wrapper .hidden_label .ginput_container>* {
	margin-top: 5px !important;	
}

#parts-bin-section .quote-form-row #gform_2 .gfield_list .gform-grid-col {
	font-size: 12px;
	line-height: 1.2em;
}

#parts-bin-section .quote-form-row .gform_wrapper.gravity-theme #gform_2 .gfield_list_header {
	margin-bottom: 2px;
}

#parts-bin-section .quote-form-row .gform_wrapper.gravity-theme #gform_2 .gfield_list {
	margin-top: 5px;
}

body #parts-bin-section .quote-form-row .gform_wrapper select {
	color: #3e1d2b !important;
	height: auto;
}

#parts-bin-section .quote-form-row .gform_wrapper.gravity-theme #gform_2 .gfield_list_icons button {
	filter: invert(100%);
}

#parts-bin-section .quote-form-row .gform_wrapper #gform_2 .validation_message {
	color: #3e1d2b !important;
}

#parts-bin-section .quote-form-row .gform_confirmation_wrapper .gform_confirmation_message {
	color: #f0e7d2;
}

/* save message */
#parts-bin-section .form_saved_message h2,
#parts-bin-section .form_saved_message p,
#parts-bin-section .form_saved_message p a,
#parts-bin-section .ginput_preview_list .gfield_fileupload_filename,
#parts-bin-section .gform_drop_area .gform_drop_instructions,
#parts-bin-section .ginput_preview_list .gfield_fileupload_filesize,
#parts-bin-section .ginput_preview_list .gfield_fileupload_progress,
#parts-bin-section .form_saved_message_sent h2,
#parts-bin-section .form_saved_message_sent p {
	color: #f0e7d2;
}

#parts-bin-section .resume_form_link_wrapper a.resume_form_link {
	font-weight: bold;
}

/* maxiumum number of files reached message */
#parts-bin-section ul.validation_message--hidden-on-empty li.gfield_validation_message {
	background: transparent;
}

@media (max-width: 567px) {
	#parts-bin-section.is-open .quote-form-row {
		width: 300px !important;   
		display: block !important;
	}
	
	#parts-bin-section.is-open .bin-button {
		right: 112px;
	}
}

/* previously selected message for the file upload */
#parts-bin-section .quote-form-row #gform_2 .gfield_description.gf-file-reselect-notice {
	background: #f5efe0 !important;
    color: #8d4a38 !important;
    padding: 10px !important;	
}

/* -- PRODUCTS PAGE (CATALOG)-- */
/*body.page-id-424 header.et-l--header {
	position: absolute;
}

/* adjust background on scroll 
body.page-id-424.custom-background.scrolled-bg::before {
  background-position: center -135px;
}*/

.two-buttons-top-right .et_pb_column {
	display: flex;
	gap: 1em;
    justify-content: end;
}

body .two-buttons-top-right .et_pb_column a.et_pb_button {
	text-align: center;
}

/*body.page-id-424 header.et-l--header.is-scrolled #bottom-header,
body.page-id-424 .et-db.search-no-results #et-boc .et-l.is-scrolled .et_pb_section_2_tb_header.et_pb_section#bottom-header {
  background: transparent !important;
}*/

@media (max-width: 855px) {
	.two-buttons-top-right .et_pb_column {
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 0.5em;
	}
	
	body .two-buttons-top-right .et_pb_column a.et_pb_button {
		width: 280px;
	}
}


/* catalog sidebar */
.catalog-sidebar-menu.et_pb_menu ul li a {
	font-weight: 500;
}

#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item > a.mega-menu-link {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: auto;
    line-height: normal;
    padding: 7px 12px;
}


#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item.mega-menu-item-has-children > a.mega-menu-link {
	display: flex;
	justify-content: space-between;
	align-items: center;	
}

#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item > a.mega-menu-link .sidebar-nav-item {
	line-height: 1.4em;	
}

#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link,
#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link:hover {
	font-weight: 500;
	padding: 7px 12px;
	line-height: normal;
}

/* second level */
#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-flyout.mega-menu-item-has-children ul.mega-sub-menu li.mega-menu-item.mega-menu-item-has-children ul.mega-sub-menu li.mega-menu-item a {
	padding: 7px 12px 7px 22px;
}

#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item.mega-current-menu-ancestor > a.mega-menu-link,
#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item.mega-toggle-on > a.mega-menu-link {
	font-weight: 500;
}

#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item > a.mega-menu-link,
#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item > a.mega-menu-link:hover,
#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item > a.mega-menu-link:focus,
#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item > a.mega-menu-link:active,
#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item > a.mega-menu-link:target {
	font-weight: 600;
}

#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item > a.mega-menu-link {
	text-align: left;
}

#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item {
	display: block;
}

/* Push-down dropdown behavior (accordion-style) */
#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item > ul.mega-sub-menu,
#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item > ul.mega-sub-menu > li.mega-menu-item > ul.mega-sub-menu {
  position: static !important;  /* key: participate in normal flow */
  top: auto !important;         /* remove absolute-position offsets */
  left: auto !important;
  transform: none !important;   /* in case the theme/plugin uses transforms */
  width: 100%;
  margin: 0;
}

/* Ensure it only shows when toggled open (MMM adds .mega-toggle-on) */
#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item > ul.mega-sub-menu,
#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item > ul.mega-sub-menu > li.mega-menu-item > ul.mega-sub-menu {
  display: none;
}
#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item.mega-toggle-on > ul.mega-sub-menu,
#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item > ul.mega-sub-menu > li.mega-menu-item.mega-toggle-on > ul.mega-sub-menu {
  display: block;
}

/* level 3 */
#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 li.mega-menu-flyout li.mega-menu-item a.mega-menu-link > span.mega-indicator:after {
	content: "";
}

#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 li.mega-menu-flyout li.mega-menu-item a.mega-menu-link > span.mega-indicator {
	float: none;
	margin-left: 5px;
}

/* arrow */
#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 li.mega-menu-item-has-children > a.mega-menu-link > span.mega-indicator {
	font-size: 17px;
}

/* active state */
#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item.mega-toggle-on > a.mega-menu-link {
	background-color: #8d4a38;
    color: #fff;	
	font-weight: 600;
}

@media (min-width: 981px) {
	.sidebar-and-pdf-row.et_pb_gutters1.et_pb_row .et_pb_column_1_4.col-1,
	.custom-specialty-content .et_pb_gutters1.et_pb_row .et_pb_column_1_4 {
		width: 20%;
	}

	.sidebar-and-pdf-row.et_pb_gutters1.et_pb_row .et_pb_column_3_4.col-2,
	.custom-specialty-content .et_pb_gutters1.et_pb_row .et_pb_column_3_4 {
		width: 80%;
	}	
}

@media (min-width: 1710px) and (max-width: 1839px) {
	#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item > a.mega-menu-link,
	#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
		font-size: 12px;
	}
	
	#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 li.mega-menu-item-has-children > a.mega-menu-link > span.mega-indicator {
		font-size: 15px;
	}
}

@media (min-width: 1585px) and (max-width: 1709px) {
	#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item > a.mega-menu-link,
	#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
		font-size: 11px;
	}
	
	#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 li.mega-menu-item-has-children > a.mega-menu-link > span.mega-indicator {
		font-size: 14px;
	}
}

@media (min-width: 1135px) and (max-width: 1584px) {
	#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item > a.mega-menu-link,
	#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
		font-size: 11px;
	}
	
	#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 li.mega-menu-item-has-children > a.mega-menu-link > span.mega-indicator {
		font-size: 14px;
	}
}

@media (min-width: 981px) and (max-width: 1134px) {
	#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item > a.mega-menu-link,
	#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
		font-size: 9px;
	}
	
	#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 li.mega-menu-item-has-children > a.mega-menu-link > span.mega-indicator {
		font-size: 10px;
	}
}

/* -- PRODUCT AND SYSTEMS PAGES -- */
.parts-systems-content-container .et_pb_column,
.parts-systems-content-container .et_pb_row_inner {
	padding-top: 0;
}
.parts-systems-content-container > .et_pb_row > .et_pb_column:nth-child(1){
	margin-top: -78px;
}

.parts-systems-content-container .topic-cards-row .col-1 {
	margin-right: 10px !important;
}

.products-and-systems-text {
	display: flex;
}

.products-and-systems-text::before {
	content: "\23";
    font-family: ETmodules !important;
    line-height: inherit;
    font-size: 19px !important;
    opacity: 1;
    right: auto;
    display: inline-block;
    font-family: ETmodules !important;
    font-weight: 400 !important;
	margin-right: 7px;
}

@media (min-width: 981px) {
	.parts-systems-content-container .et_pb_gutters2 .col-1 {
			width: 36.3333%;	
	}

	.parts-systems-content-container .et_pb_gutters2 .col-2 {
			width: 60.667%;	
	}	
}

 

@media (min-width: 400px) {
	.parts-systems-content-container .col-1 .et_pb_button_module_wrapper .et_pb_button {
		width: 305px;
	}
}

	.parts-systems-content-container .col-1 .et_pb_button_module_wrapper .et_pb_button {
		width: 280px;
	}

/* buttons */
.parts-systems-content-container .topic-cards-row .et_pb_promo .et_pb_button {
	padding: .7em 4em .7em 1.25em !important;	
}

.parts-systems-content-container .topic-cards-row .et_pb_promo .et_pb_button::after {
	content: '' !important;
	background-image: url(/wp-content/uploads/blue-arrow-icon.svg);
	background-repeat: no-repeat;
	width: 22px;
	height: 16px;
	background-size: contain;
	background-position: center;
	margin-left: 15px !important;
	opacity: 1 !important;
}

.parts-systems-content-container .topic-cards-row .et_pb_promo .et_pb_button:hover:after {
	background-image: url(/wp-content/uploads/parchment-arrow-icon.svg);
}

.parts-systems-content-container .topic-cards-row .et_pb_promo .et_pb_promo_description,
.parts-systems-content-container .topic-cards-row .et_pb_promo .et_pb_module_header {
	padding-bottom: 0;
}

.parts-systems-content-container .topic-cards-row .et_pb_promo {
	display: flex;
	align-items: center;
    justify-content: space-between;
}

body #page-container .et_pb_section .et_pb_button_module_wrapper a.back-btn:before {
	font-size: 19px !important;
}

@media (min-width: 981px) and (max-width: 1230px) {
	.parts-systems-content-container .col-1.et_pb_column_single {
		margin-top: 0;
	}
	
	.parts-systems-content-container .et_pb_row_inner.topic-cards-row {
		flex-direction: column;
	}
	
	.parts-systems-content-container .et_pb_row_inner.topic-cards-row .et_pb_column {
		width: 100% !important;
	}
	
	.parts-systems-content-container .et_pb_row_inner.topic-cards-row .col-1 {
		margin-right: 0 !important;
		margin-bottom: 2%;
	}
	
	.parts-systems-content-container .et_pb_row {
		display: flex;
    	flex-direction: column;
	}
	
	.parts-systems-content-container .et_pb_row > .et_pb_column {
		width: 100%;
	}
}

@media (max-width: 980px) {
	.parts-systems-content-container .col-1.et_pb_column_single {
		margin-top: 0;
	}
	
	.parts-systems-content-container .et_pb_row_inner.topic-cards-row {
		flex-direction: column;
	}
	
	.parts-systems-content-container .et_pb_row_inner.topic-cards-row .et_pb_column {
		width: 100% !important;
	}
	
	.parts-systems-content-container .et_pb_row_inner.topic-cards-row .col-1 {
		margin-right: 0 !important;
		margin-bottom: 10px;
	}
	/* for all child pages of Product page - reverse order of the sections to put buttons at bottom */
	.parent-pageid-424 .et_builder_inner_content {
		display: flex;
    	flex-direction: column;		
	}
	
	.parts-systems-content-container {
		order: 1;
	}
	
	.products-top-two-buttons-container {
		order: 2;
	}
	
	#products-and-systems-slider-section.product-pages {
		order: 3;
	}
	.parts-systems-content-container > .et_pb_row > .et_pb_column:nth-child(1){
		margin-top: 0;
	}
}

/* GRID OF IMAGES */
/* see introduction page */
.parts-systems-content-container .et_pb_row_inner.custom-gap-1.three .col-1,
.parts-systems-content-container .et_pb_row_inner.custom-gap-1.three .col-2 {
	margin-right: 1% !important;
}

.parts-systems-content-container .et_pb_row_inner.custom-gap-1.three .et_pb_column.et_pb_column_2_9 {
	width: 32.6%;
}

.parts-systems-content-container .custom-gap-1 .col-1,
.parts-systems-content-container .custom-gap-1 .et_pb_column_1_3.col-1 {
	margin-right: 1% !important;
}

.parts-systems-content-container .custom-gap-1 .et_pb_column_1_3 {
	width: 49.5% !important;
}

@media (max-width: 479px) {
	.parts-systems-content-container .et_pb_row_inner.custom-gap-1 .et_pb_column {
		width: 100% !important;		
		margin-right: 0;
		margin-bottom: 10px !important;
	}	
}

@media (max-width: 767px) {
	#products-and-systems-slider-section.product-pages .fullwidth-carousel .slick-prev {
		background-image: linear-gradient(90deg, #f0e7d2 100%, rgba(255, 255, 255, 0) 10%) !important;	
		left: -8px;
	}

	#products-and-systems-slider-section.product-pages .fullwidth-carousel .slick-next {
		background-image: linear-gradient(90deg,rgba(255,255,255,0) 0%,#f0e7d2 10%) !important;
		right: -8px;
	} 	
}

/* --- FEATURED PROJECTS --- */
@media (max-width: 767px) {
	.eg-custom-skin-featured-projects-element-3 {
		font-size: 15px !important;
	}	
}

/* --- PROJECTS TEMPLATE --- */
body.project-template-default #main-content {
	background-color: transparent;
}

html body .modula .modula-items .modula-item .modula-item-content>a {
	transition: 0.3s all ease-in-out;
}

html body .modula .modula-items .modula-item .modula-item-content>a:hover {
	background: rgb(0 0 0 / 65%);
}

/* next project button */
body.project-template-default .et_pb_posts_nav .nav-next a {
	text-align: center;
	color: #f0e7d2;
	font-size: 12px;
    background-color: #3e1d2b;
    border-radius: 4px;
	border: 2px solid #3e1d2b;
    font-weight: 600 !important;
    font-style: normal;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
	font-weight: 600 !important;
    padding: .7em 1.75em !important;
    line-height: 1.3em !important;
	transition: all 300ms ease 0ms;
}

body.project-template-default .et_pb_posts_nav .nav-next a:hover {
    background-color: #8D4A38;
	border: 2px solid #8D4A38;
}

body.project-template-default .et_pb_posts_nav .nav-next a .meta-nav {
	display: none;
}

/* systems and material buttons */
.acf-project-buttons a.acf-project-button {
	color: #536770;
	border: 2px solid #536770;
	border-radius: 4px;
    font-size: 12px;
	font-weight: 600;
	line-height: 1.3em;
    text-align: center;
	letter-spacing: 1px;
    text-transform: uppercase;
    background-color: RGBA(255, 255, 255, 0);	
	padding: .7em 1.25em .7em 1.25em;
	transition: color 300ms ease 0ms, background-color 300ms ease 0ms, border 300ms ease 0ms;
	display: block;
    width: fit-content;
	margin-bottom: 15px;
}

.acf-project-buttons a.acf-project-button:hover {
    background-color: #8D4A38;
	border: 2px solid #8D4A38;	
	color: #F0E7D2;
}

.acf-project-buttons a.acf-project-button::after {
	content: '' !important;
	display: inline-block;
	background-image: url(/wp-content/uploads/blue-arrow-icon.svg);
	background-repeat: no-repeat;
	width: 24px;
	height: 16px;
	background-size: contain;
	background-position: center;
	margin-left: 15px !important;
	opacity: 1 !important;
	vertical-align: text-top;
}

.acf-project-buttons a.acf-project-button:hover:after {
	background-image: url(/wp-content/uploads/parchment-arrow-icon.svg);
}

/* --- PURCHASE ORDER/QUOTE & ALL FORMS --- */
/* all forms */
body .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), 
body .gform_wrapper textarea.textarea, body div.form_saved_message div.form_saved_message_emailform form input[type=text],
body .gform_wrapper select {
	padding: 5px 10px !important;
}

body .gform_wrapper.gravity-theme input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), 
body .gform_wrapper.gravity-theme textarea.textarea, 
body div.form_saved_message div.form_saved_message_emailform form input[type=text],
body .gform_wrapper.gravity-theme select {
	font-size: 13px;
}

body .gform_wrapper.gravity-theme select {
	height: 26px !important;
}

body .gform_wrapper .hidden_label .ginput_container>* {
    margin-top: 5px !important;
}

body .gform_wrapper.gravity-theme .gform_fields {
    grid-row-gap: 0px;
	grid-column-gap: 5px;
}

body .gform_wrapper .hidden_label textarea.textarea {
	margin-top: 5px !important;
}

body .gform_wrapper.gravity-theme .ginput_container_address span, 
body .gform_wrapper.gravity-theme .ginput_full:not(:last-of-type) {
     margin-bottom: 0;
}

body .gform_wrapper.gravity-theme .ginput_container_address span.ginput_address_city,
body .gform_wrapper.gravity-theme .ginput_container_address span.ginput_address_zip {
	padding-right: 0;
}

body .gform_wrapper.gravity-theme .ginput_container_address span.ginput_address_state,
body .gform_wrapper.gravity-theme .ginput_container_address span.ginput_address_country {
	padding-left: 5px;
}

.gform_wrapper.gravity-theme #gform_2 .gform_drop_area {
    padding: 10px;	
}

/* disclaimer */
#parts-bin-section .quote-form-row .gform_wrapper .gf-disclaimer {
	color: #f5efe0 !important;	
	font-style: italic;
	margin-top: 8px;
}

#parts-bin-section .quote-form-row .gform_wrapper .gform-footer,
body.page-id-344 .gform_wrapper .gform-footer {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;	
}

#parts-bin-section .quote-form-row .gform_wrapper .gform-footer #gform_submit_button_2,
body.page-id-344 .gform_wrapper .gform-footer #gform_submit_button_2 {
    align-self: flex-start;	
}

body.page-id-344 .gform_wrapper .gf-disclaimer {
	font-style: italic;
	margin-top: 8px;
}

/* only contact and request a quote */
#gform_wrapper_1.gform_wrapper.gravity-theme .gfield.gfield--width-full.gfield--type-address,
#gform_wrapper_3.gform_wrapper.gravity-theme .gfield.gfield--width-full.gfield--type-address {
	margin-bottom: 8px;
}


/* purchase form */
#gform_wrapper_2.gform_wrapper.gravity-theme .form-h2 .gsection_description {
	padding: 0 !important;
	margin: 0;
}

#gform_wrapper_2.gform_wrapper.gravity-theme .form-h2 {
	border-bottom: none;
    padding: 0;	
}

#gform_wrapper_2.gform_wrapper.gravity-theme .gsection_description h2 {
	font-size: 18px;
	padding-bottom: 0;
}

#gform_wrapper_2.gform_wrapper.gravity-theme .gsection.form-h2.second {
	padding-top: 20px;
}

#gform_wrapper_2.gform_wrapper.gravity-theme .gfield--type-fileupload,
#gform_wrapper_2.gform_wrapper.gravity-theme .form-text {
	padding-top: 15px;
}

#gform_wrapper_2.gform_wrapper.gravity-theme .gfield_label,
#gform_wrapper_2.gform_wrapper.gravity-theme .form-text {
	font-size: 15px;
	font-weight: 600;
	color: #3e1d2b;
    text-transform: uppercase;
	line-height: 1.4em;
}
#gform_wrapper_2.gform_wrapper.gravity-theme .form-text{
	text-align:center;
}
#gform_wrapper_2.gform_wrapper.gravity-theme .description, 
#gform_wrapper_2.gform_wrapper.gravity-theme .gfield_description, 
#gform_wrapper_2.gform_wrapper.gravity-theme .gsection_description, 
#gform_wrapper_2.gform_wrapper.gravity-theme .instruction {
	font-size: 13px;
}

#gform_wrapper_2.gform_wrapper.gravity-theme .gfield_header_item {
	text-transform: uppercase;
}

#parts-bin-section #gform_wrapper_2.gform_wrapper.gravity-theme .form-text {
	color: #f5efe0 !important;
}

/* wrap the plus icon */
#gform_wrapper_2.gform_wrapper.gravity-theme .gfield_list_group {
	flex-wrap: wrap;
}

#gform_wrapper_2.gform_wrapper.gravity-theme .gfield_list_icons {
	width: 100%;
    justify-content: flex-start;
	margin-top: 8px;
}

#gform_wrapper_2.gform_wrapper.gravity-theme .gfield_header_item--icons {
	width: 0;
}

#gform_wrapper_2.gform_wrapper.gravity-theme .gfield_header_item+.gfield_header_item:not(.gfield_header_item--icons), 
#gform_wrapper_2.gform_wrapper.gravity-theme .gfield_list_group_item+.gfield_list_group_item {
	margin-left: 5px;
}

body #page-container .ppb-dorp-menu-row > .mega-sub-menu{
	display: flex !important;
	justify-content: space-between;
}

body #page-container .mega-custom-catalog-icon .mega-sub-menu{
	padding: 0 !important;	
}

body #page-container .ppb-dorp-menu-row > .mega-sub-menu .mega-menu-column {
	padding: 15px !important;
}

/* save later functionality */
.form_saved_message .resume_form_link_wrapper a {
	font-weight: 600;
}

#gform_confirmation_wrapper_2.form_saved_message_sent {
	padding: 136px 0;	
}

#gform_confirmation_wrapper_2.gform_confirmation_wrapper {
	margin: 136px 0;	
}

/* save button */
.gform_wrapper #gform_save_2_footer_link svg {
	display: none;
}

.gform_wrapper #gform_save_2_footer_link {
	color: #3e1d2b !important;
	border-color: #3e1d2b;
    background-color: RGBA(255, 255, 255, 0);
    border-width: 2px !important;
	border-style: solid;
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: 1px;
	padding: 4.9px 20px;
	border-radius: 4px;
	margin-bottom: 0;
	margin-top: 8px;
	line-height: 1.7em;
	cursor: pointer;
	transition: all .2s;
}

#parts-bin-section .gform_wrapper #gform_save_2_footer_link {
	color: #f0e7d2 !important;
	border-color: #f0e7d2;
    background-color: RGBA(255, 255, 255, 0);
}

.gform_wrapper #gform_save_2_footer_link:hover {
	color: #f0e7d2 !important;
    border-width: 2px !important;
    border-color: #8d4a38 !important;
    background-color: #8d4a38 !important;
}

@media (max-width: 641px) {
	.gform_wrapper #gform_save_2_footer_link {
        line-height: 2;
        min-height: 32px;
		padding: 4px 20px;
	}	
}

@media (max-width: 980px) {
	#gform_wrapper_2.gform_wrapper.gravity-theme .gsection_description h2 {
		font-size: 15px;
	}
}

@media (max-width: 640px) {
	body .gform_wrapper.gravity-theme .ginput_container_address span.ginput_address_city,
	body .gform_wrapper.gravity-theme .ginput_container_address span.ginput_address_zip {
		padding-right: .9804%;
	}
	
	body .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), 
	body .gform_wrapper textarea.textarea, body div.form_saved_message div.form_saved_message_emailform form input[type=text],
	body .gform_wrapper select {
		height: 26px;
	}
	
	.gform_wrapper.gravity-theme input:not([type=radio]):not([type=checkbox]):not([type=image]):not([type=file]) {
		min-height: auto;
	}
	
	#gform_wrapper_2.gform_wrapper.gravity-theme .gfield_list_icons {
		background-color: transparent;
	}
	
	/* only contact and request a quote */
	#gform_wrapper_1.gform_wrapper.gravity-theme .gfield.gfield--width-full.gfield--type-address,
	#gform_wrapper_3.gform_wrapper.gravity-theme .gfield.gfield--width-full.gfield--type-address {
		margin-bottom: 0;
	}
}

/* hide the parts modal */
.page-id-344 #parts-bin-section {
	display: none;
}

@media (min-width: 981px) and (max-width: 1110px) {
	.contact-form-row .et_pb_blurb {
		margin-bottom: 20px;
	}
	
	.contact-form-row .et_pb_blurb .et_pb_blurb_content,
	.contact-form-row .et_pb_blurb .et_pb_main_blurb_image {
		display: block;
	}
	
	.contact-form-row .et_pb_blurb .et_pb_main_blurb_image {
		margin-bottom: 5px;		
	}
	
	.contact-form-row .et_pb_blurb .et_pb_blurb_container {
		padding-left: 0;
	}
}

/* --- REQUEST CATALOG --- */
.delete-empty-col .et_pb_column_empty {
	display: none;
}
@media (min-width: 1441px) {
	.et_pb_gutters3 .et_pb_column_3_4>.et_pb_row_inner.delete-empty-col>.et_pb_column_1_4.col-1 {
		width: 66% !important;
		margin-right: 15px !important;
	}	
	
	.et_pb_gutters3 .et_pb_column_3_4>.et_pb_row_inner.delete-empty-col>.et_pb_column_1_4.col-3 {
		width: 32% !important;
		margin-top: 4px;
	}
}

@media (max-width: 1440px) {
	.et_pb_gutters3 .et_pb_column_3_4>.et_pb_row_inner.delete-empty-col>.et_pb_column_1_4.col-1 {
		width: 100% !important;
		margin-right: 0px !important;
	}	
	
	.et_pb_gutters3 .et_pb_column_3_4>.et_pb_row_inner.delete-empty-col>.et_pb_column_1_4.col-3 {
		width: 100% !important;
		margin-top: 4px;
	}
}

@media (min-width: 981px) and (max-width: 1249px) {
	body .custom-specialty-content .delete-empty-col .stacked-order-1 .et_pb_button,
	body .custom-specialty-content .stacked-order-2 .et_pb_button {
		font-size: 11px;
	}
}

/* --- CONTACT --- */
.custom-specialty-content .col-3 .et_pb_blurb .et_pb_main_blurb_image {
	margin-bottom: 10px;
}

@media (max-width: 1670px) {
	.custom-specialty-content .et_pb_row_inner .col-1,
	.custom-specialty-content .et_pb_row_inner .col-3 {
		width: 100% !important;
    	margin-right: 0 !important;		
	}
}

/* --- FAQS --- */
/* Open state icon - ALL accordions */
.et_pb_accordion .et_pb_toggle.et_pb_toggle_open .et_pb_toggle_title::after {
	content: "\32" !important; 
	font-size: 25px;
	position: absolute;
    right: -5px;
	top: 50%;
    margin-top: -.5em;
	left: auto;
    color: #536770;
    font-family: ETmodules !important;
    font-weight: 400 !important;
}

.et_pb_accordion .et_pb_toggle.et_pb_module{
	margin-bottom: 0 !important;
}

/* --- SEARCH RESULTS --- */
.jb-catalog-card p, .jb-catalog-pagination span, .jb-catalog-nav p, .jb-catalog-viewer-header p, .jb-catalog-results-header p {
	color: #373636 !important;
	font-weight: bold;
}

.jb-catalog-button-secondary {
	color: #3E1D2B !important;
    border-width: 2px !important;
    border-color: #3E1D2B !important;
    background-color: RGBA(255, 255, 255, 0);
    text-transform: uppercase;
    font-size: 12px !important;
	font-weight: 600 !important;
    padding: .7em 1.75em !important;
    line-height: 1.3em !important;
    border-radius: 4px !important;
	min-height: auto !important;
}

.jb-catalog-button:hover, .jb-catalog-button:focus {
	transform: translateY(0px) !important;	
}

.jb-catalog-button:hover {
	color: #F0E7D2 !important;
    border-color: #8D4A38 !important;
    background-color: #8D4A38 !important;	
}

.jb-catalog-nav {
	margin-bottom: -20px;	
}

/* --- NEW PRODUCTS – ESSENTIAL GRID --- */
/* Overlay positioning */
#esg-grid-3-1-wrap ul.mainul li .esg-media-cover-wrapper .esg-tc .esg-cc {
  top: 100% !important;
}
#esg-grid-3-1-wrap ul.mainul li .esg-media-cover-wrapper .esg-tc .esg-cc img {
  max-width: 32px !important;
}

/* Media stacking */
#esg-grid-3-1-wrap .eg-custom-skin-new-products-wrapper .esg-entry-media-wrapper {
  position: relative !important;
  width: 100%;
}

#esg-grid-3-1-wrap .eg-custom-skin-new-products-wrapper .esg-entry-media {
  padding-bottom: 0 !important;
  height: auto;
  aspect-ratio: 1 / 1;
}

#esg-grid-3-1-wrap .eg-custom-skin-new-products-wrapper .esg-media-poster {
  position: absolute;
  inset: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  image-rendering: auto;
  backface-visibility: hidden;
  will-change: background-position;
  scale: 0.51 !important;
  transform: translate3d(0px, 47px, 0px) !important;
}

/* Hover button */
#esg-grid-3-1-wrap .eg-custom-skin-new-products-element-20-a,
#esg-grid-3-1-wrap .eg-custom-skin-new-products-element-20-a a {
  width: 100% !important;
}
#esg-grid-3-1-wrap .eg-custom-skin-new-products-element-20-a a div {
  display: flex;
  justify-content: space-between;
}

/* -- FILTERS -- */
#esg-grid-3-1-wrap.flat-dark .esg-filterbutton {
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1px;
  padding: 0em 1.25em;
  color: #536770;
  border: 2px solid #536770;
  background: transparent;
  transition: 0.2s all ease-in-out;
}
#esg-grid-3-1-wrap.flat-dark .esg-filterbutton.selected,
#esg-grid-3-1-wrap.flat-dark .esg-filterbutton:hover {
  background: #3E1D2B;
  border-color: #3E1D2B;
  color: #F0E7D2;
}

@media (min-width: 981px) {
	.sticky-filters #esg-grid-3-1-wrap .esg-filters {
		position: sticky;
		top: 193px;
		z-index: 99;
		background-color: #f0e6d1;
		padding-top: 10px;
		padding-bottom: 10px;
	}
}


/* --  MATERIAL DOT – GRID -- */
#esg-grid-3-1-wrap .eg-custom-skin-new-products-element-12 {
  position: relative;
  padding-left: 22px;
}
#esg-grid-3-1-wrap .eg-custom-skin-new-products-element-12::before {
  content: "";
  position: absolute;
  left: 29px;
  top: 23px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
}

/* --  MATERIAL DOT – POPUP -- */
#popmake-2175 .np-material-dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin: 0 10px 0 25px;
  border-radius: 50%;
  vertical-align: middle;
}

/* --  MATERIAL → COLOR MAP -- */
#esg-grid-3-1-wrap .np-material-stainless-steel .eg-custom-skin-new-products-element-12::before,
#popmake-2175.np-material-stainless-steel .np-material-dot {
  background: #1fa44a;
}
#esg-grid-3-1-wrap .np-material-bronze .eg-custom-skin-new-products-element-12::before,
#popmake-2175.np-material-bronze .np-material-dot {
  background: #c66a2c;
}
#esg-grid-3-1-wrap .np-material-aluminum .eg-custom-skin-new-products-element-12::before,
#popmake-2175.np-material-aluminum .np-material-dot {
  background: #1fa9e0;
}
#esg-grid-3-1-wrap .np-material-steel .eg-custom-skin-new-products-element-12::before,
#popmake-2175.np-material-steel .np-material-dot {
  background: #b00e28;
}
#esg-grid-3-1-wrap .np-material-nickel-silver .eg-custom-skin-new-products-element-12::before,
#popmake-2175.np-material-nickel-silver .np-material-dot {
  background: #812990;
}
#esg-grid-3-1-wrap .np-material-multi-metal .eg-custom-skin-new-products-element-12::before,
#popmake-2175.np-material-multi-metal .np-material-dot {
  background: #C7C8CA;
}

/* --  POPUP – STRUCTURE -- */
#popup-header {
  background: #893E32;
  padding: 18px 0 10px;
}
#popup-header .et_pb_row {
  width: 92%;
  max-width: 100%;
  padding: 0;
}
#popup-header h2 {
  color: #fff;
}

#scale-section,
#content-section {
  padding: 0;
}

/* Keep popup stable */
#popmake-2175 {
  min-height: 70vh;
}
#popmake-2175 .pum-content {
  position: relative;
  min-height: 70vh;
  max-height: 100vh;
  overflow-y: auto;
  overscroll-behavior: contain;
}

/* Lock page scroll */
html.pum-open {
  overflow: hidden !important;
}

/* --  POPUP – LOADING OVERLAY -- */
#popmake-2175 .np-loading-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
#popmake-2175.is-loading .np-loading-overlay {
  display: flex;
}
#popmake-2175.is-loading .pum-content {
  overflow: hidden;
}
#popmake-2175 .np-spinner {
  width: 44px;
  height: 44px;
  border: 4px solid rgba(0,0,0,0.15);
  border-top-color: rgba(0,0,0,0.55);
  border-radius: 50%;
  animation: npSpin 0.8s linear infinite;
}
@keyframes npSpin { to { transform: rotate(360deg); } }

/* -- POPUP – CONTENT -- */
#content-section .product-featured-image img {
  max-height: 675px;
  max-width: 95%;
  object-fit: contain;
}
#content-section .drawing-image .et_pb_image {
  max-width: 565px;
  padding-top: 40px;
}
#content-section .et_pb_row_inner {
  padding: 0;
}
#scale-section .et_pb_text {
  color: #4A4343;
}
#content-section .product-table table td {
  border-bottom: 1px solid rgba(202,225,236,0.74);
}

/* hide dimensions for posts and spindles and handrail fittings */
/* hide b dimension for bases */
#content-section:has(.product-cat-posts-and-spindles) .dimensions-a,
#content-section:has(.product-cat-posts-and-spindles) .dimensions-b,
#content-section:has(.product-cat-handrail-fittings) .dimensions-a,
#content-section:has(.product-cat-handrail-fittings) .dimensions-b,
#content-section:has(.product-cat-bases) .dimensions-b {
    display: none !important;
}

/* Change "a" label to "Hole" for bases */
#content-section:has(.product-cat-bases) .dimension-label-a {
    font-size: 0;
}

#content-section:has(.product-cat-bases) .dimension-label-a::after {
    content: "Hole";
    font-size: 16px; /* adjust if needed */
}

/* Buttons */
#content-section .product-buttons {
  padding: 30px 15px 40px;
}
#content-section .product-buttons .et_pb_column {
  display: flex;
  gap: 1em;
}

/* Next button */
#content-section .product-buttons .et_pb_posts_nav .nav-next a {
  font-size: 12px;
  font-weight: 600 !important;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #F0E7D2;
  background: #3E1D2B;
  border: 2px solid #3E1D2B;
  border-radius: 4px;
  padding: .7em 1.75em !important;
}
#content-section .product-buttons .et_pb_posts_nav .nav-next a::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 10px;
  margin-left: 15px;
  background: url(/wp-content/uploads/parchment-arrow-icon.svg) center/contain no-repeat;
}
#content-section .product-buttons .et_pb_posts_nav .nav-next a:hover,
#content-section .product-buttons .et_pb_button:hover {
  background: #8D4A38;
  border-color: #8D4A38;
  color: #F0E7D2;
}
#content-section .product-buttons .nav-next .meta-nav {
  display: none;
}

/* Secondary buttons */
#content-section .product-buttons .et_pb_button {
  font-size: 12px;
  color: #536770;
  border: 2px solid #536770;
  background: transparent;
}

/* -- POPUP GRID LINES -- */
#scale-section .et_pb_row,
#content-section .et_pb_row {
  width: 92%;
  border-left: 1px solid rgba(202,225,236,0.74);
  border-right: 1px solid rgba(202,225,236,0.74);
}
#scale-section .et_pb_row {
  border-bottom: 1px solid rgba(202,225,236,0.74);
  padding-left: 35px;
}

/* Full-height divider */
#content-section::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 27%;
  width: 1px;
  background: rgba(202,225,236,0.74);
  pointer-events: none;
}

#content-section .et_pb_column_1_4 .et_pb_image {
  text-align: center;
}

body .ppb-main-menu-wrap .et_pb_menu__menu{
	width: 100%;
}
body .ppb-main-menu-wrap .et_pb_menu__menu .et_pb_menu__search-button{
	flex-direction: inherit;
	order: 4;
}

body #page-container .ppb-left-first-button .et_pb_button_module_wrapper .et_pb_button {
	text-transform: capitalize !important;
}
/* -- RESPONSIVE -- */
@media (min-width: 768px) and (max-width: 980px) {
  .full-row-on-tablet {
    display: flex;
  }
}

@media (min-width: 1598px) and (max-width: 1740px) {
	#content-section .product-buttons .et_pb_posts_nav .nav-next a,
	#content-section .product-buttons .et_pb_button {
	  font-size: 11px;
	}
}

@media (min-width: 1315px) and (max-width: 1597px) {
	#content-section .product-buttons .et_pb_posts_nav .nav-next a,
	#content-section .product-buttons .et_pb_button {
	  font-size: 9px;	
	}
	
	#content-section .product-buttons .et_pb_column {
		gap: 0.5em;
	}
	
	#content-section .product-buttons .et_pb_posts_nav .nav-next a::after {
		width: 12px;
		height: 7px;
	}
}

@media (min-width: 1024px) and (max-width: 1314px) {
	#content-section .product-buttons .et_pb_posts_nav .nav-next a,
	#content-section .product-buttons .et_pb_button {
	  font-size: 7px;
	}
	
	#content-section .product-buttons .et_pb_column {
		gap: 0.5em;
	}
	
	#content-section .product-buttons .et_pb_posts_nav .nav-next a::after {
		width: 12px;
		height: 7px;
	}
	
	#content-section .product-buttons .et_pb_posts_nav .nav-next a {
		white-space: nowrap;
	}
}

@media (min-width: 981px) and (max-width: 1023px) {
	#content-section .product-buttons .et_pb_posts_nav .nav-next a,
	#content-section .product-buttons .et_pb_button {
	  font-size: 10px;
	}
	
	#content-section .product-buttons .et_pb_column {
		gap: 0.5em;
	}
	
	#content-section .product-buttons .et_pb_posts_nav .nav-next a::after {
		width: 12px;
		height: 7px;
	}
	
	#content-section .product-buttons .et_pb_posts_nav .nav-next a {
		white-space: nowrap;
	}
}

@media (min-width: 770px) and (max-width: 980px) {
	#content-section .et_pb_gutters1 .et_pb_column_1_4, 
	#content-section .et_pb_gutters1.et_pb_row .et_pb_column_1_4 {
		width: 25%;
	}
	
	#content-section .et_pb_gutters1 .et_pb_column_3_4, 
	#content-section .et_pb_gutters1.et_pb_row .et_pb_column_3_4 {
		width: 75%;
	}
	
	#content-section .product-buttons .et_pb_posts_nav .nav-next a,
	#content-section .product-buttons .et_pb_button {
	  font-size: 9px;	
	}
	
	#content-section .product-buttons .et_pb_column {
		gap: 0.5em;
	}
	
	#content-section .product-buttons .et_pb_posts_nav .nav-next a::after {
		width: 12px;
		height: 7px;
	}
	
	#content-section .product-buttons .et_pb_posts_nav .nav-next a {
		white-space: nowrap;
	}
	
	#content-section .product-featured-image img {
		max-height: 600px;
	}
}

@media (min-width: 642px) and (max-width: 769px) {
	#content-section .et_pb_gutters1 .et_pb_column_1_4, 
	#content-section .et_pb_gutters1.et_pb_row .et_pb_column_1_4 {
		width: 25%;
	}
	
	#content-section .et_pb_gutters1 .et_pb_column_3_4, 
	#content-section .et_pb_gutters1.et_pb_row .et_pb_column_3_4 {
		width: 75%;
	}
	
	#content-section .product-buttons .et_pb_posts_nav .nav-next a,
	#content-section .product-buttons .et_pb_button {
	  font-size: 7px;
	}
	
	#content-section .product-buttons .et_pb_column {
		gap: 0.5em;
	}
	
	#content-section .product-buttons .et_pb_posts_nav .nav-next a::after {
		width: 12px;
		height: 7px;
	}
	
	#content-section .product-buttons .et_pb_posts_nav .nav-next a {
		white-space: nowrap;
	}
	
	#content-section .product-featured-image img {
		max-height: 550px;
	}
}

@media (min-width: 525px) and (max-width: 641px) {
	#content-section .et_pb_gutters1 .et_pb_column_1_4, 
	#content-section .et_pb_gutters1.et_pb_row .et_pb_column_1_4 {
		width: 25%;
	}
	
	#content-section .et_pb_gutters1 .et_pb_column_3_4, 
	#content-section .et_pb_gutters1.et_pb_row .et_pb_column_3_4 {
		width: 75%;
	}
	
	#content-section .product-buttons .et_pb_posts_nav .nav-next a,
	#content-section .product-buttons .et_pb_button {
	  font-size: 8px;
	}
	
	#content-section .product-buttons .et_pb_posts_nav .nav-next a::after {
	  top: 2px;
      position: relative;
      width: 13px;
      height: 9px;
	}
	
	#content-section .product-featured-image img {
		max-height: 550px;
	}
	
	#content-section .product-buttons .et_pb_column {
		flex-direction: column;
		align-items: center;
	}
	
	#popup-header h2 {
		font-size: 22px;
	}
	
	#scale-section .et_pb_text {
		font-size: 14px;
	}
	
	.product-table table {
		font-size: 12px;
	}
	
	#popmake-2175 .np-material-dot {
		width: 17px;
		height: 17px;
	}
	
	.pum-theme-962 #popmake-2175 .pum-content + .pum-close, 
	.pum-theme-cutting-edge #popmake-2175 .pum-content + .pum-close {
		right: 26px;
    	top: 18px;
	}
}

@media (min-width: 640px) and (max-width: 800px) {
	#esg-grid-3-1-wrap .eg-custom-skin-new-products-element-12,
	#esg-grid-3-1-wrap .eg-custom-skin-new-products-element-10,
	#esg-grid-3-1-wrap .eg-custom-skin-new-products-element-11 {
		font-size: 10px !important;
	}

	#esg-grid-3-1-wrap .eg-custom-skin-new-products-element-12::before {
		width: 11px;
		height: 11px;
		top: 25px;
	}
}

@media (min-width: 55px) and (max-width: 524px) {
	#content-section .product-buttons .et_pb_posts_nav .nav-next a,
	#content-section .product-buttons .et_pb_button {
	  font-size: 8px;
	}
	
	#content-section .product-buttons .et_pb_posts_nav .nav-next a::after {
	  top: 2px;
      position: relative;
      width: 13px;
      height: 9px;
	}
	
	#content-section .product-featured-image img {
		max-height: 300px;
		max-width: 200px;
	}
	
	#content-section .product-buttons .et_pb_column {
		flex-direction: column;
		align-items: center;
	}
	
	#popup-header h2 {
		font-size: 22px;
	}
	
	#scale-section .et_pb_text {
		font-size: 14px;
	}
	
	.product-table table {
		font-size: 12px;
	}
	
	#popmake-2175 .np-material-dot {
		width: 17px;
		height: 17px;
	}
	
	.pum-theme-962 #popmake-2175 .pum-content + .pum-close, 
	.pum-theme-cutting-edge #popmake-2175 .pum-content + .pum-close {
		right: 26px;
    	top: 18px;
	}
	
	/* Full-height divider */
	#content-section::before {
	  width: 0px;
	}
}

@media (max-width: 386px) {
    #popmake-2175 .np-material-dot {
        width: 11px;
        height: 11px;
		top: -2px;
        position: relative;
		margin: 0 7px 0 15px;
    }	
}

/* --- DRAWING FILES --- */
/* -- DOCUMENT LIBRARY PRO -- */
/* grid */
body .dlp-grid-documents.columns-4 {
    grid-template-columns: repeat(8, minmax(min(20px, 100%), 1fr));	
	gap: 5px;
}

body .dlp-grid-card-content {
	border-radius: 0 !important;
	padding: 2px 10px;
}

body .dlp-grid-card-info .dlp-grid-card-file-info {
	line-height: 1.2em;
}

.dlp-grid-container .dlp-grid-documents {
  display: none;
}

.dlp-grid-container.has-active-filter .dlp-grid-documents {
  display: grid;
}

.doc-lib-pro-shortcode p {
	padding: 0;
}

/* Message styling */
.dlp-filter-message {
  text-align: center;
  padding: 20px;
  font-size: 14px;
  font-weight: 500;
}

/* search */
body .dlp-grid-search input[type=search] {
	border: 1px solid #000;
	border-radius: 0;
	background-color: #fff;
}

body .dlp-grid-search label {
	font-weight: 600;	
}

/* hide grid total */
.dlp-grid-totals {
	display: none;
}

/* pagination */


/* -- BLURBS ON DRAWING FILES PAGE -- */
.custom-icon-blurbs .et_pb_blurb_content {
	align-items: center;
    display: flex;
}

.custom-icon-blurbs .et_pb_blurb_content .et_pb_main_blurb_image {
	margin-bottom: 0;	
}

.custom-icon-blurbs .et_pb_blurb_content  .et_pb_module_header {
	padding-bottom: 0;
}

/* -- INTERIOR PAGES WITH SIDEBAR -- */
/* sidebar buttons */
a.sidebar-buttons.et_pb_button {
     width: 100%;
}

/* accordion */
.drawing-files-instructions .et_pb_toggle {
	padding: 0 0 10px 0 !important;
}

/* request catalog page */
.delete-empty-col .col-3 a.sidebar-buttons.et_pb_button {
     width: 100%;
}

body #page-container .ppb-sidebar-hide > .et_pb_row > .et_pb_column:first-child{
	display: none;	
}

body #page-container .ppb-sidebar-hide > .et_pb_row > .et_pb_column:last-child{
 width: 100%;	
}

body #page-container .ppb-dorp-menu-row{
	display: flex;
}

body #page-container .ppb-dorp-menu-row .mega-col-one,
body #page-container .ppb-dorp-menu-row .mega-col-two,
body #page-container .ppb-dorp-menu-row .mega-col-three{
	background-repeat: no-repeat !important;
	background-size: 100% !important;
}

body #page-container .ppb-dorp-menu-row .mega-col-two{
	background-image: url(/wp-content/uploads/Architects-specifiers-and-designers-background.jpg) !important;
	background-position: center bottom!important;	 
}

body #page-container .ppb-dorp-menu-row .mega-col-three{
	background-image: url(/wp-content/uploads/resources-background.jpg) !important;
	background-position: center!important; 
} 

body #page-container .ppb-dorp-menu-row{
	background-color: #F7F1E3 !important;
}

@media (min-width: 981px){
body #page-container #mega-menu-secondary-menu{
	padding-left: 3vw;
  padding-right: 3vw;
}

body #page-container .catalog-panel li{
		line-height: 1.4em;
	padding-bottom: 10px;
	}
}

@media (max-width: 379px) {
	a.sidebar-buttons.et_pb_button {
		 width: 100%;
	}	
}

@media (min-width: 1585px) {
	.custom-specialty-content .et_pb_gutters1.et_pb_row .et_pb_column_3_4 {
		padding: 0;
	}	
}


@media (max-width: 980px) {
	.interior-page-row-header .et_pb_column,
	.custom-specialty-content .stacked-flex:last-child .et_pb_column:last-child {
		margin-bottom: 0 !important;
	}
	body #page-container .open-mobile-menu li.et_pb_menu_page_id-2 {
 display: none !important;
}
	body #page-container .mobile-secondary-menu{
		margin-bottom: 0 !important;
	}
}

@media (max-width: 479px) {
	.custom-specialty-content .stacked-flex {
		margin-bottom: 15px;
	}	
}

/* -- MISCELLANEOUS -- */
/* - GF CONFIRMATIONS - */
#gform_confirmation_message_1 br,
#gform_confirmation_message_3 br {
  display: none;
}

@media only screen and (max-width:468px){
	.hide-mobile{
		display:none !important;
	}
	header #catalog-and-search-section .et_pb_menu .et-menu>li.menu-item-type-yspl_win {
    	width: 100%;
	}
	.yspl_win_wrap {
    	width: 100%;
	}
	body .ppb-main-menu-wrap .wp-block-search__inside-wrapper {
    	width: 100%;
	}
}