/* Root Element */
:root {
	--wide-border:  .5vmin ridge #E0E0E0;
	--slim-border:   4px   ridge #E0E0E0;
	--wide-inset-border: .6vmin inset #E0E0E0;
	--slim-inset-border: .3vmin inset #E0E0E0;
	--minibb-background: #F9F7F2;
	--primary-font-size: calc(10px + 0.4vw);
}

/* Body Element */
body {
	background-color: whitesmoke;
	font-family: Roboto;	/* Changing the font requires a change to the link to google fonts in head.php */
	font-style: normal;
	font-size: var(--primary-font-size);
	overflow-y: scroll;
}

/* Main element */
.pageMain {
	margin-top: 3vh;
}

 /* Splash Area Elements */
#splash {
	display: flex;
	flex-direction: row;
	align-items: center;
	background-image: url(../images/Runway.png);
	background-size: 100% 100%;
	background-repeat: no-repeat;
	height: 4vw;
}
#splash img {
	flex: 1;
	object-fit: scale-down;
	width: 100%; height:75%; min-width: 0;	/* This kludge is required to fix chrome bug 625560 */
}
#BAMSBar {
	justify-content: flex-start;
	margin-left: 10vw;
}
#AMALogo {
	justify-content: center;
	margin-left: 5vw;
}
#AMAFRIA {
	justify-content: center;
}
#BAMSLogo {
	justify-content: flex-end;
	margin-right: 5vw;
}

/* Weather Area Elements */
#weather {
	margin: 0 0 0 0;
	text-align: center;
	font-weight: 900;
	padding-top: 4px;
}
.calm, .closed {
	color: black;
}
.safe, .still {
	color: green;
}
.warning {
	color: #FF9800;
}
.severe {
	color: red;
}
.stale {
	color: gray;
}

/* Navigation Area Elements */
#navigationList {
	text-align: center;
	padding-top: 1px;
	display: block;
	margin: 0 5vw 0 5vw;
	font-size: calc(4px + 0.8vw);
	border-bottom: var(--wide-border);
}
#navigationList li {
	padding: 0 2vw 0 2vw;
}
.navigationItem {
	display: inline;
	color: blue;
	text-align: center;
	text-decoration: none;
}
.navigationText:hover {
	text-shadow: 0 0 0.5em;
	font-weight: 700;
}
#navigationLinkMatch {
	color: green;
	font-weight: 900;
}

/* Footer Elements */
#footer {
	text-align: center;
	background-color: lightgray;
	font-size: calc(8px + 0.3vw);
	position: fixed;
	bottom: 0;
	height: auto;
	z-index: +1;
	border: 3px solid black;
	border-radius: 2vmin;
	width: 95vw;
	margin-left: 2vw;
}
#footer span {
	color: red;
}
#noScriptLeft {
	float: left;
	margin-left: 10px;
}
#noScriptRight {
	float: right;
	margin-right: 10px;
}

/* pageContainer Element */
.pageContainer {
	/*max-height: 100%;*/
	max-width: 100%;
	overflow: auto;
	margin-left: 5vw;
	margin-right:5vw;
	/*height: calc(100vh - 6vw - 31px);*/
}

/* Miscellaneous Elements */
a:link {
	text-decoration: none;
	font-weight: 500;
}
a:visited,a:active {
	color: blue;
}
a:hover {
	color: red;
}
