/* Learning Styles Self-Assessment CSS for 11-question A/B quiz 
Based on Felder & Solomon Learning Styles
http://www4.ncsu.edu/unity/lockers/users/f/felder/public/ILSdir/styles.htm 
By Mike Cumberworth for DLIFLC Lifelong Learning
31 Mar 2014
*/



/*General Styles */
* {
	margin: 0;
	padding: 0;
}

body {
	width: 80%;
	min-width: 350px;
	max-width: 1250px;
	margin: 0 auto;
	background-color: #333;
	font-family: Helvetica, Arial, sans-serif;
	font-weight: lighter;
	color: #ccc;

}

section, article, header, nav {
	display: block;
}

ul li{
	list-style-type: none;
}

h1 {
		margin-bottom: 0.2em;
		font-size: 1.5em;
		font-weight: lighter;
		color: #ccc;
	}

#qunit {
	margin-top: 200px;
	
}

#quizContainer {
	width: 80%;
	min-height: 600px;
	margin: 50px auto;
	margin-bottom: 20px;
	background-color: #222;
	/*background-image: url(../img/bg1.jpg);*/
	background-position: center;
	border: 1px #fff solid;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.closeBtn {
	position: relative;
	float: right;
	width: 50px;
	height: 50px;
	line-height: 50px;
	background-image: url(../img/closeBtn.png);
	background-repeat: no-repeat; 
	background-size: contain;
	background-position: center;
	margin: -25px;
	font-size: 24px;
	font-weight: lighter;
	text-align: center;
	cursor: pointer; 
	cursor: hand;

}


.partDetails {
	display: inline-block;
	margin: 1.5em 5%;
	max-width: 60%;
	
}

.prevBtn, .nextBtn{
	display: inline-block;
	background: none;
	font-size: 3em;
	cursor: pointer; 
	cursor: hand;
	color: #666;
	
	transition: color 0.2s ease;
}

.prevBtn:hover, .nextBtn:hover{
	color: #aaa;
	
}

.prevBtn:active, .nextBtn:active{
	color: #fff;
	
}

.partCounter{
	width: 100%;
	height: 0.5em;
	position: relative;
	display: inline-block;
}

.partCounter ul li {
	margin: 0 2px;
	display: inline-block;
	width: 5px;
	height: 5px;
}

.partCounter ul li:first-child{
	margin-left: 0;
} 
.partCounter .counterItemBlank {
	background-color: none;
	border: 1px solid #666;
}

.counterItemFilled {
	width: 7px;
	height: 7px;
	background-color: #aaa;
	border: 1px solid #aaa;
}

.counterItemSelected{
	width: 9px;
	height: 9px;
	background-color: #44aacc;
	background-color: rgba(100, 190, 255, 0.9);
	border: none;
}

.counter{
	margin: 0.5em 5%;
	color: #aaa;
}

.questionArea{
	display: block;
	margin: 1em auto;
	padding: 1em;
	min-height: 6em;
	background-color: #fcfcfc;
	background-color: rgba(255, 255, 255, 0.9);
	text-align: center;
}

.questionText{
	margin: 0.5em auto;
	font-size: 2em;
	color: #333;
}


.responseOptions{
	margin: 1em auto;
	text-align: center;
	width: 100%;

}

.responseOptions li {
	display: inline-block;
	margin: 0.5em 1%;
	text-align: center;
	font-size: 1em;
	min-width: 80px;
}

.responseOptions li span {
	font-size: 0.7em;

}

.responseBtn{
	width: 70px;
	height: 70px;
	margin: 5% auto;
	border: 1px white solid;
	background-color: none;
	background-color: rgba(150, 150, 150, 0.3);
	cursor: pointer;
	cursor: hand;
	transition: background-color 0.15s ease;

}

.responseOptions li div:hover{

	background-color: #44aacc;
	background-color: rgba(100, 190, 255, 0.7);
}

.responseOptions li div:active{

	background-color: #44aacc;
	background-color: rgba(100, 190, 255, 0.9);
}

.hidden{
	display: none;
	background-color: blue;
}

.results{
	width: 80%;
	margin: 0px auto;
	padding: 0.5em;
}

.results h2{
	font-size: 2em;
	color: #fff;
	margin: 0.3em 0;
}

.explanation {
	padding: 1em;
	margin: 4em auto;
	/*height: 150px;*/
	font-size: 1.3em;
	line-height: 1.5em;
	overflow: scroll;
	color: #333;
	background-color: #cdcdcd;
	background-color: rgba(255, 255, 255, 0.5);
}

#quizInfo {
	
	margin-left: 10%;
	max-width: 78%;
	font-weight: lighter;
	color: #bbb;
	
}

#infoBtn{

	cursor: pointer;
	cursor: hand;
}

.collapsed{
	margin: 1% 5%;
	width: 95%;
	color: #333;
	display: hidden; 
	-webkit-transition: display 0.3s, color 0.3s ease;  
    -moz-transition: display 0.3s,  color 0.3s ease;  
    -o-transition: display 0.3s, color 0.3s ease;  
    transition: display 0.3s, color 0.3s ease; 
} 

.collapsed-change {
	display: block;
	color: #bbb;
	font-size: 0.7em;
}

.collapsed-change p{
	margin-bottom: 0.9em;
	line-height: 1.3em;
}

.collapsed-change strong{ 
	font-weight: bolder;
	color: #fff;

}

/*Small Size */
@media all and (max-width: 690px){ 
	header{
		width: 100%;
		margin: 5%;
		margin-bottom: 0.3em;
	}

	h1 {
	font-size: 1.0em;
	}

	h2 {
		margin: 0.2em 0;
		font-size: 0.9em;
		font-weight: bold;

	}

	header p{
		font-size: 0.8em;
		width: 80%;
	}
	
	.prevBtn, .nextBtn{
		font-size: 2em;
		
	}

	.closeBtn {

	width: 40px;
	height: 40px;
	line-height: 40px;
	margin: -20px;
	font-size: 20px;

	}


	.counter{
	font-size: 0.9em;
	}


	.questionArea{
		display: block;
		margin: 1em auto;
		padding: 1em;
		min-height: 4em;
	}

	.questionText{
	margin: 0.5em auto;
	font-size: 1.3em;
	color: #333;
}

	.responseOptions li {
	display: inline-block;
	margin: 1%;
	text-align: center;
	font-size: 0.9em;
	min-width: 40px;
}

	.responseBtn{
	width: 40px;
	height: 40px;
	margin: 2% auto;
	border: 1px white solid;

}

	.results h2{
		font-size: 1.4em;
		color: #fff;
		margin: 0.3em 0;
	}

	.explanation {
		padding: 1em;
		margin: 3em auto;
		/*height: 150px;*/
		font-size: 1.1em;
		line-height: 1.3em;
	}
	
}
/*Medium Size */
@media all and (min-width: 691px) and (max-width: 1000px){ 
	header{
		width: 90%;
		margin: 5%;
		margin-bottom: 0.5em;
	}

	h1 {
	font-size: 1.3em;
	}

	h2 {
		margin: 0.2em 0;
		font-size: 1.3em;
		font-weight: bold;
	}

	header p{
		font-size: 0.8em;
	}

	.counter{
	
	font-size: 1.1em;
	
	}

	.ls_quiz_questions{
	width: 90%;
	height: 20em;
	overflow: hidden;
	margin: auto;
	padding: 2em;
	background: #999;
	}	


}


/*Larger Size */
@media all and (min-width: 1001px){ 
	header{
			width: 80%;
			margin: 5%;
			margin-bottom: 0.5em;
		}


	h1 {
		font-size: 1.5em;
	}

	h2 {
		margin: 0.2em 0;
		font-size: 1.3em;
		font-weight: bold;

	}

	header p{
		font-size: 0.8em;
	}

	.counter{
	font-size: 1.2em;
	
	}


}







