/*------------------------------------------------------------------

Brainspark - ClearSpring Widget /  Global CSS

FB Author:  Steffen Kammerer	<skammerer [at] solutionset.com>

Methods: 		RULES ORGANISATION WITHIN CSS FILES
				Should mirror the html document flow:
				General
					Container
						Header
							Nav
						Body
							Layout Setup
								Modules
						Footer
					Hacks
					(other) 


/* GENERAL RULES
--------------------------------------------------------------------*/

#canvas * {
	font-family: Verdana, Geneva, sans-serif;
	font-size: 11px;
	text-align: left;
	color: #000;
}

 /* Global Link Settings
--------------------------------*/
#canvas a,#canvas  a:visited {
	text-decoration:  none;
	color:  #009eff;
}
#canvas a:visited {
	text-decoration:  none;
}
#canvas a:hover, #canvas a:active {
	text-decoration:  underline !important;
	cursor:  pointer;
	border: none;
}
#canvas a:focus {
	outline:  none;
}
#canvas a.go,
#canvas a.go:hover {
	background: #fff url(http://www.brainsparklearning.com/projects/clearspring-widget/i/go.gif) no-repeat 100% 50% !important;
	padding-right: 11px !important;
	line-height: inherit;
	display: inline;
}
#canvas a.result-link,#canvas  a.result-link:visited {
        text-decoration:  underline;
        color:  #fff;
}
#canvas a.result-link:visited {
        text-decoration:  underline;
}
#canvas a.result-link:hover, #canvas a.result-link:active {
        text-decoration:  underline !important;
        cursor:  pointer;
        border: none;
}
#canvas a.result-link:focus {
        outline:  none;
}


 /* General Elements
--------------------------------*/
#canvas img {
	display:  block; 
	border:  0;
	vertical-align:  middle;
}
#canvas h1, #canvas h2, #canvas h3,
#canvas h1 span, #canvas h2 span, #canvas h3 span {
	color:  #1f98ad !important;
	margin-bottom:  5px;
	font-family: Verdana, Geneva, sans-serif;
	font-weight: bold;
}
#canvas h1 {
	font-size: 22px;
	margin-bottom:  2px;
}
#canvas h2 {
	font-size: 14px;
	margin-bottom:  1px;
}
#canvas label {
	font-weight: normal;
	vertical-align:middle;
	color: #000;
	margin-top: 2px;
	margin-left: 4px;
}
#canvas center {
	text-align: center;
}

/* counter */
#canvas h1 span {
	font-size: 22px;
}

/* lists */
#canvas ul {
	margin: 0;
	list-style-type: none;
	padding: 0;
}
#canvas ul li {
	background: none;
	padding: 0;
}
#canvas ul.bullets {
	margin: 0 0 0 15px;
	list-style-type: disc;
	_margin: 0;
}
#canvas ul.bullets li {
	list-style-type: disc;
	margin: 0;
	display: list-item;
	_list-style-position: inside;
	_vertical-align: top;
}

/* Good to have global classes
--------------------------------*/
#canvas .floatright {
	float:  right;
	display:  inline; /*to avoid IE double margin bug*/
}
#canvas .floatleft {
	float:  left;
	display:  inline; /*to avoid IE double margin bug*/
}
#canvas .alignright {
	text-align: right;
}

#canvas .hidden {
	display:  none !important;
	margin: 0;
}
#canvas .large {
	font-size:  110%;
}
#canvas .small {
	font-size:  90%;
}
#canvas .inline {
	display:  inline;
}
#canvas .subtle {
	color: #666;
}
#canvas .mask {
	text-indent:  -9999px;
}
#canvas .break {
	border-top: 1px dashed #e0e0e0;
	padding-top: 5px;
	margin-top: 5px;
}
#canvas .padBottom {
	padding-bottom: 10px;
}
#canvas .block {
	display:block;
}

/* Form settings
--------------------------------*/
#canvas form input {
	border: none;
}
#canvas form input.text {
	width: 300px; 
	border: 1px solid #ccc;
	margin: 6px 0;
	padding: 1px 3px;
}

/* Canvas Settings
--------------------------------*/
#canvas {
	padding: 254px 0 10px 0;
	width: 402px;
	background: #fff url(http://www.brainsparklearning.com/projects/clearspring-widget/i/app_top.png) no-repeat 0 0;
	filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=crop, src='http://www.brainsparklearning.com/projects/clearspring-widget/i/app_top.png');
	*background: none;
}
#canvas #main {
	background: #fff url(http://www.brainsparklearning.com/projects/clearspring-widget/i/canvas_btm.gif) no-repeat 0 100%;
}
#canvas #main #wrapper {
	padding: 10px 10px 0px;
}
#canvas #content {
	width: 382px;
/*	overflow-y: auto;
	height: 300px;*/
}


/* Button
----------------------------------------------------------------------*/
#canvas a.button {
	display: inline-block;
	width: 107px;
	height: 25px;
	padding: 5px 25px 0 0;
	text-align: right;
	font-size: 10px;
	background: url(http://www.brainsparklearning.com/projects/clearspring-widget/i/button.gif) no-repeat 0 0;
}

/* buttonSet */
#canvas div#buttonSet {
	margin-bottom: 0;
	margin-top:-30px;
	position:relative;
	display: none;
}
#canvas div#buttonSet a.button {
	margin-right: 5px;
}

/* start button */
#canvas a#start {
	display: block;
	width: 91px;
	height: 25px;
	padding: 5px 25px 0 5px;
	font-size: 13px;
	color: #f18817;
	font-weight: bold;
	background: url(http://www.brainsparklearning.com/projects/clearspring-widget/i/start_btn.png) no-repeat 0 0;
	filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=crop, src='http://www.brainsparklearning.com/projects/clearspring-widget/i/start_btn.png');
	*background: none;
	font-family:Arial, Helvetica, sans-serif;
	position: absolute;
	margin-top: -87px;
	margin-left: 298px;
	text-align: left;
}

/* Box
----------------------------------------------------------------------*/
#canvas div.box {
	background: url(http://www.brainsparklearning.com/projects/clearspring-widget/i/box.gif) no-repeat 0 0;
	padding: 15px 0 0 0 !important;
	margin-bottom: 5px;
	border: none;
	display: inline-block;
	width: 382px;
}
#canvas div.box div.wrapper {
	background: #fff url(http://www.brainsparklearning.com/projects/clearspring-widget/i/box.gif) no-repeat 0 100%;
	padding: 0 15px 15px 15px;
}

/* div.box - quiz */
#canvas div.box.quiz ul {
	margin-top: 6px;
}
#canvas div.box.quiz ul li {
	margin:  0 0 5px 0;
	padding: 2px 0 0 0;
	line-height: 15px;
}
#canvas div.box.quiz ul li input {
	float: left;
	display: inline;
	margin-top: 0;
}
#canvas div.box.quiz ul li label {
	margin-top: 2px;
	margin-left: 4px;
}

/* div.box - clear */
#canvas div.box.clear {
	background: none;
	margin: 0 10px 5px 10px;
	padding: 0;
	width: 362px;
}
#canvas div.box.clear div.wrapper {
	background: none;
	padding: 0 5px;
}

/* div.box -> reponses */
#canvas div.box.clear.responses p {
	color:  #1f98ad;
	font-weight: bold;
	margin-top: 2px;
}
#canvas div.box.clear.responses p span {
	padding: 2px 4px;
	border: 1px solid #e0e0e0;
	color:  #1f98ad;
}
#canvas div.box.clear.responses ol {
	margin: 0;
	padding: 0 0 0 23px;
	zoom: 1;
}
#canvas div.box.clear.responses ol li {
	margin-bottom: 7px;
	vertical-align: top;
	display: list-item;
}
#canvas div.box.clear.responses ol li a {
	float: right;
	display: inline;
	margin-left: 5px;
	font-size: 10px;
}
#canvas div.box.clear.responses ol li div {
	display: inline;
	vertical-align: text-top;
}
#canvas div.box.clear.responses ol li div.editting,
#canvas div.box.clear.responses ol li div.editting * {
	opacity: 0.5;
	filter: alpha(opacity=50);
}
#canvas div.box.clear.responses ol li em {
	font-style: normal;
}
#canvas div.box.clear.responses ol li span {
	font-weight: bold;
	padding: 2px 4px;
	border: 1px solid #e0e0e0;
	margin: 2px;
	vertical-align: middle;
}

/* box.box -> results */
#canvas .results div.box table {
	border-collapse: collapse;
	background: #fff url(http://www.brainsparklearning.com/projects/clearspring-widget/i/results_bg.gif) bottom left repeat-x;
	margin: 5px 0;
}
#canvas .results div.box table thead td {
	font-weight: bold;
	color: #000;
}
#canvas .results div.box table tbody td {
	border-right: 1px dashed #e0e0e0;
	border-bottom: 1px solid #e0e0e0;
	width: 100px;
	height: 25px;
	vertical-align: middle;
}
#canvas .results div.box table tbody td span {
	background: #1294b6;
	height: 10px;
	position: absolute;
	text-indent: -9999px;
	margin-top: -5px;
}
#canvas .results div.box table tbody td a {
	color: #7eceff;
	font-weight: bold;
	padding-left: 13px;
	background: url(http://www.brainsparklearning.com/projects/clearspring-widget/i/sprite.gif) 0 4px no-repeat;
}
#canvas .results div.box table tbody td div  {
	overflow: hidden;
}
#canvas .results div.box table tbody td div a {
	background: none;
	padding: 0;
	font-weight: inherit;
}
#canvas .results div.box table tbody td div p {
	margin: 0 0 4px 0;
	line-height: 15px;
}
#canvas .results div.box table tbody td a.open {
	background: url(http://www.brainsparklearning.com/projects/clearspring-widget/i/sprite.gif) 0 -14px no-repeat;
}
#canvas .results div.box table tbody tr td.close {
	display: none;
}
#canvas .results div.box table tbody tr td.open {
	background: #def2fe;
	padding: 5px 20px 10px;
	height: 0px;
}
#canvas .results div.box p#total {
	text-align: left;
	background: #f7941e;
	color: #fff;
	padding: 6px;
	margin-bottom: 0;
}
#canvas .results div.box p#total strong {
	color: #fff;
}
	
/* Form Elements
----------------------------------------------------------------------*/


/* Footer
----------------------------------------------------------------------*/
#canvas #footer {
	margin: 10px 20px;
	border-top: 1px dashed #e0e0e0;
	height: 50px;
	background: none;
width: 365px;
}
#canvas #footer a {
	display: block;
	height: 25px;
	width: 75px;
	margin: 10px 0;
	text-indent: -9999px;
	background: #fff url(http://www.brainsparklearning.com/projects/clearspring-widget/i/logo_brainspark_75px.gif) no-repeat 0 0;
}
#canvas #footer a#retake {
	display: inline;
	height: auto;
	width: auto;
	text-indent: 0;
	background: #fff url(http://www.brainsparklearning.com/projects/clearspring-widget/i/go.gif) no-repeat 100% 50%;
	padding-right: 11px;
	position: inherit;
	float: right;
}

/* IE Hacks
----------------------------------------------------------------------*/
#canvas div.box.clear.responses ol li div#res_4 span {
	vertical-align: bottom;
}

/* clearfix (already applied on #body)
--------------------------------*/

.clearfix:after,#body:after,.box:after,.normal:after {
    content:  ".";
    display:  block;
    height:  0;
	line-height:  0px; /* RB - Added */
    clear:  both;
    visibility:  hidden;
}

.clearfix,#body,.box,.normal {
	display:  inline-block;}

/* Hides from IE-mac \*/
* html .clearfix, * html #body, * html .box, * html .normal {
	height:  1%;
}
.clearfix,#body,.box,.normal {
	display:  block;
}
/* End hide from IE-mac */


