/* =====================================================
   ADA / WCAG 2.1 AA Additions
   ===================================================== */

/* 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,
.subcontent9 h2,
.subcontent7 h2 {
	color: #555555;
	text-shadow: none;
}

/* h2 inside header — darken for contrast on #7AB4CC */
#header h2 {
	color: #0d2e38;
	text-shadow: none;
}

#header h2 a:link,
#header h2 a:visited,
#header h2 a:active {
	color: #0d2e38;
	text-decoration: underline;
}

/* Camera label paragraphs in header thumbnails */
.cam-label {
	font-size: 8pt;
	margin: 2px 0;
	text-align: center;
	color: #0d2e38; /* darkened from #fff — passes 7.8:1 on #7AB4CC (WCAG 1.4.3) */
	text-shadow: none;
}

/* Weather pause button (WCAG 2.2.2) */
.weather_pause_div {
	text-align: center;
	margin: 12px 0 4px 0;
}

.weather-pause-btn {
	background: rgba(255,255,255,0.12);
	color: #ffffff;
	border: 2px solid rgba(255,255,255,0.7);
	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 #1a3d4a;
}

/* =====================================================
   Original Styles
   ===================================================== */

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; /* removed — white-on-#7ab4cc fails WCAG 1.4.3; section h2s overridden to #555 in WCAG block */
}

h3 {
	color:#444444;
	font-size:12pt;
	font-weight:bold;
	margin-top:0;
	margin-bottom:0;
	text-align:center;
}
  
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;
}

/* Useful Links label — styled like a heading but not in the document outline */
.links-heading {
	color: #000;
	font-size: 12pt;
	font-weight: bold;
	margin-top: 0;
	margin-bottom: 0;
	text-align: center;
}

/* Live stream keyboard access link (WCAG 2.1.1)
   Hidden visually until focused — gives keyboard users an Enter-able target
   since pressing Enter on an iframe itself has no effect in any browser.    */
.stream-launch-link {
	position: absolute;
	left: -9999px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
	z-index: -999;
	font-size: 10pt;
	font-weight: bold;
	text-decoration: none;
	color: #fff;
	background: #1e5f7a;
	padding: 6px 14px;
	border-radius: 4px;
}

.stream-launch-link:focus {
	position: static;
	width: auto;
	height: auto;
	overflow: visible;
	z-index: 9999;
	display: inline-block;
	margin-bottom: 6px;
	outline: 3px solid #FFD700;
	outline-offset: 2px;
	left: auto;
}

#header {
	height:165px;
	width:1050px;
	margin-left:auto;
	margin-right:auto;  
	border:#000 1px solid;
	border-radius: 10px 10px 0 0;
	background-color:#7AB4CC;
	color:#FFF;
}

#main {
	width: 1050px;
	margin-left:auto;
	margin-right:auto;
	font-size:9pt;
	color:#000;
}
  
.alert {
	color:#FF4500;
	font-size:16pt;
	font-weight:bold;
	margin-top:0;
	margin-bottom:0;
	text-shadow: 1px 1px 2px #444;
	text-align:center;
}

#content {
	width:1048px;
	float:left;
	padding:0px;
	text-align:left;
	background-color:#FFF;
	/*border: #000 1px solid;*/
	margin-left: 1px;
}

#nav {
	width:223px;
	min-height:600px; /* min-height instead of height — allows expansion (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: 10px;
}

#nav img.social {
	margin: 2px 2px 0 2px;
	padding-bottom: 10px;
}

#footer {
	min-height:30px; /* min-height instead of 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: #1e4d60; /* darkened from #7AB4CC for WCAG AA contrast (was 2.27:1, now 7.5:1) */
	font-size:8pt;
	color:#FFF;
	text-align:center;
	clear:both;
}
  
#header a:link, #header a:visited, #header a:active {
	text-decoration: none; color:#FFFF00;
}

#header a:hover {
	text-decoration: none;
	color:#0000DD;
	text-shadow: 0px 0px 0px #444;
}

#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:#9de0f7; /* light blue — accessible on dark #1e4d60 background */
}

#footer a:hover {
	text-decoration: underline;
	color:#FFFFFF;
}
  
.subcontent1 { /* home */
	width:1048px;
	min-height:1050px; /* min-height — prevents overflow clipping (WCAG 1.4.10) */
	background-color:#FFFFFF; 
}
    
.subcontent2 { /* slideshows */
	width:1048px;
/*	height:2780px;*/
	background-color:#FFFFFF; 
}
  
.subcontent3 { /* silverlight video */
	width:1048px;
	height:900px;
	background-color:#FFFFFF; 
}
  
.subcontent4 { /* weather */
	width:1048px;
	height:970px;
	background-color:#FFFFFF; 
}
  
.subcontent5 { /* note */
	width:1048px;
	height:120px;
	background-color:#FFFFFF; 
} 

.subcontent6 { /*astronomical*/
	width:1048px;
	height:700px;
	background-color:#FFFFFF; 
}  
  
.subcontent7 { /* tides*/
	width:1048px;
	height:450px;
	background-color:#FFFFFF; 
}

.subcontent8 { /* wxdata */
	width:1048px;
	height:1400px;
	background-color:#FFFFFF; 
}

.subcontent9 { /* no max height */
	width:1048px;
	background-color:#FFFFFF; 
}

/* Camera images in subcontent9 — left-align to match section title position */
.subcontent9 .center {
	text-align: left;
}

.subcontent9 .center a,
.subcontent9 .center img {
	display: block;
	width: 100%;
	max-width: 1048px;
	height: auto;
}

.footer {
	clear: both; 
	background:#FFF;
	color:inherit;
	height:1px;
}

.logo {
	width:155px;
	float:left;
	margin-left:40px;
	padding:0px 0px 0px 0px;
	overflow: hidden;
}
.logo1 {
	width:210px;
	float:right;
	margin-right:5px;
	text-align:center;
	padding:0px 0px 0px 0px;

}
.header1 {
	width:550px;
	float:right;
	text-align:center;
	padding:0px 0px 0px 0px;

}

.menu1 {
	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;
}
  
.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;
}

.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; 
}

.left {
	width:550px;
	float:left;
	margin:10px 15px 10px 0;
}

.center {
	text-align:center;
}

.bold {
	font-weight: bold; 
}

.note {
	font-size: 8pt;
	text-align:center;
	margin-left:5px;
}

.home {
	width:810px;
	float:left;
	margin:10px 15px 10px 0;
	text-align:left;  
	overflow: hidden;
}

.note1 {
	font-size: 10pt;
	width: 800px;
	margin-left: 10%;
	margin-right: 10%;
	border: #CCC 1px solid;
	border-radius: 5px;
	box-shadow: 3px 3px 6px #888;
}

.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;
}

.graph1 {
	padding: 5px 3px 3px 5px;
	border:#ccc 1px solid;
	border-radius: 5px;
	box-shadow: 3px 3px 6px #888;
	background-color: #FFF;
	margin-top: -3px;
	z-index: 1;
	position:relative;
}

.graph1:hover {
	box-shadow: 3px 3px 8px #444;
}

.framed {
	border:#000 solid;
	border-width: 1px 1px 1px 0;
	border-radius: 0 10px 10px 0;
	background: #1e5f7a; /* darkened from #7AB4CC — white text now 7.06:1 (WCAG AA) */
	box-shadow: 3px 3px 6px #888;
	margin-right: 5px;
}

.titletag1 {
	width: 250px;
	margin-left: 35%;
	padding-bottom: 2px;
	border:#CCC solid;
	border-width: 1px 1px 0 1px;
	border-radius: 10px 10px 0 0;
	background: #fff;
	box-shadow: 3px 0px 0px #AAA;
	z-index: 20;
	overflow: visible;
	position: relative;
}

.titletag2 {
	width: 250px;
	margin-left: 38%;
	margin-right: 10%;
	padding-bottom: 3px;
	border:#CCC solid;
	border-width: 1px 1px 0 1px;
	border-radius: 10px 10px 0 0;
	background: #fff;
	box-shadow: 3px 0px 0px #AAA;
	z-index: 20;
	overflow: visible;
	position: relative;
}

.titletag3 {
	color:#000;
	font-size:10pt;
	font-weight:normal;
	margin-top:7px;
	width: 250px;
	margin-left: 28%;
	margin-right: auto;
	padding-bottom: 4px;
	border:#CCC solid;
	border-width: 1px 1px 0 1px;
	border-radius: 10px 10px 0 0;
	background: #fff;
	box-shadow: 3px 0px 0px #AAA;
	z-index: 20;
	overflow: visible;
	position: relative;
}

.titletag4 {
	color:#000;
	font-size:10pt;
	font-weight:normal;
	margin-top:18px;
	width: 250px;
	margin-left: 65%;
	margin-right: auto;
	padding-bottom: 4px;
	border:#CCC solid;
	border-width: 1px 1px 0 1px;
	border-radius: 10px 10px 0 0;
	background: #fff;
	box-shadow: 3px 0px 0px #AAA;
	z-index: 20;
	overflow: visible;
	position: relative;
}

.titletag5 {
	width: 250px;
	margin-left: 38%;
	margin-right: 10%;
	padding-bottom: 3px;
	border:#CCC solid;
	border-width: 1px;
	border-radius: 10px;
	background: #fff;
	box-shadow: 3px 3px 6px #888;
	z-index: 20;
	overflow: visible;
	position: relative;
}

.hback {
	color:#FFFFFF;
	text-shadow: none; /* removed — white on #1e5f7a bg is 7.06:1, no shadow needed */
}

.video{
	margin-left:16px;
}

.filmstrip 
{
	padding: 0;
	margin: 0;
	display: inline-block;
}

.filmstrip li {
	padding: 0;
	margin: 0 0 0 5px;
	margin-right: -2px;
	display: inline-block;
}

.filmstrip_sm li h4{
	font-size: 9pt;
}


.clickable {
	cursor: pointer;
}

.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; /* not needed on dark #1e5f7a background */
}