/*
 * Style sheet for Login, Signup, Forgot Pages etc.
 *
 * (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: #eef;
	font-family: 'Arial';
}

/* Beta Image styling. Will be removed once beta release no longer used */
#beta-image {
	position: fixed;
	bottom: 0;
	right: 0;
	z-index: 10;
	pointer-events: none;
	opacity: 0.4;
}

.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-color: #bbb;
	z-index: 10;
	min-width: 200px;
}

/* The Main title (typically displayed to the left hand side of the topbar) */
#title {
	position: absolute;
	left: 41px;
	top: 7px;
	font-size: 21px;
	font-family: 'Arial';
	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;
	pointer-events: none;
}

#pane-logo {
	float: left;
	padding-right: 10px;
	pointer-events: none;
}

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

/* The contain for the error message (when shown) */
#errormsg {
	position: absolute;
	top: 4px;
	width: 100%;
	background: #fc9;
	text-align: center;
	padding: 2px 0px;
	border-top: 1px solid #bbb;
	border-bottom: 1px solid #bbb;
}

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

#logout-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;
}

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

#logout-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;
}

/* 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;
}
/***********************************************************/

.smalltext {
	font: normal normal 14px Verdana, Geneva, Arial, Helvetica, sans-serif;
	vertical-align: top;
}


.errortext {
	font: normal normal 10px Verdana, Geneva, Arial, Helvetica, sans-serif;
	color: #f22;
	visibility: hidden;
}

#container {
	/* makes contained div with display style of inline-block be centre aligned */
	text-align: center;
}

/* Contains the middle pane */
#loginpane {
	font: normal normal 15px Verdana, Geneva, Arial, Helvetica, sans-serif;
	text-align: left;
	/* this display makes the div base its width on its contents */
	display: inline-block;
	border: 1px solid #bbb;
	margin-left: auto;
	margin-right: auto;
	margin-top: 35px;
	width: auto;
	min-width: 300px;
	background: white;
	padding: 10px 15px;
	padding-bottom: 15px;
}

#signin {
	font-size: 18px;
}

#loginpane p {
	width: 300px;
}

#loginpane input[type=submit], input[type=button] {
	padding: 4px;
	margin: 4px 0;
	width: 100%;
}

#loginpane input[type=text], input[type=password] {
	padding: 5px;
	margin-top: 3px;
	margin-bottom: 10px;
	outline: none;
	border: 1px solid #bbb;
	font-size: 14px;
	width: 100%;
	/* make input textbox size the same as the submit button */
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

#loginpane input[type=text]:focus, input[type=password]:focus {
	box-shadow: 0 0 4px 0px #147;
}

/***********************************************************/
/** Css for home page */
/* Contains the middle pane */
#middlepane {
	font: normal normal 1em Verdana, Geneva, Arial, Helvetica, sans-serif;
	
	text-align: left;
	border: 1px solid #bbb;
	margin-left: auto;
	margin-right: auto;
	margin-top: 35px;
	width: 80%;
	min-width: 280px;
	background: white;
	padding: 0px 15px;
	padding-bottom: 15px;
}

.heading {
	font-size: 1.5em;
}

.heading2 {
	font-size: 1.2em;
}

#disclaimer {
	font-size: 0.7em;
}

#footer {
	text-align: center;
	font-size: 0.7em;
}
