/* 
Theme Name: GregorBLOG
Theme URI: http://gregor.su
Description: Casual work-desk theme for a different blogging experience.Brought to you <a href="http://www.geekwithlaptop.com">Geek with Laptop</a>
Version: 1.5
Author: Gregor
Author URL: http://www.geekwithlaptop.com
Tags: valid XHTML, fixed width, wood, two columns, widgets, gravatars, right sidebar, 

The CSS/XHTML is released under GPL:  http://www.opensource.org/licenses/gpl-license.php
*/

/* = GLOBAL = */
* {margin:0;padding:0;}
body {
	margin: 0;
	padding: 0;
	background:#ae8858 url(images/bg.jpg) repeat top left;
	font-family: "Lucida Grande", "Lucida Sans Unicode", sans-serif;
	font-size: 12px;
	line-height:21px;
	color: #635537;
}
a:visited {
	
}
a:link, a:active, a:visited {
	color: #d21600;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}


/* *********************************************************** Reset Everything */
div,dl,dt,dd,ul,ol,li,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,blockquote,th,td,p { margin:0; padding:0; }
h2 a, h3 a, h4 a, h5 a, h6 a, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover { text-decoration:none; }
table { border-collapse:collapse; border-spacing:0; }
fieldset,img { border:0; }
ul,ol { list-style:none; }
caption,th { text-align:left; }
q:before,q:after { content:''; }
abbr,acronym { border:0; }
.clear {clear:both}
.right { float:right;}
.left {	float:left;}


/* ***************************************************** */
/* HEADERS */
/* ***************************************************** */
hhhhhhhh1 {
	font-size:25px;
	font-family:Arial, "Times New Roman", Times, serif;
	font-weight:normal;
	line-height:normal;
	padding-bottom:2px;
	text-decoration:none;
}
h2 {
	font:bold 1.6em arial, verdana, tahoma, sans-serif;
	margin-bottom:0px;
}
h2 a {
	color:#f57c18;
}	
h2 a:hover {
	color:#333;
}
h3 {
	font:bold arial, verdana, tahoma, sans-serif;
	font-size:1.4em;
}
h3.sidebarajaxtabs {
	margin-bottom:3px;
}
h3.sidebar {
	margin-top:15px;
	color:#f57c18;
}
h3.comtitle {
	margin-bottom:2px;
	color:#444;
}
#main-blog {
	border: 0px solid #ff2000;
}
#main-blog h1 {
	font-size:22px;
	font-family:Georgia, "Times New Roman", Times, serif;
	font-weight:normal;
	line-height:normal;
	padding-bottom:2px;
	text-decoration:none;
}
#main-blog h1 a, #main-blog h1 a:visited, #main-blog h1 a:active{
	color:#4a4131;
	text-decoration:none;
	border-bottom:0px solid #b2b0a4;
}
#main-blog h1 a:hover{
	color:#d21600;
	text-decoration:none;
	border-bottom:1px solid #d21600;
}
/* ***********************************************************
*	Links									*
***********************************************************/
a {
	color:#29568f;
	}
a:hover {
	color:#d92100;
	}
.postedIn a{
	color:#f90;
}

#respond {
	width:550px;
	padding: 0 0 5px 10px;
	clear: both;
}
#commentform #submit{
	cursor:pointer;
}
.ddfmwrap .submit {
	margin-left:-8px;
	text-align: left;
}

.ddfmwrap .submit input {
	padding: 3px 12px;
	background: #fdfef6;
	border: 1px solid #918b6e;
	color: #2b2d2f;
	font: normal 0.9em Arial, Helvetica, Geneva, sans-serif;
}

#respond {
	background:url(images/comh3.png) no-repeat;
	width: 175px;	
	height: 36px;
	margin-top:25px;
	color:#271b03;
	padding:8px 0 0 40px;
	font-size:18px;
	font-family:Arial, Helvetica, sans-serif;
	font-weight:normal;
	text-align: left;
}
#commentform {	
	margin: 10px 10px 30px 0px;
	font: 110% Arial, Helvetica, sans-serif;
}
#commentform p {
	padding: 6px 0px;
	margin: 0px;
}
#commentform label{
	color: #787878;
	font-size: 87%;
}
#commentform input{
	width: 200px;
	background: #fff;
	border: 1px solid #b2b0a4;
	padding: 5px;
	margin-top: 3px;
	font: 100% 'Trebuchet MS', Verdana, Sans-Serif;
}
#commentform textarea{
	height: 130px;
	background: #fff;
	border: 1px solid #b2b0a4;
	padding: 5px;
	margin-top: 3px;
	font: 100% 'Trebuchet MS', Verdana, Sans-Serif;
	overflow: auto;
}
#commentform #submit{
	cursor:pointer;
}
.contactform input,  .contactform textarea {
	background: #333;
	border: 1px solid #b2b0a4;
	color: #fff;
}
.contactform input:focus, .contactform textarea:focus {
	background:#444444;
	border: 1px solid #000;	
	padding-bottom:30px;
	color:#fff;
}
.contactform #contactsubmit {
	width: 85px;
	background: #111;
	border: 1px solid #666;
	color: #e3e3e3;
	font-size:.85em;
}
.contactform #contactsubmit:focus{	
	width: 85px;
	background: #333;
	border: 1px solid #666;
	color: #e3e3e3;
	font-size:.85em;
}
.contactform textarea {
	width: 340px;
	height: 200px;
	margin-bottom:10px;
}

/* === MENU === */

.ban1 {
	position:relative;
	border: 0px solid #000000; 
	float: right; 
	margin-right: 27px; 
	margin-top: 3px; 
	padding-top: 0px; 
	vertical-align: top;
	
}
#menu {
height:55px;
left:200px;
margin:0;
padding:0;
position:absolute;
text-transform:uppercase;
top:30px;
}
#menu, #menu ul {
line-height:3.5;
list-style-image:none;
list-style-position:outside;
list-style-type:none;
}
#menu a, #menu a:hover {
border:medium none;
display:block;
text-decoration:none;
}
#menu li {
background:transparent url(images/menu_button2.png) repeat scroll 0 0;
float:left;
height:61px;
list-style-image:none;
list-style-position:outside;
list-style-type:none;
margin-left:10px;
margin-right:10px;
text-align:center;
width:99px;
}
#menu a, #menu a:visited {
color:#332613;
display:block;
font-weight:bold;
padding:10px 12px;
}
#menu a:hover, #menu a:active {
color:#D21600;
text-decoration:none;
}
/* == FOOTER == */
#bottom{
	background:url(images/footer2.png) no-repeat;
	
	
	height:154px;
	
}
#bottom p{
	text-align:center;
}

/* === HEADER === */
#up-header {
	float:left;
	position:relative;
	background:url(images/up_head.jpg) no-repeat;
	height:223px;
	width:995px;
	border: 0px solid fuchsia;
}
#down-header {
	float:left;
	position:relative;
	background:url(images/foot2.png) no-repeat;
	height:154px;
	width:995px;
	border: 0px solid fuchsia;
}
#m-header {
	float:left;
	position:relative;
	background:url(images/mid_head.jpg) no-repeat;
	height:154px;
	width:995px;
	border: 0px solid fuchsia;
}
#mid-context {
	background:url(images/mid.jpg) repeat-y;
	width:825px;
	border: 0px solid fuchsia;
}
#up-sb {
	float:left;
	position:relative;
	background:url(images/up_sidebar.jpg) no-repeat;
	height:22px;
	width:202px;
	border: 0px solid fuchsia;
}
#d-sb {
	float:left;
	position:relative;
	background:url(images/d-sb.png) no-repeat;
	height:31px;
	width:202px;
	border: 0px solid fuchsia;
}
#m-sb {
	float:left;
	position:relative;
	background:url(images/m-sb.jpg) repeat-y;
	width:202px;
	border: 0px solid fuchsia;
}
#context_main {
	margin-top: 0px;
	margin-left: 0px;
	margin-right: 0px;
	padding-bottom: 0px;	
}

#post-comments {
	background:url(images/commentbck.png) no-repeat;
	height:61px;
	width:63px;
	padding:16px 0px 0px 23px;
	font-size:18px;
	font-family:Georgia, "Times New Roman", Times, serif;
	font-weight:normal;
}
#post-comments a:link, .post-comments a:visited, .post-comments a:active{
	color:#4a4131;
	text-decoration:none;
}
#post-comments a:hover {
	color:#d21600;
	text-decoration:none;
}
.postdata {
	margin-bottom: 7px;
	font-size: 12px;
	font-weight: normal;
	font-style:italic;
	color: #4a4131;
}

.widget{
	width:198px;
	margin-left:0px;
	background:url(images/widgetbck.png) repeat-y;
	border-bottom:1px solid #e3dccb;
	margin-bottom:20px;
	text-align:center;
	padding-bottom:10px;
	margin-top:10px;
}
.widget h2 {
	height:40px;
	width:198px;
	background:url(images/widgeth2.png) no-repeat;
	text-align:center;
	padding:22px 0 0 0;
	font-size:20px;
	font-family:Georgia, "Times New Roman", Times, serif;
	font-weight:normal;
	line-height:normal;
	color:#4a4131;
	margin:0;
}
.widget ul {
	margin:0 0 15px 0;
	padding:5px 0;
	border:none ;
	list-style:none;
}
.widget ul li {
	padding:5px 15px 10px 15px;
	margin:0px;
	background: url(images/listseparator.png) no-repeat 25% 100%;
}
.widget ul li a{
	color: #d21600;
	text-decoration:none;
}
.textwidget{
	padding:0 8px 0 8px;
	}
.widget ul li a:hover{
	color: #635537;
	text-decoration:none;
}		
/* ***************************************************** */
/* SITE NAME AND PAGE LIST */
/* ***************************************************** */
#site-wrapper {
	width:1001px;
	margin-top:0;
	margin-left:auto;
	margin-right:auto;
	padding-bottom:10px;
	border: 0px solid fuchsia;
}
/* Search */
#search{
	width:258px;
	padding:5px;
	float:right;
	background:#f7f7f7;
	border:1px solid #ccc;
	position:absolute;
	right:0;
	top:0;
}
#search input{
	font-size: 14px;
	width:168px;
	margin:0px;
	padding:2px;
}
#search .btn{
	padding:3px;
	background:#00417b;
	color:#fff;
	font-size: 12px;
	width: auto;
	border:none;
	width:70px;
	font-weight:bold;
	margin-left: 5px;
}

#navigation  ul {
	float:right;
	margin-top:45px;
}
#navigation  li {
	line-height:1em;
	display:inline;
}
#navigation li a {
	color:#222;
	font:1.1em "garamond", serif;
	float:left;
	margin:7px 12px 2px;
	border-bottom:1px solid #fff;
}
#navigation  li a:hover {
	color:#222;
	border-bottom:1px dotted #777;
	text-decoration:none;
}
#navigation  li.current_page_item a {
	color:#222;
	border-bottom:1px solid #d8d8d8;
}

/* ***********************************************************
*	CONTENT						*
***********************************************************/

/* *********** Categories */
#navcategories {
	width:930px;
	margin-left:auto;
	margin-right:auto;
	background: #555 url(images/bgnavcategories.gif) center center;
}	
#navcategories  li {
	float: left;
	width: auto;
}
#navcategories ul li a {
	display: block;
	font: .9em Arial, Tahoma, Verdana;
	color: #fff;
	padding-right:10px;
	padding-left:10px;
	padding-top:8px;
	padding-bottom:10px;
	border-right:1px solid #444;
}
#navcategories ul li a:hover {
	background: #1f4c66;
	color:#fff;
}
#navcategories  li li {
	float: left;
	width: 160px;
}
#navcategories  li li a{
	background: #1f4c66;
	float: none;
	padding-right:10px;
	padding-left:10px;
	padding-top:6px;
	padding-bottom:5px;
	border-top: 1px solid #afafaf;
	border-right:0;
	width: 140px!important;
	width:160px;
	width/**/:/**/140px;
}
#navcategories  li li a:hover,  li li a:active {
	background: #4881a3;
	color:#fff;
}
#navcategories  li ul {
	position: absolute;
	width: 160px;
	left: -999em;
	border-bottom:1px solid #afafaf;
}
#navcategories  li:hover ul {
	left: auto;display: block;
}
/* ******** Container starts here */
#content-wrap {
	width:930px;
	margin-top: 10px;
	margin-left: auto;
	margin-right:auto;
	font-size:.75em;
	clear:both;
	background: url(images/bgcontainer.gif) repeat-y;
}
#sidebar{
	width:270px;
	float:left;
	padding-top:10px;
	padding-bottom:10px;
}
#footer {
	width: 950px;
	margin: 0 auto;
	color: #222;
	font-size:.6em;
	text-align:right;
}
#post p {
	margin:0;
	padding:0 0 10px;
}

#post blockquote { 
	padding: 2px 10px; 
	background: #ded7c7; 
	color:#635537;
	border: 1px dashed #635537;
	margin-bottom:10px;
	clear:both;
	display:block;
}
#post code {
	color:#444;
	clear:both;
	display:block;
	font:11px/17px tahoma, arial, sans-serif;
	background:#f9ffff;
	border:1px solid #bbb;
	padding:3px 5px;
}
.entry {
	margin-bottom:15px;
}
.postMeta {
	border-top:1px dotted #bbb;
	border-bottom:1px dotted #bbb;
	margin-top:5px;
	color:#bcb7b7;
	font:.9em/1.9em tahoma;
}
.author {
	float: left;
	line-height: 1.9em;
	background: url(images/iconAuthor.gif) no-repeat left center;
	padding-top: 1px;
	padding-bottom: 1px;
	padding-left: 20px;
}
.comment {
	line-height: 1.9em;
	padding-top: 1px;
	padding-bottom: 1px;
	padding-left: 18px;
}
.postedIn {
	text-align:right;
	font:.9em verdana;
	background:#473b38;
	color:#ccc;
	clear:both;
	padding-top:5px;
	padding-bottom:5px;
	padding-right:5px;
}
.postinfo { /* post info shown under the summary of posts on search results */
	text-align:right;
	padding-top:3px;
	font:.8em verdana, arial, tahoma,sans-serif;
	color:#9f9f9f;
	border-top:1px dotted #f1f1f1;
	margin-bottom:10px;
	display:block;
}
/************************************************************
*	POST STYLE						*
********************************************************** */
#singlepostinfo { /* The gray box shown on single post page under the entry that contains a little information about written post (This entry was written on...) */
	background: #f7f7f7;
	border-top: 1px dotted #ccc;
	border-bottom: 1px dotted #ccc;
	padding: 10px;
	clear:both;
	float:none;
	display:block;
	font:.8em/1.4em verdana;
}
.entry p {
	font:1em/1.5em verdana, arial, sans-serif;
	padding-top:5px;
	padding-bottom:5px;
}
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.alignleft {
	float: left;
	margin-right:10px;
	margin-top:5px;
	margin-bottom:3px;
}
.alignright {
	float: right;
	margin-left:10px;
	margin-top:5px;
	margin-bottom:3px;
}
.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
}
.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;
}
.entry blockquote { 
	padding: 2px 10px; 
	background: #e6f9c9; 
	color:#369;
	border:1px solid #a9d26a;
	margin-bottom:10px;
	clear:both;
	display:block;
}
.entry code {
	color:#444;
	clear:both;
	display:block;
	font:11px/17px tahoma, arial, sans-serif;
	background:#f9ffff;
	border:1px solid #bbb;
	padding:3px 5px;
}
.entry ul{
	padding:5px 0;
	list-style: square inside;
	margin-left:25px;
}
.entry ol{
	padding:5px 0;
	list-style: decimal inside;
	margin-left:25px;
}
.entry li {
	padding: 2px 0px;
	line-height: 13px;
	font-size:12px;
	color:#222;
}
.entry li ol, .entry li ul {
	padding:0;
	margin:0 0 0 15px;;
}
.entry blockquote {
	padding: 2px 10px;
	font: 1em georgia, garamond, serif;
	color:#369;
	clear:both;
	display:block;
	border-top:1px dashed #a9d26a;
	border-bottom:1px dashed #a9d26a;
	margin:5px 0;
}
.entry blockquote p {
	padding: 2px 0px;
	line-height: 15px;
}
.entry blockquote li {
	padding: 2px 0px;
	line-height: 15px;
	font-size:11px;
	color:#369;
}
.entry blockquote a {
	color:#0080ca;
	text-decoration:underline;
}
.entry blockquote a:hover {
	color:#039;
}

/************************************************************
*	Sidebar						*
********************************************************** */
/* Sidebar CSS tabs */
.controltabs {
	height: 27px;
}
.controltabs ul{
	height:27px;
	font-size:1em;
	border-bottom:1px solid #ccc;
	font-weight:bold;
}
.controltabs ul li{
	display: inline;
	float: left;
	line-height: 23px;
	height: 27px;
	font-weight: bold;
}
.controltabs ul li a {
	display: block;
	float: left;
	padding-right:5px;
	padding-left:5px;
	text-align: center;
	height: 26px;
	background: #f8fcf8;
	border-top:1px solid #eee;
	border-right:1px solid #eee;
	border-left:1px solid #eee;
	color: #000;
}
.controltabs ul li a:hover {
	background:#eff9ec;
}
.controltabs ul li a.active {
	color: #000;
	display: block;
	float: left;
	padding: 0 15px;
	text-align: center;
	height: 26px;
	border: 1px solid #ccc;
	border-bottom:1px solid #ebf8e7;
	background: url(images/tabs.gif) repeat-x bottom;
}.controltabs li {
	display: inline;
	float: left;
	line-height: 30px;
	font-weight: bold;
}
.tabcontainer {
	background:#eaf8e6;
	padding:8px;
	font-size:.8em;
	border:1px solid #ccc;
	font: 1em/1.2 Arial, Geneva, Helvetica, Sans-Serif;
}
.tabcontainer ul li {
	border-bottom: 1px dotted #ccc;
	margin-bottom: 4px;
	padding-top:2px;
	padding-bottom: 2px;
	padding-left:14px;
	line-height: 1.4em;
	color: #999;
	background: url(images/bullet.gif) no-repeat left 7px;
}
.tabcontainer  li span {
	display: block;
	font-size:.8em;
}
.tabcontainer li ul li {
	border-bottom:0;
}
.tabcontainer a  {
	display:inline;
	color:#333;
}
.tabcontainer a:hover {
	color:#d92100;
	text-decoration:none;
}
#archiveform  select{
	background-color: #FFF;
	border: 1px solid #7F9DB9;
	color: #000;
	margin: 0px;
	padding: 2px 1px 2px 2px;
}
#cat {
	background-color: #FFF;
	border: 1px solid #7F9DB9;
	color: #000;
	width:240px;
	margin: 0px;
	padding: 2px 1px 2px 2px;
}
#network img {
	margin-top:6px;
	margin-bottom:6px;
	margin-right:7px;
}
#widgetized ul li {
	border-bottom: 1px dotted #ccc;
	margin-bottom: 4px;
	padding-left:14px;
	line-height: 1.4em;
	color: #999;
	background: url(images/bullet.gif) no-repeat left 4px;
}
#widgetized li ul li {
	border-bottom:0;
}
#widgetized a  {
	display:inline;
	color:#333;
}
#widgetized a:hover {
	color:#d92100;
	text-decoration:none;
}
#sidebarleft {
	width:140px;
	float:left;
	margin-right:10px;
	display:inline;
}
#sidebarright {
	width:120px;
	float:left;
}


#wp-calendar {
	border: 0px solid #ddd;
	empty-cells: show;
	font-size: 11px;
	margin: 0;
	width: 90%;
	font: 11px;
}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
}
#wp-calendar td {
	padding: 2px 0;
}


 /* commentform
---------------------------------------------------------------------------------------------- */ 
#commentlist {margin: 0 0 15px 0;font-size:1em;}
#commentlist li {padding:5px;}
#commentlist li.alt {background: blue;border:1px solid #ccc;}
#commentlist .gravatar {float:left;margin:4px 5px 5px 0;width:55px;display:block;}
#commentlist .gravatar img{background:#dfdfdf; padding:2px;border:1px solid #bbb;}
#commentlist .commentmetadata  a:link,.commentmetadata  a:visited{color:#6F665A;text-decoration:none;}
#commentlist .commentmetadata  a:hover{color:#f60}
#commentlist .commenttext a:link, .commenttext a:visited {color:#297cdf}
#commentlist .commenttext a:hover {color:#f60;}
#commentlist .commenttext p {font: 1em tahoma, arial, verdana, sans-serif; line-height: 15px; margin: 3px 0 4px; color:#222;}
#commentlist .commenttext blockquote { color:#222;  font-size: .9em; font-style: italic; border-top: dashed 1px #ccc; border-bottom: dashed 1px #ccc; }
#commentlist .commenttext blockquote p { font-size: .9em; padding: 5px 0px;line-height: 16px; color:#222; }
#commentlist .commenttext code {font-size:11px;margin:7px 0;padding:5px 10px;line-height:13px;display:block;background:#efefef;}
#commentlist .commenttext ul, .commenttext ol {padding: 5px 0px;}
#commentlist .commenttext li ul li, .commenttext li ol li { padding: 0px;  font-size: .9em; line-height: 13px; color:#666; }		

#comment-wrapper cite {font:bold 1em Georgia,Times New Roman,Trebuchet;color:#6F665A;}
#comment-wrapper cite a:link,#comment-wrapper  cite a:visited{color:#6F665A;text-decoration:underline;}
#comment-wrapper cite a:hover {text-decoration:none;}

ol#trackbacks {list-style:decimal;margin:0 0 15px 27px;font:1em tahoma, arial, helvetica, verdana, sans-serif;}
ol#trackbacks li {padding:0;margin:0 0 3px 0;}
ol#trackbacks a:link, ol#trackbacks a:visited {color:#297cdf;}
ol#trackbacks a:hover {color:#d92100;}

#commentform p {margin-bottom:5px;}
#commentform label {color:#666;font-size: 80%;padding-left: 5px;}
#commentform small {color: #999999;font-size: 90%;}
#author,#email,#url {font: 100% Arial, Helvetica, sans-serif;width: 220px;padding: 2px;	border: 1px solid #e6e6e6;}
#commentform textarea {font: 100% Arial, Helvetica, sans-serif;width: 550px;height: 120px;border: 1px solid #e6e6e6;padding: 2px 3px 3px 7px;}
#submit {background: url(images/submit.gif) no-repeat;width: 59px;height:20px;border:none;float:left;text-indent: -900em;line-height:0px;cursor:pointer;}
#submit:hover {cursor:pointer;}
#commentform textarea:focus, #commentform input[type="text"]:focus {border: solid 1px #c00;}

/* comment list
---------------------------------------------------------------------------------------------- */

.nocomments {padding:7px 0 7px; background:#fff;font-size:.8em}
