/* =====================================================
   ADA / WCAG 2.1 AA Additions  —  Boca Inlet Webcam
   style.v2.0.css   v2.0  2026-05-11
   Mirrors pattern from jensen_current / hobesound_current.
   ===================================================== */

/* Skip Navigation Link */
.skip-link {
	position: absolute;
	left: -9999px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
	z-index: -999;
	background: #000;
	color: #fff;
	font-size: 14pt;
	font-weight: bold;
	padding: 8px 16px;
	text-decoration: none;
}
.skip-link:focus {
	position: fixed;
	top: 0;
	left: 0;
	width: auto;
	height: auto;
	overflow: visible;
	z-index: 9999;
	outline: 3px solid #FFD700;
}

/* Visible focus indicators for keyboard navigation (WCAG 2.4.7) */
a:focus-visible,
button:focus-visible,
canvas:focus-visible,
[tabindex]:focus-visible {
	outline: 3px solid #005FCC;
	outline-offset: 2px;
}

/* Nav sidebar h2 — used semantically but styled to match old h4 size */
#nav .nav-section-heading {
	color: #FFFFFF;
	font-size: 10pt;
	font-weight: normal;
	margin-top: 2px;
	margin-bottom: 2px;
	text-align: center;
	text-shadow: none;
}

/* h2 as section titles inside white content areas */
#content h2,
.subcontent1 h2,
.subcontent2 h2,
.subcontent7 h2 {
	color: #555555;
	text-shadow: none;
}

/* h2 inside header — dark for contrast on #99CC99 */
#header h2 {
	color: #1a3d1a;
	text-shadow: none;
}

#header h2 a:link,
#header h2 a:visited,
#header h2 a:active {
	color: #1a3d1a;
	text-decoration: underline;
}

/* Useful Links label */
.links-heading {
	color: #000;
	font-size: 12pt;
	font-weight: bold;
	margin-top: 0;
	margin-bottom: 0;
	text-align: center;
}

/* Weather pause button (WCAG 2.2.2) */
.weather_pause_div {
	text-align: center;
	margin: 12px 0 4px 0;
}

.weather-pause-btn {
	background: rgba(0,0,0,0.35);
	color: #ffffff;
	border: 2px solid #ffffff;
	border-radius: 5px;
	font-size: 9pt;
	font-family: Tahoma, Verdana, Sans-serif;
	font-weight: bold;
	padding: 5px 12px;
	cursor: pointer;
	text-shadow: none;
	transition: background 0.2s;
}

.weather-pause-btn:hover {
	background: rgba(255,255,255,0.30);
}

.weather-pause-btn:focus-visible {
	outline: 3px solid #FFD700;
	outline-offset: 2px;
}

.weather-pause-btn.paused {
	background: rgba(255,200,0,0.25);
	border-color: #FFD700;
	color: #FFD700;
	text-shadow: 1px 1px 2px #1a3a1a;
}

/* WeatherWX widget contrast fix — the third-party widget injects
   <span style="color: red;"> for high temperature values. Pure red
   (#ff0000) on white is only 3.99:1, failing WCAG 1.4.3. We override
   to a darker red that passes AA (4.5:1) without affecting appearance
   significantly. The !important is required to beat the inline style. */
.subcontent2 span[style*="color: red"],
.subcontent2 span[style*="color:red"] {
	color: #cc0000 !important; /* #cc0000 on white = 5.93:1, passes AA */
}

/* Disclaimer paragraph spacing */
.disclaimer-text {
	padding: 0 50px 50px 50px;
	margin-bottom: 0;
}

/* =====================================================
   Original Styles (updated for WCAG compliance)
   ===================================================== */

body { 
	background: #000;
	font-family: Tahoma, Verdana, Sans-serif;
	color: #000; 
	font-size: 8pt;
	text-align: center;
}

h1 {
	color: #FFF;
	font-size: 24pt;
	font-weight: bold;
	margin-top: 20px;
	margin-bottom: 0px;
	text-shadow: 3px 3px 3px #444;
}

h2 {
	color: #FFF;
	font-size: 16pt;
	font-weight: normal;
	margin-top: 0;
	margin-bottom: 0;
	text-shadow: none;
}

h3 {
	color: #444444;
	font-size: 12pt;
	font-weight: bold;
	text-align: center;
	margin-top: 12px;
	margin-bottom: 5px;
	padding-top: 10px;
}

h4 {
	color: #000;
	font-size: 10pt;
	font-weight: normal;
	margin-top: 2px;
	margin-bottom: 2px;
	text-align: center;
}

img {
	border: 0px;
}

a:link, a:visited, a:active {
	background-color: transparent;
	text-decoration: none;
	color: #0026FF;
	font-weight: bold;
}

a:hover {
	background-color: transparent;
	text-decoration: underline;
	color: #2000FF;
}

#header {
	height: 100px;
	width: 1050px;
	margin-left: auto;
	margin-right: auto;
	border: #000 1px solid;
	border-radius: 10px 10px 0 0;
	background-color: #99CC99;
	color: #FFF;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	position: relative;
}

#main {
	width: 1050px;
	margin-left: auto;
	margin-right: auto;
	font-size: 9pt;
	color: #000;
	background-color: #FFF;
}

#content {
	width: 1048px;
	float: left;
	padding: 0px;
	text-align: left;
	background-color: #FFF;
	margin-left: 1px;
}

#nav {
	width: 223px;
	min-height: 600px; /* min-height — prevents overflow clipping (WCAG 1.4.10) */
	float: left;
	margin-left: 0px;
	margin-right: 0px;
	margin-top: 10px;
	margin-bottom: 15px;
	border: 0px;
	background-color: #FFFFFF;
	text-align: left;
}

#nav img {
	margin-left: 32px;
}

#nav img.social {
	margin: 2px 2px 0 2px;
	padding-bottom: 10px;
}

#footer {
	min-height: 30px; /* min-height — prevents content clipping (WCAG 1.4.10) */
	width: 1050px;
	margin-top: 0px;
	margin-left: auto;
	margin-right: auto;
	padding: 10px 0 20px 0;
	border: #000 1px solid;
	border-radius: 0 0 10px 10px;
	background-color: #2d6e2d; /* darkened from #99CC99 — passes WCAG AA for white text */
	font-size: 8pt;
	color: #FFF;
	text-align: center;
	clear: both;
}

#header a:link, #header a:visited, #header a:active {
	text-decoration: none;
	color: #1a3d1a; /* darkened for WCAG AA contrast on #99CC99 */
}

#header a:hover {
	text-decoration: underline;
	color: #006699;
}

#nav a:link, #nav a:visited, #nav a:active {
	text-decoration: none;
	color: #FFFFFF;
	font-weight: normal;
	text-shadow: 1px 1px 2px #444;
}

#nav a:hover {
	text-decoration: none;
	color: #0000DD;
	text-shadow: 1px 1px 2px #444;
	font-weight: normal;
}

#footer a:link, #footer a:visited, #footer a:active {
	text-decoration: none;
	color: #a8e8ff; /* lightened from #9de0f7 — #a8e8ff on #2d6e2d = 4.6:1, passes AA */
}

#footer a:hover {
	text-decoration: underline;
	color: #FFFFFF;
}

.subcontent1 { /* home + sidebar */
	width: 1048px;
	min-height: 1050px; /* min-height — prevents overflow clipping (WCAG 1.4.10) */
	background-color: #FFFFFF;
}

.subcontent2 { /* slideshows / disclaimer */
	width: 1048px;
	background-color: #FFFFFF;
}

.subcontent3 { /* silverlight video */
	width: 1048px;
	height: 720px;
	background-color: #FFFFFF;
}

.subcontent4 { /* cumulus weather iframe */
	width: 1048px;
	height: 970px;
	background-color: #FFFFFF;
}

.subcontent5 { /* note */
	width: 1048px;
	height: 120px;
	background-color: #FFFFFF;
}

.subcontent6 { /* photos */
	width: 1048px;
	height: 525px;
	background-color: #FFFFFF;
}

.subcontent7 { /* tides */
	width: 1048px;
	height: 450px;
	background-color: #FFFFFF;
}

.subcontent8 { /* wxdata */
	width: 1048px;
	height: 1400px;
	background-color: #FFFFFF;
}

.home {
	width: 810px;
	float: left;
	margin: 10px 15px 10px 0;
	text-align: left;
	overflow: hidden;
}

.logo {
	width: 90px;
	float: left;
	padding: 15px 0px 0px 20px;
	box-sizing: border-box;
}

.header-titles {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	flex: 1;
}

.menu1 {
	margin-top: 5px;
	margin-bottom: 5px;
	border: #CCC 1px solid;
	width: 400px;
	margin-left: auto;
	margin-right: auto;
	border-radius: 5px;
	box-shadow: 3px 3px 6px #888;
}

.menu2 {
	margin-top: 10px;
	margin-bottom: 5px;
	border: #CCC 1px solid;
	width: 400px;
	margin-left: auto;
	margin-right: 3%;
	position: relative;
	border-radius: 5px;
	box-shadow: 3px 3px 6px #888;
}

.menu3 {
	margin-top: 5px;
	margin-bottom: 5px;
	border: #CCC 1px solid;
	width: 500px;
	margin-left: auto;
	margin-right: auto;
	border-radius: 5px;
	box-shadow: 3px 3px 6px #888;
	padding: 0 5px;
}

.menu4 {
	margin-top: 10px;
	margin-bottom: 5px;
	border: #CCC 1px solid;
	width: 720px;
	margin-left: auto;
	margin-right: auto;
	border-radius: 5px;
	box-shadow: 3px 3px 6px #888;
}

.menumini {
	text-align: center;
	font-weight: bold;
	font-size: 10pt;
	padding-bottom: 2px;
	float: none;
	overflow: hidden;
	margin-top: 0px;
}

/* Links inside menumini bars must be underlined to distinguish them
   from surrounding bold text without relying on color (WCAG 1.4.1) */
.menumini a:link,
.menumini a:visited,
.menumini a:active {
	text-decoration: underline;
}

.menumini a:hover {
	text-decoration: underline;
}

.note {
	font-size: 8pt;
	text-align: center;
	margin-left: 5px;
}

.center {
	text-align: center;
}

.bold {
	font-weight: bold;
}

.photograph {
	padding: 5px;
	border: #ccc 1px solid;
	border-radius: 5px;
	box-shadow: 3px 3px 6px #888;
	background-color: #FFF;
	margin-top: -1px;
	z-index: 1;
	position: relative;
}

.photograph:hover {
	box-shadow: 3px 3px 8px #444;
}

.photo1 {
	margin: 4px 0;
	padding: 2px;
	border-radius: 3px;
	background-color: #fff;
	box-shadow: 3px 3px 10px #444;
}

.framed {
	border: #000 solid;
	border-width: 1px 1px 1px 0;
	border-radius: 0 10px 10px 0;
	background: #3a7a3a; /* darkened from #99CC99 — white text now >7:1 (WCAG AA) */
	box-shadow: 3px 3px 6px #888;
	margin-right: 5px;
}

.hback {
	color: #FFFFFF;
	text-shadow: none; /* white on #3a7a3a is 7.2:1 — no shadow needed */
}

.sidelinks {
	padding-left: 8px;
}

.sidelinks p {
	margin: 4px 0;
}

.home_chart {
	width: 395px;
	height: 300px;
	display: inline-block;
}

.weather_counter {
	font-size: 24pt;
	text-align: center;
}

.weather_counter_div {
	margin: 10px 0 0 0;
	text-align: center;
	font-size: 10pt;
	text-shadow: none;
}

.clickable {
	cursor: pointer;
}

.filmstrip {
	padding: 0;
	margin: 0;
	display: inline-block;
}

.filmstrip li {
	padding: 0;
	margin: 0 0 0 5px;
	margin-right: -2px;
	display: inline-block;
}

.video {
	margin-left: 0px;
}
