/**** 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 ****/

/* ads-first */
#wrapper {
	font-family: Verdana;
	text-align: center;
	width: 1103px;
	margin: 0 auto;
}

#wrapper p {
	font-size: 12px;
}

#wrapper a {
	text-decoration: underline;
	color: #123456;
}

#wrapper a:hover {
	color: #BB4646;
}

#wrapper div.ads-first {
	text-align: center;
	text-transform: uppercase;
}

/* int-test */
section.int-test {
	float: left;
	margin-top: 65px;
	margin-right: 25px;
	padding-left: 20px;
}

section.int-test p {
	padding-top: 20px;
}

section.int-test h2 {
	margin-bottom: 25px;
}

/* iq-test */
section.iq-test {
	float: left;
	margin-top: 65px;
}

section.iq-test p {
	padding-top: 20px;
}

section.iq-test h2 {
	margin-bottom: 25px;
}

/* privacy */
div.privacy {
   text-align: right;
   padding: 70px 5px 20px 0;
   font-size: 10px;	
}

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


section.int-test img {
		border: 2px solid #183B80;
	}
section.iq-test img {
		border: 2px solid #97AFC1;
	}


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

/* mobile & tablet */
@media screen and (max-width: 768px) {
	
	body {
		margin: 0;
		margin-top: 8px;
	}

	#wrapper {
		width: auto;
		padding-left: 15px;
		padding-right: 15px;
	}

	#wrapper p {
	  line-height: 25px;
	}	
			
	section.int-test {
	  margin-top: 30px;
	  margin-right: 0;
	  width: 100%;
	  padding-left: 0;
	}

	section.iq-test {
		margin-top: 30px;
		width: 100%;
	}

	section.int-test img,
	section.iq-test img {
		width: 100%;
	}



	div.privacy {
	  text-align: center;
	  padding: 20px 0 20px 0;	
	}

}

/*  small desktop */
@media screen and (min-width: 769px) and (max-width: 1130px) {

	body {
		margin-top: 8px;
	}

	#wrapper {
		width: 600px;
	}

	section.int-test {
	  float: none;
	  margin-top: 65px;
	  margin-right: 0;
	  padding-left: 0;
	}

	section.iq-test {
	  float: none;
	  margin-top: 65px;
	}

	div.privacy {
	  text-align: center;
	  padding: 20px 0 20px 0;
	  font-size: 10px;
	}

}

/* large desktop */
@media screen and (min-width: 1131px) {

	section.int-test {
		width: 100%;
	}

}
