/* General stylesheet for JSarge quizzes */
/*  Copyright (C) 2009 Joseph Wilkinson  */

/* General Properties */

body {
	text-align: center;
	padding-top: 5em;
}

div.body, div#tagInfo, div.alternate {
	text-align: center;
	width: 71%;
	margin-left: auto;
	margin-right: auto;
}

p {
	text-indent: 0;
	padding: .7em;
	font: 11pt "Courier New";
}

a {
	font: bold 1em "Courier New";
	color: white;
}

table {
	font: 11pt "Courier New";
	border-collapse: collapse;
	margin-left: 1em;
	margin-right: 1em;
}

table tr td {
	width: 10%;
	padding: 20px;
	text-align: left;
}

tr:first-child {
	font-weight: bold;
	text-align: left;
	border-bottom: 1px solid #000;
}

a:hover {
	text-decoration: underline;
}

h2 {
	border-bottom: 3px solid #000;
	font: bold x-large "Courier New";
	margin-top: .5em;
	padding-left: .3em;
}

h3 {	
	font: bold x-large "Courier New";
	border-left: 3px solid #000;
	margin-top: 2em;
	padding-left: .5em;
}

h4 {
	font: bold large 'Courier New';
	text-decoration: underline;
}

cite {
	font-style: normal;
	color: green;
	border-bottom: 1px dashed green;
	cursor: help;
}

abbr {
	border-bottom: 1px dashed green;
}

ul {
	font: normal 11pt "Courier New";
	list-style-type: lower-greek;
}

.imageLink { color: #fff !important; }

/* Page-Specific Properties */

/** INDEX.php **/

.index .body p { 
	padding: .2em;
	padding-left: 0px;
	line-height: 1.2em;
}

.index .body div {	
	background-color: #F0F0F0;
	padding: .5em;
}

.index .body { text-align: left; }
.index .body a { color: green; }
.index .body a:hover { text-decoration: none; }

/** NOTES pages **/

.notes .body p { 
	padding: .2em;
	padding-left: 0px;
	line-height: 1.2em;
}

.notes .body div {	
	background-color:#F0F0F0;
	padding: .5em;
}

.notes .body { text-align: left; }
.notes .body a { color: green; }
.index .body a:hover { text-decoration: none; }

/** QUIZZES **/

.quiz .body {
	margin-top: 5em;
	/* margin-bottom: 5em; */
}

.displayContainer p {
	font: bold 20pt "Courier New";
}

.displayContainer span {
	background-color: #000;
	padding: .7em;
	color: #fff;
}

.quizForm input.text {
	border: 2px solid #000;
	background-color: #fff;
	font: bold 1em "Courier New";
	padding: 10px;
	width: 231.5px;
}

.quizForm input.button {
	border: 2px solid #000;
	background-color: #fff;
	font: bold .9em "Courier New";
	margin-left: 5px;
	padding: 10px;
}

p#answerContainer {
	width: 97.7%;
	margin: auto;
	display: none;
}

span.displayedQuery {
	border: 3px solid #000;
	background-color: #fff;
	padding: 5px;
}

div#progress {
	position:relative;
	bottom: .5em;
	width: 5em;
	background-color: #000;
	margin: auto;
	float: left;
}

span.displayedQuery, span.correctAnswer, span#displayContainer { text-transform: capitalize; }
input.text:focus { background-color: #DCDCDC; }

/* Header Properties */

.header {
	position: fixed;
	top: 0;
	left: 15%;
	right: 15%;
	width: 70%;
	text-align: left;
}

.header h2 {
	font: bold xx-large "Courier New";
	color: #fff;
	background-color: #000;
	margin: 0;
	padding: .3em;
}

.header div {
	padding: .5em;
	background-color: #fff;
	padding-right: 0;
	text-align: right;
}

.header div a {
	font-size: 10pt;
	color: green;
	padding: 2em;
	padding-right: 0;
}

/* Information Tag; Version, Copyright, etc. */

div.tagInfo {
	text-align: right;
	margin: auto;
	margin-top: 1em;
	width: 71%;
	border-top: 1px solid #DCDCDC;
	cursor: default;
}

.tagInfo p {
	font: normal 9pt "Courier New";
	margin: 0;
	padding: 0;
	padding-top: 5px;
	color: #DCDCDC;
}

.tagInfo a {
	color: #A9A9A9;
	font-weight: normal;
	text-decoration: none;
	background-color: #fff;
}

/* Alternate content for Internet Explorer (all versions) */

div.alternate {display: none;}
div.alternate a {color: green;}