/*	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: 280px;
	
	margin-bottom: 20px;
	padding: 20px;
	
	background: #FFF;
	
	
} 

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

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

p#copyright {
	margin-top: 20px;
	margin-left: 0px;
	border-left: 0px;
	
}

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

div#colsdiv ul {
	list-style-type: none;
}

div#colsdiv ul li {
	padding: 3px;
}

div#colsdiv ul li a {
	text-decoration: none;
}

#col1, #col2, #col3 {
	width: 250px;
	float: left;
	padding: 5px 15px;
	margin: 4px;
}

a.logomark:hover {
    background-color: transparent;
}
article > header {
	margin-bottom: 20px;
	
}
article > header > h1 {
	font-size: 30px;
	line-height: 36px;
	margin-top: 10px;
	margin-bottom: 20px;
	text-shadow: darkgrey 4px 4px 0;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}

h1, h2 {
	color: darkblue;
}

/*
From previous non-responsive layout
*/
.subhead {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 115%;
	font-style: normal;
	text-decoration: none;
	background-color: #FFFFCC;
	border: 1px solid #000000;
	padding: 5px;
	margin-left: 0px;
	margin-right: auto;
	width: auto;
	display: inline;
}


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

#adlinktop {
	margin-top: 10px;
	margin-left: 0px;
}

#adlinkbottom {
	margin-top: 10px;
	margin-left: 5%;
}

#adbottom {	
	margin-left: 5%;
	margin-top: 20px;
}

#sharebuttons {
	margin-left: 5%;
	margin-top: 20px;
}



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

	
	
}	


/*	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 > aside {
		float: none;
		clear: none;
	}
	
	#col1, #col2, #col3 {
		float: none;
		clear: none;
	}

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

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


/*	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, article > footer, article > aside {
		float: none;
		clear: none;
	}
	
	#col1, #col2, #col3 {
		float: none;
		clear: none;
	}
	
	div#colsdiv ul li {
	padding: 5px;
}
	
	.subhead {
		display: block;
	}

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

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