:root {
	--top-menu-height: 100px;
	--checkout-menu-height: 40px;
	--bs-font-sans-serif: Roboto, system-ui, -apple-system, "Segoe UI", "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

/* body { padding-top: calc( var( --top-menu-height ) + 2rem ) } */
#main { padding-top: calc( var( --top-menu-height ) + 2rem ) }
#split { padding-top: calc( var( --top-menu-height ) ) }
#checkout { padding-top: calc( var( --checkout-menu-height ) ) }

.scroll-adjust{
	scroll-margin-top: 100px;
}

#info-mb{
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999999;
}

.bg-split {
	background-image: linear-gradient( to right, white, #f8f9fb 60% );
}

#top-nav {
	font-size: 14px;
	/* margin-top:40px; */
	height:60px
}

.container {
	max-width: 980px;
}

.reduce-top-pad{
	margin-top: -2rem !important;
}

.sticky-top {
	top: var( --top-menu-height );
}

/* TOP NAV */
.separator {
	border-bottom: 1px solid rgba(233,236,239,.2);
	margin-top: 1px;
	margin-bottom: 1px;
}

.no-underline {
	text-decoration: none;
}

/* transfor hamburger icon to "X" when opened */
.navbar-toggler span {
	display: block;
	background-color: #4f4f4f;
	height: 3px;
	width: 25px;
	margin-top: 5px;
	margin-bottom: 5px;
	position: relative;
	left: 0;
	opacity: 1;
	transition: all 0.35s ease-out;
	transform-origin: center left;
}

.navbar-toggler span:nth-child(1) {
	transform: translate(0%, 0%) rotate(0deg);
}

.navbar-toggler span:nth-child(2) {
	opacity: 1;
}

.navbar-toggler span:nth-child(3) {
	transform: translate(0%, 0%) rotate(0deg);
}

.navbar-toggler span:nth-child(1) {
	margin-top: 0.3em;
}

.navbar-toggler:not(.collapsed) span:nth-child(1) {
	transform: translate(15%, -33%) rotate(45deg);
}

.navbar-toggler:not(.collapsed) span:nth-child(2) {
	opacity: 0;
}

.navbar-toggler:not(.collapsed) span:nth-child(3) {
	transform: translate(15%, 33%) rotate(-45deg);
}
/* END TOP NAV */

footer {
	font-size: .8em;
}

footer dl {
	line-height: 1em;
}

.js-unselect{
	visibility: hidden;
}

.js-recalc-onchange:checked + label {
	font-weight: 500 !important;
}

/* SHOPPING CART */
.transparent-cells td, .transparent-cells th {
	--bs-bg-opacity: 1;
	background-color: transparent !important;
}

/* BOOTSTRAP */
.fs-7 {
	font-size: .85rem !important;
}

.fs-8 {
	font-size: .75rem !important;
}

.w-10 {
	width: 10% !important;
}

.w-15 {
	width: 15% !important;
}

.w-20 {
	width: 20% !important;
}

.w-60 {
	width: 60% !important;
}

.btn-xs, .btn-group-xs > .btn {
	--bs-btn-padding-y: 0.2rem;
	--bs-btn-padding-x: 0.35rem;
	--bs-btn-font-size: 0.675rem;
	--bs-btn-border-radius: var(--bs-border-radius-sm);
 }

.table-xs td, .table-xs th {
	padding: 2px 3px !important;
	font-size:12px !important;
	line-height:normal !important;
	vertical-align:middle !important;
}

/* so that floating labels are grey */
.form-floating>label {
	opacity: 0.5;
}

#status-bar a {
	color: #16438D !important;
}

 /* CONFIG */
#configForm input[type="radio"] {
	opacity: 0;
	position: absolute;
}

#configForm label {
	cursor: pointer;
}

#configForm .cfg-item-name {
	flex: 1;
	word-wrap: break-word;
}

#configForm .cfg-item-price {
	width: 100px;
	text-align: right;
}

#configForm li:has( input:checked ) {
	background: #cfe2ff;
	border: 2px rgb(158, 197, 254) solid !important;
}

#configForm select {
	/* border: 1px solid #c3cfe2; */
	border: 0;
	border-radius: 4px;
	color: #4c5f7f;
	font-weight: 600;
}

/* product filter */
#scrollToggle {
	position: fixed;
	bottom: 2rem;
	right: 2rem;
	font-size: 3rem;
	color: #0d6efd;
	cursor: pointer;
	z-index: 1050;
	transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
	opacity: 0;
	visibility: hidden;
}

#scrollToggle.visible {
	opacity: 1;
	visibility: visible;
}

.subcategory { margin-left: 1.25rem; display: block; }

.product-card { transition: all 0.4s ease-in-out; opacity: 1; transform: scale(1); }
.product-card.hide { opacity: 0; transform: scale(0.95); pointer-events: none; position: absolute; }

.category-toggle { cursor: pointer; font-weight: bold; margin-bottom: 0.25rem; display: flex; justify-content: space-between; align-items: center; }

.arrow-down { transition: transform 0.3s ease; }
.arrow-down { transform: rotate(0deg); }
.collapsed .arrow-down { transform: rotate(-90deg); }

.card-filter-body {
	display: flex;
	flex-direction: column;
}

.card-filter-cap {
	display: flex;
	align-items: center;   /* vertical center */
	justify-content: center; /* horizontal center */
	height: 180px;         /* adjust as needed */
}

/* CATALOG */
	.catalog p, .catalog dl {
		color: #444444;
	}

	.light-background {
		--background-color: #f5f6f8;
		--surface-color: #ffffff;
		--heading-color: #37517e;
	}
	.dark-background {
		--background-color: #37517e;
		--heading-color: #ffffff;
	}

	.section {
		background-color: var(--background-color);
		color: var(--heading-color);
	}

	.section p {
		color: color-mix(in srgb, #444444, transparent 10%);
	}

	.hero h1 {
		margin: 0;
		font-size: 48px;
		font-weight: 700;
		line-height: 56px;
	}

	.hero p {
		color: color-mix(in srgb, var(--default-color), transparent 30%);
		/* margin: 5px 0 30px 0; */
		font-size: 18px;
		line-height: 1.5;
	}

	.image-shadow {
		filter: drop-shadow( 0px 4px 4px rgba( 128, 128, 128, 0.5 ) );
	}

	.banner-content {
		min-height: 300px;
	}

	.column-head {
		min-height: 3rem;
	}

	.square {
		position: relative;
		width: 100%;
		aspect-ratio: 1; /* Ensures square aspect ratio */
		overflow: hidden;
	}
	.square > div {
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
	}

	@media (min-width: 992px) {
		.banner-content {
			min-height: 500px;
		}
	}

	@media (max-width: 991.98px) {
		.hero h1 {
			font-size: 28px;
			line-height: 36px;
		}

		.hero p {
			font-size: 18px;
			line-height: 24px;
			margin-bottom: 30px;
		}

		.column-head {
			min-height: 0;
			margin-bottom: 1px !important;
			margin-top: 1rem;
		}
	}

	@media (max-width: 767.98px) {
		.hero {
			text-align: center;
		}
	}

	@media (max-width: 639.98px) {
		.hero {
			text-align: center;
		}
		.hero p {
			font-size: 16px;
		}
	}

/* /CATALOG */


 /* media query prevents hover on hamburger menu */
@media all and (min-width: 992px) {
	html {
		overflow-y:scroll;
	}

	.status-bar {
		height: 40px;
	}

	/* Navbar dropdown base styles */
	.navbar-nav .dropdown-menu {
		display: none;
		position: absolute;
		top: 100%;
		/* Align with bottom of level-1 navbar */
		left: 0;
		min-width: 300px;
		border-radius: 0;
		margin-top: 0;
		z-index: 1000;
	}

	.dropdown-item  {
		padding: 12px 35px;
		line-height: 24px;
	}

	/* Show level-2 on hover of level-1 item */
	.nav-item.dropdown:hover>.dropdown-menu {
		display: block;
	}

	/* Level-3 submenu styles */
	.dropdown-submenu>.dropdown-menu {
		top: -1px;
		/* Align vertically with level-2 */
		left: 100%;
		/* Position directly to the right */
		margin-left: 0;
		position: absolute;
		z-index: 1001;
		border-left: 0;
		background-color: #ddd;
	}

	/* Show level-3 on hover of submenu item */
	.dropdown-submenu:hover>.dropdown-menu {
		display: block;
	}

	/* Right caret */
	.dropdown-submenu>a::after {
		margin-top: 0.45em;
		content: "";
		border-left: 0.3em solid;
		border-top: 0.3em solid transparent;
		border-right: 0;
		border-bottom: 0.3em solid transparent;
		float: right;
	}

}

/* media query changes caret on hamburger menu */
@media (max-width: 991.98px) {
	body {
		padding-top: 60px + 2rem;
	}

	.status-bar {
		display: none !important;
	}

	/* Level-3 submenu styles */
	.dropdown-submenu>.dropdown-menu {
		margin-left: 35px;
		border-left: 0;
	}

	.dropdown-menu {
		border: 0;
		display: none;
	}

	.dropdown-menu li, .dropdown-menu li a {
		white-space: normal;
		float: left;
		width: 100%;
		height: auto;
		word-wrap: break-word;
	}

	#navbarNavDropdown {
		font-size: 1rem !important;
		font-weight: bold;
		padding: 1.5em;
	}

	.dropdown-toggle::after {
		display: inline-block;
		margin-left: .255em;
		vertical-align: .255em;
		content: "";
		border-top: 0.3em solid transparent;
		border-right: 0;
		border-bottom: 0.3em solid transparent;
		border-left: 0.3em solid;
	}

	.dropdown-toggle::after {
		position: absolute;
		left: 100%;
		margin-top: 0.7em;
	}

	/* mobile menu became transparent? z-index? this is a hack */
	.navbar-collapse {
		background: #fff;
	}

	 @media print {

		#main {
		  padding-top: 0;
		}

		.noprint, button {
			display:none;}

	 }

}
