/* Обнулялка
------------------------------------------------------------------- */
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, textarea, input, select {margin: 0; padding: 0; border: 0; font-weight: inherit; font-style: inherit; font-size: 100%; font-family: inherit; vertical-align: baseline;}
table {border-collapse: collapse; border-spacing: 0;}
caption, th, td {text-align: left; font-weight: normal;}
table, td, th {vertical-align: middle;}
blockquote:before, blockquote:after, q:before, q:after {content: "";}
blockquote, q {quotes: "" "";}
a img {border: none;}
:focus {outline: 0;}

/* 
   General 
------------------------------------------------------------------- */
html { height: 100%; padding-bottom: 1px; }
body { color: #2f2f2f; font: normal 12px Verdana; line-height: 1.5; }

/* Headings */

h1,h2,h3,h4,h5,h6 {
    color: #444;
    font-weight: normal;
    line-height: 1;
    margin-bottom: 0.3em;
}

h1 {font-size: 1.5em;}
h2 {font-size: 2em;}
h3 {font-size: 1.5em;}
h4 {font-size: 1.25em;}
h5 {font-size: 1.1em;}
h6 {font-size: 1em;}

p { }
/* Links */

a:focus,a:hover {color: #F59B1E;}
a { color: #456;    text-decoration: underline; }
a:hover { text-decoration: underline;}

/* Text elements */

p {margin-bottom: 1em;}

abbr, acronym {border-bottom: 1px dotted #666;}
address {margin-bottom: 1.5em;}
blockquote {margin: 1.5em;}
del, blockquote { color:#666; }
em, dfn, blockquote, address {font-style: italic;}
strong, dfn {font-weight: bold;}
sup, sub {line-height: 0;}

pre {
    white-space: pre;
    margin-left:20px;
    background:#fcfcfc;
    overflow:auto
}
pre,code,tt {
    font: 1em "courier new";
    line-height: 1.5;
}

::-moz-selection{ background:#FDDC93 }
::selection { background:#FDDC93 } 

/* Lists */

li ul, li ol {margin-left: 1.5em;}
ul, ol {margin: 0 0 1.5em 1.5em; }

ul {list-style-type: disc;}
ol {
    list-style-type: decimal;
    margin-left: 1.9em;
}

/* Special lists */

ul.plain-list li, ul.nice-list li, ul.nice-list-cat li, ul.tabbed li {
    list-style: none;
    margin-top: 0;
}

ul.tabbed { display: inline; margin: 0; }
ul.tabbed li {float: left;}

ul.plain-list {margin: 0;}

/* Tables */

table {margin-bottom: 1.4em; width: 100%;}
th {font-weight: bold;}
thead th {background: #C3D9FF;}
th,td,caption {padding: 4px 10px 4px 5px;}
tr.even td {background: #F2F6FA;}
tfoot {font-style: italic;}
caption {background: #EEE;}

.quiet  { color: #888; font-size:11px }
.quiet a { color: #2f2f2f; text-decoration:underline }
.quiet a:hover { text-decoration:underline; color:#F59B1E }
.loud, .loud a {color: #000;}
.highlight, .highlight a {background: #f0f0f0; text-decoration:none}

/* Labels */
.label {
    border-left-style: solid;
    border-left-width: 4px;
    margin-bottom: 0.2em;
    padding-left: 10px;
}

.label-blue {border-left-color: #09C;}
.label-green {border-left-color: #3C3;}
.label-orange {border-left-color: #F60;}


/* 
   Forms 
------------------------------------------------------------------- */
textarea { overflow: auto; }
input.text, textarea, select { border: 1px solid #ddd; padding: 4px 5px; width:250px }


/* 
   Alignment display: block;
    margin-left: auto;
    margin-right: auto;
------------------------------------------------------------------- */

/* General */
.center,.aligncenter { text-align:center }

/* Floats */   

.left,.alignleft {float: left;}
.right,.alignright {float: right;}

.clear,.clearer {clear: both;}
.clearer {
    display: block;
    font-size: 0;
    line-height: 0;
    height: 0;
}

.strong {font-weight:bold}
.center {text-align:center}
.m0a { display:block; margin:0 auto }
.ml50 { margin-left:50px }
.ml10 { margin-left:10px }
/* 
   Separators 
------------------------------------------------------------------- */

.content-separator, .archive-separator {
    background: #E5E5E5;
    clear: both;
    color: #FFE;
    display: block;
    font-size: 0;
    line-height: 0;
    height: 1px;    
}
.content-separator {margin: 32px 0;}
.archive-separator {margin-bottom: 20px;}


/* 
   Layout 
------------------------------------------------------------------- */

/* Common */
#top, #sub-nav {border-bottom: 1px solid #DDD;}


/* Wrapper */
#site-wrapper {
    margin: 0 auto;
    width: 1040px;
    padding:0 20px;
    background:#FFF;
}

/* Main */
.main {margin: 15px 0 0 0;}

.main#main-two-columns {background: url('images/main-two-columns.gif') repeat-y right top;}
.main#main-two-columns-left {background: url('images/main-two-columns-left.gif') repeat-y left top;}
.main#main-two-columns #main-content, .main#main-two-columns-left #main-content { width: 742px }

/* Sidebar */
#sidebar {width: 265px;}

/* Columns */
.col3, .col3-mid {width: 31%;}
.col3-mid {margin-left: 3%;}

/* Footer */

#footer {
    border-top: 1px solid #DDD;
    color: #777;
    padding: 16px 0 4px;
}
#footer-left {width: 250px; }
#footer-right {width: 650px; text-align: right;  }
#footer p {margin-bottom: 0.4em;}
#footer .text-separator {
    padding: 0 3px;
    color: #BBB;
}
#footer a:hover {color: #000;}


/* 
   IE Fixes (zzz)
------------------------------------------------------------------- */

* html .navigation, * html #footer, * html #splash, * html .comment ul {height: 0.01%;}
* html #footer-left {width: 500px;}
.navigation, #splash, .comment ul {min-height: 0.01%;}

    /* Вывод поста */
    .posttitle { font:bold 14px/14px Verdana; text-align:center }
    .commtitle { font:bold 16px Georgia }
    .commfieldlabel{ font-weight:bold; color:#666 }
    .commimput { font:normal 14px/14px georgia }
    .comm_bt { padding:5px; font-size:15px; font-family:georgia; cursor:pointer }
    
    /* Глобальные стили */
        /* Выпавнивание */
            .ta_c { text-align:center }
    
        /* Цвета */
            .f90 { color:#F90 }
        
        /* Стили текста */
            .bold { font-weight:bold }
        
        /* Ширина */
            .w450 { width:450px }

/* 
   Comments
------------------------------------------------------------------- */
.post_div { font-size:11px; border:1px solid #eee; padding:10px; border-radius:5px; margin-bottom:3px}
.post_div:hover { background:#fafafa}
.post_div  p { margin:0 10px }

/*

Visual Studio-like style based on original C# coloring by Jason Diamond <jason@diamond.name>

*/
pre .comment,
pre .annotation,
pre .template_comment,
pre .diff .header,
pre .chunk,
pre .apache .cbracket {
    color: rgb(0, 128, 0);
}

pre .keyword,
pre .id,
pre .title,
pre .built_in,
pre .aggregate,
pre .smalltalk .class,
pre .winutils,
pre .bash .variable {
    color: rgb(0, 0, 255);
}

pre .string,
pre .title,
pre .parent,
pre .tag .attribute .value,
pre .rules .value,
pre .rules .value .number,
pre .ruby .symbol,
pre .instancevar,
pre .aggregate,
pre .template_tag,
pre .django .variable,
pre .addition,
pre .flow,
pre .stream,
pre .apache .tag,
pre .date {
    color: rgb(163, 21, 21);
}

pre .ruby .string,
pre .decorator,
pre .filter .argument,
pre .localvars,
pre .array,
pre .attr_selector,
pre .pseudo,
pre .pi,
pre .doctype,
pre .deletion,
pre .envvar,
pre .shebang,
pre .preprocessor,
pre .userType,
pre .apache .sqbracket {
    color: rgb(43, 145, 175);
}

pre .phpdoc,
pre .javadoc,
pre .xmlDocTag {
    color: rgb(128, 128, 128);
}

#fonttable { margin:0 20px }
#fonttable h2 { font:bold 16px/25px Verdana }
#fonttable h3 { font:bold 14px/18px Verdana }
#fonttable table { width:100%; margin:20px 0; border:1px solid #ddd }
#fonttable td { border:1px dashed #ddd }
#fonttable caption { font:bold 14px/18px Verdana }
#fonttable .files { width:200px }

.column { width:49%; margin:-15px 0 0 0; padding:0; float:left; }
body>.column { width:50%;} /* standards full compliant browsers (IE6 not included) */

#easyTooltip{ padding:2px 10px; background:#FFF; color:#2f2f2f; opacity: 0.8; }

#jform  {  }
    #jform  input{ border:1px solid #999; width:100%; padding:2px; font:normal 12px Verdana; border-radius:3px }
    #jform  textarea{ border:1px solid #999; width:100%; height:70px; padding:2px; font:normal 12px Verdana; border-radius:3px; overflow:auto  }
        #jform button { width:200px; padding:3px; font-weight:bold; background:#F0F4F7; border:0; color:#2f2f2f; border-radius:5px 0 5px 0; text-shadow:1px 1px 1px #fff}
        #jform button:hover { cursor:pointer; background:#EEE}

.les9table { border:1px solid #ddd }
.les9table td{ border:1px dashed #ddd; padding:2px; vertical-align:top }

    .mylnk { background:#fafafa }
    
.lnk_j { text-decoration:none; border-bottom:1px dashed #456 }
.lnk_j:hover { text-decoration:none; border-bottom:1px dashed #456 }
/* Переделанные стили 02.02.11
------------------------------------------------------------------- */
/* Обнулялки
------------------------------------------------------------------- */


/* Хедер
------------------------------------------------------------------- */
/* Logo */
#logo { padding: 5px 10px 0 0; margin-right: 20px; }

/* Splash */
#splash { border-top: 1px solid #DDD; padding:5px 0 }
#main-nav li:first-child {margin-left: 0;}

/* Main navigation */
#main-nav { padding-top: 10px;}
#main-nav li {margin: 0 1.5em;}
#main-nav a { font:normal 14px/30px Verdana; color:#405B68; text-shadow: 1px 1px 1px rgba(36, 109, 56, 0.3); }
#main-nav a img{ vertical-align:middle }
#main-nav li.current-tab a { text-decoration:underline; color:#F59B1E; text-shadow: 1px 1px 1px rgba(250, 189, 60, 0.5);}
#main-nav a:hover { text-decoration:underline; color:#F59B1E; text-shadow: 1px 1px 1px rgba(250, 189, 60, 0.5); }

/* Сайдбар
------------------------------------------------------------------- */
    /* Боковое меню */
    ul.nice-list {margin-left: 0;}
    ul.nice-list li { border-top: 1px dotted #EEE; list-style: none; padding: 4px 10px; }
    ul.nice-list li:first-child {border-top: none;}
    ul.nice-list li .right {color: #999;}
    ul.nice-list a { color: #2f2f2f; text-decoration:none }
    ul.nice-list a:hover { text-decoration:underline }
    ul.nice-list .current { font-weight:bold }
    .section-title { background-color: #F9F9F9; color: #7A7A7A; font: bold 14px Verdana; padding: 7px 5px 6px }
    /* Архив */
    #archBlock td{ vertical-align:top; width:50%; text-align:center }
    #archBlock td a{ text-decoration:none }

.tags         { text-align:center; color: #7A7A7A; }
.tags a       { color: #7A7A7A; text-decoration:none }
.tags a:hover { text-decoration:underline; color:#F59B1E }    
/* Вывод дискрипшинов постов text-shadow: 1px 1px 1px rgba(36, 109, 56, 0.3);
------------------------------------------------------------------- */    
.postDiv {  }
    .postDate { float:left; width:50px; text-align:center; font:bold 12px/15px Georgia; color:#666; }
    .postBody { float:right; width:685px; text-align:justify }
    .postBody h2{ font:bold 14px/16px Verdana }
        .postBody h2 a{ color:#415B67 }
        .postBody h2 a:hover{ text-decoration:underline; color:#F59B1E }
        .view_div { border-top:1px dashed #ccc; margin:5px 0 0; font-size:11px; color:#999; padding:5px 0 25px; }
            
/* Постраничная навигация
------------------------------------------------------------------- */    
.pgs {text-align:center; font-size:14px }
.navigation a { color:#415B67; text-shadow: 1px 1px 1px rgba(36, 109, 56, 0.3); }
.navigation a:hover {color: #002;}
.navigation .current-tab a {color: #222;}    

#breadcrmbs { margin-bottom:15px }


#facebox {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  text-align: left;
}


#facebox .popup{
  position:relative;
  border:3px solid rgba(0,0,0,0);
  -webkit-border-radius:5px;
  -moz-border-radius:5px;
  border-radius:5px;
  -webkit-box-shadow:0 0 18px rgba(0,0,0,0.4);
  -moz-box-shadow:0 0 18px rgba(0,0,0,0.4);
  box-shadow:0 0 18px rgba(0,0,0,0.4);
}

#facebox .content {
  display:table;
  width: 600px;
  padding: 10px;
  background: #fff;
  -webkit-border-radius:4px;
  -moz-border-radius:4px;
  border-radius:4px;
}

#facebox .content > p:first-child{
  margin-top:0;
}
#facebox .content > p:last-child{
  margin-bottom:0;
}

#facebox .close{
  position:absolute;
  top:5px;
  right:5px;
  padding:2px;
  background:#fff;
}
#facebox .close img{
  opacity:0.3;
}
#facebox .close:hover img{
  opacity:1.0;
}

#facebox .loading {
  text-align: center;
}

#facebox .image {
  text-align: center;
}

#facebox img {
  border: 0;
  margin: 0;
}

#facebox_overlay {
  position: fixed;
  top: 0px;
  left: 0px;
  height:100%;
  width:100%;
}

.facebox_hide {
  z-index:-100;
}

.facebox_overlayBG {
  background-color: #000;
  z-index: 99;
}
#messageTop
{
	/* display: block before hiding */
	display: block;
	display: none;
 
	/* link is above all other elements */
	z-index: 999; 

	/* link doesn't hide text behind it */
	opacity: .5;
 
	/* link stays at same place on page */
	position: fixed;
 
	/* link is centered */
	left: 50%;
	margin-left: -520px; /* = half of width */

	width: 1040px;
	height: 50px;
	background-color: #fff
}
#smiley { cursor:pointer }
#smileyBar { display:none; padding-left:20px }
/* Бибикоды
-----------------------------------------------------------------------------*/	
.bb_editor_main { width:100%; }
.bbcode_editor_bar { background: transparent; }
.bbcode_editor_bar ul {  margin:0px 5px; padding:0px; }
.bbcode_editor_bar ul li { list-style:none; float:left; margin:1px 2px 3px 0; padding:0; }
.bbcode_editor_bar ul li a { text-decoration:none; }
.bbcode_editor_bar ul li i { cursor:hand; display:block; width:16px; height:16px; background:url(../images/bbcode_editor.gif); }
	.bbcode_editor_bar ul li .p i { background-position:0 0; }
	.bbcode_editor_bar ul li .br i { background-position:-16px 0; }
	.bbcode_editor_bar ul li .b i { background-position:-32px 0; }
	.bbcode_editor_bar ul li .i i { background-position:-48px 0; }
	.bbcode_editor_bar ul li .s i { background-position:-64px 0; }
	.bbcode_editor_bar ul li .u i { background-position:-80px 0; }
	.bbcode_editor_bar ul li .url i { background-position:0px -16px; }
	.bbcode_editor_bar ul li .img i { background-position:-16px -16px; }
	.bbcode_editor_bar ul li .size i { background-position:-32px -16px; }
	.bbcode_editor_bar ul li .smile i { background-position:-48px -16px; }
	.bbcode_editor_bar ul li .ul i { background-position:-64px -16px; }
	.bbcode_editor_bar ul li .ol i { background-position:-80px -16px; }
	.bbcode_editor_bar ul li .code i { background-position:0 -32px; }
	.bbcode_editor_bar ul li .h1 i { background-position:0 -48px; }
	.bbcode_editor_bar ul li .h2 i { background-position:-16px -48px; }
	.bbcode_editor_bar ul li .h3 i { background-position:-32px -48px; }
	.bbcode_editor_bar ul li .h4 i { background-position:-48px -48px; }
	.bbcode_editor_bar ul li .h5 i { background-position:-64px -48px; }
	.bbcode_editor_bar ul li .h6 i { background-position:-80px -48px; }
	.bbcode_editor_bar ul li .separator { height:16px; margin:0 4px; border-left:1px solid #ccc; }

