/*
 * Style sheet for Main Page only.
 *
 * (c) Mark Dixon 2015, 2016, 2017.
 * 
 */

html {
	height: 100%;
}

body {
	margin: 0;
	padding: 0;
	border: 0;
	overflow: auto;
	height: 100%;
	max-height: 100%;
	background-color: #003;
	font-family: 'Arial';
}

.noSelect {
	/* Prevent text from been selected */
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	cursor: default;
}

/* The top bar is in a fixed position at the top of the window, it carries the Page title and main menu options */
#topbar {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 40px; /*Height of frame div*/
	overflow: hidden; /*Disable scrollbars*/
	background-color: #147;
	/*border-bottom: 1px solid #eef;*/
	z-index: 10;
	min-width: 200px;
	box-shadow: 0px 0px 30px #004;
}

/* The Main title (typically displayed to the left hand side of the topbar) */
#title {
	position: absolute;
	left: 41px;
	top: 7px;
	font-size: 21px;
	color: #fff;
	cursor: default;
}

#title:hover span#titleLeft {
	color: #888;
}

#title:hover span#titleRight {
	color: #fff;
}

#titleRight {
	color: #888;
}

#title-logo {
	position: absolute;
	left: 10px;
	top: 5px;
}

#login-msg {
	font-size: 15px;
	color: #bbb;
	float: right;
	position: relative;
	top: 11px;
	right: 24px;
}

#login-button {
	position: relative;
	top: 0px;
	right: 10px;
	color: #fff;
	background-color: #147;
	width: 100px;
	text-align: center;
	padding: 9px 0px;
	font-size: 18px;
	float: right;
}

#login-button:HOVER {
	background-color: #26a;
}

#login-button:ACTIVE {
	background-color: #159;
}

/* The (My projects button) (shown to the right of the main title). */
#projects-button {
	position: absolute;
	left: 260px;
	top: 0px;
	color: #fff;
	background-color: #147;
	padding: 11px 11px;
	font-size: 15px;
	width: 80px;
}

#projects-button:HOVER {
	background-color: #26a;
}

#projects-button:ACTIVE {
	background-color: #159;
}
/*****************************************************************/

/* Contains the main page contents below the top bar. General container for all other content (except the topbar) */
#mainframe {
	position: absolute;
	background: #003;
	top: 40px;
	bottom: 0px;
	width: 100%;
	min-width: 200px;
}

/* The middle pane which appears in the centre of the main page contents*/
#middlepane {
	font: normal normal 1em Verdana, Geneva, Arial, Helvetica, sans-serif;
	text-align: left;
	border: 1px solid #888;
	margin-left: auto;
	margin-right: auto;
	margin-top: 35px;
	width: 90%;
	min-width: 300px;
	background: white;
	padding: 10px;
	/*box-shadow: 0px 0px 10px #000;*/
}

/* Top level sections (no explicit background colour set), contained within the middle pane. */
.section {
	clear: both;
	padding: 15px;
	padding-bottom: 5px;
}

/* Content boxes (section which have slightly different background colour), contained within the middle pane. */
.content-box {
	clear: both;
	background-color: #fff;
	border: 1px solid #888;
	padding: 20px;
	margin: 10px 10px;
	margin-bottom: 40px;
	color: #147
}

/* Sub-content boxes contained within content boxes. Used to group sub-sections within a content box. */
.sub-content-box {
	clear: both;
	margin: 40px 0px;
}

/* Example model box showing example text and related image.*/
.example-box {
	float: left;
	width: 280px;
	font-size: 1.0em;
	color: #013;
	padding: 20px;
}

/*****************************************************************/
.col-left {
	float: left;
	width: 200px;
}

.col-left-big {
	float: left;
	width: 400px;
}

.col-right {
	float: right;
	width: 200px;
	margin-left: 10px;
}

.col-fill {
	float: none;
	width: 100%;
	min-width: 200px;
}

/*****************************************************************/

/* The main heading */
.main-heading {
	font-size: 2.3em;
	color: #147;
	font-weight: bold;
	padding-top: 34px;
}

/* The context-box headings */
.heading {
	font-size: 2.0em;
	color: #147;
	font-weight: normal;
	margin-bottom: 10px;
}

/* Text underneath a main heading */
.heading-subtext {
	font-size: 0.65em;
	color: #000;
	font-variant: small-caps;
	font-weight: normal;
	margin-top: 10px;
}

/* Smaller sub-heading */
.sub-heading {
	font-size: 1.5em;
	color: #147;
	font-weight: bold;
	font-variant: small-caps;
}

/* Text shown underneath a sub-heading */
.sub-heading-subtext {
	font-size: 0.8em;
	color: #013;
	font-weight: normal;
	margin-top: 20px;
	font-variant: normal;
	font-family: arial;
}

/* Text shown underneath a sub-heading as a list item */
.sub-heading-item {
	font-size: 0.8em;
	color: #013;
	font-weight: normal;
	margin-top: 20px;
	font-variant: normal;
	display: list-item;
	font-family: arial;
}

/*****************************************************************/
.button {
	position: relative;
	color: #fff;
	background-color: #147;
	border: 1px solid #000;
	width: 100%;
	text-align: center;
	padding: 10px 0px;
	font-size: 19px;
	font-weight: normal;
	font-variant: normal;
	box-shadow: 3px 3px 6px #444;
}

.button:HOVER {
	background-color: #26a;
}

.button:ACTIVE {
	background-color: #159;
}

.button-subtext {
	color: #666;
	width: 100%;
	text-align: center;
	margin-top: 5px;
	margin-bottom: 10px;
	font-size: 13px;
	font-weight: normal;
	font-variant: normal;
}

/* Define a class which fills the buttons area (used to ensure anchor link works when button clicked)*/
.button-fill {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
}

/*****************************************************************/
.small-heading {
	font-size: 1.2em;
}

#disclaimer {
	font-size: 0.7em;
}

#footer {
	text-align: center;
	font-size: 0.8em;
	padding-bottom: 20px;
	color: #fff;
}