@charset "UTF-8";
/* CSS Document
   (c) Ivimeds 2011 */

html {
	-webkit-text-size-adjust: none; /* Prevent font scaling in landscape */
	-webkit-tap-highlight-color: rgba(0,170,255,0.4);
}

body {
	font-size:12px;
	margin: 0;
	padding: 0;
	font-family:Helvetica, Arial, sans-serif;
	color:#555;
}

p, h1, h2, h3, h4, h5, h6 {
	margin:0;
	padding:0;
}

.skip-link {
	display: none;
}


/*============================== HEADER STYLING ========================= */

header {
	display: inline-block;
	margin:0;
	padding:0;
	width:100%;
	background: -webkit-gradient(linear, left top, left bottom, from(#222), to(#555));
	-webkit-box-shadow: 0px 3px 10px rgba(0,0,0,0.4);
}

#title {
	padding: 0 5px;
	display:-webkit-box;
	-webkit-box-orient:horizontal;
	-webkit-box-align:center;
	-webkit-box-pack:left;
}

#title h1 { /* package title */
	color: #fff;
	margin:0;
	padding:0;
	letter-spacing:-1px;
	line-height:1.1em;
	text-shadow: 0 -1px 0 #000;
	font-weight: bold;
}

#logo {
	float:right;
	display:-webkit-box;
	-webkit-box-orient:horizontal;
	-webkit-box-pack:center;
	-webkit-box-align:center;
}

#subtitle {
	display: block;
	width:100%;
	padding:0;
	margin:0;
	clear:both;
	background-color:#666;
	border-top:solid 1px #fff;
	-webkit-box-shadow: inset 0px 3px 3px rgba(0,0,0,0.4);
}

#subtitle h2 { /* chapter title */
	color:#fff;
}

#subheader h3 { /* page title */
	display: block;
	color:#007bc1;
	font-size:1.25em;
}

/*============================== CONTENT STYLING ========================= */


.image, .audio, .flash, .video { /* media element containers */
	display: block;
	background-color:#ddd;
	border-radius:4px;
	padding:10px;
	border:1px solid #aaa;
	margin-bottom:10px;
	max-width:100%;
}

.mcq, .open-question, .teachers-comment, .references, .attachment { /* non-media element containers */
	background-color:#ddd;
	border-radius:4px;
	padding:5px;
	border:1px solid #aaa;
	margin-bottom:10px;
}

.text { /* pure text element container */
	margin-bottom:10px;
}

.vp {
	display: none;
}

.teachers-comment h6, .open-question h6, .mcq h6, .attachment h6, .references h6 { /* element titles */
	display:block;
	font-weight:bold;
	font-size: 1em;
	color:#007bc1;
	margin: 6px 24px;
	padding:0;
}

.teachers-comment, .open-question , .mcq, .references, .attachment { /* preparation for element icons */
	background-repeat: no-repeat;
	background-position: 3px 6px;
}

.teachers-comment {
	background-image: url(img/teachersCommentIcon.png);
}

.open-question {
	background-image: url(img/openQuestionIcon.png);
}

.mcq {
	background-image: url(img/mcqIcon.png);
}

.references {
	background-image: url(img/referenceIcon.png);
}

.attachment {
	background-image: url(img/attachmentIcon.png);
}

figure { 
	margin: 0
}

figcaption {
	width: 100%;
}

figure>*:first-child { /* img, video, object or audio */
	max-width:100%;
	-webkit-box-shadow: 0px 3px 4px rgba(0,0,0,0.4);
}

.flash object * { /* scale flash fallback image */
	max-width: 100%;
}

.audio figure { /* scale audio figure */
	width: 100%;
}

.audio audio { /* scale audio player */
	width: 100%;
	height: 32px;
}

.mcq .feedback-available, .open-question .feedback-available { /* individual and overall feedbacks */
	font-weight: normal;
	margin:5px 0 0 0;
	padding:5px;
	min-height: 15px;
	background-color:rgba(255,255,255,0.5);
	border: solid 1px #ccc;
	border-radius:4px;
}

.mcq ol {
	list-style-position: outside;
	padding: 0 0 0 24px;
	margin: 5px 0;
}

.mcq li {
	padding: 8px 0 8px 0;
	margin: 8px 0 0 0;
	font-weight: bold;
}

.mcq li input, .mcq li label {
	display: block;
	margin-left: 36px; /* add space for custom input graphic */
}

.mcq li .feedback-available { /* individual feedbacks only */
	position:relative;
	top: 8px;
	padding-left: 34px;
	-webkit-box-orient:horizontal;
	-webkit-box-align:center;
	-webkit-box-pack:center;
}

.mcq .question, .open-question .question, .teachers-comment div { /* mcq and oq questions */
	margin: 0 0 0 24px;
	padding: 0;
}

.mcq input, .open-question input {
	margin: 5px 0 0 0;
}

.open-question textarea {
	display:block;
	box-sizing: border-box;
	-webkit-box-sizing:border-box;
	width: 100%;
	height: 100px;
	background-color:#fff;
	border:1px solid #aaa;
	margin: 5px 0 0 0;
	font-family:Helvetica, Arial, sans-serif;
}

.open-question textarea:disabled {
	opacity: 0.5;
	border:1px solid #aaa;
}

.feedback-unavailable { /* Hidden feedback */
	display: none;
}

.submit-unavailable { /* Hidden question submit button */
	display: none;
}

div.correct { /* Correct MCQ response (appended to feedback-available) */
	background-image: url('img/green_tick.png');
	background-position: 8px 50%;
	background-repeat: no-repeat;
}

div.incorrect { /* Incorrect MCQ response (appended to feedback-available) */
	background-image: url('img/red_cross.png');
	background-position: 8px 50%;
	background-repeat: no-repeat;
}

.attachment div { /* minimum height to fit in preceding button */
	min-height: 30px;
}

.download {
	float:left;
	margin:0 10px 0 0;
	text-align:center;
	text-decoration:none;
	padding:7px 0 0 0;
	border-radius:5px;
	border:1px solid #000;
	display:block;
	color:#fff;
	font-weight:bold;
	text-shadow:#000 0 -1px 1px;
	width:80px;
	height:20px;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(160,160,160,1)), color-stop(48%,rgba(90,90,90,1)), color-stop(52%,rgba(60,60,60,1)), color-stop(100%,rgba(30,30,30,1)));
}

.references ol {
	list-style-position: outside;
	padding: 0 0 0 24px;
	margin: 5px 0 0 0;
}

.references li {
	font-weight:bold;
	padding:5px;
	margin:8px 0 0 0;
}

.no-flash, .no-video, .no-audio, .no-flash *, .no-video *, .no-audio * { /* fallback wrappers and content */
	max-width:100%;
	height:auto;
	display:block;
	margin: 0;
}

.no-vp {
	display:none;
}

/*============================== INPUT STYLING ========================= */

input[type="checkbox"], input[type="radio"] { /* conceal default components */
    position:absolute;
    clip: rect(0,0,0,0);
}

input[type="checkbox"]+label:before { /* add checkbox graphic */
    content: url('img/checkbox.png');
    position: absolute;
	margin-left: -42px;
	margin-top: -14px;
	background: url('img/checkbox_selected.png') no-repeat -999px 0; /* preload checked state */
}

input[type="radio"]+label:before { /* add radio graphic */
    content: url('img/radioButton.png');
    position: absolute;
	margin-left: -42px;
	margin-top: -14px;
	background: url('img/radioButton_selected.png') no-repeat -999px 0; /* preload checked state */
}

input[type="checkbox"]:checked+label:before {
    content: url('img/checkbox_selected.png');
}

input[type="radio"]:checked+label:before {
    content: url('img/radioButton_selected.png');
}

input[type="button"] {
	color:#fff;
	font-weight:bold;
	text-shadow:#000 0 -1px 1px;
	width:80px;
	height:30px;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(160,160,160,1)), color-stop(48%,rgba(90,90,90,1)), color-stop(52%,rgba(60,60,60,1)), color-stop(100%,rgba(30,30,30,1)));
}

input[type="button"]:disabled {
	opacity: 0.5;	
}

input[type="checkbox"]:disabled+label:before , input[type="radio"]:disabled+label:before {
	opacity: 0.5;
}


/* ============= CUSTOM TEXT STYLE FROM CONTENT PACKAGE =============== */

.text-underline {
	text-decoration: underline;
}

.text-centre {
	text-align: center;
}

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

.text-justify {
	text-align: justify;
}

.text-smaller-x5 {
	font-size: 0.62em;
}

.text-custom-colour-1 {
	color: #0B333C;
}

section {
	font-size: 13px;
	color: #000000;
}

span * {
	font-size: inherit;
}

header {
	background-color: #808080;
	color:#ffffff;
}


