/* ============ SPECTRAQEST QEST PORTAL ============ */

/* 
 *
 *  CORE STYLESHEET - GLOBAL SITE FRAME
 *
 *  COMMENCED 8 July 2009
 *	DESIGNER: Thomas Bland Design http://www.thomasbland.com.au
 *  COPYRIGHT 2009 SpectraQEST
 *
*/

/* ============ TABLE OF CONTENTS ============ 
 *
 * 	*1 RESET AND IMPORTS
 *	*2 COLOUR VALUES
 * 	*3 CORE LAYOUT
 *	*4 FORMS
 *  *5 STYLED BUTTONS
 *	*6 MODAL DIALOGS
*/

/* ============ *1 RESET AND IMPORTS ============ */

@import url('reset.css');
/*@import url('typography.css');*/

/* ============ COLOUR VALUES ============ */

/* These are the values for the key colours in the scheme. Alter here, then find + replace across stylesheets to alter colour scheme */

/* TODO: Modularize colour system for custom branding */

/*
 * BACKGROUND GREY: #ddd
 * RED: #dd1010
 * LIGHT RED: #fb313b
 * DARK RED: #cb0006
 * LIGHT BLUE: #d8ebf6
 * MID BLUE: #21a3f6
 * DARK BLUE: #14238a
 * SOLID YELLOW: #fffac2
 * DARK YELLOW: #f4d454
 * SOLID GREEN: #94c546
 * DARK GREEN: #e6ffb6
 *
*/


/* ============ *3 CORE LAYOUT ============ */

/* ============ BODY ============ */

body {
	width: 100%;
	text-align: center;
 	background: #92959d url(images/body_tile.png) top left repeat;
}

div#wrapper {
	width: 960px;
	margin: 0px auto;
	text-align: center;
	background: #fff url(images/container_shadow.png) top center repeat-y;
    position: relative;
}

.clear 
{
    display:block; 
    clear:both; 
    float:none; 
    position:static;
}

#back-to-search-wrapper
{
    position: absolute;
    top: 4px; 
    right: 0px;
}

/* ============ HEADER ============ */

div#HeaderWrapper {
	width: 100%;
 	height: 80px;
	text-align: center;
	background: #414246 url(images/header_repeat.png) top left repeat-x;
}

div#header {
	width: 960px;
	padding: 0px 0px 5px 0px;
	margin: 0 auto;
 	background: transparent;
	text-align: left;
}

div#title {
	float: left;
	width: 384px;
 	height: 80px;
	background: url(images/con_hive_1-1.png) top left no-repeat;
	text-indent: -9999px;
	cursor: pointer;
}

/* Header search */ 

div#search {
	float: right;
	padding-right: 5px;
	height: 40px;
}

div#search form {
	float: left;
	margin-bottom: 2px;
}

div#search form input#q {
	width: 190px;
	height: 20px;
	border: none;
}

div#search form input.button {
	position: relative;
	top: 3px;
}

div#search ul#SearchOptions {
	text-align: right;
}

div#LoginDisplay {
	float: right;
	padding-top: 4px;
	width: 500px;
}

div#AccountLinks {
	float: right;
}

div#LoginDisplay ul li a {
	padding: 3px 10px;
}

div#LoginDisplay ul li a#LogOff {
	border-right: none;
}

/* Header login form */

div#HeaderLogin {
	width: 355px;
	float: right;
	padding-top: 0px;
}

div#HeaderLogin div#username {
	margin-bottom: 5px;
}

div#HeaderLogin div#username, div#HeaderLogin div#password {
	width: 280px;
	padding-bottom: 0px;
	padding-right: 5px;
}

div#HeaderLogin div#username label, div#HeaderLogin div#password label {
	padding-top: 2px;
	width: 70px;
	text-align: right;
	float: left;
}

div#HeaderLogin div#username input, div#HeaderLogin div#password input {
	width: 190px;
	height: 15px;
	border: none;
}

div#HeaderLogin div#submit {
	float: right;
	margin-top: -23px;
	padding-bottom: 0px;
} 

div#HeaderLogin div#submit input {
	height: 24px;
	width: 70px;
}

div#HeaderLogin div#ForgottenPassword {
	clear: both;
	float: right;
	padding-top: 0px;
	padding-right: 78px;
	padding-bottom: 0px;
}

/* HORIZONTAL ARRANGEMENT COMMENTED OUT */

/*
div#HeaderLogin {
	padding-top: 15px;
}

div#HeaderLogin div#username, div#HeaderLogin div#password {
	width: 200px;
	float: left;
	padding-right: 10px;
	padding-bottom: 0px;
}

div#HeaderLogin div#username label, div#HeaderLogin div#password label {
	padding-top: 0;
	width: 70px;
	text-align: left;
}

div#HeaderLogin div#username input, div#HeaderLogin div#password input {
	width: 190px;
	height: 20px;
	border: none;
}

div#HeaderLogin div#submit {
	float: left;
	padding-top: 17px;
	padding-bottom: 0px;
} 

div#HeaderLogin div#ForgottenPassword {
	clear: both;
	float: right;
	padding-top: 5px;
	padding-right: 85px;
}
*/
	
/* ============ NAVIGATION TABS ============ */

div#menucontainer {
	clear: both;
	padding: 0px 3px 0px 3px;
	background: #92959d;
	width: 954px;
	margin: 0 auto;
	text-align: left;
}

div#menucontainer ul li {
	float: left;
}

/* ============ CONTAINER ============ */

div#container {
	padding-top: 20px;
	width: 900px;
	margin: 0 auto;
	text-align: left;
}

/* ============ MESSAGE =============*/
div#messageWrapper 
{
	width: 960px;
	padding: 15px 0px 15px;
	margin: 0px auto;
	text-align: center;
}
.newsfeed
{
    color: #ddd;
    margin: -10px auto;
}
.newsfeed a
{
    color: #eee;
    padding: 2px 5px;
}
.newsfeed a:visited
{
    color: #eee;
}
div#message 
{
    width: 450px;
	padding: 10px;
	margin: 20px auto 0px auto;
	border: 1px solid #94c546;
	background-color: #e6ffb6;

}



/* ============ SIDEBAR ============ */

div#sidebar {
	float: right;
	width: 140px;
	padding: 10px;
	height: 400px;
	background: #ddd;
}

/* ============ MAIN ============ */

/* NOTE: with sidebar, main is 780+20px padding */

div#main {
	float: left;
	width: 900px;
	padding-right: 20px;
}

/* Generic columns */

div.onecol {
	width: 500px;
}

div.onecol.center {
	margin: 0px auto;
}

div.twocol {
	width: 435px;
	float: left;
	display: inline;
}

div.twocol.left {
	padding-right: 30px;
}

.twocol.callout, .twocol.panel {
	width: 393px;
	padding: 20px;
}

.twocol.callout.left {
	padding-right: 20px;
	margin-right: 30px;
}

/* Callout boxes */ 

.callout {
	background-color: #dcf2ff;
	border: 1px solid #0093d7;
}

.callout fieldset {
	border: 1px solid #b8e1f5;
}

.panel {
	background-color: #eee;
	border: 1px solid #ddd;
}

.actionbox, .callout.actionbox {
	border: 1px solid #94c546;
	background-color: #e6ffb6;
}


/* ============ SECONDARY SIDEBAR ============ */

/* ============ FOOTER ============ */

div#FooterWrapper {
	text-align: center;
	width: 100%;
	height: 100px;
}

div#footer {
	clear: both;
	width: 945px;
	padding: 40px 10px 0px 5px;
	background: url(images/footer.png) top center no-repeat;
	margin: 0 auto;
	text-align: left;
}

div#footer ul li {
	float: left;
}


/* ============ *4 FORMS ============ */

form#searchform input.text {
	width: 200px;
	height: 20px;
	border: 0px;
}

input, select {
	padding: 4px;
}

fieldset {
	border: 1px solid #ccc;
	padding: 5px 10px 10px;
	margin-bottom: 30px;
}

input[type=text], input[type=password] {
	border: 1px solid #ccc;
}

input[type=radio] {
	margin-left: 130px;
}

legend {
	padding: 0px 10px;
	font-weight: bold;
	margin-left: 10px;
}

label.ListLabel {
	font-weight: bold;
}

div.submit {
	padding-left: 120px;
}

ul.checkboxlist li input {
	margin-right: 0.5em;
}

div.FormGroup {
	padding-top: 0.5em;
	padding-bottom: 0.5em;
}

/* Label for text inputs */
label.TextLabel {
	width: 120px;
	text-align: right;
	padding-right: 10px;
	padding-top: 4px;
	display: block;
	float: left;
	clear: left;
	font-weight: bold;
}

label.TextLabel.TextLabelWide
{
    float:none;
    clear:both;
    width: auto;
    text-align: left;
}

/* 
   Used for text inputs where the next input should be displayed on the same line
   e.g. for the "and" in "Date between [input] and [input]"
 */
label.TextLabel-inline 
{
    display: inline;
    float: none;
    clear: none;
    padding-left: 10px;
}

label.FieldSetLabel {
	font-weight: bold;
	font-size:larger; 
}

div.center_buttons {
	text-align: center;
	height: 50px;
}

/* ============ *5 STYLED BUTTONS ============ */

/* Form buttons */

input.button {
	height: 29px;
	background: url(images/button.png)  top left repeat-x;
	border-top: none;
	border-right: none;
	border-left: none;
	border-bottom: 1px solid #4a6323;
	padding: 0px 10px;
	text-transform: uppercase;
	color: #fff;
	font-family: Helvetica, arial, sans-serif;
	font-weight: bold;
}

input.button:hover, input.button.cancel:hover, input.button-hover, input.button-hover.cancel {
	cursor: pointer;
	background-position: 0px -32px;
}

input.button.cancel {
	background: url(images/cancel_button.png) top left repeat-x;
	margin-right: 30px;
}

input.textInput {
	width:60%; 
}

div.center_buttons input {
	width: 70px;
}

/* NOTE: Applied to li and a with classes, as access to <a> not always in code */

div#ActionButtons {
	padding-bottom: 20px;
}

a.button, li.button a, li.button.dropdown, li.button span, span.button {
	float: left;
	margin-right: 10px;
	padding: 5px 12px;
	background-color: #ddd;
	text-decoration: none;
	font-weight: bold;
	min-width: 100px;
	text-align: center;
	border-bottom: 1px solid #ccc;
}

a.button:hover, li.button a:hover, li.button span:hover, .button-hover {
	color: #fff;
	background-color: #008ad7;
}



li.button.dropdown {
	color: #008ad7;
}

li.button.dropdown:hover, li.button.dropdown.button-hover {
	cursor: pointer;
	background-color: #ccc;
}



li.button.dropdown ul {
	position: absolute;
	top: -999px;
	margin-left: -12px;
	margin-top: 6px;
	z-index: 99;
}

li.button.dropdown:hover ul, li.button.dropdown.button-hover ul {
	top: auto;
	width: 100px;
}

li.button.dropdown ul li a {
	width: 100px;
	-moz-border-radius: 0px;
	border-bottom: 1px solid #fff;
}

li.button.dropdown ul li a:hover {
	color: #fff;
	background-color: #008ad7;
}

ul.bulleted li {
	list-style-type:disc;
	list-style-position:outside;
	margin-left:25px;
	margin-bottom:10px;
	position:inherit; 
	display:list-item;
	left:20px;
}

p.bulleted ul {
	position:inherit;
	left:20px; 
	margin-bottom:20px;
}

a.linkright {
	display:inherit;
	float:right;
}

/* ============ *6 MODAL DIALOGS ============ */





