
div#exam{
	display:inline-block;
	max-width: 800px;
}

#exam h1 {
	text-align:center;
	font-family:sans-serif;
	font-size: 24px;
	font-weight: bold;
	color:blue;
	white-space:nowrap;
}

#exam p {
	margin: 10px auto;
	text-align:left;
	padding: 5px 40px;
}

#exam input.readonly{
	border:none !important;
	font-family:sans-serif;
	font-size:16px;
}

#exam p.important {
	color:red;
	font-weight: bold;
}

#exam #license {
	width: 800px;
	height: 400px;
	margin: 20px;
	overflow: scroll;
	font-family: monospace;
    white-space: pre-wrap;
	border: 1px solid black;
}

#exam .button {
	margin: 10px 20px;
}

#exam #answers {
	border-top: 1px solid black;
	padding-top: 20px;
}

#exam #answers a{
	text-decoration: none;
	color:blue;
}

#exam #answers table{
	width: 100%;
}

#exam #answers td{
	vertical-align: top;
}
#exam #answers table table tr td:first-child{
	text-align:right;
	margin-right:5px;
}

#exam table#answers table table tr td:nth-child(2){
	margin-right:15px;
}

#exam #question_header {
	width:100%;
	margin: 5px 0px 10px 0px;
	border-bottom: 1px solid black;
}

#exam #question_header td:first-child {
	font-size: 12px;
	text-align:left;
	padding-right:20px;

}
#exam #question_header td:nth-child(2) {
	text-align:center;
	font-size: 18px;
	color:blue;
}
#exam #question_header td:nth-child(3) {
	font-size: 12px;
	text-align: right;
	padding-left:20px;
}

#exam #question_text {
	font-size:18px;
	text-align:left;
	margin-top: 20px;
}

#exam #question_answers{
	margin: 20px 0;
}

#exam #question_answers tr td {
	padding-top: 10px;
}
#exam #question_answers td:first-child{
	text-align:right;
	vertical-align:top;
	padding-right:10px;
	white-space:nowrap;
}

#exam #summary {
	width:100%;
	min-width: 800px;
	border-top: 1px solid black;
}
#exam #summary td:first-child{
	text-align:left;
	vertical-align:top;
}
#exam #summary td:nth-child(2){
	text-align:center;
	vertical-align:top;
}
#exam #summary td:nth-child(3){
	text-align:right;
	vertical-align:top;
}

#exam #summary_stats {
	border: 1px solid black;
	margin: 0px 0px 0px auto;
}
#exam #summary_stats td {
	margin: 0;
	padding: 0;
}
#exam #summary_stats td{
	text-align:right;
	padding-right: 5px;
}

#exam #dog_wrapper {
	margin-bottom:10px;
}

#exam #complete_test {
	color:red;
	font-weight: bold;
}

#exam #review_msg {
	text-align:left;
	color:red;
}
