/*
	Name: Scott Cormier
	Date: August 2009
	Description: Simple HTML5 and CSS3 layout for scottcormier.com.
	Version: 1.0
	Author: Scott Cormier
	Autor URI: http://scottcormier.com
*/

/* Imports */
@import url("reset.css");

/***** Global *****/
/* Body */
	html {
		background: #111;
		height:100%;
		padding-top: 10px;
	}
	body {
		background:#222 url(/test/_img/bg.png) repeat scroll 0 0;
		color: #333;
		float: left;
		font-size: 14px;
		font-family: Georgia,"Times New Roman",Times,serif;
		line-height: 1.429;
		margin: 0;
		padding: 0;
		text-align: left;
		width:100%;
	}

/* Headings */
	h2 {font-size: 24px}
	h3 {font-size: 22px}
	h4 {font-size: 20px}
	h5 {font-size: 18px}
	h6 {font-size: 16px}

	h2, h3, h4, h5, h6 {
		font-weight: 400;
		line-height: 1.1;
		margin-bottom: 10px;
	}

/* Anchors */
	a {outline: 0;}
	a img {border: 0px; text-decoration: none;}
	a:link, a:visited {
		color: #ED1D3A;
		padding: 0 1px;
		text-decoration: none;
	}
	a:hover, a:active {
		text-decoration: underline;
	}

/* Paragraphs */
	p {margin-bottom: 16px;}
	* p:last-child {margin-bottom: 0;}

	strong, b {font-weight: bold;}
	em, i {font-style: italic;}

	::-moz-selection {background: #ED1D3A; color: #fff;}
	::selection {background: #ED1D3A; color: #fff;}

/* Lists */
	ul {
		list-style: outside disc;
		margin: 1em 0 1.5em 1.5em;
	}

	ol {
		list-style: outside decimal;
		margin: 1em 0 1.5em 1.5em;
	}

	dl {margin: 0 0 1.5em 0;}
	dt {font-weight: bold;}
	dd {margin-left: 1.5em;}


/* Tables */
	table {margin: .5em auto 1.5em auto; width: 98%;}

	/* Thead */
	thead th {padding: .5em .4em; text-align: left;}
	thead td {}

	/* Tbody */
	tbody td {padding: .5em .4em;}
	tbody th {}

	tbody .alt td {}
	tbody .alt th {}

	/* Tfoot */
	tfoot th {}
	tfoot td {}


/* HTML5 tags */
	header, section, footer,
	aside, nav, article, figure { display: block; }

/***** Layout *****/
	.body {clear: both; margin: 0 auto; width: 980px;}
	img.right figure.right {float: right; margin: 0 0 2em 2em;}
	img.left, figure.left {float: right; margin: 0 0 2em 2em;}

/*
	Header
*****************/
	#banner {
		margin: -1px auto 0;
		padding: 0;
	}
	
		/* Main Nav */
		#banner nav{
			font-size: 1.143em;
			height: 40px;
			line-height: 30px;
			margin: 0 auto;
			padding: 0;
			text-align: center;
		}
	
		#banner nav ul {list-style: none; margin: -1px auto 0;}
		#banner nav li {float: left; display: inline; margin: 0 10px; width:225px;}
	
		#banner nav a:link, #banner nav a:visited{
			color: #555;
			display: inline-block;
			height: 30px;
			padding: 0;
			text-decoration: none;
		}
		#banner nav a:hover, #banner nav a:active,
		#banner nav .active a:link, #banner nav .active a:visited {
			background: #ddd;
			border-bottom:1px solid #999999;
			border-left:1px solid #999999;
			border-right:1px solid #999999;
			color: #555;
			font-style: oblique;
			text-shadow: none !important;
			width: 100%;
		}

		/* Masthead */
		#masthead {
			float:left;
			border-bottom:1px solid #333;
			width:100%;
		}
		#masthead a.logo {
			background: url(http://scottcormier.com/test/_img/logo.png) no-repeat 0 -15px;
			float: left;
			height: 85px;
			margin-right: 20px;
			width: 128px;
		}
		#masthead h1 {
			color: #555;
			float:left;
			font-size: 30px;
			height: auto;
			line-height: 30px;
			margin-top: 21px;
			padding: 0 0 5px 0;
			width: 440px;
		}
		#masthead h1 a:link, #banner h1 a:visited {
			color: #ED1D3A;
			text-decoration: none;
		}
		#masthead h1 a:hover, #banner h1 a:active {
			background: none;
			text-shadow: none;
			text-decoration: underline;
		}
		#masthead .follow {
			float:left;
			width:390px;
			text-align:center;
		}
		#masthead .follow .follow-btn {
			-moz-border-radius: 10px;
			-webkit-border-radius: 10px;
			-moz-box-shadow: 0 1px 3px #111;
			-webkit-box-shadow: 0 1px 3px #111;
			background: transparent url(http://scottcormier.com/test/_img/btn-follow.png) no-repeat 0 0;
			display: inline-block;
			height:39px;
			margin:0 auto 5px;
			text-indent:-9999px;
			text-shadow:0 -1px 1px #333;
			width:277px;
		}
		#masthead .follow .follow-btn.main {
			margin-top: 25px;
		}

		#masthead .follow .follow-btn:hover {
			background: transparent url(http://scottcormier.com/test/_img/btn-follow-hov.png) no-repeat 0 0;
		}
		#masthead .follow .follow-btn:active {
			background: transparent url(http://scottcormier.com/test/_img/btn-follow-act.png) no-repeat 0 0;
			outline: 0;
			position: relative;
			top: 1px;		
		}
		#masthead .follow h6 {
			color: #555;
			margin: 0;
		}
		#masthead .follow h6:last-child {
			margin-bottom: 10px;
		}

/*
	Body
*****************/
#content {
	margin-bottom: 2em;
	overflow: hidden;
	padding: 0;
	width: 980px;
}
#content ul { margin: 0; }
#content ul li { list-style: none; }
#content ul li h2 { padding: 0 20px 0 25px; }

#content #stream,
#content #networks,
#tumblog { float:left; padding: 0  0 10px 0; }

#content #stream li.hover { background: #eee; }

#content #networks li { border-bottom:1px solid #333; float:left; height:40px; padding:15px 0 5px; width: 280px; }
#content #networks li a {
	color: #555;
	font-size: 13px;
	height: 45px;
	padding: 10px 0 5px;
	text-decoration: none;
	width: 305px;
}
#content #networks li a:hover { text-decoration:underline; }
#content #networks li a img { float:left; margin:2px 10px 0 15px; }
#content #networks li a strong {
	color: #ED1D3A;
	display:block;
	font-size:18px;
	font-weight:normal;
	line-height:14px;
}

#content .loading {
	padding:0 20px;
	text-align:center;
}

#content #more {
	font-size: 20px;
	padding-top: 20px;
	text-align: center;
}
#content #more a {
	cursor:pointer;
	text-decoration: none;
}
/*
	Main Content Area
*****************/
	#main {
		display: inline;
		float: left;
		margin: 40px 40px 0 0;
		width: 585px;
	}

/*
	Sidebar
*****************/
	#sidebar {
		display: inline;
		float: left;
		margin: 40px 0 0;
		width: 355px;
	}

/*
	Footer
*****************/
#footer {
	float:left;
	width:100%;
}

#footer nav {
	background: #111;
	border-top: 1px solid #333;
	font-size: 1.143em;
	height: 40px;
	line-height: 30px;
	margin: 0 auto;
	padding: 0 0 50px;
	text-align: center;
	width: 100%;
}
#footer nav p {
	color: #555;
	font-size: 13px;
	padding: 5px 0 0;
	text-align: center;
}


/*
	About
*****************/
#about .primary {float: left; width: 165px;}
#about .primary strong {color: #C64350; display: block; font-size: 1.286em;}
#about .photo {float: left; margin: 5px 20px;}

#about .url:link, #about .url:visited {text-decoration: none;}

#about .bio {float: right; width: 500px;}

/*
	Footer
*****************/
#contentinfo {padding-bottom: 2em; text-align: right;}

/***** Sections *****/
.hentry {
	border-bottom: 1px solid #eee;
	padding: 10px 0;
}
li:last-child .hentry, #content > .hentry {border: 0; margin: 0;}
#content > .hentry {padding: 1em 0;}

.entry-title {font-size: 1.429em; margin-bottom: 0;}
.entry-title a:link, .entry-title a:visited {text-decoration: none;}

.hentry .post-info * {font-style: normal;}

	/* Content */
	.hentry .entry-comments { padding-left: 25px; }
	.hentry .entry-comment { padding-left: 25px; }
	.hentry .entry-comment footer { padding: 0; }
	
	.hentry footer { margin-bottom: 10px; padding: 0 20px 0 25px; }
	.hentry footer .comm-link { float: left; width: 317px; }
	.hentry footer .like-link { float: left; width: 317px; }
	.hentry footer address {display: inline;}
	#posts-list footer address {display: block;}

	/* Blog Index */
	#posts-list {list-style: none; margin: 0;}
	#posts-list .hentry {padding-left: 200px; position: relative;}
	#posts-list .hentry:hover {
		background: #C64350;
		color: #fff;
	}
	#posts-list .hentry:hover a:link, #posts-list .hentry:hover a:visited {
		color: #F6CF74;
		text-shadow: 1px 1px 1px #333;
	}
	
	#posts-list footer {
		left: 10px;
		position: absolute;
		top: 1.5em;
		width: 190px;
	}
	
	/* About the Author */
	#about-author {
		background: #f9f9f9;
		clear: both;
		font-style: normal;
		margin: 2em 0;
		padding: 10px 20px 15px 20px;
		
		border-radius: 5px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
	}
	
	#about-author strong {
		color: #C64350;
		clear: both;
		display: block;
		font-size: 1.429em;
	}
	
	#about-author .photo {border: 1px solid #999; float: left; margin: 5px 1em 0 0;}


/*
	Tumblr Theme
*****************/
	.tumblog {  }
	
	/* Tumblr Main */
	.tumblog #main .post {
		float: left;
		margin:0 0 40px 60px;
		width:525px;
	}
	.tumblog #main .post .left-margin {
		float: left;
		margin-left: -60px;
	}
	.tumblog #main .post .left-margin .type-icon img {
		-moz-box-shadow: 0 1px 3px #111;
		-webkit-box-shadow: 0 1px 3px #111;
		-moz-border-radius: 10px;
		-webkit-border-radius: 10px;
	}
	.tumblog #main .post .left-margin .notecount {
		-moz-border-radius:8px;
		-webkit-border-radius:8px;
		-moz-box-shadow: 0 1px 3px #111;
		-webkit-box-shadow: 0 1px 3px #111;
		/*background: #8f8f8f url(http://scottcormier.com/test/_img/dark-box-gradient.png) repeat-x scroll 0 bottom;*/
		border: 1px solid #111;
		display: block;
		font-size: 10px;
		padding: 5px;
		text-align: center;
	}
	.tumblog #main .post .left-margin .notecount strong {
		color: #555;
		font-size: 16px;
		font-weight: 600;
	}
	.tumblog #main .post .left-margin .notecount span {
		color: #fff;
	}
	.tumblog #main .post .left-margin .notecount:hover {
		text-decoration: none;
	}
	.tumblog #main .post .post-content {
		-moz-border-radius: 10px;
		-webkit-border-radius: 10px;
		background: #fff;
		border: 1px solid #111;
		float:right;
		padding: 10px;
		width: 503px;
	}
	.tumblog #main .post .post-content h4,
	.tumblog #main .post .post-content .footer {
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
		background: #222;
		border: 1px solid #555;
		color: #efefef;
		margin: 0 auto 10px;
		padding: 10px;
		width: 481px;
	}
	.tumblog #main .post .post-content h4 a {
		color: #efefef;
	}
	
	.tumblog #main .post .post-content .footer {
		text-align: right;
	}
	
	.tumblog #main .post .post-content .content {
		padding: 10px 10px 20px;
		text-align: left;
	}
	.tumblog #main .post .post-content div.chat .line {
		margin-bottom: 10px;
	}
	
	.tumblog #main .post .post-content .meta .footer {
		margin-right: 5px !important;
	}
	.tumblog #main .post .post-content .media {	
		margin: 5px auto;
	}
	.tumblog #main .post .post-content .media img,
	.tumblog #main .post .post-content .media span,
	.tumblog #main .post .post-content .media object {
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
		border: 1px solid #999;
		float: left;
		margin-bottom: 20px;
		padding: 50px;
	}
	.tumblog #main .post .post-content .media a {
		color: #ED1D3A;
		display: block;
	}
	.tumblog #main .post .post-content .content img {
		width: 461px;
	}
	.tumblog #main .post .post-content .content blockquote {
		margin-left: 25px;
	}
	.tumblog #main .post .post-content .copy .answer_form_container div {
		background: #fff;
		border: 1px solid #999;
		color: #777;
	}
	.tumblog #main .post .post-content .meta {
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
		background: #222;
		border: 1px solid #555;
		display: block;
		height: 25px;
		margin: 5px auto;
		padding: 10px 5px 5px;
		text-align: right;
		width: 485px;
	}

	.tumblog #main #nav {
		float: left;
		font-size: 24px;
		font-weight: 600;
		height: 50px;
		margin-left:60px;
		width: 525px;
	}
	.tumblog #main #nav a {
		-moz-border-radius:8px;
		-webkit-border-radius:8px;
		-moz-box-shadow: 0 1px 3px #111;
		-webkit-box-shadow: 0 1px 3px #111;
		border: 1px solid #111;
		color: #111;
		float: right;
		padding: 5px 10px;
		text-align: center;
	}
	.tumblog #main #nav a:hover {
		color: #555;
		text-decoration: none;
	}
	.tumblog #main #nav a.next {
		float: right;
	}
	.tumblog #main #nav a.prev {
		float: left;
	}
	.tumblog #main #search-results h3 {
		border-bottom: 1px solid #333;
		color: #333;
		padding: 0 0 5px;
		margin: 0 0 25px;
	}
	.tumblog #main #search-results .term {
		color: #555;
	}
	/* Tubmlr Sidebar */
	.tumblog #sidebar #search {
		-moz-border-radius: 10px;
		-webkit-border-radius: 10px;
		background: #222;
		border: 1px solid #111;
		margin: 0 0 10px;
		padding: 20px 10px;
	}
	.tumblog #sidebar #search .query {
		-moz-border-radius: 4px;
		-webkit-border-radius: 4px;
		border: 1px solid #333;
		font-size: 16px;
		font-weight: 600;
		height: 25px;
		padding: 5px 40px 2px 5px;
		width: 285px;
	}
	.tumblog #sidebar #search .submit {
		background: url(http://scottcormier.com/test/_img/icon-search.png) no-repeat 0 0;
		border: none;
		float: right;
		height: 20px;
		position: relative;
		top: -27px;
		right: 10px;
		width: 20px;
	}

	.tumblog #sidebar #buttons {
		float: left;
		width: 100%;
	}
	.tumblog #sidebar #buttons li {
		float: left;
		list-style: none;
	}
	.tumblog #sidebar #tumblr-nav {
		float: left;
		padding: 10px!important;
	}
	.tumblog #sidebar #tumblr-nav li {
		-moz-border-radius: 4px;
		-webkit-border-radius: 4px;
		border: 1px solid #111;
		margin: 0 0 10px;
	}
	.tumblog #sidebar #tumblr-nav li a {
		-moz-border-radius: 4px;
		-webkit-border-radius: 4px;
		background: #333;
		color: #111;
		display: block;
		font-size: 16px;
		padding: 5px;
		text-align: center;
		width: 321px;
	}
	.tumblog #sidebar #tumblr-nav li a:hover {
		text-decoration: none;
	}
	.tumblog #sidebar #tumblr-nav li.active a {
		color: #777;
	}
	.tumblog #sidebar #tumblr-nav,
	.tumblog #sidebar #following,
	.tumblog #sidebar #twitter,
	#sidebar #about {
		-moz-border-radius: 8px;
		-webkit-border-radius: 8px;
		border: 1px solid #111;
		float: left;
		margin: 20px 0;
		padding: 10px 10px 20px;
		width: 333px;
	}
	.tumblog #sidebar #following h4,
	.tumblog #sidebar #twitter h4,
	#sidebar #about h4 {
		-moz-border-radius: 4px;
		-webkit-border-radius: 4px;
		background: #333;
		border: 1px solid #111;
		color: #111;
		padding: 5px;
	}
	.tumblog #sidebar #following ul {
		-moz-border-radius: 4px;
		-webkit-border-radius: 4px;
		background: #333;
		border: 1px solid #111;
		float: left;
		padding: 10px 5px 5px;
	}
	.tumblog #sidebar #following li {
		float: left;
		margin: 0;
		padding: 0;
	}
	.tumblog #sidebar #following li a {
		float: left;
	}
	.tumblog #sidebar #following li img {
		margin: 0 0 -3px;
	}
	
	.tumblog #sidebar #twitter .tweet,
	#sidebar #about div {
		-moz-border-radius: 4px;
		-webkit-border-radius: 4px;
		background: #333;
		border: 1px solid #111;
		color: #555;
		display: block;
		float: left;
		margin: 0 0 5px;
		padding: 5px;
		width: 321px;
	}
	.tumblog #sidebar #twitter .tweet a {
		color: #777;
	}
	.tumblog #sidebar #twitter .tweet span {
		font-size: 12px;
	}
	.tumblog #sidebar #twitter .tweet .text {
		font-size: 14px;
	}
	.tumblog #sidebar #twitter .tweet .created {
		display: block;
	}
	
	// Disqus Styling
	#disqus-loading {
		float:left;
		margin:25px 0 25px;
		width:525px;
	}
	#disqus-loading img{
		display:block;
		margin:0 auto;
		width: 32px;
	}
	.disqus_box {
		-moz-border-radius: 8px;
		-webkit-border-radius: 8px;
		float: left;
		background: #fff;
		border: 1px solid #999;
		margin: 0 0 10px 60px;
		padding: 15px;
		width: 495px;
	}
	#disqus_thread h6 {
		background: transparent url(http://media.disqus.com/images/themes/narcissus/gray-50.png) repeat-x scroll center bottom;
		margin-bottom: 10px;
		padding: 0 0 5px;
	}
	#dsq-content .dsq-request-user-info {
		margin-bottom:10px !important;
		padding-bottom:10px !important;
	}
	#dsq-form-area {
		background: transparent url(http://media.disqus.com/images/themes/narcissus/gray-50.png) repeat-x scroll center bottom !important;
		margin-bottom:10px !important;
		padding-bottom:10px !important;
	}
	#disqus_thread .dsq-options {
		background: none !important;
		margin: 10px 0 10px !important;
		padding: 0 !important;
	}
	#dsq-content .dsq-subscribe-email,
	#dsq-content .dsq-subscribe-rss {
		margin: 0 !important;
	}
	#dsq-content .dsq-trackback-url {
		-moz-border-radius: 2ps;
		-webkit-border-radius: 2px;
		background: #FFFFFF url(http://media.disqus.com/images/themes/narcissus/inputshadow.gif) no-repeat scroll left top;
		border: 1px solid #999;
		padding: 0 2px;
		width: 400px;
	}