@charset "UTF-8";
/* Web Solutions 4.0 Compatible */

:root {
	--ws-grid: minmax(.5em,1fr) [wrap-start] repeat(2,minmax(0,var(--ws-column-width))) [wrap-end] minmax(.5em,1fr);
}

body.slideNav {
	overflow: hidden;
}

/* HEADINGS ------------------------------ */
h1 {
	font-size: 1.5em;
}

h2 {
	font-size: 1.45em
}

h3 {
	font-size: 1.3em
}

h4, th {
	font-size: 1.2em
}

h5 {
	font-size: 1.1em
}

h6 {
	font-size: 1.0em
}

.intro {
	font-size: 1.25em;
}

/* HEADER ------------------------------ */
body>header {
	background: url(/images/pageHeader-Mobile.jpg) no-repeat center / cover;
	position: relative;
	z-index: 1;
}

body>header:before{
	background-size: 4.125rem 4.125rem;
	opacity: 0.5;
}

body>header:after{
	opacity: 0.2;
}

body>header .header-wrap {
	padding: 0.625rem 1rem 4.8125rem;
	gap:0.8125rem;
}

#brand {
	align-content: center;
	display: block;
	width: 4.1875rem;
	grid-column: 1 / span 1;
	grid-row-start: 1;
	grid-row-end: 3;
}

#brand img{
	display: block;
	width: 100%;
	height: auto;
}

.logged-in {
    display: flex;
    grid-column: 2 / span 1;
    grid-row-end: 1;
    grid-row-start: 1;
    justify-content: flex-end;
    text-align: right;
}

.helpful-links {
	display: flex;
	gap: 1rem;
	grid-column: 2 / span 1;
	grid-row-start: 2;
	grid-row-end: 2;
}

#mainnav {
    bottom: 0.375rem;
    left: 0;
    padding: 1rem;
    position: absolute;
    width: 100%;
}

#mainnav.stick {
    bottom: auto;
    top:0;
	position: fixed;
	background: #1D1210;
}

#mainnav li {
	flex: 1 1 auto;
}

body>#alert {
	font-size: 0.875rem;
}





/* MAIN ------------------------------ */

.simple-layout {
	padding:0 1rem 2.5rem;
}

.simple-layout :is(p, ul, ol, .flex-form) {
	font-size: 0.75rem;
}

section {
    font-size: 0.75rem;
}

.section-heading {
	background: var(--lightest-brown);
}

.section-heading :is(h1, h2) {
    font-size: 1.25rem;
}

.section-sub-heading :is(h2, h3) {
    font-size: 1rem;
}

.product-category-header h4 {
	font-size: 0.875rem;
}

.section-sub #search-results{
    grid-template-columns: auto;
}

.product-name {
	font-size: 0.9375rem;
}

.photoright {
	margin: 0 0 .75em 1em;
}

.photoleft {
	margin: 0 1em .75em 0;
}

.twoCol, .threeCol, .resCol {
	columns: auto;
	column-rule: 1px outset rgba(0,0,0,.15);
	column-width: 13em;
}

.formTable, .formTable table {
	display: block;
	width: 100%;
}

.formTable tbody {
	display: block;
}

.formTable tr {
	display: block;
}

.formTable td {
	display: block;
	padding: 0;
	width: 100%;
}

.formTable :is(input:is([type="text"], [type="password"], [type="tel"], [type="number"], [type="email"], [type="url"]), textarea) {
	margin-bottom: 1em
}

.formTable table td + td {
	padding-left: 0 !important;
}

/* Contact Form - table removed ----- */
.flex-form .half:not(.mobile-half),
.flex-form .full [type=submit] {
	width: 100%;
}

.flex-form .quarter {
	width: calc(50% - .5em);
}

.popover.full-screen .wrapper {
	height: 100%;
}

.halves {
	display:  flex;
	gap: 1.6875rem var(--gap);
	flex-wrap: wrap;
}

.halves > * {
	width: calc(50% - (var(--gap) / 2));
}

.halves *:last-child {
	margin-bottom: 0
}

#payment .payment-options {
	flex-wrap: wrap;
}

#payment .payment-options .section-sub-heading {
	width: 100%;
}


/* FOOTER ------------------------------ */
body>footer .wrap {
	align-items: stretch;
	align-content: stretch;
	display: flex;
	flex-direction: column;
}

#web-solutions {
	order: 1;
}

body>footer .wrap nav a+span:before {
	content: "|";
	margin: 0 0.5em;
}
