/* 
Copyright 2012 TAFE NSW eHub
This file is part of LOCO.

LOCO is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

LOCO is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with LOCO.  If not, see <http://www.gnu.org/licenses/>.
*/


html, body {
	margin:0px;
	padding:0px;
	border:0px;
}

/* Centre the single question view */
body.Question {
	margin: auto;
	width: 600px;
}

body {
	/* There are better fonts than Arial but greek pi looks wrong in other fonts */
    font-family:  Arial,'Trebuchet MS', Tahoma, Helvetica, sans-serif;
	font-size: 1em;
	height:95%;
}

#instructions {
	margin: 0 auto;	
}

#contentBorder, #header, #footer {
	position:relative;
	width: 950px;	
	padding: 0;
	border: 1px solid #789EB5;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
}

#header, #footer {
	background-color:#789EB5;
	height: 80px;	
}

#footer {
	background-image:url('images/TAFENSWLogo_white_transBG.png');
	background-repeat:no-repeat;
	background-position:right;
	height: 75px;
}

#contentBorder{
	/* [disabled]background-image:url('images/quiz_bg.png'); */
	background-repeat:repeat-x;
	background-color:#dbe8fb;
	position:relative;
	min-height: 550px;
}

#content {
	margin: 0px;
	padding: 0 0 50px 0;
	border: 1px solid #fff;
	min-height: 548px;
	position: relative;
}

#header h1{
	margin: 0 0 0 30px;
	padding:20px 0 0 0;
	border-bottom: 1px solid #fff;
	font-size:22px;
	font-weight:bold;
	color: #fff;
	width: 900px;
}

.SubTitle {
	font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size:16px;
	font-weight:normal;
	font-style:italic;
	color: #fff;
	background-color:#789EB5;
	margin:5px 0 10px 30px;
	padding:0;
	height: 18px;
	line-height: 20px;
}

.dialog {
	position:relative;
	border-radius: 3px;
	margin: 50px auto;
	padding:30px;
	width: 400px;
	background-color: #b4c4a3;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #8D8D8D;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #8D8D8D;
}

.dialog h1{
	padding:0;
	margin: 0;
	font-size:22px;
	font-weight:bold;
	width: 90%;
	border-bottom: 1px solid #333;
	
}

#controls {
	height: 60px;
	position:absolute;
	display:block;
	z-index:1; 
	bottom:0;
	right:0;
	width: 100%;
}

button {
	height: 30px;
	/* [disabled]margin: 5px; */
	border-radius: 3px;
	border: 1px solid #8D8D8D;
	cursor: pointer;
	background-color: #F6F6F6;
}

#controls button {
	float:right;
	display:block;
	width: 100px;
	height: 30px;
	margin: 20px;
	padding:5px;
	clear:none;
}

#nav {
	float: left;
	top:0;
	left:0;
	width:260px;
	white-space: nowrap;
	text-decoration:none;
	background-color: #fff3d8;
	margin-top: 18px;
	margin-right: 0;
	margin-left: 20px;
	margin-bottom: 20px;
	/* [disabled]padding-top: 15px; */
	padding-right: 20px;
	padding-bottom: 15px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-right-style: solid;
	border-bottom-style: solid;
	border-right-color: #B7B7B7;
	border-bottom-color: #B5B6B5;
	border-radius: 3px;
	font-size: 14px;
}
	
	
#rightSide {
	float:right;
	top:0;
	width: 600px;
	line-height: 1.5em;
	margin-top: 20px;
	margin-right: 20px;
	margin-bottom: 20px;
	padding-top: 0px;
	padding-bottom: 15px;
	padding-left: 20px;
}
#question {
	margin-bottom: 15px;
}
#question p {
	margin: 10px 0px;
	padding:0;
}
ul.choices label {
	/*white-space: pre-wrap; *//* Otherwise multiple spaces are collapsed in html and answer does not compare equal to response.*/
	width: 80%;
}



/* The list of links to the questions */
#index ol {
	margin-left: 30px;	
	padding-left: 0px;
}

#index li {
	padding-left:0px;
	margin-left:0px;
}


#index {
	/* [disabled]font-family: 'Arial Narrow', Arial, Helvetica, sans-serif; */
	overflow-y: auto;
	overflow-x: hidden;
	max-height: 510px;
	padding:0;
}

#index a {
	text-decoration: none;
	display:block;
	color: #40668C;
	padding-top: 5px;
	padding-right: 10px;
	padding-bottom: 5px;
	padding-left: 25px;
	background-color: #FFF9EB;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-right-style: solid;
	border-bottom-style: solid;
	border-right-color: #B7B7B7;
	border-bottom-color: #B7B7B7;
	margin-bottom: 2px;
	border-radius: 3px;
	background-repeat:no-repeat;
}

#index a.selected, #index a:hover {
	display:block;
	color:#036;
	text-decoration:none;
	background-image:url(images/arrow_highlight.png);
	background-position: 5px 8px;
	background-color:#FFF;
}

#index a.completed {
	color:#333;
}

