/* Created by http://freehtml5templates.com */
/* basics */

/* reset */
* {
	margin: 0;
	padding: 0;
	}

/* render html5 elements as block */
header, footer, section, aside, nav, article {
	display: block;
	}

/* standard body */
body {
	margin: 0 auto;
	width: 960px;
	font: 14px/20px "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif;
	background: #271408 url("images/bodybkg.gif") repeat;
	}
	
/* standard alignments */
.alignleft {
	float: left;
	}

img.alignleft {
	margin: 5px 10px 0 0; 
	}

.alignright {
	float: right;
	}

img.alignright {
	margin: 5px 0 0 10px; 
	}
	
.center {
	text-align: center;
	}
	
img.center
    {
    text-align:center;
    margin-top:0px;
    margin-bottom:0px;
    padding:0px;
    }
	
.fleft {
	text-align: left;
	float: left;
	margin-left: 20px;
	}
	
.fright {
	float: right;
	text-align: right;
	margin-right: 20px;
	}
	
.fcentered {
	text-align: center;
	}

/* Hx tags */

h1 {
	font-size: 40px;
	padding: 0px 0px;
	text-shadow: 2px 2px 2px #444;
	color: #FFFFFF;
	}

h2 {
	font-size: 28px;
	padding: 10px 0px;
	text-shadow: 2px 2px 2px #444;
	color: #FFFFFF;
	}

h3 {
	font-size: 18px;
	padding: 10px 0;
	}

p {
	padding-bottom: 20px;
	}
	
pre {
	font-family: "Courier New", Courier, monospace;
	background-color: #cccccc;
	padding: 8px;
	border: 1px dotted #666;
	font-size: 14px;
}
button {
	font-family: "Calibry";
	background-color: #cccccc;
	padding: 3px;
	border: 1px thin #666;
	font-size:12px;
	-moz-border-radius: 7px;: 14px;
	-webkit-border-radius: 7px;
}


/* header */
header a {
	/*display: block;*/
	text-decoration: none;
	text-shadow: 2px 2px 2px #444;
	color: #CCCCCC;
	}
			
header a:hover {
	color: #FFFFFF;
	}
			
header.selected a {
	color: #CCCCCC;
	}

/* nav */

nav {
	position: absolute;
	width: 960px;
	/* curved border radius */
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	background-color: #666666;
	}

nav ul {
	margin: 0 auto;
	width: 960px;
	list-style: none;
	}

nav ul li {
	float: left;
	}
		
nav ul li a {
	display: block;
	margin-right: 20px;
	width: 140px;
	font-size: 16px;
	font-weight: bold;
	line-height: 44px;
	text-align: center;
	text-decoration: none;
	color: #CCCCCC;
	}
			
nav ul li a:hover {
	color: #FFFFFF;
	}
			
nav ul li.selected a {
	color: #CCCCCC;
	}
			
nav ul li.subscribe a {
	margin-left: 20px;
	padding-left: 33px;
	text-align: left;
	background: url("images/rss.png") left center no-repeat;
	}



/* intro */

#intro {
	position: relative;
	margin-top: 55px;
	padding: 60px;
	/* background size */
	-webkit-background-size: 100%;
	-o-background-size: 100%;
	-khtml-background-size: 100%;
	/* curved border radius */
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	}
	
#intro h2, #intro p {
	position: relative;
	z-index: 9999;
	width: 380px;
	left: -10px;
}
	
	#intro h2 {
	padding: 0 0 10px 0;
	font-weight: normal;
	color: #fff;
	}
	
#intro p {
	padding: 0;
	color: #FFFFFF;
	}
	
#intro img {
	position: absolute;
	top: 0;
	right: 0;
	width: 960px;
	height: 100%;
	/* curved border radius */
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	}

/* content and sidebar layout */

#content {
	position: relative;
	margin-top: 50px;
	float: left;
	width: 920px;
	margin: 10px 5px 10px 0;
	padding: 5px 20px 5px 20px;
	background-color: #666666;
	/* curved border radius */
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}

/* columns */

#content ul.column {
	width: 100%;
	padding: 0;
	margin: 10px 0;
	list-style: none;
}

#content ul.column li {
	float: left;
	width: 230px; /*Set default width*/
	padding: 0;
	margin: 5px 0;
	display: inline;
}

#content .block {
	height: 250px;
	font-size: 1em;
	margin-right: 10px; /*Creates the 10px gap between each column*/
	padding: 20px;
	background: #333333;
	/* curved border radius */
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}

#content h2 {
	font-size: 22px;
	padding: 10px 15px;
	text-shadow: 0px 0px 0px #444;
	color: #FFFFFF;
	}
	
#content p {
	font-size: 14px;
	padding: 10px 15px;
	color: #FFFFFF;
	}

#content .block a {
	color: #FFF;
	}
	
#content .block img {
  /*Flexible image size with border*/
	width: 89%;  /*Took 1% off of the width to prevent IE6 bug*/
	padding: 5%;
	background:#fff;
	margin: 0 auto;
	display: block;
	-ms-interpolation-mode: bicubic; /*prevents image pixelation IE 6/7 */
	}
/* end of column configuration */
	
/* footer */
footer {
	width: 960px;
	clear: both;
	color: #FFFFFF;
	overflow: hidden;
	padding-top: 0px;
	background-color: #666666;
	/* curved border radius */
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	height: 52px;
	margin-bottom: 10px;
	}
	
footer section {
	width: 260px;
	float: right;
	padding-top: 0;
	padding-right: 10px;
	padding-bottom: 0;
	padding-left: 0px;
}

footer h3 {
	font-size: 18px;
	/* padding: 2px 0px; */
	padding-top: 4px;
	padding-bottom: 0px;
	}
	
footer section p {
	font-size: 12px;
	alignment-baseline: middle;
	padding: 0px 0 0px 0;
	}

footer section a {
	color: #CCC;
	}
	
footer section a:hover {
	color: #FFF;
	text-decoration: none;
	}
footer a {
	/*display: block;*/
	margin-right: 0px;
	width: 320px;
	font-size: 16px;
	font-weight: bold;
	line-height: 10px;
	text-align: center;
	text-decoration: none;
	color: #CCCCCC;
	}
			
footer a:hover {
	color: #FFFFFF;
	}
			
footer.selected a {
	color: #CCCCCC;
	}
	
	
/* for inner pages */

/* content and sidebar layout */

#innercontent {
	float: left;
	width: 610px;
	margin: 10px 5px 10px 0;
	padding: 5px 20px 5px 20px;
	background-color: #999999;
	/* curved border radius */
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}

aside {
	float: right;
	text-align: left; 
	width: 300px; 
	margin:0; 
	padding:0;
	}

/* article */
.articlecontent header p, .blogPost header p a {
	font-size: 14px;
	font-style: italic;
	color: #fff;
	}

.articlecontent p a {
	color: #550;
	}
	
.articlecontent p a:hover {
	color: #fff;
	}

.articlecontent li a {
	color: #550;
	}
	
.articlecontent li a:hover {
	color: #fff;
	}

.articlecontent header p a:hover {
	text-decoration: none;
	color: #000;
	}
	
.articlecontent li {
	padding: 3px;
	}
	
/* box shadow on pics */
.articlecontent img {
	/*-webkit-box-shadow: 3px 3px 7px #777;*/
	}

/* sidebar */
aside section {
	margin: 10px 0 0 10px;
	padding: 10px 15px;
	background-color: #999999;
	/* curved border radius */
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	}

aside section ul {
	margin: 0 0 0 20px;
	color: #FFF;
	}
	
aside section h3 {
	text-shadow: 1px 1px 1px #777;
	color: #555;
	}
aside section ul li a {
	display: block;
	text-decoration: none;
	color: #ccc;
	}
		
aside section ul li a:hover {
	text-decoration: underline;
	color: #fff;
	}
	
