/*	Less Framework 3
	by Joni Korpi
	http://lessframework.com	*/


/*	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, 
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;}

figure {position: relative;}
figure img {width: 100%;}


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

.big, h3 {
	font-size: 20px;
	line-height: 26px;
}

.normal, body {
	font: 16px/24px Helvetica, Arial, sans-serif;
}

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

/*
Default 8-column layout
60 px columns, 24 px gutters, 60 px margins, 768 px total
---------------------------------------------------------
1     2      3      4      5      6      7      8     
60px  144px  228px  312px  396px  480px  564px  648px
*/

body {
	background: #eff;
	-webkit-tap-highlight-color: #ff0;
	background-image: linear-gradient(top, #C3DBDB 17%, #EEFFFF 52%);
	background-image: -o-linear-gradient(top, #C3DBDB 17%, #EEFFFF 52%);
	background-image: -moz-linear-gradient(top, #C3DBDB 17%, #EEFFFF 52%);
	background-image: -webkit-linear-gradient(top, #C3DBDB 17%, #EEFFFF 52%);
	background-image: -ms-linear-gradient(top, #C3DBDB 17%, #EEFFFF 52%);
	background-image: -webkit-gradient(
		linear,
		left top,
		left bottom,
		color-stop(0.17, #C3DBDB),
		color-stop(0.52, #EEFFFF)
	);
}

h1, h2, h3 {
	font-family: Georgia, serif;
	-moz-text-shadow: yellow 0 5px 5px;
	-webkit-text-shadow: #FFF 0 1px;
	text-shadow: rgba(255,255,255,1) 1px 1px 0;
}

::selection 	 	{background: rgb(255,255,0);}
::-moz-selection 	{background: rgb(255,255,0);}
img::selection 		{background: transparent;}
img::-moz-selection {background: transparent;}

header {
	background: #798;
}

header>hgroup {
	width: 648px;
	margin-left: 144px;
	padding: 12px;
	background: #265;
	color: #eefff9;
	-webkit-border-top-left-radius: 24px;
	-moz-border-radius-topleft: 24px;
	border-top-left-radius: 24px;
	background-image: linear-gradient(bottom, #194930 17%, #265 72%);
	background-image: -o-linear-gradient(bottom, #194930 17%, #265 72%);
	background-image: -moz-linear-gradient(bottom, #194930 17%, #265 72%);
	background-image: -webkit-linear-gradient(bottom, #194930 17%, #265 72%);
	background-image: -ms-linear-gradient(bottom, #194930 17%, #265 72%);
	background-image: -webkit-gradient(
		linear,
		left bottom,
		left top,
		color-stop(0.17, #194930),
		color-stop(0.72, #265)
	);
}

header>hgroup>h1 {
	display: inline;
	font-size: 42px;
	line-height: 48px;
	padding-right: 12px;
	-moz-text-shadow: #8a9 0 5px 5px;
	-webkit-text-shadow: #8a9 0 1px;
	text-shadow: #8a9 1px 1px 0;
}

header>hgroup>h1 a {
	text-decoration: none;
	color: #eefff9;
}

header>hgroup>h1 a:hover {
	color: #fff;
}

header>hgroup>h2 {
	display: inline;
	font-size: 18px;
	line-height: 24px;
	font-weight: normal;
	font-family: Helvetica, Arial, sans-serif;
	-moz-text-shadow: none;
	-webkit-text-shadow: none;
	text-shadow: none;
}

header>address {
	background: #cee;
	color: #265;
	padding-left: 60px;
	font-style: normal;
	font-size: 12px;
	border: 1px solid #fff;
	border-style: solid none;
}

header>address li {
	display: inline;
	padding-right: 12px;
}

header>address a {
	color: #265;
	padding-left: 4px;
	font-weight: bold;
	border-left: 8px solid #cee;
}

header>address a:hover {
	border-left: 8px solid #f66;
}

nav {
	float: left;
	padding: 0px;
	width: 144px;
	text-align: right;
}

nav>h2 {
	font-size: 18px;
	color: #265;
}

nav>ul {
	margin-bottom: 24px;
}

nav>ul li {
	font-size: 12px;
	list-style-type: none;
	border-bottom: 2px solid #eff;
	line-height: 16px;
	margin-left: 0px;
}

nav>ul li a {
	background: #265;
	color: #eff;
	font-weight: bold;
	text-decoration: none;
	display: block;
	height: 32px;
	padding-right: 4px;
	border-left: 16px solid #cee;
	background-image: linear-gradient(bottom, #194930 17%, #265 72%);
	background-image: -o-linear-gradient(bottom, #194930 17%, #265 72%);
	background-image: -moz-linear-gradient(bottom, #194930 17%, #265 72%);
	background-image: -webkit-linear-gradient(bottom, #194930 17%, #265 72%);
	background-image: -ms-linear-gradient(bottom, #194930 17%, #265 72%);
	background-image: -webkit-gradient(
		linear,
		left bottom,
		left top,
		color-stop(0.17, #194930),
		color-stop(0.72, #265)
	);
}

nav>ul li a.current {
	border-left: 16px solid #798;
}

nav>ul li a:hover {
	color: #fff;
	border-left: 16px solid #f66;
}

article {
	width: 670px;
	background: #fff;
	margin-left: 144px;

}

article>header>h2 {
	color: #043;
	font-size: 24px;
	line-height: 28px;
	padding: 4px 12px;
	-moz-text-shadow: #8a9 0 5px 5px;
	-webkit-text-shadow: #8a9 0 1px;
	text-shadow: #8a9 1px 1px 0;
}

article>section {
	padding: 12px;
}

article>section p {
	padding-bottom: 12px;
}
article>section ul {
	padding-bottom: 0px;
    padding-left: 36px;
}

aside.floatright {
	float: right;
	padding: 8px;
}

aside.floatright img {
	width: 200px;
	height: 200px;
}

footer {
	background: #798;
	text-align: right;
	clear: both;
}

footer>p {
	width: 648px;
	margin-left: 144px;
	padding: 3px 12px 0 0;
	background: #265;
	font-size: 14px;
	color: #eefff9;
}

footer>p:last-child {
	padding-bottom: 24px;
	-webkit-border-bottom-right-radius: 24px;
	-moz-border-radius-bottomright: 24px;
	border-bottom-right-radius: 24px;
	background-image: linear-gradient(bottom, #194930 17%, #265 72%);
	background-image: -o-linear-gradient(bottom, #194930 17%, #265 72%);
	background-image: -moz-linear-gradient(bottom, #194930 17%, #265 72%);
	background-image: -webkit-linear-gradient(bottom, #194930 17%, #265 72%);
	background-image: -ms-linear-gradient(bottom, #194930 17%, #265 72%);
	background-image: -webkit-gradient(
		linear,
		left bottom,
		left top,
		color-stop(0.17, #194930),
		color-stop(0.72, #265)
	);
}

/*
Wide layout
*/

@media only screen and (min-width: 1212px) {
	
	body {
		padding-left: 10%;
	}

	header>hgroup {
		width: 78%;
	}

	header>address {
		font-size: 14px;
		padding-left: 144px;
	}

	article {
		width: 80%;
	}

	footer>p {
		width: 80%;
	}


}	


/*
Medium layout (tablets?)
*/

@media only screen and (max-width: 840px) and (min-width: 480px) {
	
	body {
		-webkit-text-size-adjust: 100%;
	}
	
	header>hgroup {
		width: auto;
	}

	header>address {
		padding-right: 4px;
		font-size: 10px;
		text-align: right;
	}

	header>address li {
		display: inline;
		padding-right: 0;
	}

	article {
		width: auto;
	}

	aside.floatright img {
		width: 100px;
		height: 100px;
	}

	footer>p {
		width: auto;
	}
}


/*
Narrow layout (phones)
*/

@media only screen and (max-width: 479px) {
	
	body {
		-webkit-text-size-adjust: 100%;
		font-size: 13px;
		line-height: 18px;
	}

	header>hgroup {
		width: auto;
		margin-left: 0;
		padding: 12px 4px;
	}

	header>address {
		text-align: left;
		padding: 8px 4px;
		font-size: 10px;
	}

	header>address a {
		border-left: none; 
		border-right: 8px solid #cee; 
		padding-left: 0;
	}
	header>address a:hover {
		padding-right: 4px; 
		border-left: none; 
		border-right: 8px solid #f66; 
	}

	article {
		width: auto;
	}

	aside.floatright img {
		display: none;
	}

	footer>p {
		width: auto;
		margin-left: 0;
		padding-left: 4px;
	}

}

