/**********
 * Main Template
 */
html, body {
	height: 100%;
}

body {
	margin: 0;
	background: #FFF url(../images/bg.png) top left repeat-x;
	font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 150%;
}

a {
	color: #FFDD00;
}
a.quiz-link {
	color: #FF6600;
}

textarea {
	width: 400px;
	height: 100px;
}

label {
	display: block;
}

h1 {
	font-size: 24px;
	line-height: 36px;
	color: #FFFFFF;
	font-weight: bold;
}

h2 {
	font-size: 20px;
	line-height: 200%;
	color: #FFF;
	font-weight: bold;
}

p {
	margin-bottom: 10px;
}

#container {
	margin: 0 auto;
	width: 960px;
}

#header {
	margin-bottom: 10px;
	overflow: hidden;
}

#toolbar {
	height: 40px;
	margin-bottom: 20px;
}

#logo {
	margin-left: 30px;
	float: left;
	width: 304px;
	height: 52px;
	background: url(../images/uhpp-logo.png) top left no-repeat;
	text-indent: -9999px;
}

#footer {
	clear: both;
	margin-top: 20px;
	text-align: center;
}
#footer ul li {
	float: left;
	margin-left: 10px;
	padding-right: 10px;
	border-right: 1px solid #000000;
	line-height: 2em;
}
#footer ul li.last {
	float: left;
	padding-right: 0;
	border-right: none;
}
#footer ul li a {
	color: #007161;
	text-decoration: none;
}
#footer ul li a:hover {
	text-decoration: underline;
}

/**********
 * Menu
 */
.menu {
	float: right;
	margin: 25px 0 0 0;
	padding: 0;
	list-style-type: none;
	white-space: nowrap;
}
.menu li {
	display: inline;
	padding: 0;
	overflow: hidden;
}
.menu li a {
	float: left;
	padding: 0 10px 0 0;
	height: 40px;
	font-weight: bold;
	text-decoration: none;
	color: #006622;
	background: url(../images/header-button-right.png) top right no-repeat;
}

.menu li a span {
	display: block;
	line-height: 24px;
	padding: 8px 10px 8px 20px;
	background: url(../images/header-button-left.png) top left no-repeat;
}

.menu li a:hover {
	background-position: bottom right;
}

.menu li a:hover span {
	background-position: bottom left;
}

/**********
 * Home Page
 */
#welcome, #aboutus {
	margin: 30px 0 40px 10px;
	padding: 0;
	width: 940px;
	color: #FFF;
	background: #007161 url(../images/stock/welcome.png) 0 0 no-repeat;
}

#welcome .top, #aboutus .top {
	position: relative;
	top: -10px;
	left: -10px;
	margin: 0;
	padding: 0;
	width: 960px;
	height: 20px;
	background: url(../images/box-960-top.png) top left no-repeat;
}

#welcome .middle, #aboutus .middle {
	position: relative;
	top: -10px;
	left: -10px;
	margin: 0 0 -20px 0;
	width: 450px;
	padding: 0 20px 20px 490px;
	background: url(../images/box-960-middle.png) top left repeat-y;
}

#welcome .bottom, #aboutus .bottom {
	position: relative;
	left: -10px;
	bottom: -10px;
	margin: 0;
	padding: 0;
	width: 960px;
	height: 20px;
	background: url(../images/box-960-bottom.png) bottom left no-repeat;
}

#aboutus {
	background: #007161 url(../images/stock/about.png) 0 0 no-repeat;
}

#choices .middle, #history .middle {
	width: 220px;
	min-height: 400px;
}

#choices {
	float: left;
	margin: 10px 50px 20px 10px;
	padding: 0;
	width: 440px;
	color: #FFF;
	background: #005DAB url(../images/stock/choices_0.png) 0 0 no-repeat;
}

#choices .top {
	position: relative;
	top: -10px;
	left: -10px;
	margin: 0;
	padding: 0;
	width: 460px;
	height: 20px;
	background: url(../images/box-460-top.png) top left no-repeat;
}

#choices .middle {
	position: relative;
	top: -10px;
	left: -10px;
	margin: 0 0 -20px 0;
	padding: 0 20px 0 220px;
	background: url(../images/box-460-middle.png) top left repeat-y;
}

#choices .bottom {
	position: relative;
	left: -10px;
	bottom: -10px;
	margin: 0;
	padding: 0;
	width: 460px;
	height: 20px;
	background: url(../images/box-460-bottom.png) bottom left no-repeat;
}

#history {
	float: left;
	margin: 10px 0 20px 10px;
	padding: 0;
	width: 440px;
	color: #FFF;
	background: #7c4199 url(../images/stock/history_0.png) 0 0 no-repeat;
}

#history .top {
	position: relative;
	top: -10px;
	left: -10px;
	margin: 0;
	padding: 0;
	width: 460px;
	height: 20px;
	background: url(../images/box-460-top.png) top left no-repeat;
}

#history .middle {
	position: relative;
	top: -10px;
	left: -10px;
	margin: 0 0 -20px 0;
	padding: 0 20px 0 220px;
	background: url(../images/box-460-middle.png) top left repeat-y;
}

#history .bottom {
	position: relative;
	left: -10px;
	bottom: -10px;
	margin: 0;
	padding: 0;
	width: 460px;
	height: 20px;
	background: url(../images/box-460-bottom.png) bottom left no-repeat;
}

#quizzes {
	overflow: visible;
}

/**********
 * Quizzes
 */
#quiz #choices, #quiz #history {
	margin: 10px 10px 30px 10px;
	padding: 0;
	width: 940px;
}

#quiz #choices .top, #quiz #history .top {
	position: relative;
	top: -10px;
	left: -10px;
	margin: 0;
	padding: 0;
	width: 960px;
	height: 20px;
	background: url(../images/box-960-top.png) top left no-repeat;
}

#quiz #choices .middle, #quiz #history .middle {
	position: relative;
	top: -10px;
	left: -10px;
	width: 740px;
	margin: 0 0 -40px 0;
	padding: 0 10px 0 210px;
	background: url(../images/box-960-middle.png) top left repeat-y;
}

#quiz #choices .bottom, #quiz #history .bottom {
	position: relative;
	left: -10px;
	bottom: -10px;
	margin: 0;
	padding: 0 0 20px 0;
	width: 960px;
	height: 20px;
	background: url(../images/box-960-bottom.png) bottom left no-repeat;
}

#quiz .description {
	padding: 10px 20px 0 20px;
}

#quiz #choices #questions, #quiz #history #questions {
	clear: both;
}

#quiz #choices #questions .question, #quiz #history #questions .question {
	margin: 0;
	padding: 10px 20px;
	border-bottom: 1px solid #FFF;
}

#quiz .question p {
	margin-bottom: 20px;
	font-size: 14px;
	font-weight: bold;
}

#quiz .question .answers {
	margin: 0 0 20px 0;
	padding: 0;
}

#quiz .question .answer-button {
	margin: 0 0 20px 0;
}

#quiz .question .answer-description {
	margin: 0 0 20px 0;
	padding: 0;
}

#quiz .checkbox {
	display: inline;
	padding: 14px 0 11px 50px;
	background: url(../images/checkbox-sprite.png) 0 0 no-repeat scroll;
	line-height: 40px;
	cursor: pointer;
}

#quiz .checkbox.hover {
	background-position: 0 -126px;
}

#quiz .checkbox.checked {
	background-position: 0 -42px;
}

#quiz .checkbox.incorrect {
	background-position: 0 -210px;
}

#quiz .audio-commentary {
	float: right;
	padding: 0 10px;
}

#quiz .audio-commentary .description {
	margin: 0;
	padding: 0 0 5px 0;
	font-size: .9em;
	text-align: center;
}

/**********
 * Quizzes - Choices
 */
#quiz #choices {
	background: #005DAB url(../images/stock/choices_0.png) 0 0 no-repeat;
}

#quiz #choices #categories-menu {
	padding: 12px 0 0 20px;
	height: 50px;
	background: #5e99ca;
	font-size: 11px;
	font-weight: bold;
}

#quiz #choices #categories {
	background: #C6DBEC;
	margin-bottom: 10px;
	padding: 30px;
}

#quiz #choices .category {
	display: block;
	margin-bottom: 20px;
	height: 60px;
	padding-right: 10px;
	background: url(../images/blue/button-large-right.png) 100% -120px no-repeat;
	font-size: 16px;
	font-weight: bold;
	color: #FFF;
	text-decoration: none;
	overflow: hidden;
}

#quiz #choices .category span {
	display: block;
	padding: 10px 0 10px 10px;
	background: url(../images/blue/button-large-left.png) 0 -120px no-repeat;
	line-height: 40px;
}

#quiz #choices .category:hover {
	background-position: 100% -180px;
}

#quiz #choices .category:hover span {
	background-position: 0 -180px;
}

#quiz #choices #questions {
	background: #C6DBEC;
	color: #005DAB;
}

#quiz #choices #questions .question p {
	margin: 0 0 10px 0;
	padding: 0;
}

#quiz #choices #questions .options {
	margin-bottom: 20px;
}

/**********
 * Quizzes - History
 */
#quiz #history {
	background: #7c4199 url(../images/stock/history_0.png) 0 0 no-repeat;
}

#quiz #history #questions-menu {
	padding: 12px 0 0 20px;
	height: 50px;
	background: #ac87bf;
	font-size: 11px;
	font-weight: bold;
}

#quiz #history #questions {
	color: #7C4199;
}

#quiz #history .question {
	overflow: auto;
	margin: 0 20px 20px 0;
	padding: 20px;
	background: #AC87BF;
	background: #E2D5E8;
}

/**********
 * Survey
 */
.survey-question {
	margin-bottom: 20px;
}
.survey-question .question {
	margin-bottom: 0;
	font-weight: bold;
}

/**********
 * Stories
 */
.stories .audiocommentary {
	clear: both;
	padding-top: 20px;
	overflow: visible;
}
.stories .audiocommentary .description {
	float: left;
	width: 250px;
	padding-right: 10px;
}

/**********
 * Buttons
 */
a.button {
	float: left;
	padding-right: 4px;
	background-image: url(../images/white/button-right.png);
	background-position: 100% -120px;
	background-repeat: no-repeat;
	text-decoration: none;
}

a.button span {
	display: block;
	padding: 10px 10px 12px 12px;
	background-image: url(../images/white/button-left.png);
	background-position: 0 -120px;
	background-repeat: no-repeat;
	font-size: 14px;
	font-weight: bold;
	line-height: 18px;
	cursor: pointer;
}

a.button:hover {
	background-position: 100% -160px;
	color: #FFF;
}

a.button:hover span {
	background-position: 0 -160px;
}

a.button.next {
	float: right;
	margin-right: 10px;
}
a.button.next span {
	
}

/*****
 * white key:
 *  10%: E2E2E2
 *  20%: C6C6C6
 *  30%: ABABAB
 *  40%: 909090
 *  50%: 777777
 *  60%: 5E5E5E
 *  70%: 464646
 *  80%: 303030
 *  90%: 1B1B1B
 * 100%: 000000
 */
a.disabled {
	background-position: 100% -160px;
}

a.disabled span {
	background-position: 0 -160px;
	color: #909090;
}

/*****
 * blue key:
 *  10%: E2EDF5
 *  20%: C6DBEC
 *  30%: ABCAE3
 *  40%: 90BADA
 *  50%: 77A9D2
 *  60%: 5E99CA
 *  70%: 4689C2
 *  80%: 307BBB
 *  90%: 1B6EB4
 * 100%: 005DAB
 */
a.blue {
	background-image: url(../images/blue/button-right.png);
	color: #005DAB;
}

a.blue span {
	background-image: url(../images/blue/button-left.png);
}

a.blue.disabled {
	background-position: 100% -160px;
}

a.blue.disabled span {
	background-position: 0 -160px;
	color: #90BADA;
}

/*****
 * purple key:
 *  10%: F0E9F3
 *  20%: E2D5E8
 *  30%: D4C0DD
 *  40%: C6ACD3
 *  50%: B99AC9
 *  60%: AC87BF
 *  70%: A075B5
 *  80%: 9565AC
 *  90%: 8A55A4
 * 100%: 7C4199
 */
a.purple {
	background-image: url(../images/purple/button-right.png);
	color: #7C4199;
}

a.purple span {
	background-image: url(../images/purple/button-left.png);
}

a.purple.disabled {
	background-position: 100% -160px;
}

a.purple.disabled span {
	background-position: 0 -160px;
	color: #C6ACD3;
}

/**********
 * Sortable
 */
.placeholder {
	height: 10px;
	line-height: 10px;
	background: #FF9900;
}

/**********
 * Utility
 */
.clear {
	clear: both;
	overflow: hidden;
}

.centered-list-container {
	width: 100%;	
}
.centered-list-container ul {
	position: relative;
	float: right;
	right: 50%;
}
.centered-list-container ul li {
	position: relative;
	float: left;
	left: 50%;
}

.centered {
	width: 100%;
}
.centered ul {
	width: 100%;
}
.centered ul li {
	float: left;
	position: relative;
	left: 50%;
}
.centered ul li a {
	position: relative;
	left: -50%;
}

.hide {
	display: none;
}
