/* Visual refresh layered over style.css; remove this file to restore the original look. */

:root {
	--sb-red: #e70000;
	--sb-red-dark: #b70000;
	--sb-red-deep: #8f0000;
	--sb-ink: #1d1d1f;
	--sb-muted: #5a5a5f;
	--sb-line: #e3e3e6;
	--sb-soft: #f6f6f7;
	--sb-radius: 8px;
	--sb-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
	font-family: var(--sb-font);
	color: var(--sb-ink);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

a {
	transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

a:focus-visible {
	outline: 2px solid var(--sb-red);
	outline-offset: 2px;
	border-radius: 2px;
}

/* Header */
#header {
	background: var(--sb-red);
	background: linear-gradient(180deg, #f20000 0%, var(--sb-red) 100%);
	border-top: 0;
	border-bottom: 3px solid #d4d4d8;
}

#header #headerWrapper #logo {
	display: block;
	text-decoration: none;
}

#header #headerWrapper #logo:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 4px;
}

#header #headerWrapper a p {
	font-weight: 500;
	opacity: 0.95;
}

#header #headerWrapper #contact p {
	letter-spacing: 0.02em;
}

#header #headerWrapper #nav ul li {
	margin: 0 4px;
}

#header #headerWrapper #nav ul li a {
	display: inline-block;
	padding: 6px 13px;
	border: 0;
	border-radius: 6px;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.01em;
	text-decoration: none;
}

#header #headerWrapper #nav ul li:first-child a {
	padding-left: 13px;
}

#header #headerWrapper #nav ul li a:hover,
#header #headerWrapper #nav ul li a:focus-visible {
	background: rgba(0, 0, 0, 0.18);
	border: 0;
	color: #fff;
	outline: none;
}

#header #headerWrapper #nav ul li.current-menu-item > a,
#header #headerWrapper #nav ul li.current-menu-ancestor > a,
#header #headerWrapper #nav ul li.current-page-ancestor > a {
	background: rgba(0, 0, 0, 0.22);
}

/* Columns */
#main #centerColumn {
	border-left-color: var(--sb-line);
	border-right-color: var(--sb-line);
}

/* Content typography */
#main #centerColumn .entry,
#main #centerColumn p,
#main #centerColumn li,
#main #centerColumn td {
	line-height: 1.6;
}

#main #centerColumn p,
#main #centerColumn li {
	color: #2b2b2e;
}

#main #centerColumn h2 {
	color: var(--sb-ink);
	font-size: 26px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.01em;
	padding: 18px 0 16px;
}

#main #centerColumn h2 strong {
	font-weight: 700;
}

#main #centerColumn h3,
#main #centerColumn h4 {
	color: var(--sb-ink);
	line-height: 1.35;
}

#main #centerColumn h4 {
	font-size: 16px;
	margin: 22px 0 10px;
}

/* Content links */
#main #centerColumn a {
	color: var(--sb-red-dark);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

#main #centerColumn a:hover,
#main #centerColumn ul li a:hover {
	color: var(--sb-red-deep);
	text-decoration-thickness: 2px;
}

/* Product and material images */
#main #centerColumn img {
	border: 1px solid var(--sb-line);
	border-radius: var(--sb-radius);
	background: #fff;
}

#main #centerColumn a img {
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

#main #centerColumn a:hover img {
	border-color: #c9c9ce;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

/* Small inline icons stay flat */
#main #centerColumn img[src*="icon_"],
#main #centerColumn img[src*="pdf.gif"],
#main #centerColumn img[width="11"],
#main #centerColumn img[width="16"],
#main #centerColumn img[width="24"] {
	border: 0;
	border-radius: 0;
	box-shadow: none;
	background: none;
	vertical-align: middle;
}

/* Image grids (legacy layout tables with border="0") */
#main #centerColumn table[border="0"] td {
	padding-bottom: 18px;
}

#main #centerColumn table[border="0"] td a:not(:has(img)) {
	display: inline-block;
	margin-top: 6px;
	line-height: 1.3;
	color: var(--sb-ink);
	font-weight: 600;
	text-decoration: none;
}

#main #centerColumn table[border="0"] td a:not(:has(img)):hover {
	color: var(--sb-red-dark);
	text-decoration: underline;
}

/* Data tables (legacy border="1") */
#main #centerColumn table[border="1"] {
	border-collapse: collapse;
	border: 1px solid var(--sb-line);
	font-size: 14px;
}

#main #centerColumn table[border="1"] th,
#main #centerColumn table[border="1"] td {
	border: 1px solid var(--sb-line);
	padding: 7px 8px;
}

#main #centerColumn table[border="1"] th,
#main #centerColumn table th {
	background: #2b2b2e;
	color: #fff;
	font-weight: 600;
	font-size: 13px;
	line-height: 1.35;
}

#main #centerColumn table[border="1"] tr:nth-child(even) td {
	background-color: var(--sb-soft);
}

#main #centerColumn table[border="1"] td img {
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

/* Quote buttons in the strip brush channel tables */
#main #centerColumn a.sb-rfq-btn {
	display: inline-block;
	padding: 6px 11px;
	border-radius: 6px;
	background: var(--sb-red);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.01em;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

#main #centerColumn a.sb-rfq-btn:hover,
#main #centerColumn a.sb-rfq-btn:focus-visible {
	background: var(--sb-red-dark);
	color: #fff;
	text-decoration: none;
}

/* Strip brush RFQ page */
.rfqform {
	border: 1px solid var(--sb-line);
	border-radius: var(--sb-radius);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

#main #centerColumn table.stock {
	border: 1px solid var(--sb-line);
	border-collapse: collapse;
	border-radius: var(--sb-radius);
	overflow: hidden;
}

#main #centerColumn table.stock td,
#main #centerColumn table.stock th {
	border: 1px solid var(--sb-line);
	padding: 7px 10px;
}

#main #centerColumn table.stock td[style*="FF0000"] {
	background: var(--sb-red) !important;
}

/* Left sidebar menu card */
#sidebar ul ul {
	border: 1px solid var(--sb-line);
	border-top: 0;
	border-radius: 0 0 var(--sb-radius) var(--sb-radius);
	overflow: hidden;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

#sidebar h3.widgettitle {
	background: var(--sb-red);
	border: 0;
	border-radius: var(--sb-radius) var(--sb-radius) 0 0;
	font-size: 17px;
	font-weight: 700;
	letter-spacing: 0.01em;
	padding: 7px 12px;
}

#sidebar ul ul li {
	border-bottom: 1px solid var(--sb-line);
}

#sidebar ul ul li:last-child {
	border-bottom: 0;
}

#sidebar ul ul li a {
	color: var(--sb-ink);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	padding: 6px 10px;
	border-left: 3px solid transparent;
}

#sidebar ul li a:hover,
#sidebar ul ul li a:focus-visible {
	background: #fdf1f1;
	color: var(--sb-red-dark);
	border-left-color: var(--sb-red);
	outline: none;
}

#sidebar ul ul li.current-menu-item > a,
#sidebar ul ul li.current_page_item > a {
	background: #fdf1f1;
	color: var(--sb-red-dark);
	border-left-color: var(--sb-red);
}

/* Forms: softer fields, brand-red button */
.quform .quform-element input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.quform .quform-element select,
.quform .quform-element textarea {
	border: 1px solid #c4c4c9;
	border-radius: 6px;
	background: #fff;
	font-family: var(--sb-font);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.quform .quform-element input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):focus,
.quform .quform-element select:focus,
.quform .quform-element textarea:focus {
	border-color: var(--sb-red);
	box-shadow: 0 0 0 3px rgba(231, 0, 0, 0.15);
	outline: none;
}

.quform .quform-element.quform-element-submit .quform-submit {
	background: var(--sb-red);
	border: 0;
	border-radius: 6px;
	padding: 8px 20px 9px;
	transition: background-color 0.15s ease;
}

.quform .quform-element.quform-element-submit .quform-submit:hover,
.quform .quform-element.quform-element-submit .quform-submit:focus-visible {
	background: var(--sb-red-dark);
}

.quform.quform-4,
body.page-template-rfq-page .quform,
.quform.quform-3,
body.page-template-rfq-page .quform .quform-element-group {
	border-color: var(--sb-line);
	border-radius: var(--sb-radius);
}

/* Footer */
#footer {
	margin-top: 48px;
	border-top: 1px solid var(--sb-line);
	background-image: none;
	padding-top: 14px;
}

#footer #footerWrapper #PrimaryFooter ul li {
	background: none;
	line-height: 1.2;
}

#footer #footerWrapper #PrimaryFooter ul li + li {
	border-left: 1px solid #d4d4d8;
}

#footer #footerWrapper #PrimaryFooter ul li a {
	padding: 0 12px;
	color: var(--sb-ink);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

#footer #footerWrapper #secondaryFooter ul li {
	background: none !important;
}

#footer #footerWrapper #secondaryFooter ul li:not(:last-child)::after {
	content: "\2022";
	margin: 0 2px 0 8px;
	color: #b4b4ba;
}

#footer #footerWrapper #secondaryFooter ul li a {
	padding: 0;
	color: var(--sb-muted);
	font-size: 13px;
	text-decoration: none;
}

#footer #footerWrapper #PrimaryFooter ul li a:hover,
#footer #footerWrapper #secondaryFooter ul li a:hover {
	color: var(--sb-red-dark);
	text-decoration: underline;
	text-underline-offset: 3px;
}

#footer #footerWrapper p {
	color: var(--sb-muted);
	font-size: 12px !important;
	margin-bottom: 24px;
}

/* Mobile: readable left-aligned text instead of justified */
@media only screen and (max-width: 992px) {
	#main #centerColumn,
	#main #centerColumn p {
		text-align: left;
	}
}

@media only screen and (max-width: 768px) {
	/* The fixed mobile bar carries the tap-to-call number */
	#header #headerWrapper #contact {
		display: none;
	}

	#main #centerColumn h2 {
		font-size: 22px;
	}
}

@media only screen and (max-width: 480px) {
	/* Stack floated product photos above their text instead of squeezing it */
	#main #centerColumn img.alignright,
	#main #centerColumn img.alignleft,
	#main #centerColumn img[align="right"],
	#main #centerColumn img[align="left"] {
		float: none;
		display: block;
		margin: 0 auto 12px;
	}
}
