div.fluid{
    width: 90% !important;
}

div.fixed{
    width: 950px !important;
}

/* 
 * Basic
 */
*{
    margin: 0em;
    padding: 0em;
}

body{
    background-color: #fff;
    color: #585858;
    font-size: 10pt;
    font-family: "trebuchet ms", helvetica, sans-serif;
}

h1,h2,h3,h4,h5,h6{
    font-weight: normal;
    letter-spacing: -1px;
    text-transform: lowercase;
}

h3,h4,h5,h6{
    color: #66000F;
}

h1 span{
    font-weight: bold;
}

h2 span{
    font-weight: bold;
}

h3 span{
    font-weight: bold;
}

h4 span{
    font-weight: bold;
}

br.clear{
    clear: both;
}

img{
    padding: 3px;
    border: solid 1px #e1e1e1;
}

img.floatTL{
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1.5em;
    margin-top: 0.5em;
}

a{
    text-decoration: underline;
    color: #D90000;
}

a:hover{
    text-decoration: none;
}

ul.links, ul.comment_list{
    list-style: none;
    overflow:auto;
}

ul.comment_list li{
    border-bottom:1px dotted #E1E1E1;
}

ul.links li{
    line-height: 2em;
}

ul.links li.first{
}

p{
    line-height: 1.8em;
}

table {
    padding: 0; 
    margin: 0; 
    border-collapse: collapse; 
}

table tbody td, table tbody th {
    padding: 10px; 
    text-align: left;
}

table tfoot td, table tfoot th, table tfoot tr {
    text-align: left; 
    text-transform: uppercase; 
    padding: 10px;
}

.errors{
    color: red;
    font-weight: bold;
}

/* 
 * Header 
 */
#header{
    width:100%;
    height:122px;
    background: #440000 url('../img/n1.gif') repeat-x;
}

#header_inner{
    position: relative;
    width: 950px;
    height:122px;
    margin: 0 auto;
}

/* 
 * Logo 
 */
#logo{
    position: absolute;
    bottom: 0.6em;
}

#logo a.nodecor{
    text-decoration: none;
    color: #fff;
    font-size: 2.6em;
}

#logo a span{
    font-weight: bold;
}

#logo h1{
    display: inline;
    color: #fff;
    font-size: 2.6em;
}

#logo h2{
    display: inline;
    padding-left: 0.5em;
    color: #E5CCD0;
    font-size: 1.0em;
}

/* 
 * Menu 
 */
#menu{
    position: absolute;
    right: 0em;
    bottom: 0em;
}

#menu ul{
    list-style: none;
}

#menu li{
    float: left;
}

#menu li a{
    margin-left: 0.5em;
    display: block;
    padding: 1.1em 1.4em 1.0em 1.4em;
    background: #fff url('../img/n4.gif') repeat-x;
    border: solid 1px #fff;
    color: #616161;
    font-weight: bold;
    font-size: 1.0em;
    text-transform: lowercase;
    text-decoration: none;
}

#menu li a.active{
    background: #CA2F2F url('../img/n3.gif') repeat-x;
    color: #fff;
    border: solid 1px #A94B4B;
}

/* 
 * Main 
 */
#main{
    background: #fff url('../img/n2.gif') 0px 1px repeat-x;
}

#admin{
    position: relative;
    text-align: right;
    padding-top: 1.0em;
    padding-right: 2.0em;
}

#main_inner p{
    text-align: justify;
    margin-bottom: 2.0em;
}

#main_inner ul{
    margin-bottom: 2.0em;
}

#main_inner{
    position: relative;
    width: 950px;
    margin: 0 auto;
    padding-top: 3.5em;
}

#main_inner h3,h4{
    border-bottom: dotted 1px #E1E1E1;
    position: relative;
}

#main_inner h3{
    font-size: 2.1em;
    padding-bottom: 0.1em;
    margin-bottom: 0.8em;
}

#main_inner h4{
    font-size: 1.2em;
    padding-bottom: 0.175em;
    margin-bottom: 1.4em;
    margin-top: 0.95em;
}

#main_inner .post{
    position: relative;
    margin-bottom: 1.5em;
}

#main_inner .post h1,h2{
    text-transform: none;
}

#main_inner .post a{
    text-decoration:none;
}

#main_inner .post a:hover{
    text-decoration:underline;
}

#main_inner .post h1{
    font-size:170%;
    margin-top: 0.5em;
    margin-bottom: 0.2em;
}

#main_inner .post h2{
    font-size:130%;
    margin-top: 0.7em;
    margin-bottom: 0.2em;
}

#main_inner .post h1 span{
    font-weight: lighter;
    font-size: smaller;
}

#main_inner .post h3{
    position: relative;
    font-size: 1.7em;
    padding-bottom: 1.2em;
}

#main_inner .post p{
    margin: 0;
    line-height: 140%;
    margin-bottom: 0.7em;
}

#main_inner .post p.next-post{
    text-align:     right;
}

#main_inner .post p.bookmarks {
    text-align:     right;
}


#main_inner .post p.bookmarks img{
    padding: 0;
    border: 0;
}

#main_inner .post pre{
    margin-left: 1em;
    margin-top: 0.5em;
}

#main_inner .post ul{
    margin-left: 2em;
    margin-bottom: 1em;
    line-height: 100%;
}

#main_inner .post li{
    margin-bottom: 0.5em;
}

#main_inner .post ol{
    margin-left: 2em;
    margin-bottom: 1em;
}

#main_inner .post ul.post_info{
    list-style: none;
    position: relative;
    font-size: 0.8em;
    margin-bottom: 0.1em;
    margin-left: 0;
}

#main_inner .post ul.post_info li{
    background-position: 0em 0.2em;
    background-repeat: no-repeat;
    display: inline;
    padding-left: 18px;
}

#main_inner .post ul.post_info h3 {
    font-size: 1.1em;
    font-style: bold;
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
    display: inline;
}

#main_inner .post ul.post_info li.date{
    background-image: url('../img/n5.gif');
}

#main_inner .post ul.post_info li.comments{
    background-image: url('../img/n6.gif');
    margin-left: 1.1em;
}

/*
 * Similar posts
 */

#main_inner .similar{
    position: relative;
    margin-bottom: 3.0em;
}

#main_inner .similar p{
    margin-bottom: 0.1em;
    margin-left: 1em;
}

#main_inner .similar h3{
    margin-bottom: 0.3em;
}

#main_inner .similar a{
    margin-bottom: 0.1em;
}


/*
 * Like It Post
 */

#main_inner .likeit{
    position: relative;
    margin-bottom: 3.0em;
}

#main_inner .likeit h3{
    margin-bottom: 0.3em;
}

#main_inner .likeit ul{
    margin-left: 2em;
}

#main_inner .likeit li.rss{
    list-style-image: url('/media/img/rss.gif');
}

#main_inner .likeit li.twitter{
    list-style-image: url('/media/img/twitter.png');
}

#main_inner .likeit li.userbar{
    list-style-image: url('/media/img/dw-small.gif');
}
/* 
 * Comments
 */
#main_inner .comments{
    position: relative;
    border-top: dotted 1px #E1E1E1;
    border-bottom: None;
}

#main_inner .comments h3{
    position: relative;
    font-size: 1.7em;
    padding-bottom: 0.3em;
    border-bottom: None;
    border-top: None;
}

#main_inner .comments .comment_author, .comment_info{
    border-right:1px dotted #E1E1E1;
    clear:left;
    float:left;
    overflow:hidden;
    width:14%;
}

#main_inner .comments .comment_text{
    margin-left:15%;
}

/* 
 * Footer 
 */
#footer{
    width: 950px;
    margin: 0 auto;
    text-align: center;
    clear: both;
    border-top: dotted 1px #E1E1E1;
    margin-top: 1.0em;
    margin-bottom: 1.0em;
    padding-top: 1.0em;
    text-transform: lowercase;
}

input.button
{
    background: #CA2F2F url('../img/n3.gif') repeat-x;
    color: #fff;
    border: solid 1px #A94B4B;
    font-weight: bold;
    text-transform: lowercase;
    font-size: 0.8em;
    height: 2.0em;
}

input.text{
    border: solid 1px #F1F1F1;
    font-size: 1.0em;
    padding: 0.25em 0.25em 0.25em 0.25em;
}

/*
 * Pagination
 */
div.pagination {
    padding: 3px;
    margin: 3px;
    text-align:center;
}

div.pagination a {
    border: 1px solid #dedfde;
    margin-right:3px;
    padding:2px 6px;
    background-position:bottom;
    text-decoration: none;
    color: #99210B;
}

div.pagination a:hover, div.pagination a:active {
    border: 1px solid #000;
    background-image:none;
    background-color:#777777;
    color: #fff;
}

div.pagination span.current {
    margin-right:3px;
    padding:2px 6px;    
    font-weight: bold;
    color: #99210B;
}

div.pagination span.disabled {
    margin-right:3px;
    padding:2px 6px;
    color: #adaaad;
}


/*
 * Forms
 */
.form .send_form { 
    padding-left: 40px; 
}

.form .name { 
    padding-top: 12px; 
    font-size: 8pt; 
    color: #7d7d7d; 
}

.form .element { 
    padding-top: 2px; 
}

.form .element input, .form .element textarea {
    font-family:Arial, Helvetica, sans-serif;
    border: 1px solid #ccc;
    background-color: #f7f7f7;
    font-size: 8pt;       
    color: #000000;
}

.form .submit {
    padding-top: 15px; 
    border: 1px solid #ccc;
    background-color: #f7f7f7;
    cursor: pointer;
    padding: 2px 15px 2px 15px;
}

/* 
 * Search 
 */
#search{
    position: relative;
    width: 100%;
    margin-bottom: 2.0em;
}

#search input.text{
    position: absolute;
    top: 0em;
    left: 0em;
    width: 9.5em;
}

#search input.button{
    position: absolute;
    top: 0em;
    right: 0em;
    min-width: 2.0em;
    max-width: 2.5em;
}

/* 
 * Primary content 
 */
#content{
    position: relative;
    margin-right: 30em;
}

#content_column{
    position: relative;
    float: left;
    width: 100%;
    height: 100%;
    margin-right: -17em;
    padding-right: 2em;
    background: #fff url('../img/dw.gif') center no-repeat;
}

/*
 * Summary content (main page)
 */
#content_summary{
    position:   relative;
    float:      left;
    width:      100%;
    background: #fff url('../img/dw.gif') center no-repeat;
}

#content_summary h3,h4{
    border-bottom: None;
    position: relative;
}

#content_summary h3{
    font-size: 2.1em;
    padding-bottom: 0.1em;
    margin-bottom: 0.8em;
}

#content_summary h4{
    font-size: 2.1em;
    padding-bottom: 0.1em;
    margin-bottom: 0.8em;
}

#summary_col_top_left{
    background: transparent None;
    position: relative;
    float: left;
    width: 45%;
}

#summary_col_top_right{
    background: transparent None;
    position: relative;
    float: right;
    width: 45%;
}

#summary_col_bottom_left{
    background: transparent None;
    position: relative;
    float: left;
    width: 45%;
}

#summary_col_bottom_right{
    background: transparent None;
    position: relative;
    float: right;
    width: 45%;
}

/* 
 * Sidebar content
 */
#sidebar{
    float: right;
}

#sidebar_column{
    width: 25.5em;
    float: left;
    padding: 0em 0em 0.5em 2em;
    border-left: dotted 1px #E1E1E1;
}

#sidebar_column h3,h4{
    border-bottom: dotted 1px #E1E1E1;
    position: relative;
    margin-bottom:1em;
}

#sidebar_column .posts{
    font-size: 0.95em;
}


.transparent {
    opacity: 0.5;               /* Значение прозрачности */
    filter: alpha(Opacity=50);  /* Прозрачность в IE */
   }

/*
 * Highlight
 */
pre code[class]:after {
  content: 'highlight: ' attr(class);
  display: block; 
  text-align: right;
  font-size: smaller;
  color: #CCC; 
  background: white;
  border-top: solid 1px;
}

pre code {
  display: block;
  background: #F0F0F0;
  padding-top: 0.5em;
}

pre code, 
.ruby .subst,
.xml .title,
.lisp .title {
  color: black;
}

pre {
    white-space: pre-wrap; /* css-3 */
    white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
    white-space: -pre-wrap; /* Opera 4-6 */
    white-space: -o-pre-wrap; /* Opera 7 */
    word-wrap: break-word; /* Internet Explorer 5.5+ */
}

.string,
.title, 
.parent,
.tag .attribute .value,
.rules .value,
.rules .value .number,
.preprocessor,
.ruby .symbol,
.instancevar,
.aggregate,
.template_tag,
.django .variable,
.smalltalk .class,
.addition,
.flow,
.stream,
.bash .variable {
  color: #800;
}

.comment,
.annotation,
.template_comment,
.diff .header,
.chunk {
  color: #888;
}

.number,
.regexp,
.literal,
.smalltalk .symbol,
.smalltalk .char,
.change {
  color: #080;
}

.javadoc,
.ruby .string,
.decorator,
.filter .argument,
.localvars,
.array,
.attr_selector,
.pi,
.doctype,
.deletion,
.envvar,
.shebang {
  color: #88F;
}

.keyword,
.id,
.phpdoc,
.title,
.vbscript .built_in,
.rsl .built_in,
.cpp .built_in,
.aggregate,
.smalltalk .class,
.winutils,
.bash .variable {
  font-weight: bold;
}

.html .css,
.html .javascript,
.html .vbscript {
  opacity: 0.5;
}

#postSource, #postPreview {
    width: 90%;
}

#newPostForm, #postPreview {
    margin-bottom: 1.5em;
}

#thx {
    margin-bottom: 150px;
    margin-top: 150px;
    text-align: center;
}

#thx p{
    text-align: center;
}

input.contact {
    background:#FFFFFF none repeat scroll 0 0;
    outline-style:none;
    outline-width:medium;
    width:325px;
    padding:5px;
    border:1px solid #dfdfdf;
    font-size:1em;
    margin-bottom:10px;
    font-family: "trebuchet ms", helvetica, sans-serif;
}

#cloud {
    margin: 30px;
}

#cloud h2 {
    padding-left: 0.5em;
    display:inline;
    text-align: center;
    vertical-align: middle;
}

#cloud a {
    text-decoration: none;
}

/*
 *  Questions
 */
.question {
}

.question table tr td {
    margin: 5px;
    padding: 5px;
}

.question .label {
    width:15%;
    text-align: right;
}

.question .form-item {
    width:90%;
}

.question input, textarea {
    width: 90%;
}


.question .processed {
    font-size:100%;
    line-height:18px;
    min-height:200px;
    width:100%;
}

#wmd-button-bar ul {
    margin-bottom: 5px;
}

#previewer {
    border-top:1px dotted #E1E1E1;
    border-left:1px dotted #E1E1E1;
    padding: 10px;
    width: 95%;
}

#previewer ol {
    list-style:decimal outside none;
    margin-left: 2em;
}

#previewer p {
    margin-bottom: 0.5em;
    text-align:left;
}

/*
 * About
 */

#about table {
    font: 85% "Lucida Grande", "Lucida Sans Unicode", "Trebuchet MS", sans-serif;
    padding: 0; 
    margin: 0; 
    border-collapse: 
    collapse; 
    color: #333; 
    background: #F3F5F7;
}

#about table caption {
    text-align: left; 
    text-transform: uppercase;  
    padding-bottom: 10px; 
}

#about table thead th {
    background: #3A4856; 
    padding: 15px 10px; 
    color: #fff; 
    text-align: left; 
    font-weight: normal;
}

#about table tbody, table thead {
    border-left: 1px solid #EAECEE; 
    border-right: 1px solid #EAECEE;
}

#about table tbody {
    border-bottom: 1px solid #EAECEE;
}

#about table tbody td, table tbody th {
    padding: 10px; 
    text-align: left;
}

#about table tbody tr {
    background: #F3F5F7;
}

.inv {display:none}
