/*
Theme Name: Codeflow
Theme URI: http://www.codeflow.net/
Description: New Codeflow site theme.
Version: 1.0
Author: Ryan Imel
Author URI: http://www.aspiringindie.com/
Tags: child theme
Template: indie
*/


/* Body */

body {
	background: #262626;
/*	color: #ffffbb; */
	color: #fff;
	font-size: 14px;
	line-height: 16px;
}

h1, h2 { font-weight: 400; }

.alignright {
	float: right;
	margin-left: 10px;
}

.alignleft {
	float: left;
	margin-right: 10px;
}

/* Wrappers */

div.wrap {
	margin: 0 auto;
	width: 800px;
}


/* Links */

a {
	color: #fff;
	text-decoration: underline;
}
div#container a {
	color: #262626;
}
h2 a,
h3 a {
	text-decoration: none;
}


/* Typography */

p,
span.gform_description {
	line-height: 18px;
	margin: 0 0 19px 0;
}
span.gform_description {
	display: block;
	margin-bottom: 15px;
}


h2 {
	font-size: 24px;
	line-height: 16px;
	margin: 0 0 20px 0;
}
div#container h2 {
	font-size: 24px;
	font-weight: normal;
	line-height: 28px;
	margin: 0 0 30px 0;
}

h3 {
	font-size: 14px;
	font-weight: bold;
	line-height: 18px;
	margin: 0 0 15px 0;
}

h4 {
	font-size: 14px;
	font-weight: bold;
	line-height: 18px;
	margin: 0 0 15px 0;
}
h5,
h6 {
	font-size: 12px;
	font-weight: bold;
	line-height: 16px;
	margin: 0 0 15px 0;
}


/* Header */

div#header div.wrap {
	padding: 10px 0;
	position: relative;
}
div.home div#header div.wrap {
	height: 110px;
	padding: 0;
}


/* Logo */

div#header h1 {
	display: block;
	float: left;
	height: 141px;
	margin: 0 40px 0 0;
	left: 0;
	position: absolute;
	top: 48px;
	width: 141px;
}

div.home div#header h1 {
	height: 110px;
	position: relative;
	top: 0;
	width: 600px;
}
div#header h1 a {
	background: url('img/logo-inside.png?v=2') left top no-repeat;
	display: block;
	height: 142px;
	text-indent: -999em;
	width: 141px;
}
div.home div#header h1 a {
	background: url('img/logo-home.png?v=2') left top no-repeat;  
	height: 110px;
	width: 600px; 
}
p#description {
/*	background: url('img/tagline.png') left top no-repeat; 
	float: left;
	height: 110px;
	position: relative;
	top: 0px;
	width: 627px; */
	display: none;
	text-indent: -999em;
}
div.home p#description {
	display: block;
}


/* Navigation */

div#nav {
	font-size: 14px;
	position: relative;
	z-index: 300;
}
div#nav div.wrap {
	position: relative;
}
div#nav div.main {
	left: 165px;
	position: absolute;
	top: 0;
}
div.home div#nav div.main {
	left: 298px;
	top: 0;
}
div#nav li {
	display: block;
	float: left;
	margin-right: 20px;
}
div.page div#nav li.page-item-11,
div.blog div#nav li.page-item-11 { /* Brings the news link back */
	display: block;
}
div.page-template-mainpage-php div#nav li.page-item-13,
body div#nav li.page-item-13,
div.page-template-mainpage-php div#nav li.page-item-11 { /* Hides the home and news pages */
	display: none;
}
div#nav a {
	color: #262626;
	display: block;
	height: 29px;
	padding: 14px 14px 30px 14px;
	text-decoration: none;
}
div#nav li:hover,
div#nav li.hover,
div#nav li.current_page_item,
div#nav li.selected,
div#nav li.current_page_parent {
	background: url('img/nav-left.png?v=2') left top no-repeat;
}
div#nav a:hover,
div#nav li.current_page_item a,
div#nav li.selected a,
div#nav li.current_page_parent a {
	background: url('img/nav-right.png?v-1') right top no-repeat;
	color: #ffffff;
}


/* Container */

div#container {
	background: #ffffbb url('img/container.png?v=2') left top repeat-x; 
	border-bottom: 6px solid #568832;
	color: #262626;
	margin-bottom: 30px;
	padding-bottom: 20px;
}


/* Content */

div#container div.content {
	margin-bottom: 50px;
	min-height: 280px;
	padding: 87px 110px 0 185px;
}
div.home div#container div.content {
	background: url('img/outline.png?v=2') left 47px no-repeat;
	margin-bottom: 0;
	padding-left: 298px;
	padding-right: 0;
	position: relative;
}
div#container div.page-content {
	display: none;
	position: relative;
}
div#container div.selected {
	display: block;
}


/* On Pages */

div.page div#container h2.title {
	display: none;
}


/* On Posts */

div.blog div#container h2.title,
div.single div#container h2.title {
	font-size: 30px;
	line-height: 36px;
	margin-bottom: 5px;
	margin-right: 100px;
}


/* Comments */

div#comments {
	margin-top: 50px;
}
h3#postcomment {
	clear: both;
}
li.comment img.avatar {
	float: right;
	margin: 0 0 15px 15px;
	height: 70px;
	width: 70px;
	border: 3px solid #262626;
}
li.comment p.meta {
	font-size: 10px;
}
label {
	display: block;
	margin: 5px 0;
}
input,
textarea {
	background: #fff;
	border: 2px solid #568832;
	font-size: 14px;
	padding: 5px;
}
textarea {
	width: 500px;
}
input#submit,
input.button {
	background: #568832;
	border: 1px solid #111;
	color: #fff;
	font-size: 11px;
	margin: 0 0 30px 0;
	padding: 6px 8px;
	text-transform: uppercase;
}
input#submit:hover,
input.button:hover {
	background: #568832;
	color: #fff;
	cursor: pointer;
}
div#comments p.clear a {
	margin-bottom: 30px;
}


/* Trackbacks */

div#trackbacks {
	padding: 0 0 20px 0;
}
div#trackbacks p a,
div#comments p.clear a {
	background: #568832;
	border: 1px solid #111;
	color: #fff;
	display: block;
	float: left;
	font-size: 10px;
	padding: 4px 6px;
	text-transform: uppercase;
	text-decoration: none;
}
div#trackbacks p a:hover,
div#comments p.clear a:hover {
	background: #568832;
	color: #fff;
	cursor: pointer;
}


/* Post and Page Navigation */

div.navigation {
	display: none;
}
div.blog div.navigation {
	display: block;
}
div.navigation span,
div.navigation a {
	background: #568832;
	border: 1px solid #111;
	color: #fff;
	font-size: 11px;
	margin: 0 5px 30px 0;
	padding: 6px 8px;
	text-decoration: none;
	text-transform: uppercase;
}

div.navigation span:hover,
div.navigation a:hover {
	background: #568832;
	color: #fff;
	cursor: pointer;
}


/* Gravity Forms */

li.gfield {
	margin-bottom: 20px;
}
div.gform_footer a {
	font-size: 10px;
}


/* Footer */

p#copyright {
	clear: both;
	margin: 100px 0 44px 0;
	text-align: center;
}
p#copyright a {
	text-decoration: none;
}


/* Footer Columns */

div#footer div.column {
	margin: 0 0 20px 0;
}
div#footer div#news,
div#footer div#whatwedo {
	float: left;
	width: 425px;
}
div#footer div#news li.post {
	margin: 0 0 28px 0;
}
div#footer div#news li.post p {
	display: inline;
}
div#footer div#getintouch,
div#footer div.twitter-5,
div#footer div.text-3 {
	float: right;
	width: 350px;
}

div#footer h2 {
	font-size: 24px;
	font-weight: normal;
	padding-top: 5px;
}

div#footer h2 a {
	text-decoration: none;
	color: #fff;
}

/* Twitter */

div.twitter-5 {
	background: url('img/quote.png?v=2') right 20px no-repeat;
	clear: right;
}
div.twitter-avatar {
	float: left;
}
div.twitter-5 p {
	margin-bottom: 5px;
	margin-right: 20px;
	width: 300px;
}
div.twitter-5 li {
	margin-bottom: 10px;
	margin-left: 60px;
}

/* Text Shadows */

label,
input#submit,
input.button,
div#trackbacks p a,
div#comments p.clear a,
div.navigation span,
div.navigation a {
	text-shadow: 1px 1px 1px #000;
}


