/**** global reset ****/

/* main reset */
html, body, div, span,
h1, h2, h3, h4, h5, h6, p,
a, img, small,  ol, ul, li,
fieldset, form, label, legend, caption, 
article, figure, figcaption, footer, header,
nav, section, mark {
	margin: 0;
	padding: 0;
	border: 0;
	font: inherit;
	vertical-align: baseline;
}

/* HTML5 display rule */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}

/* misc reset */
body {
	line-height: 1;
	font-size: 100%;
	margin: 8px;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

a {
	text-decoration: none;
}

button {
	border: none;
}

button:hover {
		cursor: pointer;
}

mark {
	background: none;
}

/* clearfix */

.clearfix:before, .clearfix:after {
	content: '';
	display: table;
}

.clearfix:after {
	clear: both;
}

.clear { 
	clear: both;
} 

/**** main style ****/
body {
	margin: 8px;
	background: #eeeeee;
	font-family: Tahoma;
}

/*** wrapper ***/
#wrapper {
	width: 760px;
	margin: 0 auto;
	position: relative;
	background: #eeeeee;
}

/** main content **/
#wrapper>span {
	position: absolute;
	text-transform: uppercase;
	top: 315px;
}

#wrapper .main-content {
	background: #fff;
	border: 1px solid #cccccc;
}

/* header */
#page-header h1 {
	font-size: 22px;
	color: #004080;
	text-align: center;
	font-weight: normal;
	padding-top: 15px;
	padding-bottom: 15px;
}

#page-header p {
	font-size: 14px;
	color: #fff;
	background-color: #004080;
	line-height: 18px;
	padding: 10px;
	margin-left: 5px;
	margin-right: 5px;
}

#page-header p span {
	display: block;
}

#page-header p a {
	color:white;
	text-decoration:underline;
}

/* content */
#content span.ads-second {
	display: block;
	text-align: center;
	font-size: 12px;
	text-transform: uppercase;
	padding-top: 13px;
	padding-bottom: 20px;
}

#content span.genius {
	text-align: left;
	display: block;
	font-size: 12px;
	margin:10px;
}

#content div.my-quizfirst {
	margin-top: 12px;

}

#content span.numbering {
	width: 23px;
	background: #F9F9F9;
	display: inline-block;
	padding: 10px 0 10px 5px;
	margin-left: 5px;
	margin-right: 5px;
	float: left;
}

#content div.my-quiz {
	margin-top: 5px;
}

#content div.my-quiz span.letters,
#content div.my-quizfirst span.letters {
	width: 180px;
	display: inline-block;
	background: #F9F9F9;
	padding-top: 10px;
	padding-bottom: 10px;
	font-weight: bold;
	float: left;
	margin-right: 5px;
	padding-left:5px;
}

#content div.input-wrapper {
	display: inline-block;
}

#content div.input-wrapper input {
	padding-left:5px;
	padding-top:5px;
	padding-bottom:5px;
	padding-right: 5px;
	font-size: 16px;
}


#content input {
   width: 506px;
   margin-left: 5px;
   position: relative;
   top: 50%;
	-ms-transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	transform: translateY(-50%);
}

#content div.input-wrapper {
	height: 36px;
	background: #F9F9F9;
	padding-right: 5px;
}
#content div.input-wrapper.answers {
	background: #ffffff;
	margin-top:6px;
	vertical-align:middle;
}

#content div.scoring {
	width: auto;
	text-align: center;
	background: #004080;
	font-weight: normal;
	color: #fff;
	font-size: medium;
	padding-top: 5px;
	padding-bottom: 5px;
	margin: 5px 5px 10px 5px;
}

#content div.scoring span {
	font-weight: bold;
}

#content div.bottomtext {
	text-align:center;
}
#content div.result {
	text-indent: 10px;
	position: relative;
}

#content div.correct, 
#content div.result {
	display: inline-block;
	margin-bottom: 10px;
}

#content div.correct p {
	font-weight: bold;
	font-size: 16px;	
	text-transform: uppercase;
	text-align: right;	
}

#content div.correct p>span {
	display: block;
}

#content #correct {
	color: #00FF00;
}

/* page-footer */
#page-footer {
	text-align: center;
	padding-top: 25px;
}

#page-footer .ads-third {
	text-transform: uppercase;
}

#page-footer form {
	padding-top: 18px;
}

/* iPhone */
div.iPhone {
   background-color: #ffffff;
   border: 1px solid #cccccc;
   padding: 5px;
   line-height: 18px;
   width: 240px;
   color: #123456;
   font-family: Tahoma;
   font-size: 12px;
   margin: 10px auto 10px auto;
}

#wrapper div.iPhone a:hover {
	color: #123456;
}

div.iPhone span {
	display: block;
}

div.iPhone img {
	float: left;
}

/* next */
div.next {
	margin-top: 28px;
	margin-bottom: 20px;
}

#wrapper div.next a {
	text-decoration: none;
}

div.next span {
	display: block;
	font-size: 9px;
	color: #123456;
	text-decoration: none;
	font-family: Tahoma;
}

/* believe-not */
.believe-not {
	font-size: 10px;
	padding-bottom: 18px;
	margin-top: 10px;
}

.believe-not span {
	display: block;
	line-height: 12px;
}

/* privacy */
p.privacy-contact {
	font-size: 11px;
}

p.privacy-contact a {
	color: #004080;
}

p.privacy-contact a:hover {
	text-decoration: underline;
}

/* more */
p.more {
	font-size: 11px;
	margin-top: 10px;
}

p.more a {
	color: #004080;
}

p.more a:hover {
	text-decoration: underline;
}

/**** media queries ****/

/* mobile & tablet */
@media screen and (max-width: 800px) {

	section#content {
		margin-left: 5px;
		margin-right: 5px;
	}

	#content span.numbering {
	  width: 23px;
	  background: #F9F9F9;
	  display: inline-block;
	  padding: 10px 0 10px 5px;
	  margin-left: 0;
	  margin-right: 0;
	  float: left;
	}	

	#content div.my-quiz span.letters,
	#content div.my-quizfirst span.letters {
	  width: auto;
	  display: block;
	  background: #F9F9F9;
	  padding-top: 10px;
	  padding-bottom: 10px;
	  font-weight: bold;
	  float: none;
	  margin-right: 0;
	  margin-left: 33px;
	  text-indent: 5px;
	}	

	#content div.input-wrapper {
		width: auto;
	  height: 36px;
	  background: #F9F9F9;
	  margin-top: 5px;
	  padding-left: 5px;
	  padding-right: 5px;
	  display: block;
	}	

	#content input {
	  width: 99%;
	  margin-left: 0;
	  position: relative;
	  top: 50%;
	  padding-left: 0;
	}

	#wrapper>span {
		display: none;
	}

	#wrapper {
		width: 100%;
	}

	#wrapper .main-content {
		margin-left: 0;
	}


	#content span.genius {
		text-align: left;
		text-indent: 0;
	}

	footer form input:first-of-type {
		margin-bottom: 5px;
	}



}


