/*	Less Framework 4
	http://lessframework.com
	by Joni Korpi
	License: http://opensource.org/licenses/mit-license.php	*/


/*	Resets
	------	*/

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, 
p, blockquote, pre, a, abbr, address, cite, code, del, dfn, em, 
img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, hr, 
dl, dt, dd, ol, ul, li, fieldset, form, label, legend, 
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figure, figcaption, hgroup, 
menu, footer, header, nav, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
}

article, aside, canvas, figure, figure img, figcaption, hgroup,
footer, header, nav, section, audio, video {
	display: block;
}

a img {border: 0;}



/*	Typography presets
	------------------	*/

.gigantic {
	font-size: 110px;
	line-height: 120px;
	letter-spacing: -2px;
}

.huge, h1 {
	font-size: 68px;
	line-height: 72px;
	letter-spacing: -1px;
}

.large, h2 {
	font-size: 42px;
	line-height: 48px;
}

.bigger, h3 {
	font-size: 26px;
	line-height: 36px;
}

.big, h4 {
	font-size: 22px;
	line-height: 30px;
}
h1, h2, h3, h4, h5 {
	margin: 0.7em 0 0.3em;
}
body, h5 {
	font-family: "Droid Sans", Verdana, sans-serif;
	font-size: 16px;
	line-height: 24px;
}

.small, small {
	font-size: 13px;
	line-height: 20px;
}

/* Selection colours (easy to forget) */

::selection 	 	{background: rgb(255,255,158);}
::-moz-selection 	{background: rgb(255,255,158);}
img::selection 		{background: transparent;}
img::-moz-selection	{background: transparent;}
body {-webkit-tap-highlight-color: rgb(255,255,158);}



/*		Default Layout: 992px. 
		Gutters: 24px.
		Outer margins: 48px.
		Leftover space for scrollbars @1024px: 32px.
-------------------------------------------------------------------------------
cols    1     2      3      4      5      6      7      8      9      10
px      68    160    252    344    436    528    620    712    804    896    */

body {
	text-rendering:optimizeLegibility;
	background: #fff;
	color: #222;
	-webkit-text-size-adjust: 100%; /* Stops Mobile Safari from auto-adjusting font-sizes */
}
article {
	margin: 0 auto;
	width: 920px;
	padding: 48px 24px 24px 48px;
}
body>header section, article>header {
	width: 896px;
	margin: 0 auto;
}
article>header {
	padding-right: 24px;
}
article>aside {
	width: 344px;
}
article>aside.fullwidth {
	width: 100%;
}
article>section {
	width: 528px;
}
footer section {
	width: 920px;
	padding: 24px 24px 24px 48px;	
	margin: 0 auto;
	float: none;
}
.half {
	width: 436px;
	margin-right: 24px;
	float: left;
}

/*		Tablet Layout: 768px.
		Gutters: 24px.
		Outer margins: 28px.
		Inherits styles from: Default Layout.
-----------------------------------------------------------------
cols    1     2      3      4      5      6      7      8
px      68    160    252    344    436    528    620    712    */

@media only screen and (min-width: 768px) and (max-width: 991px) {

	article {
		width: 736px;
		padding: 48px 24px 24px 48px;
	}
	body>header section, article>header {
		width: 712px;
	}
	article>header {
		padding-right: 24px;
	}
	article>section {
		width: 436px;
	}
	article>aside {
		width: 252px;
	}
	article>aside#device { margin-left: -52px; width: 304px; }
	footer section {
		width: 736px;
		padding: 24px 24px 24px 48px;	
		margin: 0 auto;
		float: none;
	}
	.half {
		width: 344px;
	}
	
}



/*		Mobile Layout: 320px.
		Gutters: 24px.
		Outer margins: 34px.
		Inherits styles from: Default Layout.
---------------------------------------------
cols    1     2      3
px      68    160    252    */

@media only screen and (max-width: 767px) {
/*	Typography presets
	------------------	

	.gigantic {
		font-size: 89px;
		line-height: 100px;
		letter-spacing: -1px;
	}
	.huge, h1 {
		font-size: 55px;
		line-height: 60px;
		letter-spacing: -1px;
	}
	.large, h2 {
		font-size: 34px;
		line-height: 40px;
	}
	.bigger, h3 {
		font-size: 21px;
		line-height: 30px;
	}
	.big, h4 {
		font-size: 16px;
		line-height: 24px;
	}
	h1, h2, h3, h4, h5 {
		margin: 0.7em 0 0.3em;
	}
	body, h5 {
		font-family: "Droid Sans", Verdana, sans-serif;
		font-size: 14px;
		line-height: 21px;
	}
	.small, small {
		font-size: 11px;
		line-height: 16px;
	}	
*/	
	article, footer section {
		width: 92%;
		padding: 18px 3%;
	}
	body>header section, article>header {
		width: 100%;
	}
	article>section, article>aside, .half {
		width: 100%;
	}
	.half {
		text-align:center;
		margin-right: 0;	
	}

}



/*		Wide Mobile Layout: 480px.
		Gutters: 24px.
		Outer margins: 22px.
		Inherits styles from: Default Layout, Mobile Layout.
------------------------------------------------------------
cols    1     2      3      4      5
px      68    160    252    344    436    */

@media only screen and (min-width: 480px) and (max-width: 767px) {
	
	article, footer section {
	}
	.half {
	}

}


/*	Retina media query.
	Overrides styles for devices with a 
	device-pixel-ratio of 2+, such as iPhone 4.
-----------------------------------------------    */

@media 
	only screen and (-webkit-min-device-pixel-ratio: 2),
	only screen and (min-device-pixel-ratio: 2) {
	
	body {
	
	}
	
}