/*
   ##   #    # #####  #   #    #      ######  ####   ####  ###### ##### #####
  #  #  ##   # #    #  # #     #      #      #    # #    # #        #     #
 #    # # #  # #    #   #      #      #####  #      #      #####    #     #
 ###### #  # # #    #   #      #      #      #  ### #  ### #        #     #
 #    # #   ## #    #   #      #      #      #    # #    # #        #     #
 #    # #    # #####    #      ###### ######  ####   ####  ######   #     #

 Title: Global styles for assessment day
 Date: 12/2011
 Coding: Andy Leggett - Hire me at www.andyleggett.co.uk

 This uses HTML5 ✰ Boilerplate - many thanks to those guys for doing the hard work so I don't have to!

 *
 * What follows is the result of much research on cross-browser styling. 
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 *
 * Detailed information about this CSS: h5bp.com/css
 * 
 * ==|== normalize ==========================================================
 */


/* =============================================================================
   HTML5 display definitions
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

/* =============================================================================
   Base
   ========================================================================== */

/*
 * 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
 * 2. Force vertical scrollbar in non-IE
 * 3. Prevent iOS text size adjust on device orientation change, without disabling user zoom: h5bp.com/g
 */

html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }

body { margin: 0; font-size: 13px; line-height: 1.231; }

body, button, input, select, textarea { font-family: sans-serif; color: #222; }

/* 
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate
 * Also: hot pink! (or customize the background color to match your design)
 */

::-moz-selection { background: #FED813; color: #555; text-shadow: none; }
::selection { background: #FED813; color: #555; text-shadow: none; }


/* =============================================================================
   Links
   ========================================================================== */

*:focus  {  outline: none; }  

a:focus { outline: thin dotted; }

/* Improve readability when focused and hovered in all browsers: h5bp.com/h */
a:hover, a:active { outline: 0; }


/* =============================================================================
   Typography
   ========================================================================== */

abbr[title] { border-bottom: 1px dotted; }

b, strong { font-weight: bold; }

blockquote { margin: 1em 40px; }

dfn { font-style: italic; }

hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }

ins { background: #ff9; color: #000; text-decoration: none; }

mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }

/* Redeclare monospace font family: h5bp.com/j */
pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }

/* Improve readability of pre-formatted text in all browsers */
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }

q { quotes: none; }
q:before, q:after { content: ""; content: none; }

small { font-size: 85%; }

/* Position subscript and superscript content without affecting line-height: h5bp.com/k */
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }


/* =============================================================================
   Lists
   ========================================================================== */

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }


/* =============================================================================
   Embedded content
   ========================================================================== */

/*
 * 1. Improve image quality when scaled in IE7: h5bp.com/d
 * 2. Remove the gap between images and borders on image containers: h5bp.com/e 
 */

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }

/*
 * Correct overflow not hidden in IE9 
 */

svg:not(:root) { overflow: hidden; }


/* =============================================================================
   Figures
   ========================================================================== */

figure { margin: 0; }


/* =============================================================================
   Forms
   ========================================================================== */

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }

/* Indicate that 'label' will shift focus to the associated form element */
label { cursor: pointer; }

/* 
 * 1. Correct color not inheriting in IE6/7/8/9 
 * 2. Correct alignment displayed oddly in IE6/7 
 */

legend { border: 0; *margin-left: -7px; padding: 0; }

/*
 * 1. Correct font-size not inheriting in all browsers
 * 2. Remove margins in FF3/4 S5 Chrome
 * 3. Define consistent vertical alignment display in all browsers
 */

button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }

/*
 * 1. Define line-height as normal to match FF3/4 (set using !important in the UA stylesheet)
 * 2. Correct inner spacing displayed oddly in IE6/7
 */

button, input { line-height: normal; *overflow: visible; }

/*
 * Reintroduce inner spacing in 'table' to avoid overlap and whitespace issues in IE6/7
 */

table button, table input { *overflow: auto; }

/*
 * 1. Display hand cursor for clickable form elements
 * 2. Allow styling of clickable form elements in iOS
 */

button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }

/*
 * Consistent box sizing and appearance
 */

input[type="checkbox"], input[type="radio"] { box-sizing: border-box; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }

/* 
 * Remove inner padding and border in FF3/4: h5bp.com/l 
 */

button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }

/* 
 * 1. Remove default vertical scrollbar in IE6/7/8/9 
 * 2. Allow only vertical resizing
 */

textarea { overflow: auto; vertical-align: top; resize: vertical; }

/* Colors for form validity */
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }


/* =============================================================================
   Tables
   ========================================================================== */

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }


/* ==|== primary styles =====================================================
   Author: Still me!
   ========================================================================== 
  
  	1. Standard
 	2. Layout
 	3. Headings
	4. Boxes
	5. Items
	6. Text Layouts
	7. Forms
	8. Graphics
	9. Lists
	10. Pager and Summary
	
   */

/*  1. Standard */

a
{
	font-size: 14px;
	color: #999;
}

a:hover
{
	color: #444;
}

.align-left {
	float: left;
}

.align-right {
	float: right;
}

.centred {
	margin-left: auto !important;
	margin-right: auto !important;
	display: block;
}

.full-height
{
	height: 100%;
	border: 1px solid red;
}

.top-spacing
{
	margin-top: 20px;
}

.breadcrumbs{
	
}



.errorMessage
{
	display: none;
}

.divider
{
	margin-bottom: 20px;
	border-top: 1px dotted #ccc;
	padding-top: 4px;
}

.divider-below
{
	margin-bottom: 20px;
	border-bottom: 1px dotted #ccc;
	padding-top: 4px;
}

.text-centred {
	text-align: center;
}
.text-right {
	text-align: right;
}

.powered-by
{
	font-size: 18px;
	text-align: center;
}

.powered-by a
{
	font-size: 18px;
}

a, a:visited, a:active, a:link {
	color: #555;
}

a:hover
{
	color: #111;
}


/*  2. Layout */

body {
	font: 14px /20px Helvetica, Arial, sans-serif;
	background-image: url('../images/background.jpg');
	background-position: center top;
	background-repeat: no-repeat;
	background-color: #444;
	color: #555;
}

#page-container {
	margin-top: 20px;
	width: 1020px;
	margin: 0 auto;
}

#header-container {
	
}

#main-container {

}


#footer-container {
	
}

.vertical-separator {
	margin-top: 30px;
}

.logout
{
	position: absolute;
	right: 10px;
	top: 72px;
	
}

/* 3. Headings */

h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
	font-family: "Droid Serif",Georgia, serif;
}

h1 {
	font-size: 24px;
	line-height: 28px;
}

h2 {
	font-size: 20px;
	line-height: 30px;
}

h3 {
	font-size: 16px;
	line-height: 20px;
}

h4 {
	font-size: 14px;
	line-height: 18px;
	margin-bottom: 15px;
	font-style: italic;
}

h5 {
	font-size: 12px;
	line-height: 18px;
}

h6 {
	font-size: 10px;
	line-height: 16px;
}

.title
{
	display:block;
	color: #777;
	text-align: center;
	font-style: italic;
	font-size: 28px;
	margin: 10px auto;
}

/*sub "classes" of title*/
.title.login
{
	margin: 20px auto;
}

.title.header
{
	text-align: left;
	margin: 5px 0 10px 10px;
}

.title.main
{
	text-align: left;
	font-size: 24px;
	margin: 5px 0 10px 10px;
}

.title.foritem
{
	text-align: left;
	color: #777;
}

.title.foritem-subtitle
{
	text-align: left;
	color: #777;
	font-size: 16px;
}

.title.form
{
	text-align: left;
	color: #777;
	font-size: 20px;
	margin-left: 20px;
	margin-bottom: 20px;
}

.title.empty
{
	text-align:center;
	color: #777;
	font-size: 20px;
	margin: 20px;
}

/* 4. Boxes */

.box 
{
	margin: 20px auto;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	background-color: #fff;
	padding: 10px;
	
	/* stops collaped margin 
	overflow: hidden;*/
	
	/*for image positioning */
	position: relative;
}

.box .ttl 
{
	margin: 5px;
}

.box .subttl
{
	margin-left: 20px;
}

.box .img
{
	display: block;
	position: absolute;
	right: 10px;
	top: 5px;
}

.box .bd 
{
	padding: 10px;
	clear: both;
}

/*sub "classes" of box*/
.box.login
{
	width: 400px;
	margin: 100px auto 0;
}

.box.header
{
	height: 90px;
}

.box.error
{
	height: 400px;
}

.box.main
{
	margin: 15px 5px;
	padding: 10px;
	min-height: 500px;
}
.box.disable
{
	width: 50%;
	margin: 10px auto;
	padding: 40px 20px;
}

.box.footer
{
	height: 25px;
}

.box.search, .box.requests, .box.current, .box.form, .box.disable, .box.test, .box.results, .box.upload
{
	border: 1px dotted #ccc;
}

.box.upload-problems
{
	border: 3px dotted #FEEA9A;
}

.box.currently
{
	min-height: 250px;	
}

.box.current
{
	background-color: #FEEA9A;
}

.box.view
{
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	background-color: #FEEA9A;
	margin: 5px 20px 10px 20px;
	border: 1px dotted #999;
}

/* 5. Items */

/*
  <div class="item">
	<div class="hd">
		<div class="ttl"></div>
		<div class="ctl"></div>
	</div>
	<div class="bd"></div>
  </div>
 */


.item
{
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	background-color: #FEEA9A;
	margin: 5px auto;
	border: 1px dotted #999;
}

.item.white
{
	background-color: #FFF;
}

.item .hd
{
	margin: 5px 10px 5px 20px;
	overflow: hidden;
	_overflow: visible;
	zoom: 1;
}

.item .bd
{
	padding: 10px;
}

.item .ctl
{
	margin: 5px;
}

.item-text
{
	margin: 5px;
	font-weight: normal;
	font-family: "Droid Serif",Georgia, serif;
}

/*sub "classes" of item-text*/

.item-text.small
{
	font-size: 12px;
	line-height: 14px;
}

.item-text.medium
{
	font-size: 16px;
	line-height: 18px;
}

.item-text.large
{
	font-size: 44px;
	line-height: 34px;
	font-style: italic;
}

.item-text.indented
{
	margin: 10px 0 0 20px;
}


/* 6. Text Layouts */

.footer-text
{
	display: block;
	margin: 5px auto;
	text-align: center;
}

.credits-layout
{
	position: relative;
	width: 350px;
	height: 60px;
	margin: 0 auto;
}

.credits-layout .used, .credits-layout .text, .credits-layout .total
{
	position: absolute;
	font-weight: normal;
	font-family: "Droid Serif",Georgia, serif;
}

.credits-layout .used, .credits-layout .total
{
	font-size: 34px;
	line-height: 36px;
	font-style: italic;
	width: 110px;
	top: 15px;
}

.credits-layout .used
{
	left: 3px; 
	text-align: right;
}

.credits-layout .text
{
	left: 120px; 
	top: 30px;
	font-size: 14px;
	line-height: 16px;
}

.credits-layout .total
{
	left: 250px; 
}

.credits-layout-vertical
{
	text-align: center;
}

.credits-layout-vertical .available, .credits-layout-vertical .total, .credits-layout-vertical .used
{
	font-size: 34px;
	line-height: 36px;
	font-style: italic;
}

.credits-layout-vertical .available
{
	margin-top: 8px;
	padding-top: 8px;
	border-top: 1px dotted #777;
}

.credits-layout-vertical .text
{
	margin: 6px 0;
	font-size: 14px;
	line-height: 16px;
}

.admindash-layout-vertical
{
	text-align: center;
}

.admindash-layout-vertical .top, .admindash-layout-vertical .bottom
{
	font-size: 34px;
	line-height: 36px;
	font-style: italic;
}

.admindash-layout-vertical .text
{
	margin: 10px 0px;
}

.users-layout
{
	position: relative;
	width: 150px;
	height: 60px;
	margin: 0 auto;
}

.users-layout .users, .users-layout .last
{
	position: absolute;
	font-weight: normal;
	font-family: "Droid Serif",Georgia, serif;
}

.users-layout .users
{
	font-size: 40px;
	line-height: 36px;
	font-style: italic;
	right: 90px; 
	top: 15px;
	text-align: right;
}

.users-layout .last
{
	left: 65px; 
	top: 30px;
	font-size: 14px;
	line-height: 16px;
}


#notification-message
{
    top: 0;
    left: 0;
    position: fixed;
    background-color: #FED813;
    color: #333;
    width: 100%;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    overflow: hidden;
    display:none;
}

#notification-close-button
{
	display: block;
    float: right;
    margin-right: 20px;
    cursor: pointer;
}

.details-character
{
	margin: 7px 5px 3px 5px;
	padding: 5px;
	text-align:center;
	float: left;
	width: 30px;	
	font-size: 20px;
	
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	background-color: #fff;
	border: 1px dotted #777;
}

.details-character.selected
{
	background-color: #FED813;
	
}

/* 7. Forms */

.form-label
{
	color: #777;
	font-size: 14px;
	margin-left: 35px;
}

.form-label.no-margin
{
	margin-left: 0px;
}

.inputs {

	background-position: left top;
	background-repeat: no-repeat;
	margin: 10px 0px 10px 25px;
	height: 54px;
}


.inputs input, .inputs select{

	border: 0;
	margin: 14px 2px 3px 15px;
	padding: 4px;
	cursor: pointer;
	color: #111;
	font-size: 16px;
	background-color: transparent;
	
}

.inputs.no-left-margin
{
	margin: 10px 0px 10px 0px;
}

.inputs.inputs-large {
	
	background-image: url('../images/input-large.jpg');
	width: 348px;
}

.inputs.inputs-large input {
	
	width: 310px;	
}

.inputs.inputs-large select {
	
	width: 320px;	
}

.inputs.inputs-small {
	
	background-image: url('../images/input-small.jpg');
	width: 218px;
}

.inputs.inputs-small input {
	
	width: 180px;	
}

.inputs.inputs-small select {
	
	width: 189px;	
}

.inputs.inputs-tiny {
	
	background-image: url('../images/input-tiny.jpg');
	width: 116px;
}

.inputs.inputs-tiny input {
	
	width: 78px;	
}

.inputs.inputs-tiny select {
	
	width: 87px;	
}

.file-input
{
	text-align: center;
	margin: 20px auto;
}

.large-button
{
	background-position: left top;
	background-repeat: no-repeat;
	width: 242px;
	height: 60px;
	border: 0;
	background-color: #fff;
	font-size: 20px;

}

.large-button.yellow
{
	background-image: url('../images/yellow-button-big.gif');
	color: #555;
}

.large-button.blue
{
	background-image: url('../images/blue-button-big.gif');
	color: #eee;
}

.large-button.green
{
	background-image: url('../images/green-button-big.gif');
	color: #eee;
}

.small-button
{
	background-position: left top;
	background-repeat: no-repeat;
	width: 180px;
	height: 45px;
	border: 0;
	background-color: #fff;
	font-size: 16px;

}

.small-button.yellow
{
	background-image: url('../images/yellow-button-small.gif');
	color: #555;
}

.small-button.blue
{
	background-image: url('../images/blue-button-small.gif');
	color: #eee;
}

.small-button.green
{
	background-image: url('../images/green-button-small.gif');
	color: #eee;
}

.checkbox-list
{
	margin: 10px 40px;
}

.checkbox-list input[type='checkbox']
{
	margin: 10px;
}

.checkbox-list label
{
	margin: -5px 0 6px 30px;
}

/* 8.Graphics */

a.icon
{
	display:block;
	float: right;
	margin: 10px 4px;
	text-align: center;
	text-decoration: none;
	padding-top: 4px;
}

a.icon.green
{
	width: 100px;
	height: 21px;
	background-image: url('../images/green-large-icon.gif');
	color: #ddd;
}

a.icon.green:hover
{
	color: #eee;
}

a.icon.yellow
{
	width: 50px;
	height: 21px;
	background-image: url('../images/yellow-icon.gif');
}

/* 9. Lists */

.list
{
	color: #777;
	margin: 10px auto;
	
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	padding: 0;
}

.list li
{
	list-style-type: none;
	margin-left: 0;
}

.list.quick li
{
	text-align: center;
}

.instructions li
{
	margin: 10px 0px;

}

.error-summary
{
	background-color: #333;
	color: #fff;
	margin: 10px 40px;
	
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	padding: 10px;
}

.error-summary span
{
	display: block;
	margin-top: 20px;
	text-align: center;
	font-size: 20px;
}

.error-summary ul li
{
	padding: 5px;
	text-align: center;
	list-style-type: none;
	margin-left: -40px;
	font-size: 16px;
}

.error-summary ul
{
}

/* 10. Pager and Summary */

.pager
{
}

.pager ul
{
	display: inline-block;
	overflow: hidden;
	list-style-type: none;
	margin: 16px 0px 6px -30px;
}

.pager ul li
{
	float: left;
	display: block;

	background-image: url('../images/ui-back.jpg');
	background-repeat: repeat-x;
	
	-moz-border-radius: 1px;
	-webkit-border-radius: 1px;
	border-radius: 1px;
	padding: 2px 6px;
	margin: 2px 4px 2px 0px;
}

.pager ul li a
{
	text-decoration: none;
}

.pager ul li.selected
{
	
}

.pager-summary
{
	float: right;
	display: block;

	background-color: #ddd;
	
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	border: 1px dotted #777;
	padding: 4px 6px;
	margin: 14px 10px 2px 10px;
}

/* 11. Images */

.percentile-image
{	
	width: 19px;
	height: 15px;
	background-image: url('../images/percentiles.png');
	background-repeat: no-repeat;
	margin-left: 10px;
}

.percentile-image.onebar
{
	background-position: 0px -24px;
}

.percentile-image.twobars
{
	background-position: 0px -95px;
}

.percentile-image.threebars
{
	background-position: 0px -48px;
}

.percentile-image.fourbars
{
	background-position: 0px 0px;
}

.percentile-image.fivebars
{
	background-position: 0px -72px;
}

.tickcross-image
{
	width: 35px;
	height: 35px;
	background-image: url('../images/tickcross.png');
	background-repeat: no-repeat;
	margin: 4px 0px;
	float: left;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	background-color: #fff;
	border: 1px dotted #777;
}

.tickcross-image.tick
{
	background-position: 4px 7px;
}

.tickcross-image.cross
{
	background-position: 5px -24px;
}

.tickcross-image.bar
{
	background-position: 4px -53px;
}

.header-logo
{
	width: 300px;
	height: 75px;
}

/* ==|== non-semantic helper classes ========================================
   Please define your styles before this section.
   ========================================================================== */

/* For image replacement */
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; }
.ir br { display: none; }

/* Hide from both screenreaders and browsers: h5bp.com/u */
.hidden { display: none !important; visibility: hidden; }

/* Hide only visually, but have it available for screenreaders: h5bp.com/v */
.visuallyhidden { border: 0; clip: rect(0,0,0,0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: h5bp.com/p */
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }

/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* Contain floats: h5bp.com/q */ 
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }



/* ==|== media queries ======================================================
   PLACEHOLDER Media Queries for Responsive Design.
   These override the primary ('mobile first') styles
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 480px) {
  /* Style adjustments for viewports 480px and over go here */

}

@media only screen and (min-width: 768px) {
  /* Style adjustments for viewports 768px and over go here */

}



/* ==|== print styles =======================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */
 
@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}
