/* Alternative colors: grey: #cccccc */

/* --------- Main defaults --------- */

body {
	background-color: white;
	color: #000000;
	font: normal 13px Verdana, sans-serif;
	opacity: 0;
}

/* ---------- Area for all content ---------- */

div.global {
	border-radius: 10px;
	background-color: white;
	margin: 10px auto;
	padding: 20px;
	border: 0;
	width: 90%;
}

#logindetails {
	color: #333333;
	padding: 5px 0;
}

div#searchSite {
	right: 5px;
}

#menucontainer, #submenucontainer, #bannercontainer, #footercontainer, #logindetails {
	width: auto;
}

/* --------- Figure border --------- */

figure {
	border: 1px #e8e8e8 solid;
}

/* --------- Menu stuff --------- */

#menucontainer {
	background-color: #ffffff;
}

#submenucontainer {
	background-color: #000000;
}

nav#submenucontainer.private {
	background-color: #999999;
}

.activeMenu, .inactiveMenu {
	font-size: 120%;
}

.inactiveMenu a, .inactiveMenu a:link, .inactiveMenu a:visited {
	color: #000000;
	background-color: #ffffff;
}

.activeMenu a, .activeMenu a:link, .activeMenu a:visited, .inactiveMenu a, .inactiveMenu a:hover {
	color: white;
	background-color: #000000;
}

#subMenuitems div.activeMenu a, #subMenuitems div.inactiveMenu a:hover {
	color: white;
	background-color: #007ac7;
	font-size: 80%;
}

#subMenuitems div.inactiveMenu a {
	color: white;
	background-color: #000000;
	font-size: 80%;
}

.activeMenu a.private, .activeMenu a.private:link, .activeMenu a.private:visited, .inactiveMenu a.private:hover {
	color: white;
	background-color: #999999;
}

.activeOptionsMenu, .inactiveOptionsMenu  {
	font-size: 100%;
}

.inactiveOptionsMenu a, .inactiveOptionsMenu a:link, .inactiveOptionsMenu a:visited {
	color: gray;
	border: 1px solid gray;
	background-color: white;
}

.activeOptionsMenu a, .activeOptionsMenu a:link, .activeOptionsMenu a:visited, .inactiveOptionsMenu a, .inactiveOptionsMenu a:hover {
	color: white;
	border: 1px solid gray;
	background-color: gray;
}

#subMenuitems div.activeMenu a.private, #subMenuitems div.inactiveMenu a.private:hover {
	background-color: gray;
}

#subMenuitems div.inactiveMenu a.private {
	background-color: #999999;
}

.activeMenu a, .inactiveMenu a {
	padding: 4px 6px;
	margin: 2px 0;
	font-size: 100%;
}

div#menuitems {
	width: 75%;
}

nav#menucontainer {
	border-bottom: 1px solid #999;
	border-top: 1px solid #999;	
	padding: 10px 0;
	margin-top: 10px;
	width: 100%;
	border-radius: 0;
}

/* --------- General links --------- */

a {
	color: #000000;
	text-decoration: none;
	font-weight: bold;
}

a.private {
	font-style: italic;
}

a:hover {
	color: gray;
}

/* --------- Commonly used classes for layout --------- */

.subtitle {
	color: #909090;
	font-size: 125%;
	font-weight: normal
}

/* --------- Defining common elements --------- */

p {
	line-height: 150%;
}

i {
	color: gray;
}

h1 {
	font-weight: normal;
	color: #666666;
	font-size: 220%;
}

h1.banner {
	font-size: 400%;
	color: #ffffff;
	margin-left: 0;
	margin-top: 0;
	margin-bottom: 20px;
	font-weight: normal;
}

h1#sectionHeading {
	position: relative;
	left: -500px;
}

span.banner {
	color: #ffffff;
	line-height: 120%;
	clear: left;
	font-size: 60%;
}

h2 {
	font-weight: bolder;
	color: #000000;
	font-size: 130%;
}

h3 {
	font-weight: bolder;
	color: #000000;
	font-size: 110%;
}

q {
	font-style: italic;
}

/* --------- Main sidebar formatting --------- */

#sidebar {
	border-left: 1px #e8e8e8 solid;
	line-height: 140%;
}

/* --------- Classes used with divs for screen layout --------- */

.form {
	border: 1px solid gray;
	background-color: #fffffa;
}

.support .form {
	margin: 0 auto;
}

section#bannercontainer input#googlesearch, section#bannercontainer div#twitterLink, section#bannercontainer div#searchSite {
	display: none;
}

div#twitterLink {
	float: none;
	margin: 15px auto;
	position: static;
}

section#logindetails input {
	background-image: url(../images/search_icon.png);
	background-repeat: no-repeat;
	background-position: -2px -5px;
	box-sizing: border-box;
	border: 1px solid silver;
	border-radius: 3px;
	background-color: white;
	height: 25px;
	padding: 2px 10px 2px 30px;
	outline: none;
	transition: 1s ease-in-out;
}

section#logindetails input:focus {
	border: 1px solid black;
}

section#logindetails {
	width: auto;
}

/* --------- Highlight news and main newsitem module --------- */

.newsDate {
	font-style: italic;
}

.newsTitle {
	font-weight: heavy;
}

.newsContent {
	font-size: 100%;
}

.item {
	border-bottom: 1px #e8e8e8 solid;
}

.newsitems p {
	line-height: 150%;
}

/* --------- Used at top of listings --------- */

.headerRecord, .headerRecord a {
	font-weight: bold;
	color: gray;
}

/* --------- Greeting page formatting --------- */

.welcomeText, .welcomeText p {
	font-size: 110%;
	line-height: 150%;
}

/* --------- Footer stuff --------- */

.footerContent {
	padding: 5px 0;
}

.footerContent b {
	font-size: 150%;
	float: left;
}

/* --------- Images --------- */

img.right {
	float: right;
	padding: 5px 5px 5px 10px;
}

img#logo {
	margin-top: 10px;
	width: 170px;
	height: auto;
	transform: scale(0);
}

div#twitterLink img {
	width: 50px;
	margin: 5px auto;
}

/* --------- Lists --------- */

ul {
	list-style: square;
	color: #000000;
	line-height: 1.5em;
}

ol {
	list-style: decimal;
	color: #000000;
	line-height: 1.5em;
}
	
ol.about_links {
	list-style: none;
}

/* --------- Blog stuff --------- */

.blogArticle h2 {
	color: inherit;
}

.blogArticle p {
	color: inherit;
}

.blogArticle section p {
	color: inherit;
}

.blogArticle aside figure {
	border: 0;
}

.blogContent:after {
	height: 140px;
}

/* --------- Social media links --------- */

.social {
	float: right;
	padding: 2px 5px;
    margin-top: 50px;
}

/* -------- */