/*  
Theme Name: id8 Theme
Theme URI: http://id8.ca
Description: Custom Theme for id8
Version: 1.0
Author: Joy Studio
Author URI: http://joystudio.ca
*/

*{margin: 0 auto; padding:0}

body{
	margin: 0;
	font-family: Verdana, sans-serif;
	font-size: 16px;
	vertical-align: top;
	background: #666;
	color: #333;
}

.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.clearfix {
    display: inline-block;
}

html[xmlns] .clearfix {
    display: block;
}

* html .clearfix {
    height: 1%;
}

a:link, a:visited{
	text-decoration: none;
	/*color: #007CA5;*/
	color:#2460A7
}

a:hover{
	text-decoration: underline;
	color:#2460A7
}

img{ border: none;}

h1{
	font-size: 23px;
	color: #666;
}
h3 {
	margin-bottom: 15px
}
h1, h2, h3 {
	clear: both;
}

p{
	margin-bottom: 15px;
}

ol, ul {
	margin-left: 25px;
	margin-bottom: 20px
}


/*------wordpress styles----------------*/

.aligncenter,
div.aligncenter {
   display: block;
   margin-left: auto;
   margin-right: auto;
}

.alignleft, .floatleft {
   float: left;
}

.alignright, .floatright {
   float: right;
}

.wp-caption {
   border: 1px solid #ddd;
   text-align: center;
   background-color: #f3f3f3;
   padding-top: 4px;
   margin: 10px;
   /* optional rounded corners for browsers that support it */
   -moz-border-radius: 3px;
   -khtml-border-radius: 3px;
   -webkit-border-radius: 3px;
   border-radius: 3px;
}

.wp-caption img {
   margin: 0;
   padding: 0;
   border: 0 none;
}

.wp-caption p.wp-caption-text {
   font-size: 11px;
   line-height: 17px;
   padding: 0 4px 5px;
   margin: 0;
}


/* global/universal image classes */
img.alignleft{
	margin-bottom:10px;
	margin-right:10px;
	float:left;
}

img.alignright{
	margin-bottom:10px;
	margin-left:10px;
	float:right;
}

img.aligncenter {display: block; margin-left: auto; margin-right: auto}
a img.aligncenter {display: block; margin-left: auto; margin-right: auto}


/*-----------Layout styles---------------*/
#page-wrapper{
	margin: 0 auto 0 auto;
	width: 940px;
	text-align: left;
	background: #fff
}

#header{
	float: left;
	width: 100%;
	height: auto;
	padding:0 0 10px 0;
	background:#333;
	/*border-bottom:5px solid #007CA5;*/

}
	
	 #header .logo{
	 	float:left;
	 	font-size:14px;
	 	color:#fff;
	 	
	}
	
	 #header .logo a{
	 	/*border-left:8px solid #fff;
	 	background: #007CA5;
	 	*/
		color:#FFFFFF;
		float:left;
		font-size:40px;
		padding:10px 10px 10px 40px;
		
		text-decoration: none;
		/*-moz-border-radius-bottomleft: 8px;
	 	-moz-border-radius-bottomright: 8px;
		-webkit-border-bottom-left-radius: 8px;
		-webkit-border-bottom-right-radius: 8px;*/
	}
	
	#header .logo img {
		border: none
	}

	#header p{
		color:#999999;
		float:left;
		margin-left:10px;
		margin-top:19px;
		width:230px;
		padding-left:10px;
		border-left:2px solid #999
	}

#header .wrapper{
	width:940px
}

#htitle{
	float: left;
	margin: 17px 10px 0 0;
}

#desc{
	float: left;
	margin: 25px 10px 0 0;
}

#navmenu{
	padding-left:10px;
	padding-right:10px;
	width:450px;
	float:right;
	margin-top: 20px
}

#navmenu ul{
	list-style-type: none;
	list-style-image: none;
	padding:0;
	margin:0;
	float: right;
	margin-right: 15px;
}

#navmenu ul li{
	display: block;
	float:left;
	margin-right:15px;
	background: #555;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
}

#navmenu ul li a {
	text-decoration: none;
	color: #fff;
	display: block;
	padding:12px 16px;
	text-transform: uppercase
}

#navmenu ul li a:hover {
	background: #2460A7;
	display:block;
	min-height: 1%;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
}


#navmenu ul li.current_page_item,
#navmenu ul li.current_page_parent{
	background: #2460A7;
}

#container{
	width: 900px;
	clear:both;
}

#content{
	margin: 0;
	padding:40px 20px
}

.post{
	/*padding: 10px 20px;*/
}

.post h2{
	font-size:30px;
	margin-bottom: 20px;
	line-height: 30px;
}
.post img {
	margin-bottom: 15px;
	margin-top: 15px;
}


.entry{
	line-height: 18px;
}

.postmetadata{
	padding: 2px 0;
	color: #aaa;
	font-size:11px
}


.posts-nav{
	clear: left;
	padding: 10px 10px;
	color: #666;
	width: 680px;
	height: 15px;
	border-bottom: 1px dotted #666
}

table#wp-calendar{
	width: 100%;
}

.commentlink{
	padding: 2px 0 2px 20px;
	background: url('images/comment.png') left center no-repeat;
	margin-left: 0;
}

.editcomment a, a.post-edit-link{
	padding: 2px 0 2px 20px;
	background: url('images/pencil.png') left center no-repeat;
	margin-left: 10px;
	text-decoration: none;
}

.editcomment a:hover, a:hover.post-edit-link{
	background:transparent url('images/pencil.png') left center no-repeat;
	text-decoration: underline;
	color:#666
}

.catlink{
	padding: 2px 0;
	color:#999
}

.taglink{
	display: block;
	padding: 2px 0;
}


a.read-more-link {
	float:right;
	font-size: 11px;
	margin-top:5px;
}


.cle{
	clear: both;
}

/*Footer
-----------------------------------------------------*/
#footer{
	clear: both;
	float: left;
	width: 900px;
	padding: 20px;
	color: #fff;
	background:#333;
	font-size:11px;
	height:200px
}

#footer p.copyright{
	float:right;
	color:#999;
	margin-right: 50px
	}
	
#footer ul{
	float:left;
	margin-left:50px
}	

#footer ul li{
	list-style: none;
	margin-bottom: 10px
}

/*Comments
-----------------------------------------------------*/

#comments {
	clear: both;
}
#comments .navigation {
	padding: 0 0 18px 0;
}
h3#comments-title,
h3#reply-title {
	color: #000;
	font-weight: bold;
	font-size: 20px;
	margin-bottom: 0;
}
h3#comments-title {
	padding: 24px 0;
}
.commentlist {
	list-style: none;
	margin: 0;
}
.commentlist li.comment {
	border-bottom: 1px solid #e7e7e7;
	line-height: 24px;
	margin: 0 0 24px 0;
	padding: 0 0 0 50px;
	position: relative;
}
.commentlist li:last-child {
	border-bottom:none;
	margin-bottom:0;
}
#comments .comment-body ul,
#comments .comment-body ol {
	margin-bottom: 18px;
}
#comments .comment-body p:last-child {
	margin-bottom: 6px;
}
#comments .comment-body blockquote p:last-child {
	margin-bottom: 24px;
}
.commentlist ol {
	list-style: decimal;
}
.commentlist .avatar {
	position: absolute;
	top: 4px;
	left: 0;
	border: 1px solid #EEE;
	padding: 2px;
	background: #fff;
}



/*Page
-----------------------------------------------------*/
.page .entry{
	border-bottom: none;
}

.page #content{
	min-height:500px;
	height:auto !important;
	height:500px;
}


.content-top{
	padding:20px;
	padding-top: 40px
}

.content-top p{
	font-size:16px
}

.content-top h1{
	font-size:40px
}

.content-secondary div{
	width:420px;
	margin-left:20px;
	float:left;
}

.content-secondary{
	margin-bottom: 20px
}

.content-main h1{
	font-size:16px
}

.content-main div{
	/*width:195px;*/
	width: 200px;
	margin-left:20px;
	float:left;
	height:395px;
	margin-bottom: 20px
}

.dummy-img-medium{
	width:420;
	height:150px;
	background:#eee;
}

.dummy-img-small{
	width:195px;
	height:100px;
	background:#eee;
}

.bottom-nav{
	padding:20px;
}
.bottom-nav a {
	font-size: 1.2em;
}

/* Jesse's Styles */
.floatLeft {
	float: left;
}
.padded input, .padded textarea {
	border: 2px solid #999 !important;
	-moz-border-radius: 10px;
   	-khtml-border-radius: 10px;
   	-webkit-border-radius: 10px;
	padding: 10px !important;
	font-size: 1.2em !important;
}
blockquote {
	padding: 30px 30px 30px 60px;
	font-style: italic;
	background: url('images/quotes.png') left top no-repeat;
	font-size: 1.3em;
}
.aside {
	padding: 40px;
	font-size: 0.9em;
}
.sourced {
	color: #999;
	font-size: 0.8em;
}
.aboutOl {
	width: 550px;
	margin-left: 50px;
	float: left;
}
.aboutOl li {
	margin-bottom: 5px;
}
.post h4 {
	background-color: #eee;
	border-bottom: 3px solid #ddd;
	border-top: 3px solid #ddd;
	font-size: 1.4em;
	font-weight: normal;
	padding: 15px;
	margin-bottom: 10px;
}
.post .code {
	background: #333;
	color: #fff;
	padding: 20px;
	margin-bottom: 20px;
}
.post .codeblue {
	color: #33cccc;
}
.post .left-aside {
	width: 200px;
	float: left;
	color: #333;
	background-color: #eee;
	border: 1px solid #333;
	padding: 20px;
	margin: 20px 20px 20px 0px;
}
