* { margin: 0; padding: 0; }
html { height: 100%;}
body { font: 13px/18px Arial, Tahoma, sans-serif; width: 1024px; height: 100%; margin: 0 auto; }
a { color: #213852; outline: none; text-decoration: underline; }
a:hover { text-decoration: none; }
img { border: none; margin: 0; padding: 0; }
#content input { background: #FFF; border: 1px solid #c8c8c8; padding: 2px 5px; color: #696969; }
.clr { clear: both; }
.fbutton { vertical-align: middle; padding:5px; font-size: 11px; color: #FFF; clear: both; border: #6393c3 1px solid; background: #5573a0; cursor: pointer;}
#wrapper { max-width: 1024px !important; margin: 0 auto; min-height: 100%; height: auto !important; height: 100%; }

/* Header
-----------------------------------------------------------------------------*/
#header { border: none; height: 105px; width: 100%; margin: 0 auto; padding: 0 auto; }
#header span { display: block;margin-top: 12px; float: right; height:80px; width:728px}
#t_menu { position:absolute; top:80px; padding-left:5px}
#logo{background: url(../images/logo.png) no-repeat center; height:79px; width:250px; padding:25px 0 0; position: absolute;}

/* TopMenu & BottomMenu
-----------------------------------------------------------------------------*/
.topmenu { margin: 0 auto; padding: 0px 0px 0px 10px; height: 35px; color: #fff; background: #5573A0; border-radius: 6px 6px 0px 0px}
.topmenu a { font-size: 12px; color: #ffffff; font-weight: bold; text-decoration: none; display: inline-block; padding: 8px 12px;}
.topmenu a:hover, .bottommenu a:hover { text-decoration: underline; }

/* Links
-----------------------------------------------------------------------------*/
#links { height: 35px; border: #c3c3c5 1px solid; background: #f2f2f3; }
#b3 { padding: 0; }
#b3 a { color: #496072; margin: 0 10px; text-decoration: underline; font-size: 12px; line-height: 35px; }
#b3 a:hover { text-decoration: none; }
#b3 input.s-text { float:left; width:190px; border: 1px solid #6393c3; padding: 0.1em 3px; margin: 8px 0 0 20px;}
#b3 button { float:left; cursor: pointer; margin: 8px 3px; padding: 0 10px; height: 20px; font-size: 11px; color: #FFF; border: #6393c3 1px solid; background: #5573a0;}


/* Middle
-----------------------------------------------------------------------------*/
#middle { width: 100%; height: 1%; padding: 0 0 100px; position: relative; }
#middle:after { content: '.'; display: block; clear: both; visibility: hidden; height: 0; }
#container { width: 100%; float: left; overflow: hidden; }

/* Block & Content 
-----------------------------------------------------------------------------*/
#content { margin-top: 10px; padding: 0 265px 0 0; }
.block { margin: 10px 0 0 0; width:756px; height: 48px; background: url(../images/block-bg.jpg) repeat-x; text-align: center; padding-top:14px; border-color: #6393c3 1px solid;}
.block h1 { color: #fff; font-size: 18px; padding: 0 25px; float: left; }
.block a { color: #fff; text-decoration: underline; padding: 0 10px; }
.block a:hover { text-decoration: none; }
.speedbar { padding: 5px 0; font-size: 14px;}

/* MainNews 
-----------------------------------------------------------------------------*/
.news-block { float:left; width:150px; height:25px; line-height:25px; background: #5573A0; color: #ffffff;}
.all-news-block { float:right; height:25px; line-height:25px; color: #5573A0; font-size:13px}

.news-block strong { text-align: left; font-size: 15px; font-weight: bold; padding: 0 0 0 10px;}
.news-block a { padding-left: 130px; font-size: 12px; color: #fff; text-decoration: underline;}
.news-block a:hover { text-decoration: none; }

.mainnews_left .ntitle a { font-size: 14px; text-decoration: underline; padding-bottom: 10px; font-weight: bold; display: block;}
.bignews .ntitle a:hover { text-decoration: underline; }
.bignews .nimg { float: left; }
.bignews .nimg img { height: 93px; width: 124px !important; }
.bignews .ntext { text-align: justify; font-size: 11px; line-height: 1.25em; }

.news{ float: left; width: 46%; margin: 5px;}
.news span { font-size: 80%; display:block; line-height: 60%;}
.news .newst strong { font-weight: normal;}

/* Story
-----------------------------------------------------------------------------*/
#news-id-{news-id} img { margin-right: 8px; }
#story .stitle{ padding: 10px 0;}
#story .stitle h1 { color: #000; font-size: 18px; }
#story .stitle small { color: #4c739f;}
#story .stitle small a { color: #4c739f; text-decoration: none;}
#story .stext { line-height:20px;}
#story .smore { margin: 5px 0; text-align: right; }
#story .smore a { color: #4c739f; text-decoration: none; }
#story .zakladki { margin:5px 0; padding:5px 0; background:#f2f2f2; line-height:20px; }
#story img { padding: 10px 10px 10px 0; border:none;}

.story  {float:left; width:344px; background-color:#F2F2F3; height:170px; padding:5px 10px 5px 20px; margin:0 10px 10px 0; overflow:hidden;}
.story:nth-child(even) {margin:0 0 10px 0;}
.story  a { text-decoration: underline; }
.story a:hover {text-decoration:none;}
.story h2{ color: #123456; font-size: 14px;  padding:0;}
.story img { float: left; height: 93px; width: 124px !important; padding: 4px 0 0 0; }


#tableform { border: none; background: #f1f1f2; padding: 10px; }
#tableform td {	padding: 5px; }
#tableform input { vertical-align: middle; background: #FFF; border: 1px solid #c0c0c0; width: 250px; }
#tableform input.company{ width: 520px; }
#tableform textarea { background: #FFF; border: 1px solid #c0c0c0; }

#subblock { margin: 20px 0; }
#subblock .sbtitle { float: left; height: 32px; width:170px; line-height: 32px; background:#5573a0; color: #FFF; font-weight: bold; padding-left:15px; border-radius: 0 10px 0 0;}
#subblock .sbtext { background: #f1f1f2; padding: 10px;}
#subblock .news{ float: left; width:170px; height: 220px; margin: 7px !important; overflow:hidden; line-height:18px; font-size:13px;}
#subblock .news small {display:block}
#subblock .news img { height:120px; width:170px; }
#subblock .sbtext li { list-style: none; }
#subblock .news  a { text-decoration: none; }
#subblock .news a:hover {text-decoration:underline;}

.berrors { margin: 10px 0; padding: 10px; border: 1px dotted #c0c0c0; background: #f1f1f2; }

#dle-comments-list{ margin: 10px 0;}

/* Sidebar
-----------------------------------------------------------------------------*/
#sideRight { float: left; width: 240px; margin-top: 10px; margin-right: -3px; margin-left: -240px; position: relative; overflow:hidden; }

.right-block { border: 1px solid #d8dfea;margin:0 0 10px 0 }
.right-block h4 { height: 33px; line-height: 33px; padding: 0 20px; color: #fff; font-size: 14px; font-weight: normal; background: #5573A0; }
.lenta h4 { height: 33px; line-height: 33px; padding: 0 20px; color: #fff; font-size: 14px; font-weight: normal; background: #5573A0; }

.right-block .rbcontent { background: #FFF; padding: 10px 5px; border: 1px solid #979EA8; border-top: none; }
.right-block .rbcontent a { line-height: 1.3em; font-weight: bold; }
.right-block .rbcontent img { height: 60px; width: 100px !important; }

.ob-buttons { width: 150px; text-align: center; margin: 10px 35px;}
.ob-buttons td { height: 33px; padding: 0 8px; font-size: 11px; background: #5573A0 url(../images/topmenu-bg.jpg) repeat-x; }
.ob-buttons a { line-height: 1.2em; color: #fff; text-decoration: none; }

.pogada, .kurs { width: 100%; }
.pogada td { width: 50%; }
.meteo { font-size: 10px; padding: 5px; }

.kurs { border: 1px solid #979EA8; border-top: none; margin-bottom: 3px; }
.k-text { width: 50%; background: #F2F2F2; border: 1px solid #c1c1c1; padding: 3px; }
.k-text h2 { font-weight: normal; float: left; }
.k-text img { float: left; margin: 3px 5px; }
.k-text span.left { color: #34bc2a; font-size: 10px; }
.k-text span.right { color: #984e44; font-size: 10px; }

.right-block #subscribe { padding: 10px 10px 20px 10px; background: #F2F2F3; }
.right-block #subscribe input{ border: 1px solid #c1c1c1; width:210px; margin: 5px 0; padding:3px; }
.right-block #subscribe input.fbutton { cursor: pointer; width:auto; padding: 0.1em 15px; }
#content #subscribe input { border: 1px solid #c1c1c1; width:210px; height: 20px; margin: 5px 0; padding:3px; vertical-align:middle; }

.right-block ul { list-style: none; padding: 10px 0 20px 0; background: #F2F2F3; }
.right-block ul.rmenu li { margin: 0 15px; padding: 4px 4px 4px 5px; }
.right-block ul.rmenu li:hover { background: #e7e7e7; }
.right-block ul.rmenu li a { color: #696969; padding: 0 5px 0 25px; background: url(../images/r-menu.gif) no-repeat left; }

/* Vote
-----------------------------------------------------------------------------*/
p.vtitle { color: #536A89; }
.dpad { padding: 10px; }
.vote input, #dle-poll-list div input { vertical-align: middle; margin: 0; padding: 0; width: 14px; height: 14px; margin-right: 4px; }
.right-block .votecontent { background: #FFF; padding: 10px 5px; border: 1px solid #979EA8; border-top: none; }
.right-block .votecontent a { line-height: 1.3em; font-weight: bold; }
.right-block .votecontent img { height: 10px; !important; }	
/* Footer
-----------------------------------------------------------------------------*/
#footer { width: 1024px !important; height: 103px; margin: -83px auto 0; position: relative; }

#copyright { line-height: 1.3em; color: #787474; padding:10px 30px; background: #f2f2f2;}


#footer_top{background: #f2f2f2;}
.footer_top_menu_1{width:130px;float:left; padding-left:30px}
.footer_top_menu_2{width:130px;float:left}
.footer_top_menu_3{width:240px;float:left}
.footer_top_menu_4{width:230px;float:left}
.footer_top_menu_5{width:230px;float:left}
#footer ul{list-style:none}
#footer ul li{padding:0px 0px 2px 0px;display:block;}
#footer ul li a{font:13px Arial, Helvetica, sans-serif ;text-decoration:none; color:#213852}
#footer ul li a:hover{text-decoration:underline !important}
#footer .li_title{padding:17px 0px 5px 0px !important;font:bold 13px Arial, Helvetica, sans-serif;color:000}



.mainnews { display:inline-block;background: #f2f2f3;padding:5px 10px}
.mainnews_left { float: left; width:350px; min-height:460px; margin: 5px 10px 5px 0;}
.mainnews_left img { float: left; height:220px; width:350px !important; margin-bottom:12px}
.mainnews_left a { text-decoration:none; font-size: 16px;  font-weight: bold; color:#213852;}
.mainnews_left a:hover { text-decoration:underline; }
.mainnews_right img  { float: left; height: 50px; width:70px !important; }
.mainbanner{ margin:7px 0; background: #5573a0; height:120px; color:#fff; text-align:center;line-height:120px; font-size:72px;}
.right_banner{ display:block; margin:7px 0; background: #5573a0; height:400px; width:240px; color:#fff; text-align:center;line-height:400px; font-size:72px;}

.green { background:green;}
.red { background:#d30000}
.black { background:black;}
.orange { background:#fe4902;}

.navigation { text-align: center;}
.navigation a:link,
.navigation a:visited,
.navigation a:active {
	text-decoration: underline;
	padding: 3px 4px;
	font-size: 12px
}

.navigation a:hover { background-color: #4C739F; color: #ffffff; border-color: #e1e1e3; }
.navigation span { color: #000000; text-decoration: none; padding: 3px 4px; font-size: 12px; }

/* Weathers & Maps & Horo
-----------------------------------------------------------------------------*/
table#weath tr td{text-align:center; vertical-align:middle;}
.weathcity{ float: left; width:180px; margin: 2px; line-height: 1.3;}
.weathcity a { color: #000000;line-height: 24px;}
.weathcity strong { color: #000000; font-size: 12px; font-weight: 200; }
tr.headlinesworkday {background:#5573a0; height:33px; color: #ffffff; font-weight: bold; } 
tr.headlinesworkday td { border-right: 3px solid #ffffff; padding:5px}
tr.night td, tr.day td { background-color: #E1EBFA; border-right: 3px solid #ffffff; border-top: 3px solid #ffffff;  height:60px;}
tr.morning td, tr.evening td { background-color:#F2F2F3; border-right: 3px solid #ffffff; border-top: 3px solid #ffffff; height:60px;}
h2, table td h2{text-align: left; padding: 5px; font-size: 16px;}
tr.night td.clicon, tr.day td.clicon, tr.morning td.clicon, tr.evening td.clicon { border: 0px; border-top: 3px solid #ffffff;}
.map h1, .horo h1, .valuta h1, .dpad h1 { color: #5573A0; font-size: 15px; padding: 2px;}
#weath img{width:40px; padding:15px 0 0 10px; float:left}
/* Exchange
-----------------------------------------------------------------------------*/
table.tcurrent{ table-layout: auto; text-align: center; }
table.tcurrent tr{	height:33px; text-align: center; font-style: normal; }
table.tcurrent td{ text-align: center; padding: 3px; height: 33px; }
tr.theader { background:#5573a0; height:33px; color: #ffffff; font-weight: bold; }
.datecur{ width:80px;}
.nominal{ width:40px;}
.datetoday{ background:#5573a0; height:33px; color: #ffffff; font-weight: bold;}
.minus{ color: #FF0000; }
.plus{ color: #0000FF; }
table.tcurrent  { height:35px; }
tr.tbody {background: #E1EBFA}
tr.tbody:nth-child(even) {background: #E1EBFA}
tr.tbody:nth-child(odd) {background: #F2F2F3}

table#advert{table-layout: auto;}
table#advert tr{height:21px;font-style: normal; background: #E1EBFA;}
table#advert tr:nth-child(even) {background: #E1EBFA}
table#advert tr:nth-child(odd) {background: #F2F2F3}
table#advert td{height: 21px; padding: 5px;text-align:left;}
table#advert .center{ text-align: center; }
table#advert tr.head{ background:#5573a0; height:21px; color: #ffffff; font-weight: bold; }

#ctrlcopy {
    height: 1px;
    line-height: 0;
    margin: 5px 0 0 -1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    width: 1px;
}

#addcform{background:#f2f2f2;margin:5px 0; display:none;}
.tableform textarea{width:730px;height:100px;border:1px solid #5573A0;}
.tableform td{padding:10px}
#addcform span{background-color:#5573A0;color:#F9F9F9;display:block;padding:5px;font-weight:bold;}
#addcform button{margin:5px;}

.wrappers{
	width:290px;
	overflow:hidden;
	}
.jp-container{
    width:238px;
    height:400px;
    position:static;
    background:#fff;
    border:1px solid #D8DFEA;
	float:left;
}
.jp-container span{
    padding:5px 20px;
    display:block;
    line-height:15px;
    background-color: #fff;
    border-bottom:1px solid #F2F4F8;
    border-top:1px solid #D8DFEA;
}
.jp-container i{
    font-size:11px;
}
.jp-container span first-child{
    border-top:none;
}
.jp-container span last-child{
    border-bottom:none;
}
.jp-container span:hover{
   background:#ECEFF5;
   border-bottom-color:#ECEFF5;
}
.jspContainer
{
	overflow: hidden;
	position: relative;
}

.jspPane
{
	position: absolute;
}

.jspVerticalBar
{
	position: absolute;
	top: 0;
	right: 0;
	width: 16px;
	height: 100%;
	background: red;
}

.jspHorizontalBar
{
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 16px;
	background: red;
}

.jspVerticalBar *,
.jspHorizontalBar *
{
	margin: 0;
	padding: 0;
}

.jspCap
{
	display: none;
}

.jspHorizontalBar .jspCap
{
	float: left;
}

.jspTrack
{
	background: #F2F4F8;
	position: relative;
}

.jspDrag
{
	background: #79a1b5;
	position: relative;
	top: 0;
	left: 0;
	cursor: pointer;
	border:1px solid #56839a;
}

.jspHorizontalBar .jspTrack,
.jspHorizontalBar .jspDrag
{
	float: left;
	height: 100%;
}

.jspArrow
{
	background: #50506d;
	text-indent: -20000px;
	display: block;
	cursor: pointer;
}

.jspArrow.jspDisabled
{
	cursor: default;
	background: #80808d;
}

.jspVerticalBar .jspArrow
{
	height: 16px;
}

.jspHorizontalBar .jspArrow
{
	width: 16px;
	float: left;
	height: 100%;
}

.jspVerticalBar .jspArrow:focus
{
	outline: none;
}

.jspCorner
{
	background: #eeeef4;
	float: left;
	height: 100%;
}

/* Yuk! CSS Hack for IE6 3 pixel bug :( */
* html .jspCorner
{
	margin: 0 -3px 0 0;
}

.bubble:after {
    border-color: transparent #F2F2F2;
    border-style: solid;
    border-width: 0 20px 20px 0;
    bottom: -20px;
    content: "";
    display: block;
    left: 20px;
    position: absolute;
    width: 0;
}
.bubble {
    background-color: #F2F2F2;
	color: #000;
    margin: 0;
    padding: 10px;
    position: relative;
}

.bubble + p {
    margin: 5px 0 5px 45px;
}

.ndt{padding-top:7px;}
.a1{ float: left; width: 230px; height: 80px; line-height: 1.3; margin: 0 5px; font-size:12px;overflow:hidden;}
.a1 span { font-size: 70%; display:block; line-height: 60%;}
.a1 img { float: left; height: 80px; width: 114px}
.imgwr{float:left;border:none;max-width:350px; margin:5px 5px 5px 0}
.simgwr img{border:none;max-width:350px;padding:0 !important;}
.mimgwr img{border:none;width:44px;height:44px;cursor:pointer;float:left;margin:2px;}

.vk_like{float:left;padding-top:1px}

#back-top {
    display:none;
	position: fixed;
	bottom: 30px;
	right: 100px;
}
#back-top a {
	width: 48px;
	display: block;
	text-align: center;
	font: 11px/100% Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	text-decoration: none;
	color: #5573A0;
	-webkit-transition: 1s;
	-moz-transition: 1s;
	transition: 1s;
}
#back-top a:hover {	color: #000;
}
#back-top span {
	width: 48px;
	height: 48px;
	display: block;
	margin-bottom: 3px;
	background: url(../images/up-arrow.png) no-repeat center;
	-webkit-transition: 1s;
	-moz-transition: 1s;
	transition: 1s;
}
#back-top a:hover span {background-color: #f7f7f7;}


#jquery-overlay {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 90;
	width: 100%;
	height: 500px;
}
#jquery-lightbox {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 100;
	text-align: center;
	line-height: 0;
}
#jquery-lightbox a img { border: none; }
#lightbox-container-image-box {
	position: relative;
	background-color: #fff;
	width: 350px;
	height: 350px;
	margin: 0 auto;
}
#lightbox-container-image { padding: 10px; }
#lightbox-loading {
	position: absolute;
	top: 40%;
	left: 0%;
	height: 25%;
	width: 100%;
	text-align: center;
	line-height: 0;
}
#lightbox-nav {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 10;

}
#lightbox-container-image-box > #lightbox-nav { left: 0; }
#lightbox-nav a { outline: none;}
#lightbox-nav-btnPrev, #lightbox-nav-btnNext {
	width: 49%;
	height: 100%;
	zoom: 1;
	display: block;
}
#lightbox-nav-btnPrev { 
	left: 0; 
	float: left;
}
#lightbox-nav-btnNext { 
	right: 0; 
	float: right;
}
#lightbox-container-image-data-box {
	font: 10px Verdana, Helvetica, sans-serif;
	background-color: #fff;
	margin: 0 auto;
	line-height: 1.4em;
	overflow: auto;
	width: 100%;
	padding: 0 20px 0;
}
#lightbox-container-image-data {
	padding: 0 10px; 
	color: #666; 
}
#lightbox-container-image-data #lightbox-image-details { 
	width: 70%; 
	float: left; 
	text-align: left; 
}	
#lightbox-image-details-caption { font-weight: bold; }
#lightbox-image-details-currentNumber {
	display: block; 
	clear: left;
    #width:auto;
    #margin-left:-40px;
	padding-bottom: 1.0em;	
}			
#lightbox-secNav-btnClose {
	width: 20px;
    #margin-right:-40px;
	float: right;
	padding-bottom: 0.7em;	
}
a.knopka {
  color: #fff; 
  text-decoration: none;
  user-select: none; 
  background: rgb(212,75,56); 
  padding:0 5px; 
  outline: none;
  font-size: 12px;
  margin: 0 5px;
  border-radius: 2px;
  line-height:18px
} 
a.knopka:hover { background: rgb(232,95,76); }
a.knopka:active { background: rgb(152,15,0); } 

.selectmass input { float: right; margin-left: 6px; }
.mass_comments_action { text-align: right; }

/*---Информационное окно загрузки AJAX---*/
#loading-layer { display: none; font-size: 11px; background: #2e83d7; padding: 10px; text-align: center; color: #fff; }

/*---Цитата и скрытый текст---*/
.scriptcode, .title_quote,
.quote, .title_spoiler, .text_spoiler { padding: 5px; background: #f9fafa; border: 1px solid #dce7e7; }
.title_quote, .title_spoiler { background: #f9fafa; }

.title_quote { border-bottom: 0; font-weight: bold; }
.scriptcode { color: #004e8d; text-align: left; font-family: "Courier New"; }
.title_spoiler { font-weight: bold; }
.text_spoiler { border-top: 0; text-align: justify; }

.hide { background-color: #e8f3fa; padding: 5px; color: #3a78a5; margin: 0 0 1em; }
.hide a { text-decoration: underline; } .hide a:hover { text-decoration: none }
.inhide { border: 1px solid #d1e3ef; padding: 5px; background-color: #fff; margin-bottom: 5px; }

/*---Календарь---*/
.calendar { width: 90%; }
.calendar td, .calendar th { padding: 5px 0; vertical-align: middle; text-align: center; }
/* .weekday-active-v, .day-active-v, .weekday-active, .day-active { font-weight: bold; } */
.weekday { color: #787474; }
th.workday, th.weekday { background-color: #f4f8fa; }

.day-current { background-color: #3f4b51; color: #fff; }
.day-current a { color: #fff; }

/*---Лучшие пользователи---*/
.userstop td, .pm td.pm_list, .pm td.pm_head { border: 1px solid #d8d8d8; padding: 2px; background-color: #fff; }
.userstop thead td, .pm td.pm_head { font-size: 0.9em; background: #fff url("../images/bbcodes.png") repeat-x 0 100%; height: 22px; padding: 0; font-weight: bold; text-align: center; color: #4e4e4e; }

/*---Рейтинг---*/
.rating { width: 85px; height: 17px; font-size: 0.9em; }

.unit-rating { list-style: none; margin: 0; padding: 0; width: 85px; height: 17px; position: relative; background: url("../dleimages/rating.png") repeat-x; }
.unit-rating li { text-indent: -90000px; padding: 0; margin: 0; float: left; }
.unit-rating li a { display: block; width: 17px; height: 17px; text-decoration: none; text-indent: -9000px; z-index: 17; position: absolute; padding: 0; }
.unit-rating li a:hover { background: url("../dleimages/rating.png") 0 -17px; z-index: 2; left: 0; }

.unit-rating a.r1-unit {left: 0;}		.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: url("../dleimages/rating.png") 0 -34px; position: absolute; height: 17px; display: block; text-indent: -9000px; z-index: 1; }

/*---BB коды---*/
 /* различие bbcodes и bbcodes_poll исключительно в длине кнопки */
/* класс bbcodes используем в списке персональных сообщений (pm.tpl)  и по умолчанию в модуле редактора сообщений*/
.bbcodes, .bbcodes_poll {
	background: #fff url("../images/bbcodes.png") repeat-x 0 100%;
	text-shadow: 0 1px 0 #fff;
	border: 1px solid #b3b3b3;
	color: #383838;
	padding: 2px 9px 5px 9px;
	margin-bottom: 2px !important;
	height: 24px;
	font-weight: bold;
	cursor: pointer;
	-webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px;
	-moz-box-shadow: 0 1px 4px -3px black;
	-webkit-box-shadow: 0 1px 4px -3px black;
	box-shadow: 0 1px 4px -3px black;
}
.bbcodes:hover, .bbcodes_poll:hover { background-position: 0 10px; }
.bbcodes_poll { width: 100px; }

.editor textarea {  background: #fff url("../images/fields.png") repeat-x; border: 0 none;  }
.editor input[type="text"] { padding: 2px; background: #fff url("../images/fields.png") repeat-x; border: 1px solid #bcc0c2; }
.editor_button {
	float: left;
	cursor: pointer;
	padding-left: 0;
	padding-right: 0;
}
.editor_buttoncl {
	float: left;
	cursor: pointer;
	padding-left: 1px;
	padding-right: 1px;
	border-left: 1px solid #bbb;
	border-right: 1px solid #bbb;
}
.editbclose { float: right; cursor: pointer; display: none; }
.editor_button select { font-size: 11px; }

.editor_button img { margin: 0; padding: 0; }
.editbclose img { margin: 0; padding: 0; }
.editor_button_brk img { margin: 0; padding: 0; }

/*---Дополнительные поля---*/
.xfields textarea, .xprofile textarea { width: 98%; height: 86px; margin: 0px 1px 0px 0px;padding: 0px; }
.xfields input, .xprofile input { width: 250px; height: 14px; padding: 2px; }
.xfields_table td { vertical-align: top; }

/*---Персональные сообщения---*/ 
.pm_head {font-weight: bold;}

/*---Выпадающее меню кнопки редактировать---*/
#dropmenudiv {
	border: 1px solid #cbdfe8;
	background-color: #fbfdfe;
	font-size: 11px;
	line-height: 20px;
	margin: 2px 0;
	padding: 5px;
	opacity:0.9; -moz-opacity:0.9; filter:alpha(opacity=90);
}

#dropmenudiv a { display: block; text-indent: 3px; text-decoration: none; color: #3f4b51; padding: 1px 0; width: 100%;}
#dropmenudiv a:hover { color: #2d8edd; }

/*---Ссылка на скачивание прикрепленного файла---*/
.attachment { color: #808080; }

/*---Рамка расширенной формы поиска по сайту---*/
fieldset { border: 1px solid #bfced6; padding: 5px; text-align: left; }

/*---показ оригинальной картинки загруженной на сайт из уменьшенной копии---*/
.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-color: black; }
.highslide-html { background-color: white; }
.highslide-loading {
    display: block;
	color: white;
	font-size: 9px;
	font-weight: bold;
    text-decoration: none;
	padding: 3px;
	border: 1px solid white;
    background-color: black;
}
a.highslide-full-expand {
	background: url("../dleimages/fullexpand.gif") no-repeat;
	display: block;
	margin: 0 10px 10px 0;
	width: 34px; height: 34px;
}
.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") no-repeat 0 -90px;
    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") no-repeat 100% -90px;
}
.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 { 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 -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; }

/*---Облако тегов---*/
.clouds_xsmall { font-size: 1em; }
.clouds_small { font-size: 1.1em; }
.clouds_medium { font-size: 1.2em; font-weight: bold; }
.clouds_large { font-size: 1.5em; }
.clouds_xlarge { font-size: 1.7em; }

/*---Быстрый поиск на сайте---*/
#searchsuggestions { border-width:1px; border-color:#919191; border-style:solid; width:300px; background-color:#5c9ccc; font-size:10px; line-height:14px; }
#searchsuggestions a { padding:5px;display:block; background-color:#fff; clear:left; height:75px; text-decoration:none; }
#searchsuggestions a:hover { background-color:#fdd08b; color:#fff; }
#searchsuggestions a span.searchheading { background: #5c9ccc; display:block; font-weight:bold; padding:5px; color:#fff; }
#searchsuggestions a:hover span.searchheading { color:#fff; }
#searchsuggestions a span {color:#555; }
#searchsuggestions a:hover span { color:#000; }
#searchsuggestions span.seperator { float:right; padding-right:15px; margin-right:5px;}
#searchsuggestions span.seperator a { background-color:transparent; display:block; height:auto; color:#fff; }
#searchsuggestions span.notfound { padding:5px; background-color:#fff; display:block; height:auto; color:#000; }

/*---Диалоговые и всплывающие окна 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 input, .ui-widget select, .ui-widget textarea, .ui-widget button, .ui-widget { font-size: 11px; }
.ui-widget-content { background: #fff 50% bottom repeat-x; border: 1px solid #dedede; color: #222; }
.ui-widget-header {
	background: #cccccc url(../images/ui-bg_gloss-wave.png) 50% 50% repeat-x;
	color: #000;
	font-weight: bold;
}
.ui-widget-header a { color: #fff; }
.ui-state-default, .ui-widget-content .ui-state-default {
	background: #eaeaea url(../images/ui-bg_glass_85.png) 50% 50% repeat-x;
	border: 1px solid #cfcfcf;
	color: #868686;
	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: #eaeaea url(../images/ui-bg_glass_75.png) 50% 50% repeat-x;
	border: 1px solid #a7a7a7;
	color: #4e4e4e;
	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: #d0e5f5 50% 50% repeat-x;
	border: 1px solid #a7a7a7;
	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-state-error {
	background: #fef1ec 50% 50% repeat-x;
	border: 1px solid #dedede;
	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.4em; }
.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 12px 25px rgba(0,0,0,0.7);
    -webkit-box-shadow: 0px 12px 25px rgba(0,0,0,0.7);
    box-shadow: 0px 12px 25px rgba(0,0,0,0.7);
}
.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;
}

#no_img {
    background: rgba(0, 0, 0, 0) url("../images/img_fon.jpg") no-repeat scroll left top;
    border: 1px solid #d5d5d5;
    height: 300px;
    width: 300px;
	float:left;
	margin: 0px 5px 5px 0px;
}