





/*---Информационное окно загрузки AJAX---*/
#loading-layer { display: none; font-size: 11px; background: #2e83d7; padding: 10px; text-align: center; color: #fff; }

.mass_comments_action { text-align: right; padding: 16px; }
	.mass_comments_action select { height: 24px; padding: 2px; }

/* ==================== Цитата и скрытый текст */
.title_quote {
	color: #636363;
	background-color: #f2f2f2;
	border: 1px dotted #bebebe; 
	border-bottom: 0;
	font-weight: bold;
	padding: 5px;
}

.quote {
	color: #757575;
	background-color: #f2f2f2;
	border: 1px dotted #bebebe;
	text-align: justify;
	padding: 5px;
}

/* ==================== Tэг CODE */

.scriptcode {
	color: #757575;
	background-color: #f2f2f2; 
	border: 1px dotted #bebebe;
	text-align: left;
	padding: 5px;
}

/* ==================== Календарь */

.weekday-active-v {
	color: #5d9ac6;
}
.day-active-v {
	color: #5d9ac6;
}
.calendar { }
.calendar td, th { padding: 3px 6px 4px 6px; }
.weekday { color: #5d9ac6; }
.weekday-active { color: #5d9ac6; }
.day-active { color: #5b9dc3; }

.day-active a,
.weekday-active a,
.day-active-v a,
.weekday-active-v a { text-decoration: underline; }

.monthlink { }
.day-current {
	background-color: #5d9ac6;
	color: #fff;
}
.day-current a { color: #fff !important; }

/* ==================== Рейтинг статьи */

.rating { width: 85px; height: 16px; overflow: hidden; }
.userinfo .rating { float: left !important; }

.unit-rating {
	list-style: none;
	margin: 0; padding: 0;
	width: 85px; height: 16px;
	position: relative;
	background: url("../../../templates/avto/dleimages/rating.png") repeat-x left top;
}

.unit-rating li {
	text-indent: -90000px;
	padding: 0; margin: 0;
	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: url("../../../templates/avto/dleimages/rating.png") left -17px;
	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: url("../../../templates/avto/dleimages/rating.png") left -34px;
	position: absolute;
	height: 16px;
	display: block;
	text-indent: -9000px;
	z-index: 1;
}

/*=====Лучшие пользователи*/
.userstop { }
.userstop td, .pm td.pm_list, .pm td.pm_head { border: 1px solid #eee; padding: 2px; font-size: 0.9em; }
.userstop thead td, .pm td.pm_head { background-color: #f5f5f5; height: 22px; padding: 0; font-weight: bold; text-align: center; }


/* ==================== BB коды */
 
.bbcodes, .ui-button {
	background: #f2f2f2 url("../../../templates/avto/images/bbcodes.png") repeat-x left top;
	border: 1px solid #dbdbdb;
	color: #7d7d7d;
	padding: 2px 5px;
	font-weight: bold;
	cursor: pointer;
	-webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px;
}

.bbcodes:hover, .ui-button:hover { background: #fff none; }

/* класс bbcodes_poll используем в poll.tpl, vote.tpl, addnews.tpl */
.editor { background-color: #fff; }
.editor textarea { background: none; border: 0 none;  }
.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 #bbbbbb;
	border-right: 1px solid #bbbbbb;
}
.editbclose {
	float: right;
	cursor: pointer;
}
.editor_button select {
	font-family: tahoma;
	font-size: 11px;
}

.editor_button img { margin: 0; padding: 0; }
.editbclose img { margin: 0; padding: 0; }
.editor_button_brk img { margin: 0; padding: 0; }

.bbcodes_poll {
	background-color: #ffffff;
	border: 1px solid #1434B0;
	color: #fff;
	width: 100px;
	height: 20px;
	font-weight: bold;
}

/* ==================== Дополнительные поля новостей */
.xfields textarea, .xfields input, .xfields select,
.xprofile textarea, .xprofile input, .mass_comments_action select {
	color: #2b2b2b;
	background: #fff url("../../../templates/avto/images/fields.gif") repeat-x 0 -4px;
	border: 1px solid #bcbcbc;
}

.xfields textarea {width: 411px; height: 86px; }
.xfields input { width: 250px; height: 14px; }
.xfields select { }

.xfields_table td { vertical-align: top; }

/* ==================== Дополнительные поля профиля пользователей */

.xprofile textarea { width: 316px; height: 86px; }
.xprofile input { width: 250px; height: 14px; }

/* ==================== Персональные сообщения */ 

.pm_head {font-weight: bold;}

/* ==================== Выпадающее меню */

#dropmenudiv {
	border: 1px solid #ffffff;
	font-size: 11px;
	background-color: #c0c5cb;
	line-height: 20px;
	margin: 2px;
	text-align: left;
}

#dropmenudiv a {
	display: block;
	text-indent: 5px;
	text-decoration: none;
  	color: #25292d;
	background-color: #eef0f1;
	border: 1px solid #ffffff;
	margin: 1px;
}

#dropmenudiv a:hover { 
	background-color: #3b7fb2;
	color: #fff;
}

/* ==================== Ссылка на скачивание прикрепленного файла */
.attachment { color: #808080; }

/* ==================== Поиск по сайту и результаты поиска */

.search {
	color: #757575;
	text-decoration: none;
}

.sresult  {
	text-align: justify;
	font-weight: normal;
	line-height: 16px;
	font-size: 12px;
	color: #757575;
}


/* ==================== Рамка расширенной формы поиска по сайту */

fieldset {
	border: 1px solid #e0e0e0;
	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(../../../templates/avto/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) 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 { 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; }

/* ======= ========== === Тег SP OILER */
.title_spoiler {
	color: #636363;
	background-color: #f2f 2f2;
	border: 1px dotted #bebebe; 
	font-weight: bold;
	padding: 5px;
}

.text_spoiler {
	color: #757575;
	background-color: #f2f2f2;
	border: 1px dotted #bebebe;
	border-top: 0;
	text-align: justify;
	padding: 5px;
}

/*---Быстрый поиск на сайте---*/
#searchsuggestions { text-align: left; z-index: 998; border: 1px solid #000; width:280px; background-color: #fff; }
#searchsuggestions a, #searchsuggestions span.notfound { padding: 10px; display: block; text-decoration: none; }
#searchsuggestions a { color: #2c2c2c; border-bottom: 1px solid #f4f4f4; }
#searchsuggestions a:hover { background-color: #f4f4f4; }
	#searchsuggestions span.searchheading { display: block; font-weight: bold; color: #3d86bb; }
	#searchsuggestions span.seperator { display: block; background-color: #3d86bb; }
	#searchsuggestions span.seperator a { padding: 5px 10px; text-align: right; border: 0 none; background-color: transparent; color: #fff; }
	#searchsuggestions span.notfound { padding: 10px; display: block; }
		#searchsuggestions .break { display: none; }

/*---Диалоговые и всплывающие окна jQuery UI---*/
.ui-widget-overlay { background: #000; opacity:0.4; -moz-opacity:0.4; filter:alpha(opacity=40); left: 0; position: absolute; top: 0; }
.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-header { text-shadow: 0 1px 0 #fff; color: #191c1c; background: #fff url("../../../templates/avto/images/bbcodes.png") repeat-x 0 100%; border-bottom: 1px solid #bcc0c2; }
	.ui-widget-header a { color: #1f70bc; }

.ui-icon-close, .ui-icon-closethick { margin-top: 1px; height: 16px; width: 16px; background: url("../../../templates/avto/images/close.png") no-repeat; }
.ui-dialog { background: #fff; border: 1px solid #bcc0c2; overflow: hidden; padding: 5px 0; position: absolute; width: 300px;
   -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px;
	-moz-box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.3);
}

.ui-dialog .ui-dialog-titlebar { padding: 5px 10px 10px 10px; position: relative; }
.ui-dialog .ui-dialog-title { float: left; font-size: 1.3em; }
.ui-dialog .ui-dialog-titlebar-close { float: right; width: 16px; height: 16px; }
.ui-dialog .ui-dialog-titlebar-close span { display: block; }
.ui-dialog .ui-dialog-content {
	background: none;
	border: 0;
	overflow: hidden;
	padding: 13px 13px 0 13px;
	position: relative;
	zoom: 1;
	margin-bottom: 13px;
}
.ui-dialog .ui-dialog-buttonpane { border-top: 1px solid #d7d7d7; padding: 12px 6px 6px 6px; text-align: center; }
.ui-dialog .ui-dialog-buttonpane button { margin: 0 1px; width: auto; }

button.ui-button span { cursor: pointer; display: block; }

.ui-dialog .ui-resizable-se { bottom: 3px; height: 14px; right: 3px; width: 14px; }
.ui-draggable .ui-dialog-titlebar { cursor: move; }

.ui-state-error { background: #fef1ec 50% 50% repeat-x !important; border: 1px solid #cd0a0a; color: #cd0a0a; }

/* ==================== Автозаполнение облака тегов */
.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; background: #fff 50% bottom repeat-x; border: 1px solid #dedede; color: #222; }
.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; border: 1px solid #a7a7a7; color: #4e4e4e; font-weight: bold; }