/* Colorcraft Paint & Wallpaper – additions to the original hibu theme (2026)
   dropdown navigation, footer, content helpers, responsive layout */

/* ---------- base fixes ---------- */
body { background-color: #d5defb !important; }
#header .logo img { max-width: none; }
.callToAction a { color: #1F3889 !important; text-decoration: none; }

/* ---------- navigation with dropdowns ---------- */
#header .navigation { z-index: 50; }
#header .navigation > li > a { padding-left: 13px !important; padding-right: 13px !important; }
#header .navigation li ul {
	background: #1F3889; min-width: 250px; top: 100%; left: 0; margin: 0; padding: 4px 0;
	box-shadow: 0 6px 14px rgba(0,0,0,.25); border-top: 3px solid #fcff00;
}
#header .navigation li:hover > ul, #header .navigation li:focus-within > ul { display: block; position: absolute; z-index: 60; }
#header .navigation li ul li { float: none; display: block; width: 100%; background: none; }
#header .navigation li ul li a { padding: 8px 16px !important; line-height: 1.3; height: auto !important; font-size: 13px; white-space: nowrap; }
#header .navigation li ul li a:hover, #header .navigation li ul li.current a { color: #fcff00; background: #2a479f; }
#header .navigation li.hasSub > a:after { content: " \25BE"; font-size: 10px; }
.navToggle { display: none; }
#header .phone a { color: inherit; text-decoration: none; }

/* ---------- content helpers ---------- */
.wideImg { display: block; width: 100%; max-width: 610px; height: auto; max-height: 330px; object-fit: cover; margin: 0 0 18px 10px; border: 1px solid #c9d3f5; box-sizing: border-box; }
.wideImg.cropWide { height: 200px; object-fit: cover; }
.mainCol .contents { margin-bottom: 6px; }
.mainCol .contents ul li { margin-bottom: 4px; }
.sideImg { margin-bottom: 14px; }
.storeBox > div, .related > div { background: rgba(255,255,255,.55); border: 1px solid #c9d3f5; padding: 12px 16px; margin: 0 0 14px; }
.storeBox h3, .related h3 { margin-top: 0; }
.related ul { margin: 0; padding-left: 18px; }
.faq h3 { margin: 14px 0 4px; font-size: 1.05em; }
.contents a.button { display: inline-block; padding: 8px 16px; background: #1F3889; color: #fff !important; text-decoration: none; border-radius: 3px; margin: 4px 6px 4px 0; }
.contents a.button:hover { background: #0835C5; }
.formNote { font-size: .9em; margin-top: 10px; }
#googlemap-wrap { margin: 10px 0 20px 10px; }
#googlemap-wrap iframe { max-width: 100%; }
.contents.location p.email a, .contents.location p.phone a { color: inherit; }

/* photo grid (gallery) */
.photoGrid { list-style: none; margin: 0 0 20px 10px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.photoGrid li { background: #fff; border: 1px solid #c9d3f5; padding: 6px; }
.photoGrid img { display: block; width: 100%; height: 150px; object-fit: cover; }
.photoGrid span { display: block; font-size: 12px; padding: 6px 2px 2px; color: #1F3889; }

/* homepage */
#homeLinks { clear: both; }
#homeLinks .catGrid { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
#homeLinks .catGrid li { background: #fff; border: 1px solid #c9d3f5; padding: 0 0 10px; margin: 0; }
#homeLinks .catGrid a { text-decoration: none; display: block; }
#homeLinks .catGrid img { display: block; width: 100%; height: 130px; object-fit: cover; }
#homeLinks .catGrid img.crop { object-position: 80% 50%; }
#homeLinks .catGrid strong { display: block; padding: 8px 10px 0; color: #1F3889; font-size: 15px; }
#homeLinks .catGrid p { margin: 4px 10px 0; font-size: 13px; }
.gennex > div { background: rgba(255,255,255,.55); border-left: 5px solid #d40000; padding: 12px 18px; margin-top: 16px; }
.gennex .brands { font-style: italic; color: #1F3889; }
.brandLogos img { height: 54px; width: auto; margin: 6px 18px 0 0; vertical-align: middle; background: #fff; display: inline-block !important; }
.contentlist.gallery img.cover { object-fit: cover; }
#page .gallery p.caption { padding: 6px 0; text-align: center; }

/* ---------- footer ---------- */
#footer { padding-top: 18px; padding-bottom: 6px; color: #fff; }
#footer .footCol { float: left; width: 280px; margin-left: 10px; padding-right: 20px; box-sizing: border-box; }
#footer .footCol.wide { width: 350px; }
#footer h3 { color: #fcff00; margin: 0 0 8px; font-size: 15px; }
#footer p { margin: 0 0 10px; font-size: 13px; line-height: 1.5; }
#footer a { color: #fff; }
#footer a:hover { color: #fcff00; }
#footer .contents.socialmedia { float: none; width: auto !important; margin-bottom: 6px; }
#footer .quick { list-style: none; margin: 0; padding: 0; columns: 2; font-size: 13px; line-height: 1.7; }
#yellFooter a { color: #fff; }

/* ---------- responsive ---------- */
img { max-width: 100%; }
@media (max-width: 980px) {
	body { min-width: 0 !important; }
	#headerWrapper, #header, #page, #footer, #footerWrapper, #hero, #contentTop, #contentBottom, #homeLinks, .row, .fullWidth { width: auto !important; min-width: 0 !important; max-width: 100% !important; }
	#header { padding: 0 12px; height: auto !important; }
	#header .logo { position: static !important; }
	#header .logo { width: auto !important; }
	#header .logo img { width: 300px; max-width: 100%; height: auto; }
	#header .strap { position: static !important; float: none !important; text-align: left; margin: 0 0 8px; width: auto !important; }
	#header .strap p { text-align: left !important; margin: 0; }
	.navToggle { display: block; width: 100%; background: #1F3889; color: #fff; border: 0; padding: 12px 14px; font-size: 16px; text-align: left; cursor: pointer; }
	#header .navigation { display: none; position: static !important; width: 100% !important; height: auto !important; float: none; }
	#header .navigation.open { display: block; }
	#header .navigation li { float: none !important; display: block !important; width: 100%; }
	#header .navigation li a { padding: 10px 14px !important; height: auto !important; line-height: 1.3 !important; border-top: 1px solid rgba(255,255,255,.12); }
	#header .navigation li ul, #header .navigation li:hover > ul { display: none; position: static !important; box-shadow: none; border-top: 0; min-width: 0; background: #17296a; }
	#header .navigation li.expanded > ul { display: block; }
	#header .navigation li ul li a { padding-left: 30px !important; white-space: normal; }
	.column, .grid8, .grid16, .grid24, #subPage .grid8, #subPage .grid16 { float: none !important; width: auto !important; margin-left: 10px !important; margin-right: 10px !important; }
	#hero .column, #hero .overlay { margin: 0 !important; }
	#hero .overlay img, .slideshow li img { width: 100%; height: auto; }
	#hero .overlay div, .slideshow .overlay div { position: static !important; width: auto !important; background: #d40000; padding: 12px 16px !important; }
	#hero h1 { font-size: 22px; }
	.slideshow { height: auto !important; }
	.slideshow li { position: relative !important; }
	.column img { width: 100%; height: auto; }
	#contentTop .grid8 .contents > div, #contentTop .grid8 .contents { width: auto !important; }
	.wideImg { margin-left: 0; max-width: 100%; }
	#homeLinks .catGrid { grid-template-columns: repeat(2, 1fr); }
	#footer .footCol, #footer .footCol.wide { float: none; width: auto; margin: 0 12px 10px; }
	#footerWrapper { min-width: 0 !important; }
	#googlemap-wrap { margin-left: 0; }
	input[type="text"], textarea { width: 100% !important; box-sizing: border-box; }
}
@media (max-width: 480px) {
	#homeLinks .catGrid { grid-template-columns: 1fr; }
	.photoGrid { grid-template-columns: 1fr 1fr; }
}
