/** Стили внутренних страниц */

.editor_button {
	float:left;
	cursor:pointer;
	padding-left: 2px;
	padding-right: 2px;
}

/* добавление комментария */

.addcom {border: 1px solid #f1f1f1; margin: 0; padding: 8px 9px 8px 9px;}
.addcom .title {font: bold 12px tahoma; color: #888; display: block; margin: 0 0 10px 0;}
.addcom .i1 {width: 95%; height: 80px; vertical-align: top; display: block; margin: 0 0 5px 0; vertical-align: top;}
.addcom .i2 {width: 100px; height: 25px;}
.addcom .ctrl {font: 10px tahoma; color: #999999;}

/* комментарий */

.com {border-top: 1px solid #f1f1f1; margin: 0 0 10px 0; padding: 8px 9px 8px 9px; font-size: 12px; line-height: 16px;}
.com .leftcol {float: left; width: 60px;}
.com .centcol {padding-left: 110px;}
.com .info {margin-bottom: 8px; color: #999999; font-size: 12px;}
.com .btext {color: #000;}
.com .edit {padding: 5px 0 0 0;}

/* регистрация на сайте */

.reg {margin: 0 0 10px 0;}
.reg h2 {font: 18px arial; margin: 15px 0 30px 0;}
.reg input {width: 450px; margin: 2px 0 0 0;}
.reg label {margin: 4px 0 0 10px; font: 11px tahoma; display: inline-block; text-align: left; width: 200px; color: #888; padding: 0 0 0 21px; background: url(../images/strelka.gif) left top no-repeat; vertical-align: top; }
.reg .submit {width: 150px; height: 24px; font: 12px tahoma;}
.reg textarea {width: 450px; height: 150px; margin: 2px 0 0 0;}
.reg select {width: 450px;}

/* feedback */
.addinfo {margin: 0 0 10px 0; display: block; color: #666666; font-size: 11px; line-height: 14px;}
.addinfo a, .addinfo a:hover {font-size: 11px;}

/* login */

.vxod {position: absolute; top: 35px; right: 0; width: 270px; border: 1px solid #eeedee; font: 12px tahoma; color: #000;}
.vxod2 {border: 1px solid #e9e9e9;}
.vxod3 {border: 2px solid #e1e0e1; background: #fff; padding: 20px 15px 20px 15px; position: relative;}
.vxod a, .vxod a:hover {font: 11px tahoma;}

.close {position: absolute; right: 10px; top: 11px; _top: 7px;}
.vxod .title {font: 18px arial; display: block; margin: 0 0 10px 0;}

.vxod .i1 {width: 200px; margin: 10px 0 5px 0; display: block;}
.vxod .i2 {width: 100px; margin: 10px 0 0 0; font-size: 12px; display: block;}

/* addnews */
.addnews h2 {font: 18px arial; margin: 15px 0 20px 0;}
.addnews .row {margin: 0 0 10px 0; overflow: hidden; zoom: 1;}
.addnews .row .left {width: 110px; float: left; display:block;}
.addnews .row .center {padding-left: 120px; display:block;}
.addnews .cat {width: 99%; height: 70px;}
.addnews .it {width: 350px;}

.addnews .ita {width: 99%; height: 150px;  border: 1px solid #ccc;}
.addnews .ita2 {width: 99%; height: 300px; border: 1px solid #ccc;}
.addnews .is {width: 150px; height: 24px; margin-right: 5px;}
.addnews .small {font: 11px tahoma; color: #777;}


/* bbcodes */
.bb {width: 310px; height:25px; border:1px solid #ccc; background-image:url('../images/bb/bg.gif');}
.bb_b, .bb_b2 {float: left; cursor:pointer;}
.bb_b {padding: 4px 5px 4px 5px;}
.bb_b2 {padding: 0 2px 0 2px;}
.bb_close {float:right; cursor:pointer; padding: 4px 5px 0 0;}
.bb_close img {margin: 0; padding: 0;}

/* профиль */

.userinfo {padding: 0 0 30px 0;}
.userinfo .foto {float:left;}
.userinfo .foto img {border: 1px solid #ccc;}
.userinfo .info {padding: 0 0 0 80px;}

/* speedbar */

.speedbar {font: 12px tahoma; padding: 0 0 10px 0; display: block; color: #555}
.speedbar a, .speedbar a:hover {font: 12px tahoma;}

/* pm */

.pm .bb {width: 290px;}
.pm .nav {padding: 0 0 15px 0;}
.pm .list {padding: 15px 0 15px 0; width: auto;}

.pm .list td {padding: 5px 10px 7px 5px; color: #8d8d8d; font: 12px tahoma;}
.pm .row {margin: 0 0 10px 0; overflow: hidden; zoom: 1;}
.pm .row .left {width: 110px; float: left; display:block;}
.pm .row .center {padding-left: 120px; display:block;}
.pm .it {width: 350px;}
.pm .ita {width: 400px; height: 100px;}
.pm .is {width: 150px; height: 24px; margin-right: 5px;}

/** Цитата и скрытый текст */
.title_quote { background: #feffbd; border: 1px dotted #ccc; border-bottom: 0; padding: 3px; margin 8px auto 0 auto;}
.quote { background: lightyellow;  border: 1px dotted rgb(190,190,190); padding: 5px;}

/** Code */

 .scriptcode {color: #000; background: lightyellow; border: 1px dotted rgb(190,190,190); padding: 5px;}

/* 
 * ========================================
 * Дополнительные поля новостей
 * ========================================
 */ 

.xfields textarea {
width: 99%; height: 150px;  border: 1px solid #ccc;
}
.xfields input {
width: 350px;
}
.xfields select {
width: 350px;
}

/* 
 * ========================================
 * Дополнительные поля профиля пользователей
 * ========================================
 */ 

.xprofile textarea {
width: 450px; margin: 2px 0 0 0;
}
.xprofile input {
width: 450px; margin: 2px 0 0 0;
}

/* 
 * ========================================
 * Выпадающее меню
 * ========================================
 */ 

#dropmenudiv {
	border: 1px solid #ffffff;
	background: #6497ca;
	margin: 2px;
	opacity: 0.95;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=95) progid:DXImageTransform.Microsoft.Shadow(color=#cacaca, direction=135, strength=3)";
	filter: alpha(opacity=95, enabled=1) progid:DXImageTransform.Microsoft.Shadow(color=#cacaca, direction=135, strength=3);
}

#dropmenudiv a, #dropmenudiv a:hover {
	display: block;
	font: 11px tahoma;
	color: #ffffff;
	background:#6497ca;
	border: 1px solid #ffffff;
	padding: 2px;
	margin: 1px;
	text-decoration: none;
}

#dropmenudiv a:hover {
	background: #fdd08b;
	color: #000;
}

/* 
 * ========================================
 * Уведомление о получении новых PM
 * ========================================
 */

#newpm { position: absolute; width: 455px; padding: 0px 0px 5px 0px; border: 2px solid #6496ae; background: #dbf0fa; color: #000;}
#newpmheader { padding: 5px 5px 2px 5px; height:20px; background: #6496ae; color: #fff; font: bold 12px arial; cursor:move;}

/* 
 * ========================================
 * Поиск по сайту и результаты поиска
 * ========================================
 */

.search {color:#53646F; padding:2px;}
.textin {color:#00002C; text-decoration: none;}
.sresult  {color:#606D77;}

/* ==================== Рейтинг статьи */

.rating {
	color: #757575;
	font-size: 11px;		/* ! */
	font-family: tahoma;	/* ! */
	width: 85px;
	height: 16px;
}
.unit-rating {
	list-style: none;
	margin: 0px;
	padding: 0px;
	width: 85px;
	height: 16px;
	position: relative;
	background-image: url(../dleimages/rating.gif);
	background-position: top left;
	background-repeat: repeat-x;
}
.unit-rating li {
	text-indent: -90000px;
	padding: 0px;
	margin: 0px;
	float: left;
}
.unit-rating li a {
	display: block;
	width: 17px;
	height: 16px;
	text-decoration: none;
	text-indent: -9000px;
	z-index: 17;
	position: absolute;
	padding: 0px;
}
.unit-rating li a:hover {
	background-image: url(../dleimages/rating.gif);
	background-position: left center;
	z-index: 2;
	left: 0px;
}
.unit-rating a.r1-unit { left: 0px; }
.unit-rating a.r1-unit:hover { width: 17px; }
.unit-rating a.r2-unit { left: 17px; }
.unit-rating a.r2-unit:hover { width: 34px; }
.unit-rating a.r3-unit { left: 34px; }
.unit-rating a.r3-unit:hover { width: 51px; }
.unit-rating a.r4-unit { left: 51px; }	
.unit-rating a.r4-unit:hover { width: 68px; }
.unit-rating a.r5-unit { left: 68px; }
.unit-rating a.r5-unit:hover { width: 85px; }
.unit-rating li.current-rating {
	background-image: url(../dleimages/rating.gif);
	background-position: left bottom;
	position: absolute;
	height: 16px;
	display: block;
	text-indent: -9000px;
	z-index: 1;
}

/* 
 * ========================================
 * Календарь 
 * ========================================
 */

.weekday-active-v {font: 11px arial; color: #4974a3;}
.day-active-v {color: #4974a3; font: 11px arial;}
.calendar {font: 11px arial;}
.calendar td, th { font: 11px arial; padding: 4px 6px 4px 6px;}
.weekday, .weekday-active, .day-active { color: #804040; font: 11px arial;}
.day-active a, .weekday-active a, .day-active-v a, .weekday-active-v a { text-decoration: underline;}
.monthlink, .monthlink:hover {color: #4974a3; font: 11px arial; text-decoration: none;}
.day-current {
background:#F9F9F9;
border:1px solid #E6E6E6;
}
/* ==================== показ оригинальной картинки загруженной на сайт из уменьшенной копии */
.highslide-wrapper, .highslide-outline {
	background: #FFFFFF;
}
.highslide-image {
	border: 2px solid #FFFFFF;
}
.highslide-active-anchor {
   visibility: hidden;
}  
.highslide-active-anchor img {
	visibility: hidden;
}
.highslide-dimming {
	background: black;
}
.highslide-html {
	background-color: white;
}
.highslide-html-content {
	display: none;
}
.highslide-loading {
    display: block;
	color: #ffffff;
	font-size: 9px;
	font-weight: bold;
    text-decoration: none;
	padding: 3px;
	border: 1px solid #ffffff;
    background-color: #000000;
}
a.highslide-full-expand {
	background: url(../dleimages/fullexpand.gif) no-repeat;
	display: block;
	margin: 0 10px 10px 0;
	width: 34px;
	height: 34px;
}
.highslide-footer {
	height: 11px;
}
.highslide-footer .highslide-resize {
	float: right;
	height: 12px;
	width: 11px;
	background: url(../dleimages/resize.gif);
}
.highslide-resize {
    cursor: nw-resize;
}
.highslide-display-block {
    display: block;
}
.highslide-display-none {
    display: none;
}
.highslide-caption {
	display: none;
	padding: 5px;
	background: white;
}

.highslide-controls {
    width: 195px;
    height: 40px;
    background: url(../../../engine/classes/highslide/graphics/controlbar-black-border.gif) 0 -90px no-repeat;
    margin-right: 15px;
    margin-bottom: 10px;
    margin-top: 10px;
}
.highslide-controls ul {
	position: relative;
	left: 15px;
    height: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
    background: url(../../../engine/classes/highslide/graphics/controlbar-black-border.gif) right -90px no-repeat;
}
.highslide-controls li {
    float: left;
    padding: 5px 0;
}
.highslide-controls a {
    background: url(../../../engine/classes/highslide/graphics/controlbar-black-border.gif);
    display: block;
    float: left;
    height: 30px;
    width: 30px;
    outline: none;
}
.highslide-controls a.disabled {
    cursor: default;
}
.highslide-controls a span {
    /* hide the text for these graphic buttons */
    display: none;
}
 
/* The CSS sprites for the controlbar */
.highslide-controls .highslide-previous a {
    background-position: 0 0;
}
.highslide-controls .highslide-previous a:hover {
    background-position: 0 -30px;
}
.highslide-controls .highslide-previous a.disabled {
    background-position: 0 -60px !important;
}
.highslide-controls .highslide-play a {
    background-position: -30px 0;
}
.highslide-controls .highslide-play a:hover {
    background-position:  -30px;
}
.highslide-controls .highslide-play a.disabled {
	background-position: -30px -60px !important;
}
.highslide-controls .highslide-pause a {
    background-position: -60px 0;
}
.highslide-controls .highslide-pause a:hover {
    background-position: -60px -30px;
}
.highslide-controls .highslide-next a {
    background-position: -90px 0;
}
.highslide-controls .highslide-next a:hover {
    background-position: -90px -30px;
}
.highslide-controls .highslide-next a.disabled {
    background-position: -90px -60px !important;
}
.highslide-controls .highslide-move a {
    background-position: -120px 0;
}
.highslide-controls .highslide-move a:hover {
    background-position: -120px -30px;
}
.highslide-controls .highslide-full-expand a {
    background-position: -150px 0;
}
.highslide-controls .highslide-full-expand a:hover {
    background-position: -150px -30px;
}
.highslide-controls .highslide-full-expand a.disabled {
    background-position: -150px -60px !important;
}
.highslide-controls .highslide-close a {
    background-position: -180px 0;
}
.highslide-controls .highslide-close a:hover {
    background-position: -180px -30px;
}

/* ==================== Информационное оконо загрузки AJAX */
#loading-layer {
    display:none;
    font-family: Verdana;font-size: 11px;
    background:#000;padding:10px;
    text-align:center;
    border:1px solid #000;
    color: #FFF;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}

/* ==================== Быстрый поиск на сайте */
#searchsuggestions { border-width:1px; border-color:#919191; border-style:solid; width:400px; background-color:#5c9ccc; font-size:10px; line-height:14px; }
#searchsuggestions a { padding:5px;display:block; background-color:#ffffff; clear:left; height:70px; text-decoration:none; }
#searchsuggestions a:hover { background-color:#fdd08b; color:#ffffff; }
#searchsuggestions a span.searchheading { background: #5c9ccc; display:block; font-weight:bold; padding:5px; color:#ffffff; }
#searchsuggestions a:hover span.searchheading { color:#ffffff; }
#searchsuggestions a span {color:#555555; }
#searchsuggestions a:hover span { color:#0000; }
#searchsuggestions span.seperator { float:right; padding-right:15px; margin-right:5px;}
#searchsuggestions span.seperator a { background-color:transparent; display:block; height:auto; color:#ffffff; }
#searchsuggestions span.notfound {  padding:5px;background-color:#ffffff; display:block; height:auto; color:#00000; }
/* ==================== Диалоговые и всплывающие окна jQuery UI */
.ui-helper-clearfix:after {
    clear: both;
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;
}
.ui-helper-clearfix {
    display: inline-block;
}
* html .ui-helper-clearfix {
    height: 1%;
}
.ui-helper-clearfix {
    display: block;
}
.ui-icon {
    background-repeat: no-repeat;
    display: block;
    overflow: hidden;
    text-indent: -99999px;
}
.ui-widget {
    font-family: Tahoma, Lucida Sans, Arial, sans-serif;
    font-size: 11px;
}
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button {
    font-family: tahoma, Arial, sans-serif;
    font-size: 11px;
}
.ui-widget-content {
    background: #fcfdfd 50% bottom repeat-x;
    border: 1px solid #a6c9e2;
    color: #222222;
}
.ui-widget-content a {
    color: #222222;
}
.ui-widget-header {
    background: #5c9ccc url(../images/ui-bg_gloss-wave.png) 50% 50% repeat-x;
    border: 1px solid #4297d7;
    color: #ffffff;
    font-weight: bold;
}
.ui-widget-header a {
    color: #ffffff;
}
.ui-state-default, .ui-widget-content .ui-state-default {
    background: #dfeffc url(../images/ui-bg_glass_85.png) 50% 50% repeat-x;
    border: 1px solid #c5dbec;
    color: #2e6e9e;
    font-weight: bold;
}
.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited {
    color: #2e6e9e;
    text-decoration: none;
}
.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus {
    background: #d0e5f5 url(../images/ui-bg_glass_75.png) 50% 50% repeat-x;
    border: 1px solid #79b7e7;
    color: #1d5987;
    font-weight: bold;
}
.ui-state-hover a, .ui-state-hover a:hover {
    color: #1d5987;
    text-decoration: none;
}
.ui-state-active, .ui-widget-content .ui-state-active {
    background: #f5f8f9 50% 50% repeat-x;
    border: 1px solid #79b7e7;
    color: #e17009;
    font-weight: bold;
}
.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited {
    color: #e17009;
    text-decoration: none;
}
.ui-widget :active {
    outline: none;
}
.ui-state-error {
    background: #fef1ec 50% 50% repeat-x;
    border: 1px solid #cd0a0a;
    color: #cd0a0a;
}
.ui-widget-header .ui-icon {
    background-image: url(../images/ui-icons.png);
}
.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {
    background-image: url(../images/ui-icons_h.png);
}
.ui-icon-close {
    background-position: -80px -128px;
}
.ui-icon-closethick {
    background-position: -96px -128px;
}
.ui-button .ui-button-text {
    display: block;
    line-height: 1.4;
}
.ui-button-text-only .ui-button-text {
    padding: .4em .8em;
}
input.ui-button {
    padding: .4em 1em;
}
.ui-button-set {
    margin-right: 7px;
}
.ui-button-set .ui-button {
    margin-left: 0;
    margin-right: -.3em;
}
button.ui-button::-moz-focus-inner {
    border: 0;
    padding: 0;
}
.ui-dialog {
    overflow: hidden;
    padding: .2em;
    position: absolute;
    width: 300px;
    -moz-box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
}
.ui-dialog .ui-dialog-titlebar {
    padding: .5em 1em .3em;
    position: relative;
}
.ui-dialog .ui-dialog-title {
    float: left;
    margin: .1em 16px .2em 0;
}
.ui-dialog .ui-dialog-titlebar-close {
    height: 18px;
    margin: -10px 0 0 0;
    padding: 1px;
    position: absolute;
    right: .3em;
    top: 50%;
    width: 19px;
}
.ui-dialog .ui-dialog-titlebar-close span {
    display: block;
    margin: 1px;
}
.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus {
    padding: 0;
}
.ui-dialog .ui-dialog-content {
    background: none;
    border: 0;
    overflow: hidden;
    padding: .5em 1em;
    position: relative;
    zoom: 1;
}
.ui-dialog .ui-dialog-buttonpane {
    background-image: none;
    border-width: 1px 0 0 0;
    margin: .5em 0 0 0;
    padding: .3em 1em .5em .4em;
    text-align: left;
}
.ui-dialog .ui-dialog-buttonpane button {
    cursor: pointer;
    float: right;
    line-height: 1.4em;
    margin: .5em .4em .5em 0;
    overflow: visible;
    padding: .2em .6em .3em .6em;
    width: auto;
}
.ui-dialog .ui-resizable-se {
    bottom: 3px;
    height: 14px;
    right: 3px;
    width: 14px;
}
.ui-draggable .ui-dialog-titlebar {
    cursor: move;
}
/* ==================== Автозаполнение облака тегов */
.ui-autocomplete { position: absolute; cursor: default; }

* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */

.ui-menu {
	list-style:none;
	padding: 2px;
	margin: 0;
	display:block;
	float: left;
}
.ui-menu .ui-menu {
	margin-top: -3px;
}
.ui-menu .ui-menu-item {
	margin:0;
	padding: 0;
	zoom: 1;
	float: left;
	clear: left;
	width: 100%;
}
.ui-menu .ui-menu-item a {
	text-decoration:none;
	display:block;
	padding:.2em .4em;
	line-height:1.5;
	zoom:1;
}
.ui-menu .ui-menu-item a.ui-state-hover,
.ui-menu .ui-menu-item a.ui-state-active {
	font-weight: normal;
	margin: -1px;
}
/*---Подсветка кода в теге [code]---*/
pre code {
  display: block; padding: 0.5em;
  background: #f9fafa; 
  border: 1px solid #dce7e7;
  overflow:auto;
  white-space: pre;
}

pre .comment,
pre .template_comment,
pre .diff .header,
pre .doctype,
pre .lisp .string,
pre .javadoc {
  color: #93a1a1;
  font-style: italic;
}

pre .keyword,
pre .css .rule .keyword,
pre .winutils,
pre .javascript .title,
pre .method,
pre .addition,
pre .css .tag,
pre .lisp .title {
  color: #859900;
}

pre .number,
pre .command,
pre .string,
pre .tag .value,
pre .phpdoc,
pre .tex .formula,
pre .regexp,
pre .hexcolor {
  color: #2aa198;
}

pre .title,
pre .localvars,
pre .function .title,
pre .chunk,
pre .decorator,
pre .builtin,
pre .built_in,
pre .lisp .title,
pre .identifier,
pre .title .keymethods,
pre .id {
  color: #268bd2;
}

pre .tag .title,
pre .rules .property,
pre .django .tag .keyword {
  font-weight: bold;
}

pre .attribute,
pre .variable,
pre .instancevar,
pre .lisp .body,
pre .smalltalk .number,
pre .constant,
pre .class .title,
pre .parent,
pre .haskell .label {
  color: #b58900;
}

pre .preprocessor,
pre .pi,
pre .shebang,
pre .symbol,
pre .diff .change,
pre .special,
pre .keymethods,
pre .attr_selector,
pre .important,
pre .subst,
pre .cdata {
  color: #cb4b16;
}

pre .deletion {
  color: #dc322f;
}

pre .tex .formula {
  background: #eee8d5;
}
