body {
  width: 909px;
  margin-left: auto;
  margin-right: auto;
  background: #CDAA7D;
  text-align: justify;
  font: 13px Trebuchet MS, Helvetica, sans-serif;
  color: #444444;
}

h1, h2, h3 {
	margin-top: 0px;
	font-weight: normal;
	color: #444;
}

h1 {
	font-size: 2.4em;
}

h2 {
	font-size: 20px;
	padding-top: 16px;
}

a {
	color: #6630e0;
}

a:hover {
	text-decoration: none;
	color: #fb5605;
}

a img {
	border: none;
}

#wrapper {
	width: 900px;
	margin: 0 auto;
	border: 10px solid #FFFFFF;
}


/* Header */
#header {
	width: 900px;
	height: 100px;
	margin: 0px auto;
	background: #D2691E;
}

#header a {
	text-decoration: none;
	color: #FFFFFF;
}

/* Logo */
#logo {
	float:left;
	text-align:right;
	width:229px;
}

#logo h1, #logo p {
	margin: 0px;
	line-height: normal;
	font-weight: normal;
	color: #FFFFFF;
}

#logo h1 {
	padding: 27px 0px 0px 0px;
}

#logo h1 a{
  color:white;
  letter-spacing: 1px;
	font-weight: bold;
}

#logo h1 span a{
	font-size: 14px;
	font-weight: normal !important;
}

/* Page */
#page {
	width: 900px;
	margin: 0px auto;
	padding: 10px 0px 0px 0px;
	background: #FFFFFF;
}

#header-pic {
	background: url(../images/layo/img05.jpg) no-repeat left top;
	width: 900px;
	height: 210px;
}

/* Content */
#content {
	float: left;
	width: 556px;
}

#post {
	background: #FFFFFF;
	margin: 0px 0px 30px 0px;
}

#post .title {
	margin: 0px;
	background: #444444 url(../images/layo/img07.jpg) no-repeat left top;
	padding: 7px 25px;
	font-size: 1.4em;
}

#post .tag_list{
	font-size: 14px;
	padding-top: 20px;
}

#post .destroy_link a{
	color: #FF0000;
}

.post_message{
	padding-bottom:0px;
	margin-bottom:0px;
}

.how_to_put_code{
	padding-left: 20px;
	cursor: pointer;
}

.how_to_put_code_explanation{
	padding:0px;
	margin:0px;
}

.how_to_put_code_explanation .code_intro{
	padding-left: 10px;
}

p.active input{
	width: 8px;
}

/* Login */
#login input{
	width: auto;
}

/* Sidebar */
#sidebar {
	float: right;
	width: 300px;
	display: block;
}

#sidebar h3{
	font-size: 20px;
	background: #CCC;
	padding: 3px;
	margin-bottom: 10px;
}

#sidebar #search input {
	width: auto;
}

#sidebar #search input#title{
	width: 222px;
}

#sidebar #rss{
	display: block;
	margin-top: 32px;
}

#sidebar #rss a{
	font-size: 18px;
	text-decoration: none;
}

#sidebar #rss a img{
	float:left;
	margin: 3px 10px 0px 0px;
}

#sidebar #projects{
	margin-top: 32px;
}

#sidebar #projects ul {
	list-style: none;
	padding: 0px;
	font-size: 14px;
	margin: 0px;
}

#sidebar #projects ul a{
	text-decoration: none;
	color: green;
}

#sidebar #cloud{
	margin-top: 32px;
}

#sidebar #cloud #cloud_block{
	width: 294px;
}

#sidebar #cloud a {
	text-decoration: none;
}

/* Contact */
#new_contact input {
	width: 548px;
}

#new_contact textarea{
	width: 548px;
}

#new_contact #contact_submit{
	width: auto;
}

/* Footer */
#footer {
	clear: both;
	width: 920px;
	height: 40px;
	margin: 0px auto 30px auto;
  background: palegoldenRod;
	color: #333;
}

#footer p {
	margin: 0px;
	padding: 13px 0px 0px 0px;
	text-align: center;
	line-height: normal;
	font-size: smaller;
}

/* Forms */
input{
  width: 500px;
}

input.submit{
	width: auto;
}

textarea{
	width: 500px;
}

.clear{
	clear:both;
	margin:0px;
	padding:0px;
}

/* Errors */
.errorExplanation{
	padding: 6px;
	font-size: 12px;
	background:#FFDCD6;
	border:1px solid #990000;
	margin: 5px 0px 8px 0px;
	color:#BB0000;
	width: 492px;
}

.errorExplanation p{
  height: 0px;
  margin: 0px;
}

.errorExplanation ul {
   margin-bottom: 0px;
}

.errorExplanation ul li{
	padding-top: 10px;
}

.fieldWithErrors{
	padding-top: 3px;
}

/* Dateblock */
div.dateblock{
	line-height: 1.02em;
	width: 40px;
	float: left;
	margin-top: 6px;
	background: #F3F3F3;
	border-top: 1px solid #eee;
	border-left: 1px solid #eee;
	border-right: 1px solid #bbb;
	border-bottom: 1px solid #bbb;
	color: #aaa;
	text-align: center;
	margin-right: 10px;
	letter-spacing: 0.17em;
	font-family: Arial, Verdana, sans;
	padding: 1px;
}

span.dateblock_mon{
	font-size: 9px;
	display: block;
	text-align: center;
	color: #999;
	font-family: Georgia, Arial, Verdana, sans;
}

span.dateblock_day{
	font-weight: bold;
	font-size: 15px;
	display: block;
	font-family: Georgia, Arial, Verdana, sans;
	text-align: center;
	position: relative;
	top: -1px;
	color: #336;
}

span.dateblock_year{
	font-size: 9px;
	display: block;
	text-align: center;
	color: #999;
	font-family: Georgia, Verdana, Arial, sans;
}
/* End of date block */


/* Tags cloud */
.css1 { font-size: 1.0em; }
.css2 { font-size: 1.2em; }
.css3 { font-size: 1.4em; }
.css4 { font-size: 1.6em; }

/* Begin CSS tabs */
ul#tabnav { /* general settings */
	text-align: right; /* set to left, right or center */
	margin: 1.8em 0 0.6em 0; /* set margins as desired */
	font: bold 11px verdana, arial, sans-serif; /* set font as desired */
	list-style-type: none;
	padding: 3px 10px 3px 10px; /* THIRD number must change with respect to padding-top (X) below */
}

ul#tabnav li { /* do not change */
	display: inline;
}

body#tab1 li.tab1, body#tab2 li.tab2, body#tab3 li.tab3, body#tab4 li.tab4 { /* settings for selected tab */
	border-bottom: 1px solid #fff; /* set border color to page background color */
	background-color: #fff; /* set background color to match above border color */
}

body#tab1 li.tab1 a, body#tab2 li.tab2 a, body#tab3 li.tab3 a, body#tab4 li.tab4 a { /* settings for selected tab link */
	background-color: #fff; /* set selected tab background color as desired */
	color: #000; /* set selected tab link color as desired */
	position: relative;
	top: 1px;
	padding-top: 4px; /* must change with respect to padding (X) above and below */
}

ul#tabnav li a { /* settings for all tab links */
	padding: 10px; /* set padding (tab size) as desired; FIRST number must change with respect to padding-top (X) above */
	border: 1px solid #6c6; /* set border COLOR as desired; usually matches border color specified in #tabnav */
	background-color: #cfc; /* set unselected tab background color as desired */
	color: #666; /* set unselected tab link color as desired */
	margin-right: 0px; /* set additional spacing between tabs as desired */
	text-decoration: none;
	border-bottom: none;
}

ul#tabnav a:hover { /* settings for hover effect */
	background: #fff; /* set desired hover color */
}

.selected {
	background: #fff !important;#   #f5f48b
}
/* End of CSS tabs */

/* Post */
.post_block{
	margin-bottom:40px;
}
 
/* Comments */
.comment{
	display:block;
	margin-bottom: 18px;
}

.comment .avatar{
	float:left;
}

.comment .avatar img{
	width: 50px;
	margin-top: 3px;
}

.comment .content{
	margin-left: 65px;
}

.comment .content div{
	margin-top: 7px;
}

.comment .content span.date{
	color: #777;
	display: block;
}

#send_new_comment {
  padding-top: 15px;
  display: block;
  clear: left;
}

.new_comment{
	margin: 0px 0px 60px 65px;
}

.new_comment span{
	display: block;
	width: 250px; 
}

.new_comment textarea{
	min-height: 100px;		
}

.new_comment #spinner{
	padding-left:15px;
	float:left;
}

.new_comment input.submit{
	float: left;
}

#new_comment input, #new_comment textarea{
	width: 480px;
}


p.extra_field{
	display: none;
}

#no_comments{
	padding-left: 65px;
}

#comment_submit{
	width: auto !important; 
}
/* End of comments */

/* Flash */
.message{
	padding: 4px 8px 3px 8px;
  font-size: 12px;
	margin: -2px 0px 8px 0px;
	display:block;
	width: 300px;
}

.message.error {
	background:#FFDCD6;
	border:1px solid #990000;
	color:#BB0000;
}

.message.ok {
	background: #CCFFCC;
	border:1px solid  #00BB00;
	color:#008800;
}

/* Paginator */
.pagination {
  padding: 3px;
  margin: 3px;
}
.pagination a {
  padding: 2px 5px 2px 5px;
  margin: 2px;
  border: 1px solid #aaaadd;
  text-decoration: none;
  color: #000099;
}
.pagination a:hover, .pagination a:active {
  border: 1px solid #000099;
  color: #000;
}
.pagination span.current {
  padding: 2px 5px 2px 5px;
  margin: 2px;
  border: 1px solid #000099;
  font-weight: bold;
  background-color: #000099;
  color: #FFF;
}
.pagination span.disabled {
  padding: 2px 5px 2px 5px;
  margin: 2px;
  border: 1px solid #eee;
  color: #ddd;
}