/*
Theme Name: The New Blue
Theme URI: http://cgtutorials.110mb.com
Description: This is a three columns Wordpress Theme with a two columns sidebar on the right and a tabbed widget. The theme has gravatars impemented and post thumbnail's with a custom write panel.
Version: 1.0
Author: Andrei
Author URI: http://cgtutorials.110mb.com
*/

/*******************************************
	Reset Defaults Start
*******************************************/
* {margin: 0; padding: 0;}
*:focus {outline: none;}
h1, h2, h3, h4, h5, h6, p, blockquote {margin: 0; padding: 0;}
a {color: #215679;}
a:hover {color: #4C82A6;}
a img {border: none;}
ul { list-style-type: none;}

/*******************************************
	Header
*******************************************/
body {
	position: relative;
	margin: 0 auto 0 auto;
	font-family: Trebuchet MS, sans-serif;
	text-align: center;
	background: #fff url(images/headerbg.gif) repeat-x top left;
}
.wrapper {margin: auto;	width: 1000px; text-align: left;}

#header {clear: both; height: 117px;}
*:first-child+html #header {clear: both; margin: 0;} /* Filter for IE7 */
* html #header {clear: both; margin: 0 0 4px 0;} /* Filter for IE6 */

.sitename {float:left; width:600px;}
#header h1.sitename {float: left; color: #fff;}

.description {color: #FFF;	margin-top: 65px;}

#header img.logo {float: left; height: 65px;}
*:first-child+html #header img.logo {} /* Filter for IE7 */

/*******************************************
	Connect
*******************************************/
#connect {height: 77px;	float: right;}
#connect ul {list-style-type: none;	float: right;}
#connect ul li {display: inline;}

/*******************************************
	Search
*******************************************/
#search {
	background: url(images/search_bg.gif) no-repeat top right;
	float:right;
	width: 281px;
	height: 40px;
}
#searchform {}
.s {
	background: none;
	border: none;
	color:#3E708F;
	font-family:Verdana, Arial, Helvetica, sans-serif;
	font-size: 14px;
	line-height: 14px;
	margin: 5px 0 0 8px;
	padding: 3px 45px 4px 8px;
	width: 217px;
}
*:first-child+html .s {margin: 0 0 0 -50px;}/* Filter for IE7 */
* html .s {	margin: 0;}/* Filter for IE6 */

.button {
	background:transparent url(images/search_glass.png) no-repeat top left;
	border: none;
	height:34px;
	width: 34px;
	left: 236px;
	top: -27px;
	position: relative;
	text-indent:-9999px;
}
.button:hover {cursor: pointer;}
*:first-child+html .button {text-indent: -9999px;} /* Filter for IE7 */

/*******************************************
	Navigation
*******************************************/
#nav {
	clear: both;
	height: 37px;
	margin-left: -4px;
	width: 1000px;
}
#nav ul {margin: 0; padding: 0; list-style: none;}
#nav li {
	background: url(images/bgtableft.gif) left top no-repeat;
	float: left;
	margin-right: 2px;
	padding-left: 12px;
}
#nav li:hover {color: #FFFFFF; text-decoration: underline; cursor: pointer;}
#nav li a {
	background: transparent url(images/bgtabright.gif) no-repeat scroll right top;
	font-size: 10pt;
	font-weight: bold;
	color: #FFFFFF;
	text-decoration: none;
	display: block;
	height: 37px;
	line-height: 37px;
	padding-left: 2px;
	padding-right: 12px;
}
#nav li a:hover {text-decoration: underline;}

#nav li.current_page_parent, #nav li.current_page_item, #nav li.current-cat, #nav li.current-cat-parent {background-position: left -37px;}
#nav li.current_page_parent a, #nav li.current_page_item a, #nav li.current-cat a, #nav li.current-cat-parent a {background-position: right -37px;}

#nav ul.children, #nav ul li ul {
	display:none;
	position: absolute;
	width: 140px;
	margin-left:-12px;
        z-index: 2;
}
#nav ul.children li, #nav ul li ul li {
	background: url(images/bgtableft_t.png) left top no-repeat;
	margin-bottom:-2px;
	margin-top:-3px;
	width: 140px;
	float: left;
}
#nav ul.children li a , #nav ul li.page_item ul li a {
	background: transparent url(images/bgtabright_t.png) no-repeat scroll right top;
}
#nav ul.children li ul {margin-left:100px; margin-top:-34px;}
#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li:hover ul ul ul ul {display:none;}
#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li li li li:hover ul {display:block;}

*:first-child+html #nav {margin-left: -1px;}/* Filter for IE7 */
*:first-child+html #nav ul.children li {margin-top: -3px;} /* Filter for IE7 */
*:first-child+html #nav ul.children li ul {margin-top: 30px;}/* Filter for IE7 */

* html #nav li a {float: left;	margin-left: 4px;} /* Filter for IE6 */
* html #nav {clear: both; height: 37px;}/* Filter for IE6 */
* html #nav li {float: left;}/* Filter for IE6 */
*:first-child+html #nav ul.children li ul {margin-left:-20px;	margin-top:0px;} /* Filter for IE7*/

.arrow {
	background: transparent url(images/arrow.gif) no-repeat scroll right top;
	margin: 14px 5px 0 5px;
	float: right;
	width: 10px;
	height: 10px;
}
*:first-child+html .arrow {padding: 0; float: left;}/* Filter for IE7*/

/*******************************************
	Main
*******************************************/
#main {
	clear: both;
	padding: 0 0 0 0;
	background: #fff;
}
#contentwrapper {
	float: left;
	width: 620px;
}
#content {
}
#content .pageTitle {
	padding: 0 10px 10px 0;
	font-size: 16pt;
	color: #215679;
}
.contentsearch {
	margin: 0 0 40px 100px;
}
.contentsponsors {
	margin: 0 0 30px 190px;
}
.adsense_top {
	text-align: left;
	margin: 0 0 0 10px;
	font-size: 9pt;
}
.adsense_sidebar {
	text-align:center;
	margin:0 0 0 0;
	font-size:9pt;
}
.post {
	margin: 10px 0 10px 0;
position:relative;
}
#content h2, #content h3, #content h4, #content h5, #content h6 {
	padding: 0 0px;
	font-weight: bold;
}
#content h2 {
	font-size: 14pt;
}
#content h3 {
	font-size: 12pt;
}
#content h4, #content h5, #content h6 {
	font-size: 11pt;
}
h2.homeTitle {
	margin: 0 0 15px 0;
}
.postTitle a {
	padding: 0 0px;
	font-size: 14pt;
	font-weight: bold;
	color: #000;
        padding-right:80px;
}
h2.postTitle a {
	font-size: 16pt;
	font-weight: bold;
	text-decoration: none;
	color: #000;
	letter-spacing: -1px;
}
h2.postTitle a:hover {
	color: #224155;
}
.postMeta {
	padding: 2px 10px 4px 0px;
	font-size: 9pt;
	color: #333;
}
.postMeta .date {
	background: url(images/date.gif) left no-repeat;
	padding: 0 0 0 20px;
}
.postMeta .filed {
	background: url(images/folder.gif) left no-repeat;
	padding: 0 0 0 20px;
	margin: 0 0 0 0px;
}
.postMeta .commentcount {
	background: url(images/comments.gif) left no-repeat;
	padding: 0 0 0 18px;
	margin: 0 0 0 3px;
}
.postMeta a {
	text-decoration: none;
}
.postContent img {
	border: 3px solid #CCC;
	margin: 5px 0;
}
.postContent p {
	padding: 5px 0px;
	font-size: 10pt;
	color: #000;
}
.postContent ul, ol {
	padding: 0 0 0 35px;
}
.postContent ul li, ol li {
	font-size: 10pt;
	color: #000;
}
.postTags {
	overflow: hidden;
	margin: 15px 10px;
	font-size: 9pt;
	color: #000;
	background: #eee;
	padding: 2px 4px;
}
.more-link{float:right; margin-right: 10px}
/*******************************************
	Comments
*******************************************/
span.comments {
	float: left;
}
span.comments a {
	padding-left: 20px;
	background: url(images/comment.gif) left bottom no-repeat;
	font-size: 10pt;
	text-decoration: none;
}
span.add_comments {
	clear: both;
	float: right;
	padding: 0;
	margin-top: -20px;
}
span.add_comments a {
	padding-left: 20px;
	background: url(images/comment.gif) left bottom no-repeat;
	font-size: 10pt;
	text-decoration: none;
}
.commentlist {
	border:1px solid #CCCCCC;
	font-size: 10pt;
	list-style: none;
	padding: 0px;
}
.commentlist li {
	padding: 10px 20px;
	background: #e8eef3;
	width: 578px;
}
.commentlist li.alt {
	background: #dbe7f1;
	width: 578px;
}
.commentlist p.author-name {float:left; margin:0; padding:0;}
.commentmetadata {
	float:right;
	margin-top:-15px;
}
h3.comments {
	padding: 0 10px;
	font-size: 12pt;
	font-weight: bold;
	text-decoration: none;
	color: #000;
	width: 470px;
}
.comment p {
	padding: 10px;
	font-size: 10pt;
	color: #000;
}
.comment a {
	text-decoration: none;
}
.comment a:hover {
	text-decoration: underline;
}
.comment textarea {
	width: 510px;
}
.comment #submit {
	width: 165px;
	height: 36px;
	background: url(images/commentbutton.gif) left top no-repeat;
	border: none;
	font-size: 9pt;
	color: #333;
	margin-left:-5px;
	margin-bottom:10px;
}
.comment #submit:hover {
	cursor: pointer;
}
#trackback {
	margin-top: 10px;
	margin-bottom: 10px;
}

.comment-text {
	background:#FFFFFF none repeat scroll 0 0;
	border:1px solid #DCDDDD;
	position:relative;
	margin-left:100px;
	margin-top:10px;
}
.comments .comment-text p{margin: 0; padding:0;}

/*******************************************
	Comment Form
*******************************************/
.comment p input {padding: 2px 5px;}
.comment p textarea {padding: 2px 5px;}
/*******************************************
	Sidebars
*******************************************/
#allsidebars {
	background: #fff url(images/side_bg.gif) repeat-y top left;
	width: 355px;
	float: right;
	margin-top: -18px;
}
.sideBgTop {
	background: #fff url(images/side_bg_top.gif) no-repeat top left;
	height: 18px;
}
.sideBgBottom {
	background: #fff url(images/side_bg_bottom.gif) no-repeat bottom left;
	height: 28px;
}
.sidebars {
	width: 355px;
	background: #363636;
}
.sidebars h2 {
	padding: 0 0 2px 0;
	font-size: 11pt;
	color: #fff;
	letter-spacing: -1px;
}
.sidebars p {
	padding: 2px 0;
	font-size: 9pt;
}

.sidebarsB {
	width: 355px;
	margin-top: 10px;
}
.sidebar1 {
	float: left;
	width: 165px;
	margin-left: 5px;
}
.sidebar2 {
	float: right;
	width: 165px;
	margin-right: 5px;
}
.sidebarsB h2 {
	padding: 6px 10px;
	font-size: 11pt;
	color: #fff;
	background: url(images/sidebar_h2.gif) left no-repeat;
	margin-bottom: 3px;
}
.sidebarsB table {
	width: 165px;
}
.sidebarsB ul {
	margin: 0;
	padding: 0 0 5px 0;
}
.sidebarsB li {
	margin-bottom: 20px;
	list-style: none;
	font-size: 9pt;
}
.sidebarsB li ul {
	padding: 0;
}
.sidebarsB ul ul li {
	margin:0 0 3px 10px;
	padding: 3px 2px 2px 16px;
	color: #222;
	background: url(images/bullet.gif) left 7px no-repeat;
	line-height: 17px; 
	border-bottom: 1px dotted #ccc;
}
.sidebarsB a {
	display: block;
	color: #333;
	text-decoration: none;
	display: inline;
}
.sidebarsB a:hover {
	color: #4C82A6;
	text-decoration: underline;
}
.sidebarsB p {
	padding: 2px 0;
	font-size: 9pt;
}
#tag_cloud a {
	display: inline;
}
.sidebarsB ul.children li {
	border-bottom:none;
}
.sidebarsB ul.children {
	margin-bottom:-5px;
}

/*******************************************
	Post bottom
*******************************************/
#author-info {}

#related {float: left;	margin-right: 20px;}
#related ul {}
#related ul li a {font-size: 12px;}

#share {float: right;}
#share ul {margin-top: 10px;}
#share ul li {display: inline;}
#subscribe-options {margin:10px auto; width:261px;}
#subscribe-text {line-height:20px;}
.subscribe-text-link {margin-top:-4px;}
#subscribe-text a {text-decoration: none;}
#subscribe-rss-img {float: left; margin-right: 10px;}


/*******************************************
	Footer
*******************************************/
#footer {
	clear: both;
	padding-top: 20px;
	padding-bottom: 10px;
	color: #fff;
	text-align: center; 
	background: #0c151b url(images/footerbg.gif) repeat-x top left;
}

.footer-item {
	margin-top: 0px;
	float: left;
	margin-right: 40px;
	padding-bottom: 10px;
}
.footer-item ul {width: 200px; margin-top: 10px;}
.footer-item ul li  {
	list-style-type: none;
	background: #080f13;
	padding-left: 5px;
	margin-bottom: 5px;
}
.footer-item ul li a {color: #7e95a1; text-decoration: none;}
.footer-item ul li a:hover { text-decoration: underline;}

.long-text ul { width: 300px;}

#footer p {
	padding: 0;
	font-size: 8pt;
	color: #fff;
	text-align: center;
}
#footer p a {color: #87BBD9;}
#footer p a:hover {color: #fff;}
#credits {
	margin: 0 auto;
	line-height: 19px;
}
#copy p a {
	text-decoration: none;
	font-size: 8pt;
	color: #fff;
	text-align: center;
}
#copy p a:hover {text-decoration: underline;}

/* Extra */
#nextprevious {
	padding:10px;
	font-size:120%;
}
.cleared {
	clear: both;
}
.left {
	float:left;
}
.right {
	float:right;
}
.gravs {
	margin-top:5px;
}
.avatar {
	float:left;
	margin-right:10px;
	margin-bottom:10px;
	padding:3px;
	border:1px solid #cccccc;
	background: #FFFFFF;
}
.introIMG {
	float:left;
	margin:5px 15px 0 0px;
	overflow:hidden;
}
.introIMG img {
	border:none;
	border: 3px solid #CCC;
	width: 200px;
}
.sponsors {
	margin: 10px auto 10px 43px;
	width : 355px;
	overflow: hidden;
}
.sponsors img {
	overflow: hidden;
	float: left;
	margin: 5px;
}

blockquote {
	margin: 5px 20px 5px 20px;
	padding: 5px 5px;
	background: #B3D4EF;
	border: 1px solid #63849F;
}
code {
	color: #3366CC;
}

.topgrad {
	height: 18px;
	background: url(images/topgrad.gif) repeat-x top;
}
.bottomgrad {
	height: 18px;
	background: url(images/bottomgrad.gif) repeat-x bottom;
}
.spacer {
	width:355px;
	height: 10px;
	background: url(images/spacer.gif) left no-repeat;
	margin: auto;
}
.spacer_2 {
	width:620px;
	height: 10px;
	background: url(images/spacer_2.gif) left no-repeat;
	margin: 0px auto;
	padding-top: 30px;
	clear: both;
}

.retweet {position: absolute; right: -49px; top: -6px;}