/*
 * WNY Bank Equipment - storefront styles
 * Recreates the original wnybe.com look (OpenCart 3 default theme customised with the WNY green #95AA29),
 * taken from the archived catalog/view/theme/default/stylesheet/stylesheet.css (2018-2025 captures).
 */
@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,400i,300,700&display=swap");

:root {
	--wnybe-green: #95AA29;
	--wnybe-green-dark: #7d8f22;
	--bs-primary: #95AA29;
	--bs-primary-rgb: 149, 170, 41;
	--bs-link-color: #95AA29;
	--bs-link-color-rgb: 149, 170, 41;
	--bs-link-hover-color: #7d8f22;
	--bs-link-hover-color-rgb: 125, 143, 34;
}

body {
	font-family: 'Open Sans', sans-serif;
	font-weight: 400;
	color: #666;
	font-size: 12px;
	line-height: 20px;
}
h1, h2, h3, h4, h5, h6 { color: #444; }
h1 { font-size: 33px; }
h2 { font-size: 27px; }
h3 { font-size: 21px; }
h4 { font-size: 15px; }
a { color: var(--wnybe-green); text-decoration: none; }
a:hover { color: var(--wnybe-green-dark); }
.form-control, .form-select, .btn, .input-group-text, .dropdown-menu { font-size: 12px; }

/* top bar */
#top { background-color: #EEEEEE; border-bottom: 1px solid #e2e2e2; }
#top a, #top .btn-link { color: #888; }
#top a:hover { color: #444; }

/* menu bar: original green */
#menu {
	background: var(--wnybe-green);
	background-image: none;
	border-color: var(--wnybe-green-dark);
}
#menu .navbar-nav > li > a { color: #fff; font-size: 13px; }
#menu .navbar-nav > li > a:hover, #menu .navbar-nav > li.show > a { background-color: rgba(0, 0, 0, 0.1); }
#menu .dropdown-menu a.dropdown-item:hover { background-color: var(--wnybe-green); color: #fff; }

/* buttons */
.btn-primary {
	color: #fff;
	background-color: var(--wnybe-green);
	background-image: none;
	border-color: var(--wnybe-green);
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active {
	background-color: var(--wnybe-green-dark);
	border-color: var(--wnybe-green-dark);
	color: #fff;
}
.btn-inverse, #header-cart .btn { color: #fff; background-color: #363636; background-image: linear-gradient(to bottom, #444, #222); border-color: #222 #222 #000; }

/* product thumbs */
.product-thumb .price { color: #444; }
.product-thumb .price-new { font-weight: 600; }
.wnybe-quote { display: flex; }
.wnybe-quote a {
	flex: 1;
	text-align: center;
	padding: 8px 4px;
	background: #eee;
	border-top: 1px solid #ddd;
	color: #888;
	font-weight: bold;
	text-transform: uppercase;
	font-size: 11px;
}
.wnybe-quote a + a { border-left: 1px solid #ddd; }
.wnybe-quote a:hover { background: var(--wnybe-green); color: #fff; }

/* product page order box (shown while online checkout is disabled) */
.wnybe-order-box { background: #f6f8ee; border: 1px solid #dfe5c2; border-radius: 4px; padding: 14px 16px; margin: 10px 0 20px; }
.wnybe-order-box .btn { margin: 4px 6px 4px 0; }
ul.wnybe-docs { padding-left: 0; list-style: none; }
ul.wnybe-docs li { margin: 4px 0; }
ul.wnybe-docs .fa-file-pdf { color: #c0392b; margin-right: 4px; }

/* Depot Services form */
.wnybe-depot { max-width: 760px; }
.wnybe-depot .required .form-label::before { content: "* "; color: #f00; font-weight: bold; }
.wnybe-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* the original site hid the wish list */
#wishlist-total, #top li:has(> #wishlist-total) { display: none !important; }

/* footer */
footer { background-color: #303030; color: #e2e2e2; }
footer a { color: #ccc; }
footer a:hover { color: #fff; }
footer h5 { font-size: 13px; }

@media (max-width: 767px) {
	body { font-size: 13px; }
}

/* category sidebar (list-group) uses the WNY green instead of OpenCart blue */
.list-group-item.active, .list-group-item.active:hover { background-color: var(--wnybe-green); border-color: var(--wnybe-green); color: #fff; }
.list-group-item:hover { color: var(--wnybe-green-dark); }
.pagination .page-link { color: var(--wnybe-green); }
.pagination .active > .page-link, .pagination .page-item.active .page-link { background-color: var(--wnybe-green); border-color: var(--wnybe-green); color: #fff; }
.nav-tabs .nav-link { color: var(--wnybe-green); }
