/* GENERAL STYLES 
************************************************************/
body 
{
    font-family: Verdana,Geneva,Arial,Helvetica,sans-serif;
    font-size: 12px;
}

h1, 
h2, 
h3, 
h4, 
h5, 
h6,
.ui-accordion-header
{
    color: #990100;
}

/* / GENERAL STYLES 
************************************************************/

.resetQuiz {
    min-height: 25px;
    min-width: 16px;
    background: transparent url("../images/Refresh.png") 0px 0px no-repeat;
    cursor: pointer;
}
    .resetQuiz:after {
        content: "Reset";
        display: inline-block;
        margin-left: 20px;
        color: #777777;
    }

.show {
    display: block;
}

.hide {
    display: none;
}

.printOnly 
{
	display: none;
}

/* ACCORIDON STYLES 
************************************************************/

.ui-accordion-header
{
    font-size: 18px; /* default h2 size = 1.5em/24px */
    font-weight: bold;
}

/* / ACCORIDON STYLES 
************************************************************/


/* QUIZ STYLES 
************************************************************/

#cdQuiz p, #cdQuiz  {
	margin:0;
	padding:0;
	color: #000;
}
#cdQuiz 
{
	/* width:600px; - don't spec: set by frame */
    /*width: 575px; *//* Total frame width: 875; #sideBar takes rest*/
	width:100%;
}
	#cdQuiz .answers {
	    list-style-type: lower-alpha;
	}
		#cdQuiz .q {
			font-weight:bold;
            margin-top: 15px;
		}        
		#cdQuiz .aSubTitle {
			font-weight:bold;
            margin: 10px 0px 2px 25px;
            color: #555;
		}

	#cdQuiz .qa 
	{
		padding-bottom:10px;
	}
		.unanswered, .answered {
		}
			#cdQuiz .answers li {
				cursor: pointer;
				padding: 2px 0 2px 25px;
				background-color: #FFF;
			}
				#cdQuiz .answers li:hover , .incorrect:focus, .correct:focus {
					background-color: #EEE;
					cursor:pointer;
				}
            #cdQuiz .answers .a {
                margin: 5px 0px 0px;    
                /* cursor: pointer - doesn't work here - must be in label and input (below) */           
            }
                #cdQuiz .answers .a:hover {
                    color: #990100;
                }
                /* indents multi-line label 
                    See: http://stackoverflow.com/questions/7076890/indenting-multiline-labels */
                #cdQuiz .answers .a input[type="checkbox"] {
                    display: inline-block;
                     margin-right: -100px;
                    /* The 2 below properties are just for "correct" vertical placement of the button. */
                    margin-top: 3px;
                    vertical-align: top;
                    cursor: pointer;
                }
                #cdQuiz .answers .a label {
                    display: inline-block;
                    margin-left: 100px;
                    margin-right: -100px;
                    cursor: pointer;
                }

	#cdQuiz strong {
		font-weight:bold;
	}

.wronganswer {
	text-decoration:line-through;
}
.correctanswer {
	color:#0F0;
}
.realanswer {
	color:#F00;
}
.hidden {
	display:none;
}
.explanation {

}
	#cdQuiz .explanation p {
	    margin-bottom: 8px;
	}
		.explanation p:first-child {			
		}
.rightbox, .wrongbox {
	padding:15px !important;
	margin-top: 10px !important;
}
.rightbox {
	background-color: #CFC;
	border: 3px solid #52FF52;
}
	.rightbox a {
		color: #808066;
	}
.wrongbox {
	background-color:#F0B0A9;
	border: 3px solid #A20000;
}
	.wrongbox a {
		color: #825C58;
	}
/* div surrounding the final score box */
#cdQuizremarks 
{
    display: none;
}
/* The final score box (a <p> elem) */
#cdQuiztotal {
	font-weight:bold;
	font-size: 18px ;
	padding: 10px;
	border: 1px solid #000;
	text-align:center;
	margin: 15px 0 10px 0;
	color: #3989C9;
	border-color: #3989C9;
}

#sideBar {
    /*position: absolute;
    right: 20px; 
    top: 0px;
    width: 245px;*/
	margin-top:1em;
    padding: 7px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
    #sideBar h3 {
        margin-top: 0px;
    }
    #sideBar ul {
        padding-left: 20px;
        margin: 0px;
        color: #777;
    }
        #sideBar li {
            margin-bottom: 5px;
        }
     #sideBar p {
        color: #777;
    }

/* / QUIZ STYLES 
************************************************************/


/* PRINT STYLES 
************************************************************/
@media print 
{
	.printOnly 
	{
		display: block;
	}
    #headerFinishPrint {
        display: none;
    }
	body, body *, #page, #cdQuiz, .s, .section, .answers, .qa, .q
	{ 	
		overflow: visible !important;
	}
	body 
	{
		width: 6.5in;
		margin: 0.25in auto;
		padding: 0in;
	}
    #cdQuiz, #cdQuiz * {
        border: 0px;
    }
	#cdQuiz 
	{
		width: auto;
		min-height: 0px;
		margin: 0px;
		padding: 0px;
		background-image: none;
	}
	.s, .section, .qa, .q, .answers, .a
	{
		padding-left: 0px !important;
        margin-left: 0px !important;
	}
    .s {
        background: none;
    }
	.q  
	{
		float: none; 
		width: auto; 
		margin: 0px; 
	}
	#cdQuiz .section {
		display: block !important;
	}
	#cdQuiz .section * 
	{
		font-size: 90% !important;
	}
	#recommendations 
	{
		clear: both;
		margin-left: 0px;
	}
	#dFinish, .hFinish, .resetQuiz, .ui-icon-triangle-1-e
	{
		display: none !important;
        position: absolute;
        left: -10000px;
	}
} 
/* / PRINT STYLES 
************************************************************/

.section-image {
	margin: -1em -2.2em 1em -2.2em;
	width:calc(100% + 4.4em);
}