﻿:root {
	--HeaderBackground: rgba(0, 32, 0, .9);
	--ContentBackground: rgba(255, 240, 255, .9);

	--ButtonBackground: rgba(0, 32, 0, .75);
	--ButtonForeground: rgba(255, 255, 255, .75);

	--ButtonBackgroundHover: rgba(255, 240, 255, .75);
	--ButtonForegroundHover: rgba(0, 32, 0, .75);

	--ButtonBackgroundSelected: rgba(255, 240, 255, .75);
	--ButtonForegroundSelected: rgba(0, 32, 0, .75);
}

html, body {
	background-image: url(/images/background.jpg);
	background-repeat: no-repeat;
	background-position: top center;
	background-attachment: fixed;
	background-size: cover;
	color: azure;
	padding: 0;
	margin: 0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 20px;
	font-style: normal;
	-webkit-font-smoothing: antialiased;
	text-shadow: 0px 0px 2px #808080;
	-webkit-user-select: none; /* Safari */
	-ms-user-select: none; /* IE 10 and IE 11 */
	user-select: none; /* Standard syntax */
	text-align: justify;
}

#headerbar {
	position: fixed;
	box-sizing: border-box;
	top: 4px;
	left: 4px;
	right: 4px;
	height: 192px;
	background-color: var(--HeaderBackground);
	border-radius: 16px;
	box-shadow: var(--HeaderBackground) 0px 0px 10px;
	margin: 0;
	padding: 0;
	align-content: center;
	text-align: center;
	z-index: 99;
}
#headerLogo {
	width: 200px;
}

@media only screen and (min-width: 1025px)
{
	#menubar { display: block;}
	#dropmenubutton { display: none; z-index: 99;}
}
@media only screen and (max-width: 1025px)
{
	#dropmenubutton {
		display: block;
		padding: 4px;
		margin: 4px;
		background-color: var(--ButtonBackground);
		color: var(--ButtonForeground);
		border-top: solid lightgreen 1px;
		border-left: solid lightgreen 1px;
		border-bottom: solid darkgreen 1px;
		border-right: solid darkgreen 1px;
		border-radius: 8px;
		cursor: default;
		text-shadow: 0px 0px 8px black;
	}
	#menubar { display: none;}
}

#dropmenu {
	display:none;
	z-index: 99;
	padding: 0;
	margin: 0;
}

.dropmenubutton {
	display: block;
	padding: 4px;
	margin: 4px;
	background-color: var(--ButtonBackground);
	color: var(--ButtonForeground);
	border-top: solid lightgreen 1px;
	border-left: solid lightgreen 1px;
	border-bottom: solid darkgreen 1px;
	border-right: solid darkgreen 1px;
	border-radius: 8px;
	cursor: default;
	text-shadow: 0px 0px 8px black;
}
	.dropmenubutton:hover {
		border-top: solid darkgreen 1px;
		border-left: solid darkgreen 1px;
		border-bottom: solid lightgreen 1px;
		border-right: solid lightgreen 1px;
		background-color: var(--ButtonBackgroundHover);
		color: var(--ButtonForegroundHover);;
	}

.menubarbutton {
	display: inline-block;
	padding: 8px;
	background-color: var(--ButtonBackground);
	color: var(--ButtonForeground);
	border-top: solid lightgreen 1px;
	border-left: solid lightgreen 1px;
	border-bottom: solid darkgreen 1px;
	border-right: solid darkgreen 1px;
	border-radius: 8px;
	cursor: default;
	text-shadow: 0px 0px 8px black;
	cursor: pointer;
}
	.menubarbutton:hover {
		border-top: solid darkgreen 1px;
		border-left: solid darkgreen 1px;
		border-bottom: solid lightgreen 1px;
		border-right: solid lightgreen 1px;
		background-color: var(--ButtonBackgroundHover);
		color: var(--ButtonForegroundHover);
	}
	.menubarbutton.selected
	{
			border-top: solid darkgreen 1px;
			border-left: solid darkgreen 1px;
			border-bottom: solid lightgreen 1px;
			border-right: solid lightgreen 1px;
			background-color: var(--ButtonBackgroundSelected);
			color: var(--ButtonForegroundSelected);
	}

#pagecontent {
	position: fixed;
	top: 200px;
	bottom: 40px;
	left: 4px;
	right: 4px;
	background-color: var(--ContentBackground);
	border-radius: 16px;
	border: 2px solid slategrey;
	padding: 16px;
	overflow-x: clip;
	overflow-y: auto;
	scrollbar-width: auto;
	scrollbar-color: var(--ButtonBackground) var(--ButtonBackgroundHover);
	color: black;
	z-index: 0
}

#footerbar {
	position: fixed;
	box-sizing: border-box;
	bottom: 4px;
	left: 4px;
	right: 4px;
	height: 32px;
	background-color: var(--HeaderBackground);
	border-radius: 16px;
	box-shadow: var(--HeaderBackground) 0px 0px 10px;
	margin: 0;
	padding: 0;
	align-content: center;
	text-align: center;
	font-size: 14px;
	z-index: 0
}

#sidebar {
	position: fixed;
	box-sizing: border-box;
	top: 4px;
	left: 4px;
	bottom: 40px;
	width: 152px;
	background-color: var(--HeaderBackground);
	border-radius: 16px;
	box-shadow: var(--HeaderBackground) 0px 0px 10px;
	margin: 0;
	padding: 0;
	align-content: center;
	text-align: center;
	z-index: 99;
	display:none;
}

.sidebarbutton{ width: 128px; }

h1 {
	font-size: 1.5rem;
	margin: 0;
	padding: 0;
}

h2 {
	font-size: 1.25rem;
	margin: 0;
	padding: 0;
}

h3 {
	font-size: 1.125rem;
	margin: 0;
	padding: 0;
}

td {
	text-align: center;
	vertical-align: top;
	padding: 1px 8px 1px 8px;
}

p {
	font-size: 1rem;
}

img {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

li {
	padding-bottom: 8px;
}

.textshadow {
	text-shadow: 0px 0px 8px black;
}

.red {
	color: red;
}

.alternatingtablebackground:nth-child(even) {
	background-color: rgba(0, 0, 0, 0.1);
	padding: 4px 0 4px 0;
}

.leftalign {
	text-align: left;
}
.rightalign {
	text-align: right;
}
.justified {
	text-align: justify;
}
.centered {
	text-align: center;
}

#debug {
	color: yellow;
	font-size: 0.5rem;
}

.testimonial {
	text-align: justify;
	padding: 8px;
	background-color: var(--ContentBackground);
	border-radius: 16px;
	border: 2px solid slategrey;	
	margin-bottom: 8px;
	& .name {
		text-align: right;
		font-weight: bold;
	}
}

.map-label
{
	background-color: var(--HeaderBackground);
	border-radius: 16px;
	box-shadow: var(--HeaderBackground) 0px 0px 10px;
  color: #FFFFFF;
  font-size: 14px;
  padding: 10px 15px;
  position: relative;
  transform: translateY(-8px);	
}

.map-label:after {
	position: absolute;
	content: "";
	width: 0;
	height: 0;
	border-left: 16px solid transparent;
	border-right: 16px solid transparent;
	border-top: 24px solid var(--HeaderBackground);
	top: 50%;
	left: 50%;
	transform: translate(-50%, 16px);
}

.SBS { 
	width:100%;
	display: inline-block;
	vertical-align: top;
}

@media(orientation: landscape) {
	.SBS {width: 49%}
}

@media only screen and (min-width: 601px) {
	html, body { font-size: 18px; }
	#headerLogo { width: 140px; }
	#headerbar {height: 140px;}
	#pagecontent { top: 148px; }
	#sidebar { display:none; }
}
@media only screen and (max-width: 600px) {
	html, body { font-size: 15px; }
	#headerLogo { width: 120px; }
	#headerbar {height: 120px;}
	#pagecontent { top: 128px; }
	#sidebar { display:none; }
}
@media only screen and (max-width: 500px) {
	html, body { font-size: 14px; }
	#headerLogo { width: 110px; }
	#headerbar {height: 110px;}
	#pagecontent { top: 118px; }
	#sidebar { display:none; }
}
@media only screen and (max-height: 500px) {
	html, body { font-size: 14px; }
	#headerLogo { width: 110px; }
	#headerbar { display: none;}
	#sidebar { display:inline; }
	#pagecontent { top: 4px; left: 160px; }
}
@media only screen and (max-height: 350px) {
	html, body { font-size: 14px; }
	#headerLogo { width: 80px; }
	#headerbar { display: none;}
	#sidebar { display:inline; }
	#pagecontent { top: 4px; left: 160px; }
}