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

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

a {
	padding: 3px;
	
}

/*	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 {
	padding: 10px 36px 0px;
	width: 648px;
	-webkit-tap-highlight-color: rgb(255,255,0);
	
	background: linear-gradient(to bottom right, #f8f8f8, #333333); 

}

article > div#main {
	float: left;
	width: 348px;
	
	margin-bottom: 20px;
	padding: 20px;
	
	background: #FFF;
	
	
} 

article > aside {
	float: right;
	width: 228px;
	margin-bottom: 30px;	
}

#adtop {
	margin-top: 20px;
	margin-bottom: 0px;
	margin-left: 0px;
		
}

article > aside img {
	width: 218px;
	padding: 4px;
	background-color: #FFFFFF;
	border: 1px solid #DDDDDD;
	-webkit-box-shadow: 2px 2px 2px rgba(0,0,0, 0.2);
	-moz-box-shadow: 2px 2px 2px rgba(0,0,0,0.2);
}

article > footer {
	clear: both;
	float: none;
	
	margin-bottom: 24px;
	padding: 2%;
	font-size: 14px;
	line-height: 30px;
	border-top: darkblue 2px solid;
	width: 95%;
	
}

article > footer > ul  {
		
	       padding: 0px;
	       margin: 0;
}

article > footer > ul > li {
	       display:inline;
	       padding: 1px;	       	       
}

a:hover {
	color: white;
	background-color: #0000CC;
}

a.logomark:hover {
    background-color: transparent;
}

article > header > h1 {
	font-size: 42px;
	line-height: 48px;
	margin-top: 20px;
	margin-bottom: 20px;
}

h2 {
	font-size: 18px;
	line-height: 24px;
	margin-top: 20px;
	margin-bottom: 5px;
}

h2.topheader {
	margin-top: 0px;
}

h2, h3, h4, h5, h6 {
	font-family: Arial, Helvetica, sans-serif;	
}


h1, h2, h3, h4, h5, h6 {
	color: darkblue;
}

h1 {
	-moz-text-shadow: darkgrey 4px 4px 0;
	-webkit-text-shadow: darkgrey 4px 4px 0;
	text-shadow: darkgrey 4px 4px 0;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}



nav ul {
    margin-left: 20px;
 
}

ul#mainnav {
	list-style: none;
	margin: 0px;
	padding: 0px;
	background-color: #D6D6D6;
	}
		
ul#mainnav li {
	display: block;
	border-top: 1px solid #FFFFFF;
	border-right: none;
	border-bottom: 1px solid #000000;
	border-left: none;


	}

ul#mainnav li a {
	display: block;
	margin: 0px;
	padding: 4px;
	background-color: #DDE5EE;
	font: normal 16px Arial, Helvetica, sans-serif;
	color: #000000;
	text-decoration: none;
	border: none;

	}

ul#mainnav li a:hover {
	background-color: #43616B;
	color: #eee;
	}

li#townheader  {
	display: block;
	margin: 0px;
	padding: 6px;
	background-color: #99BBDD;
	font: bold 14px Arial, Helvetica, sans-serif;
	color: #000000;
	}	

/*
From previous non-responsive layout
*/

#adbottom {
	margin: 20px 0px;
	
}


/*	13-column layout
	60 px columns, 24 px gutters, 72 px margins, 1212 px total (extra space for scrollbars)
	---------------------------------------------------------------------------------------
	1     2      3      4      5      6      7      8      9      10     11     12     13
	60px  144px  228px  312px  396px  480px  564px  648px  732px  816px  900px  984px  1068px	*/

@media only screen and (min-width: 1212px) {
	
	body {
		padding: 10px 72px 0;
		width: 1068px;
		position: relative;
	}

	article > div#main {
		width: 600px;
		margin-bottom: 24px;
	}

	article > aside {
		width: 396px;
	}

	article > aside img {
		width: 386px;
	}
	
	
}	


/*	5-column layout
	60 px columns, 24 px gutters, 42 px margins, 480 px total
	---------------------------------------------------------
	1     2      3      4      5
	60px  144px  228px  312px  396px	*/

@media only screen and (max-width: 767px) and (min-width: 480px) {
	
	body {
		padding: 10px 42px 0;
		width: 396px;
		-webkit-text-size-adjust: 100%;
	}
	
	article > header > h1 {
	   margin-top: 20px;
	   margin-bottom: 20px;
	}

	article > div#main, article > footer, article > aside {
		float: none;
		clear: none;
	}

	article > div#main {
		width: 348px;
	}

	article > aside img {
		width: 386px;
	}
	
	article > nav {
		width: 100%;
	}
	

	article > footer > ul > li {
	       display:block;
	       padding: 0px;	       	       
    }
	
}


/*	3-column layout
	60 px columns, 24 px gutters, 46 px margins, 320 px total
	---------------------------------------------------------
	1     2      3
	60px  144px  228px	*/

@media only screen and (max-width: 479px) {
	
	body {
		padding: 5px 5px 0;
		width: 310px;
		-webkit-text-size-adjust: 100%;
		font-size: 14px;
		line-height: 18px;
		background: #f8f8f8;
	}
	
	article > div#main {
		width: 300px;
		padding:5px;
		margin-bottom: 18px;
	}

	article > header > h1 {
		font-size: 18px;
		line-height: 22px;
		margin-top: 10px;
	  margin-bottom: 10px;
		text-shadow: none;
	}

	article > div#main > header > h2 {
		font-size: 16px;
		line-height: 20px;
		
	}

	article > div#main, article > footer, article > aside, article > nav {
		float: none;
		clear: none;
	}

	p, section, aside, ul {
		margin-top: 10px;
	}
	
	article > footer > ul > li {
	       display:block;
	       padding: 0px;	       	       
    }
}