/* Quality Chrome - rebuilt from the Wayback Machine (original sitestyles.css + menu.css).
   Desktop layout matches the original fixed 950px design; below 980px it goes fluid. */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
	background: #000;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 85%;
	line-height: 1.35;
	color: #000;
}
img { border: 0; max-width: 100%; height: auto; }
a { color: #404040; text-decoration: underline; font-weight: bold; }
a:hover { color: #404040; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid #848385; outline-offset: 2px; }

.skip { position: absolute; left: -999em; }
.skip:focus { left: 10px; top: 10px; z-index: 99; background: #fff; padding: 6px 10px; }

.container {
	position: relative;
	margin: 0 auto;
	width: 950px;
	min-height: 100vh;
	background: #fff;
	display: flex;
	flex-direction: column;
}

/* ---------- header ---------- */
.header { display: flex; height: 126px; }
.headerleft { flex: 0 0 480px; display: block; }
.headerleft img { display: block; }
/* Replaces flash/header.swf: background, scrolling photo strip, edge fade - the SWF's own three layers */
.headerright {
	flex: 0 0 470px;
	height: 126px;
	position: relative;
	overflow: hidden;
	background: url(../images/header/background.jpg) no-repeat;
}
.headerright::after {
	content: "";
	position: absolute;
	inset: 0;
	background: url(../images/header/fade.png) no-repeat;
	pointer-events: none;
}
.strip { display: flex; width: max-content; height: 126px; animation: strip 36s linear infinite; }
.strip img { display: block; width: 1332px; height: 126px; max-width: none; }
@keyframes strip { to { transform: translateX(-1332px); } }

/* ---------- menu ---------- */
.menu {
	height: 26px;
	background: #6d6d6d url(../images/menu_bg.gif) no-repeat;
	position: relative;
	z-index: 10;
}
.menu-toggle { display: none; }
#nav, #nav ul { list-style: none; margin: 0; padding: 0; line-height: 1; }
#nav { display: flex; height: 26px; padding-left: 10px; font-size: 11px; }
#nav > li { position: relative; }
#nav a {
	display: block;
	font: bold 100% Arial, Verdana, Helvetica, sans-serif;
	color: #fff;
	text-decoration: none;
}
#nav > li > a { padding: 8px 12px 0; height: 26px; }
#nav > li > a:hover, #nav > li.active > a { color: #b7b7b7; }
#nav ul {
	position: absolute;
	top: 26px;
	left: 0;
	width: 125px;
	display: none;
}
#nav li:hover > ul, #nav li:focus-within > ul { display: block; }
#nav ul a {
	background: #848385;
	font-weight: normal;
	padding: 8px 10px;
}
#nav ul a:hover, #nav ul a[aria-current] { background: #75726f; }

.picbottom { height: 30px; background: url(../images/pic_bottom.gif) no-repeat; }

/* ---------- content ---------- */
.content {
	flex: 1;
	padding: 0 10px 30px;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
}
.title, h1, h2.title {
	color: #404040;
	font-weight: bold;
	font-size: 160%;
	line-height: 1.1;
	margin: 0 0 15px;
}
p { margin: 0 0 1em; }

.column1 { width: 270px; margin: 0 20px 20px 0; padding-left: 10px; }
.column2 { width: 350px; margin: 0 20px 20px 0; }
.column3 { width: 260px; margin: 0 0 20px; }
.column4 { width: 100%; padding: 0 0 0 10px; margin: 0 0 20px; }
.column4 > p, .column4 > ul { max-width: 900px; }

.slideshow { position: relative; width: 350px; aspect-ratio: 350 / 250; max-width: 100%; margin-top: 33px; }
.slideshow img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1s; }
.slideshow img.on { opacity: 1; }

.video-link { display: block; margin-bottom: 15px; }
.video-link img, .quicklink img { display: block; }
.quicklink { display: block; margin: 0 0 20px; }

.col4pics { display: flex; gap: 20px; margin: 20px 0 0; }
.col4pics img { display: block; width: 450px; }
.col4pics.single img { width: 920px; }

/* ---------- gallery ---------- */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, 200px); gap: 10px; justify-content: center; }
.gallery img { display: block; width: 200px; height: 133px; object-fit: cover; background: #eee; }
.gallery-index { grid-template-columns: repeat(4, 200px); gap: 20px; justify-content: start; }
.gallery-index a { display: block; text-decoration: none; }
.gallery-index span { display: block; font-size: 160%; margin-bottom: 8px; }
.gallery-index a:hover img { opacity: .85; }

/* ---------- links / sitemap ---------- */
.links { list-style: none; padding: 0; }
.links li { margin: 0 0 1.2em; }
.sitemap li { margin: .3em 0; }

/* ---------- contact ---------- */
.contact { display: flex; gap: 20px; align-items: flex-start; }
.subcolumn1 { width: 200px; }
.subcolumn1 address { font-style: normal; margin: 0 0 1em; }
.subcolumn1 dl { display: grid; grid-template-columns: 50px 1fr; margin: 0; }
.subcolumn1 dt, .subcolumn1 dd { margin: 0; }
.subcolumn1 dd a { word-break: break-all; }
.subcolumn2 { width: 340px; padding: 10px; background: #e5e5e5; }
.formtitle { font-size: 100%; margin: 0 0 15px; }
#enquiry { display: grid; grid-template-columns: 120px 1fr; gap: 8px 0; align-items: start; }
#enquiry label { font-weight: bold; padding-top: 2px; }
#enquiry input, #enquiry select, #enquiry textarea { width: 100%; font: inherit; }
#enquiry .button { grid-column: 1 / -1; text-align: right; }
input.btn {
	color: #fff;
	width: 110px;
	font: bold 100% Verdana, Arial, Helvetica, sans-serif;
	background: #404040;
	border: 1px solid #000;
	border-top-color: #aaa;
	border-left-color: #aaa;
	padding: 3px 0;
	margin: 12px 0 0;
	cursor: pointer;
}
.subcolumn3 iframe { display: block; width: 340px; height: 370px; border: 0; max-width: 100%; }

/* ---------- footer ---------- */
.footer {
	background: #e9e9e9 url(../images/footer_bg.gif) no-repeat;
	color: #727272;
	text-align: center;
	font-size: 95%;
	padding: 12px 40px 14px;
	min-height: 80px;
}
.footerlinks { margin-bottom: 10px; }
.footer a { color: #404040; font-weight: normal; }
.footer strong a { font-weight: bold; }

/* ---------- video lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.85); display: flex; align-items: center; justify-content: center; padding: 16px; }
.lightbox iframe { width: min(900px, 100%); aspect-ratio: 16 / 9; border: 0; background: #000; }
.lightbox button { position: absolute; top: 12px; right: 16px; background: none; border: 0; color: #fff; font-size: 32px; cursor: pointer; line-height: 1; }

/* ---------- small screens ---------- */
@media (max-width: 980px) {
	.container { width: 100%; }
	.header { height: auto; }
	.headerleft { flex: 1 1 auto; }
	.headerleft img { width: 100%; max-width: 480px; }
	.headerright { display: none; }
	.menu { height: auto; background: linear-gradient(#7a7a7a, #555); }
	.menu-toggle {
		display: block; width: 100%; text-align: left; background: none; border: 0;
		color: #fff; font: bold 14px Arial, sans-serif; padding: 10px 16px; cursor: pointer;
	}
	#nav { display: none; height: auto; flex-direction: column; padding: 0 0 8px; font-size: 14px; }
	.menu.open #nav { display: flex; }
	#nav > li > a { height: auto; padding: 10px 16px; }
	#nav ul { position: static; display: block; width: auto; }
	#nav ul a { background: none; padding: 8px 16px 8px 32px; font-weight: normal; }
	#nav > li + li { border-top: 1px solid rgba(255,255,255,.12); }
	.picbottom { display: none; }
	.content { padding: 16px 16px 24px; }
	.column1, .column2, .column3 { width: 100%; margin: 0 0 20px; padding: 0; }
	.column3 { display: grid; grid-template-columns: 1fr; justify-items: start; }
	.column4 { padding: 0; }
	.slideshow { margin-top: 0; }
	.col4pics { flex-direction: column; }
	.col4pics img, .col4pics.single img { width: 100%; }
	.gallery { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
	.gallery img { width: 100%; height: auto; aspect-ratio: 200 / 133; }
	.gallery-index { grid-template-columns: repeat(2, 1fr); gap: 16px; }
	.contact { flex-direction: column; }
	.subcolumn1, .subcolumn2, .subcolumn3, .subcolumn3 iframe { width: 100%; }
	.footer { padding: 12px 16px; }
}
@media (max-width: 420px) {
	#enquiry { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	.strip { animation: none; }
	.slideshow img { transition: none; }
}
