@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@300;400;500;600;700&display=swap');

body {
	background-image:url('images/bg.png');
	text-align:center;
	font-family: 'Figtree', sans-serif;
}
body, .ui-widget, input, select, textarea, button {
	font-family: 'Figtree', sans-serif;
} 
td{
	vertical-align:top;
}
td.header{
	background-color: #630000;
	color:#ffffff;
	border-width:0px;
	
}
td.main {background-color: #ffffff;} 
td.mainNav {background-color: #788B94;} 
td.subNav {
	background-color: #fcfcf2;
	border-left-width:1px;
	border-left-style:solid;
	border-color:#590905;
	text-align:left;
} 
td.subNav2 {
	background-color: #fcfcf2;
	border-bottom-width:1px;
	border-bottom-style:solid;
	border-color:#590905;
	text-align:left;
} 
td.footer {
	background-color: #630000;
	color:#ffffff;
	text-align:center;
} 


td.mainnav2 {
	
	color:#ffffff;
	border-left-width:1px;
	border-left-style:solid;
	border-color:#ffffff;
	text-align:left;
} 
.heading_in{
	background-color: #000000;
	color: #ffffff;
	border-width:1px;
	border-color:#000000;
	border-right-style:solid;
}
.heading_out{
	background-color: #c3c3c3;
	border-width:1px;
	border-color:#000000;
	border-right-style:solid;
}
.heading{
	background-color: #c3c3c3;
	border-width:1px;
	border-color:#000000;
	border-style:solid;
}
td {font-size:10.5pt;}
a.pageNavItem {color:#395A7B;text-decoration:underline;} 
a.pageNavItem:hover {color:#738CA5;text-decoration:none;} 

a.subNavItem {color:#590905;text-decoration:underline;} 
a.subNavItem:hover {color:#4c593f;text-decoration:none;} 
	
a.mainNavItem {font-size:12pt;color:#ffffff;text-decoration:underline;} 
a.mainNavItem:hover {color:#ffffff;text-decoration:none;} 
	
a.headeritem {color:#92abb8;text-decoration:underline;} 
a.headeritem:hover {color:#e0e5e8;text-decoration:none;} 
	
a.redItem {color:#FF0000;text-decoration:underline;} 
a.redItem:hover {color:#FF0000;text-decoration:none;} 
			
a.whiteItem {color:#FFFFFF;text-decoration:underline;} 
a.whiteItem:hover {color:#FFFFFF;text-decoration:none;} 

a.blackItem {color:#000000;text-decoration:underline;} 
a.blackItem:hover {color:#000000;text-decoration:none;} 

			
.mybutton { width: 15em; color:#395A7B }
			
form {margin-bottom:0}
			
.solidol{
	border-width:1px;
	border-color:#000000;
	border-style:solid;
}
.solidul{
	border-bottom-width:1px;
	border-color:#000000;
	border-bottom-style:solid;
}
.solidtrb{
	border-width:1px;
	border-color:#000000;
	border-top-style:solid;
	border-bottom-style:solid;
	border-left-style:none;
	border-right-style:solid;
}
.solidtb{
	border-width:1px;
	border-color:#000000;
	border-top-style:solid;
	border-bottom-style:solid;
	border-left-style:none;
	border-right-style:none;
}
.solidrbl{
	border-width:1px;
	border-color:#000000;
	border-top-style:none;
	border-bottom-style:solid;
	border-left-style:solid;
	border-right-style:solid;
}
.solidtbr{
	border-width:1px;
	border-color:#000000;
	border-top-style:solid;
	border-bottom-style:solid;
	border-left-style:none;
	border-right-style:solid;
}
.solidtbl{
	border-width:1px;
	border-color:#000000;
	border-top-style:solid;
	border-bottom-style:solid;
	border-left-style:solid;
	border-right-style:none;
}
.solidbl{
	border-width:1px;
	border-color:#000000;
	border-top-style:none;
	border-bottom-style:solid;
	border-left-style:solid;
	border-right-style:none;
}
.solidrb{
	border-width:1px;
	border-color:#000000;
	border-top-style:none;
	border-bottom-style:solid;
	border-left-style:none;
	border-right-style:solid;
}
.solidtr{
	border-width:1px;
	border-color:#000000;
	border-top-style:solid;
	border-bottom-style:none;
	border-left-style:none;
	border-right-style:solid;
}
.solidtl{
	border-width:1px;
	border-color:#000000;
	border-top-style:solid;
	border-bottom-style:none;
	border-left-style:solid;
	border-right-style:none;
}
.solidlr{
	border-width:1px;
	border-color:#000000;
	border-top-style:none;
	border-bottom-style:none;
	border-left-style:solid;
	border-right-style:solid;
}
.solidtop{
	border-width:1px;
	border-color:#000000;
	border-top-style:solid;
	border-bottom-style:none;
	border-left-style:none;
	border-right-style:none;
}
.solidright{
	border-width:1px;
	border-color:#000000;
	border-top-style:none;
	border-bottom-style:none;
	border-left-style:none;
	border-right-style:solid;
}

.dottedul{
	border-bottom-width:1px;
	border-color:#000000;
	border-bottom-style:dotted;
}

/* Not-logged-in internal warning banner */
.loginwarn{
	display:block;
	margin-top:2px;
	background-color:#ffeb3b;
	color:#000000;
	font-weight:bold;
	font-size:9pt;
	padding:2px 4px;
	text-align:right;
}

/* Header image responsive on small screens */
td.header img{
	max-width:100%;
	height:auto;
}

/* Interface: Buttons vs Hamburger */
/* Default (no class / before JS): show hamburger, hide buttons — so guests and no-JS see hamburger */
#nav-buttons-wrap { display: none !important; }
#nav-hamburger-wrap { display: block !important; }
body.nav-interface-buttons #nav-buttons-wrap { display: block !important; }
body.nav-interface-buttons #nav-hamburger-wrap { display: none !important; }
body.nav-interface-hamburger #nav-buttons-wrap { display: none !important; }
body.nav-interface-hamburger #nav-hamburger-wrap { display: block !important; }
@media (max-width: 600px){
	#nav-buttons-wrap{
		display:none !important;
	}
	#nav-hamburger-wrap{
		display:block !important;
	}
	/* Hide jQuery UI tab strip entirely on small screens */
	#nav_tabs,
	#nav_tabs > ul{
		display:none !important;
	}
}

#nav-hamburger-wrap {
	padding: 6px 10px;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
}
.nav-hamburger-btn {
	background: transparent;
	border: 1px solid rgba(255,255,255,0.6);
	color: #fff;
	font-size: 1.5em;
	padding: 4px 12px;
	cursor: pointer;
	line-height: 1;
}
.nav-hamburger-btn:hover { background: rgba(255,255,255,0.2); }
.nav-hamburger-label {
	color: #ffffff;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	white-space: nowrap;
	animation: navHamburgerHint 1.5s ease-in-out infinite;
}
@keyframes navHamburgerHint {
	0% {
		opacity: 0.4;
		transform: translateX(0);
	}
	50% {
		opacity: 1;
		transform: translateX(3px);
	}
	100% {
		opacity: 0.4;
		transform: translateX(0);
	}
}

.nav-drawer-overlay {
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	background: rgba(0,0,0,0.35);
	z-index: 9998;
	display: none;
}
.nav-drawer-overlay.open { display: block; }

.nav-drawer {
	position: fixed;
	left: 0;
	top: 0;
	width: 280px;
	max-width: 85vw;
	height: 100%;
	z-index: 9999;
	background: #fcfcf2;
	box-shadow: 2px 0 10px rgba(0,0,0,0.25);
	transform: translateX(-100%);
	transition: transform 0.2s ease;
	overflow-y: auto;
	text-align: left;
}
.nav-drawer.open { transform: translateX(0); }

.nav-drawer-close {
	display: block;
	padding: 10px 12px;
	font-size: 1.5em;
	cursor: pointer;
	background: #788B94;
	color: #fff;
	border: none;
	width: 100%;
	text-align: left;
}
.nav-drawer-close:hover { background: #5a6b73; }

.nav-drawer-content { padding: 8px 0 16px 0; }
.nav-drawer-section { margin-bottom: 8px; }
.nav-drawer-heading {
	font-weight: bold;
	font-size: 11pt;
	margin: 12px 10px 6px 10px;
	color: #333;
	border-bottom: 1px solid #ccc;
	padding-bottom: 4px;
}
.nav-drawer-section:first-child .nav-drawer-heading { margin-top: 0; }

.nav-drawer-link,
.nav-drawer-action {
	display: block;
	padding: 6px 10px;
	color: #395A7B;
	text-decoration: underline;
	font-size: 10.5pt;
}
.nav-drawer-link:hover,
.nav-drawer-action:hover { color: #738CA5; }
.nav-drawer-action {
	background: none;
	border: none;
	cursor: pointer;
	width: 100%;
	text-align: left;
	font: inherit;
}

@media (max-width: 600px){
	.nav-drawer{
		width:80vw;
		max-width:80vw;
	}
	.nav-drawer-heading{
		font-size:12px;
	}
	.nav-drawer-link,
	.nav-drawer-action{
		font-size:12px;
		padding:8px 12px;
	}
}

/* Interface slider */
.interface-switch {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 2px;
	font-size: 10px;
}
.interface-switch-label {
	font-size: 10px;
	font-weight: bold;
	margin-bottom: 1px;
}
.interface-switch-row {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}
.interface-option {
	font-size: 10px;
	opacity: 0.65;
}
body.nav-interface-buttons .interface-option-buttons,
body.nav-interface-hamburger .interface-option-hamburger {
	font-weight: bold;
	text-decoration: underline;
	opacity: 1;
}
.interface-toggle {
	position: relative;
	width: 46px;
	height: 18px;
	border-radius: 9px;
	border: 1px solid rgba(255,255,255,0.7);
	background: rgba(0,0,0,0.35);
	padding: 0;
	cursor: pointer;
	display: inline-block;
	vertical-align: middle;
	box-shadow: inset 0 0 0 1px rgba(0,0,0,0.25);
}
.interface-toggle-knob {
	position: absolute;
	top: 1px;
	left: 1px;
	width: 20px;
	height: 14px;
	border-radius: 7px;
	background: #ffffff;
	transition: left 0.2s ease;
}
body.nav-interface-hamburger .interface-toggle-knob {
	left: 23px;
}
body.nav-interface-buttons .interface-toggle {
	background: #2e7d32;
	border-color: #2e7d32;
}
body.nav-interface-hamburger .interface-toggle {
	background: #c62828;
	border-color: #c62828;
}

