/*
Theme Name: Codeplay
Theme URI: http://coding.cglounge.com/
Description: The theme developed for <a href="http://coding.cglounge.com/">coding.cglounge.com</a>.
Version: 1.0
Author: Johan Steen
Author URI: http://www.artstorm.net/
Tags: light, two column, widgets, jquery
*/

/* TABLE OF CONTENTS

00 - Global Elements - Standard Elements and Reset
01 - Typography - All Type throughout the site
02 - Main Structure - Columns, clearfix, etc.
03 - Header - Header, Logo, navigation, search.
04 - Main Content - Post boxes, post meta, images etc.
05 - Sidebar - Custom sidebar widgets.
06 - Footer - About, links
07 - Comments - Comments, Gravatars, Comment Form
08 - Plugins - Plugins, Shortcodes

/* ----------------------------------------------*/

/* 00 - GLOBAL ELEMENTS
/* ----------------------------------------------*/
/* Reset Elements */
body, html, div, blockquote, img, label, p, h1, h2, h3, h4, h5, h6, pre, ul, ol, li, dl, dt, dd, form, a, fieldset, input {
	margin: 0; padding: 0; border: 0; outline: none;
}
h1, h2, h3, h4, h5, h6 { font-size: 100%; }
ul, ol { list-style: none; }
img { border: 0; }

/* Init the Common Elements */
body {
	background-color: #313840;
	font-family: "Lucida Sans Unicode", "Lucida Grande", Verdana, Geneva, sans-serif;
	font-size: 13px;
	line-height: 1;
}

.clear {
	clear: both;
}
/* Clearfix */
.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%;
}

/* 01 - TYPOGRAPHY
/* ----------------------------------------------*/
p {	line-height: 18px;
	margin-bottom: 20px;
}
a {
	color:#007de2;
	text-decoration:none;
}
a:hover { text-decoration: underline; }
ul {
	margin-bottom: 20px;
	padding: 0 0 0 8px;
	line-height: 18px;
	list-style: disc;
}
ol {
	margin-bottom: 20px;
	padding: 0 0 0 12px;
	line-height: 18px;
	list-style: decimal;
}
li { margin: 0 0 0 10px; }
h1 {
	font-size: 32px;
	color: #969696;
	letter-spacing: -0.05em;
	border-bottom: 1px dashed #969696;
	margin-bottom: 10px;
}
h2 {
	font-size: 24px;
	color: #969696;
	border-bottom: 1px dashed #969696;
	margin-bottom: 10px;
}
h2 a, h2 a:hover {
	font-size: 24px;
	color: #969696;
	text-decoration: none;
}
h3 {
	font-size: 16px;
	color: #969696;
	margin-bottom: 8px;
}
h4 {
	font-size: 14px;
	font-size: 13px;
	color: #969696;
	color: #404040;
	margin-bottom: 4px;
}

/* 02 - MAIN STRUCTURE
/* ----------------------------------------------*/
#main {	background: #313840 url(images/background-slice.jpg) repeat-x; }
#container {
	width:980px;
	margin:0 auto;
	position:relative;
	background: url(images/background-content.png) repeat-y;
}

/* 03 - HEADER
/* ----------------------------------------------*/
#header {
	background: url(images/header-background.jpg) no-repeat;
	margin:0 auto;
	height: 140px;
	width: 960px;
}
#search-header {
	margin:0px; padding:0px;
	position: absolute;
	right: 40px;
	top: 90px;
}
#search-header-input {
	float: left;
	border: 1px solid #000000;
	background: #909090;
	width: 210px;
	padding: 4px;
}
#search-header-submit {
	float: left;
	margin: 2px 0 0 5px;
}
.menu { font-size: 14px; line-height: 18px; }
.menu ul {
	position:absolute;
	top: 94px;
	margin-left: 20px;
}
.menu li {
	display:inline;
	margin-right: 30px;
}
.menu li a, .page_item a { color: #ffffff; text-decoration: none; }
.current_page_item a, .current_page_parent a { color: #ffffff; font-weight: bold; }
.menu li a:hover, .page_item a:hover { text-decoration: underline; }


/* 04 - MAIN CONTENT
/* ----------------------------------------------*/
#search-form input {
	border: 1px solid #969696;
	padding: 6px;
	width: 250px;
	margin: 0;
}
#search-form .submit-button {
	height: 30px;
	border: 1px solid #969696;
	padding: 0;
	width: 80px;
	margin-left: 10px;
	background: #f2f2f2;
}
/* Post and Sidebar container */
#block_content {
	margin:0 auto;
	margin-top: 20px;
	width: 960px;
}
/* Post with comments */
#content_area {
	width:640px;
	float: left;
}
#content_area .separator {
	margin-top:40px;
	padding-top:40px;
}
#content_area .smallgap {
	margin-top:20px;
	padding-top:20px;
}
.block {
	margin-bottom:20px;
	position:relative;
}
.block_inside {
	margin-left: 20px;
}
/* For the loops */
h3 #archive-title { margin-bottom: 40px; font-size: 24px; letter-spacing: -0.05em; }
#content_area .thumbnail { float:left; margin-right:20px; border:1px solid #969696; }
#content_area .extract { min-height: 200px; float: left; width: 470px; }

/* Style the images */
p img {
	padding: 0;
	max-width: 100%;
	}

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left
	}

/* Image Captions */
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	border: 1px solid #cecece;
	text-align: center;
	background-color: #f2f2f2;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 14px;
	margin: 10px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
	border: 1px solid #cecece;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}
/* Special content boxes */
.content-box {
	background: #f2f2f2;
	border: 1px solid #cecece;
	margin: 30px 0 40px 0;
	position: relative;
}
.content-box .icon { 	margin: 30px 0 30px 200px; }
.content-box .linktext { 
	font-size: 16px;
	line-height: 20px;
	font-weight: bold;
	position: absolute;
	left: 280px;
	top: 35px;
}
.content-box .linktext a { color: #969696; }
.content-box .donate-button { 
	position: absolute;
	right: 245px;
	top: 45px;
}
.content-box .donated-icon { 	margin: 30px 0 30px 80px; }
.content-box .donated-text { 
	font-size: 14px;
	position: absolute;
	left: 160px;
	top: 35px;
	color: #808080;
}
/* For the top meta data */
.post-info { margin: 0 0 18px 0; }
.post-info a { color: #969696; }
.post-info span { font-size: 11px; color: #969696; }
.post-info .meta-date{
	background:url(images/icon-calendar.jpg) no-repeat 0 100%;
	padding: 0 10px 0 20px;
}
.post-info .meta-comment{
	background:url(images/icon-comment.jpg) no-repeat 10px 50%;
	padding:0 10px 0 30px;
	border-left:1px #969696 solid;
}
/* The link box at the bottom of pages/posts */
#social-box {
	background: #f2f2f2;
	border: 1px solid #cecece;
	margin: 30px 0 40px 0;
	position: relative;
}
#social-box h4 {
	font-size: 14px;
	color: #969696;
	margin-bottom: 6px;
}
#social-box #meta {
	margin: 20px 0 30px 10px;
}
#social-box #bookmarks {
	position: absolute;
	right: 10px;
	top: 20px;
}

/* 05 - SIDEBAR
/* ----------------------------------------------*/
#sidebar {
	float: left;
	width: 270px;
	margin-left: 32px;
}

#sidebar .widget { border-bottom: 1px solid #dfdfdf; padding-bottom: 30px; margin-bottom: 30px; }
#sidebar .icon { margin: 0; padding: 0; float: right; }
#sidebar .header { margin-bottom: 10px; }

#sponsor-ads img.left { margin-right: 5px; }

#sidebar a.on { color:#969696; }
#sidebar .tablinks { margin-bottom: 10px; }
#sidebar .tab_container { background: #ffffff; border: 1px solid #dfdfdf; padding: 20px; }

#sidebar ul li { list-style: none; margin: 0; padding: 0; }
#sidebar ul li ul { border: none; margin:0px 0px 0px 0px; padding: 0;}
#sidebar ul li ul li { border: none; margin:0px 0px 5px 0px; padding: 0;}


/* 06 - FOOTER
/* ----------------------------------------------*/
#footer {
	background: #000000 url(images/background-footer.png) no-repeat;
	margin:0 auto;
	width: 960px;
}
.footer_column {
	float: left;
	width: 200px;
	margin: 40px 30px 0px 20px;
}
#footer .long {
	width: 596px;
}
#footer p {
	color: #969696;
	font-size: 13px;
	line-height: 18px;
	margin-bottom: 18px;
}
#footer h4 {
	color: #cecece;
	font-size: 15px;
	margin-bottom: 6px;
	letter-spacing: -0.02em;
}
.footer_column ul li, .footer_column ul {
	list-style:none;
	margin: 0px;
	padding: 0px;
	font-size: 13px;
	line-height: 18px;
}

/* 07 - COMMENTS
/* ----------------------------------------------*/

/* 08 - PLUGINS
/* ----------------------------------------------*/
#wpcf label {
	clear: both;
	display: block;
	float: left;
	width: 150px;
	margin-top: 2px;
}
#wpcf input {
	border: 1px solid #969696;
	float: left;
	width: 200px;
	padding: 1px;
	padding: 4px;
	margin: 2px 5px 2px 0;
}
#wpcf textarea {
	border: 1px solid #969696;
	width: 350px;
	height: 100px;
	padding: 1px;
	padding: 4px;
	margin: 0 5px 10px 0;
}
#wpcf #contactsubmit {
	margin-left: 150px;
	width: 100px;
}
















/* Comments */
.right {
	float: right;
}
.left {
	float: left;
}
.form_header {
	margin-top: 40px;
}
.get_avatar {
	color: #a7a7a7;
	font-size: 10px;
/*	letter-spacing: -1px; */
	text-transform: uppercase;
	padding-top: 10px;
}
#comment-reply-notify p {
	font-size: 12px;
	margin-top: 16px;
}
#comment_mail_notify {margin-right: 6px; }
.submit_button {
	background: #fdfdfd url(images/button_bg.png) repeat-x 0 100%;
	border: 1px solid #bbbbbb;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 0.8em;
	color: #007de2;
	text-transform: uppercase;
	height: 2.4em;
	width: 7.0em;
	text-align: center;
	padding-bottom: 2px;
	letter-spacing: -0.05em;
	cursor: pointer;
	display: inline;
}
*+html .submit_button {
	height: 2.4em;
	padding-bottom: 0px;
}
.submit_button:hover {
/*	color: #232323; */
	background: #eeeeee url(images/button_bg_hover.png) repeat-x 0 100%;
	text-decoration: none;
}

#comments {
	background: #f2f2f2;
	padding: 25px 25px;
	border: 1px solid #cecece;
	margin-bottom: 30px;
}
#comments a {
	text-decoration: none;
}
#comments_wrap h3 {
	font-size: 22px;
	font-weight: normal;
	margin: 0px;
	padding-bottom: 20px;
	margin-top: 10px;
}
#comments_wrap h3 a, #comments_wrap h3 a:hover {
	color: #242323;
	text-decoration: none;
}
#comments_wrap .get_avatar {
	color: #a7a7a7;
	font-size: 10px;
	letter-spacing: -1px;
	padding-top: 10px;
}

#comments ol.parent {
	padding-bottom: 25px
}
#comments ol {
	margin: 0px;
	padding: 0px;
	padding-left: 120px;
}
#comments ol li {
	list-style: none;
	padding: 0px;
	margin: 10px 0px;
	padding-top: 1px;
}
#comments span.comment-reply {
	position: absolute;
	bottom: 10px;
	left: 20px;
	font-size: 10px;
	text-transform: uppercase;
}
#comments .comment_wrap {
	position: relative;
	background: #fff;
	border: 1px solid #cecece;
}
#comments .comment_wrap.bypostauthor {
	background: #fff;
}
#comments .single_comment {
	padding: 20px;
	padding-bottom: 60px;
}
#comments .comment_arrow {
	position: absolute;
	top: 20px;
	left: -32px;
}
#comments .comment_author {
	position: absolute;
	left: -120px;
	width: 100px;
	color: #8d8d8d;
	font-size: 10px;
	line-height: 14px;
}
#comments .comment_author span {
	display: block;
}
#comments .children {
	padding-left: 0px;
	border-left: 1px solid #ced0d0;
}
#comments .children li {
	padding-left: 25px;
	background: url(images/comment_li_bg.gif) no-repeat 0px 25px;
}
#comments .children .comment_wrap {
	background: #f8f8f8;
	border: 1px solid #cecece;
}
#comments .children .comment_wrap.bypostauthor {
	background: #f8f8f8;
}
#comments .children .comment_arrow {
	display: none;
}
#comments .children .comment_author {
	position: absolute;
	left: auto;
	right: 20px;
	bottom: 10px;
	width: 200px;
	height: 40px;
}
#comments .children .comment_author p {
	position: absolute;
	right: 50px;
	bottom: -20px;
	text-align: right;
}
#comments .children .comment_author span {
	display: block;
}
#comments .children .comment_author img {
	width: 40px;
	height: 40px;
	float: right;
}




/* Comments Form */
#respond {
	position: relative;
}
#comments .comment_form_wrap {
	position: relative;
	padding-left: 120px;
}
#comments .parent .comment_form_wrap {
	position: relative;
	padding-left: 0px;
}
#comments .textarea_arrow {
	position: absolute;
	top: 25px;
	left: 89px;
}
#comments .children .textarea_arrow,
#comments .parent .textarea_arrow {
	display: none;
}
#comments .comment_form_wrap .comment_author {
	position: absolute;
	left: 0px;
}
#comments .children .comment_form_wrap {
	position: relative;
	padding-left: 0px;
}
#comments .children .comment_form_wrap .comment_author,
#comments .parent .comment_form_wrap .comment_author,
#comments .children .form_header,
#comments .parent .form_header  {
	display: none;
}
#comments .input {
	width: 456px;
	width: 436px;
	padding: 4px 5px;
	background: #fff;
	border: 1px solid #ced0d0;
	color: #5f6565;
	font-family: Tahoma, Arial, Helvetica, sans-serif;
	display: block;
	margin-bottom: 10px;
	
}
#comments .children .input {
	width: 431px;
	width: 411px;
}
#comments .textarea {
	padding-top: 20px;
	padding-left: 20px;
	width: 448px;
	max-width: 468px;
	width: 428px;
	max-width: 448px;
	height: 135px;
	font-size: 12px;
}
#comments .children .textarea {
	width: 423px;
	width: 396px;
}
#comments #submit_comment {
	width: 12.0em;
	height: 3.0em;
	float: right;
	margin-right: 7px;
	margin-right: 7px;
	margin-top: 10px;
	margin-top: 6px;
}
#wpUserLinks_form #submit_comment {
	width: 12.0em;
	height: 3.0em;
	margin-top: 10px;
}
#comments .inputerror {
	border-color: #555;
}
#cancel-comment-reply {
	float: left;
	width: 120px;
	height: 30px;
	margin-top: 8px;
}
#cancel-comment-reply-link {
	background: #fdfdfd url(images/button_bg.png) repeat-x 0 100%;
	border: 1px solid #bbbbbb;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 9px;
	text-transform: uppercase;
	height: 22px;
	height: 2.7em;
	width: 70px;
	text-align: center;
	padding-bottom: 2px;
	letter-spacing: -0.05em;
	cursor: pointer;
	display: block;
	line-height: 22px;
	line-height: 26px;
	margin-top: 16px;
}
*+html #cancel-comment-reply-link {
	height: 22px;
	height: 2.7em;
	padding-bottom: 0px;
}
#cancel-comment-reply-link:hover {
	color: #232323;
	background: #eeeeee url(images/button_bg_hover.png) repeat-x 0 100%;
	text-decoration: none;
}
/* Trackbacks */
#trackbacks {
	margin-top: 30px;
}
#trackbacks ul li {
	padding: 0px;
	margin: 0px;
	background: none;
	font-size: 10px;
	padding-bottom: 5px;
}
#trackbacks ul li a {
	text-decoration: none;
	padding: 0px;
}
