/*	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: 10px;
}

h1{
	letter-spacing:5px;
	font-weight:300;
}
.huge, h1 {
	font-size: 45px;
	line-height: 42px;
}
h2{
	letter-spacing:0px;
	font-weight:400;
}
.large, h2 {
	font-size: 24px;
	line-height: 36px;
	letter-spacing: 2px;
}
h3{
	font-weight:800;
	letter-spacing:1px;
}
.bigger, h3 {
	font-size: 18px;
	line-height: 24px;
	font-style: italic;
}

.big, h4 {
	font-size: 16px;
	line-height: 22px;
}

body {
	position: relative;
	display: block;
	font-family: 'Maven Pro', sans-serif;
	;
	font-size: 14px;
	line-height: 24px;
}

.small, small {
	font-size: 13px;
	line-height: 18px;
}

/* Selection colours (easy to forget) */

::selection 	 	{background: #95EDFF;}
::-moz-selection 	{background:  #95EDFF;}
img::selection 		{background: transparent;}
img::-moz-selection	{background: transparent;}
body {-webkit-tap-highlight-color:  #95EDFF;}



/*		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 {
	width: 896px;
	padding: 0px 48px 84px;
	color: rgb(60,60,60);
	-webkit-text-size-adjust: 100%; /* Stops Mobile Safari from auto-adjusting font-sizes */
	margin: 0 auto;
}
nav ul li a {
	width:220px;
	line-height: 40px;
	font-family: 'Montserrat', sans-serif;
}
.logo {
	background-image:url(../images/logo-hrzntl.png);
	background-repeat:no-repeat;
	background-position:center;
	width:100%;
	height:130px;
	display:inline-block;
	padding:0px 0px 10px;
	vertical-align: bottom;
	margin:20px 0px 20px;
	/* For IE 7 */
	zoom: 1;
	_display: inline;
}
.right-side {
	width:712px;
}
.bio-photo {
	width:252;
}
.right-column-full {
	float:right;
	display:block;
	position:relative;
	width:48%;
}
.left-column-full {
	float:left;
	display:block;
	position:relative;
	width:48%;
}
.right-column-full > .photo {
	max-width:418px;
}

/*		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-device-width: 768px) and (max-device-width: 1024px)  {
	
	body {
		width: 712px;
		padding: 0px 28px 60px;
	}
	nav ul li a {
		width:174px;
	}
	.right-side {
		width:528px;
	}
	.right-column-full > .photo {
		max-width:330px;
	}
	.bio-photo{
		max-width:344px;
		max-height:100%;
	}
	.client-logo {
		max-width:212px;
		max-height:100%;
	}
}


/*		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-device-width: 320px) {
	
	body {
		width: 252px;
		padding: 0px 34px 60px;
	}
	nav ul li a {
		width:252px;
	}
	.logo {
		width: 252px;
	}
	.right-side {
		width:252px;
	}
	.bio-photo {
		max-width:240px;
		max-height:100%;
	}
	.right-column-full {
		display:block;
		position:relative;
		width:100%;
	}
	.left-column-full {
		display:block;
		position:relative;
		width:100%;
	}
	.photo {
		max-width:240px;
	}

}

/*		Wide Mobile Layout: 480px.
		Gutters: 24px.
		Outer margins: 22px.
		Inherits styles from: Default Layout, Mobile Layout.
------------------------------------------------------------
cols    1     2      3      4      
px      68    160    252    344    */

@media only screen and (min-device-width: 368px) and (max-device-width: 479px) {
	
	body {
		width: 344px;
		padding: 0px 22px 24px;
	}
	nav ul li {
		float:none;
		margin-right:0px;
	}
	nav ul li a {
		width:164px;
		line-height: 29px;
	}
	.right-side {
		width:344px;
	}
	.bio-photo {
		max-width:200px;
		max-height:100%;
	}
	.right-column-full {
		display:block;
		position:relative;
		width:100%;
	}
	.right-column-full > .photo {
		max-width:324px;
	}
	.left-column-full {
		display:block;
		position:relative;
		width:100%;
	}
	.photo {
		max-width:324px;
	}

}

/*		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-device-width: 480px) and (max-device-width: 767px) {
	
	body {
		width: 436px;
		padding: 0px 22px 48px;
	}
	nav ul li {
		float:none;
		margin-right:0px;
	}
	nav ul li a {
		width:214px;
		line-height: 29px;
	}
	.right-side {
		width:252px;
	}
	.bio-photo {
		max-width:240px;
		max-height:100%;
	}
	.right-column-full {
		display:block;
		position:relative;
		width:100%;
	}
	.left-column-full {
		display:block;
		position:relative;
		width:100%;
	}
	.photo {
		max-width:426px;
	}

}


/*	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),
	only screen and (-webkit-min-device-pixel-ratio: 3),
	(min-width: 160em) {
*/@media	only screen and (-webkit-min-device-pixel-ratio: 1.3),
	only screen and (-o-min-device-pixel-ratio: 13/10),
	only screen and (min-resolution: 120dpi)
	{	
	.logo {
		background-image:url(../images/logo-hrzntl-retina.png);
		background-size:contain;
		height:30px;
	}

	
}
