/** RESET AND CLEARFIX
================================================**/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
	color: #414141;
	font-family: "Helvetica", "Arial", sans-serif;
	background: #FFF;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}



/** LAYOUT
================================================**/

.inner {
	width: 840px;
	position: relative;
	margin: 0 auto;
}

#main {
	padding: 10px 0;
}

/*
#primary {
	margin: 0 270px 0 0;
	position: relative;
}

aside {
	width: 230px;
	float: right;
}
*/


/** RESPONSIVE BREAKPOINTS
================================================**/

@media(max-width: 1040px){
	
	.inner {
		width: 840px;
	}
	
	.reference-wrap {
		right: 20px;
	}
	
	aside {
		padding-right: 20px;
	}
	
	#primary {
		padding: 0 20px;
	}
	
	.home h1 {
		width: 90%;
		font-size: 3em;
		margin: 0 auto;
	}
	
	.home .bx-wrapper {
		width: 90%;
	}
	
	.pictogram .operator {
		margin: 0 18px;
	}
	
	header .logo {
		padding-left: 20px;
	}
	
	header .download {
		right: 20px;
	}
	
	header nav {
		right: 170px;
	}
	
	footer .left {
		width: auto;
		float: none;
		padding-left: 20px;
	}
	
	footer .first {
		margin-bottom: 30px;
	}
	
	footer p.pix {
		padding-left: 20px;
	}
	
}

@media(max-width: 700px){
	
	#primary {
		margin: 0 0 750px 0;
	}
	
	aside {
		float: none;
		position: absolute;
		bottom: 0;
		width: 70%;
		padding: 0 20px;
	}

	header .logo {
		margin: 0 auto;
		float: none;
		text-align: center;
		padding: 10px 0;
	}
	
	header nav {
		position: static;
		text-align: center;
	}
	
	header .download {
		position: static;
		text-align: center;
		margin: 25px 0;
	}
	
	.home h1 {
		font-size: 2.25em;
	}
	
	#main {
		padding-top: 20px;
	}
	
}

@media(max-width: 500px){
	
	.example-item h1 {
		font-size: 2em;
		line-height: 1.25em;
	}
	
	aside {
		font-size: 90%;
	}
	
	.home p.pop {
		font-size: 1.25em;
		margin-bottom: 30px;
	}
	
	.reference-wrap {
		display: none;
	}
	
	footer {
		font-size: 85%;
	}
	
}

@media(max-width: 400px){
	
	h1 {
		font-size: 2.5em;
	}
	
	.example-item h1 {
		font-size: 1.5em;
		line-height: 1.25em;
	}
	
	.pictogram {
		font-size: 45%;
	}
	
	.home h1 {
		font-size: 1.75em;
	}
	
	nav a {
		padding: 0 5px;
	}
	
	#primary {
		font-size: 100%;
		margin-bottom: 850px;
	}
			
}