/* Template created by CENTROARTS.com | Author: Rumin Sergey | URL: http://centroarts.com */

.selectmass input { float: right; margin-left: 6px; margin-right: 6px; }
.mass_comments_action { text-align: right; margin-left: 24px; }
.mass_comments_action input, .mass_comments_action select { border-color: #7b7671 !important; }

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

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

.title_quote { font-weight: bold; }
.title_spoiler img { vertical-align: middle; margin: -2px 0 0 0; }
.scriptcode { color: #5f5653; text-align: left; font-family: "Courier New"; }
.title_spoiler { font-weight: bold; }
.text_spoiler { border-top: 1px solid #fff; text-align: justify; }

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

/*---Календарь---*/
.fcalendar { width: 100%; border-spacing: 2px; }
.fcalendar td, .calendar th { padding: 2px 0; vertical-align: middle; text-align: center; }
.fcalendar td.day, .calendar th.workday { border: 1px solid #47494a; background-color: #2a2c2d; }
.fcalendar td.weekday, .calendar th.weekday { border: 1px solid #2d3030; background-color: #212424; }
.weekday-active-v, .day-active-v, .weekday-active, .day-active { font-weight: bold; }
.weekday { color: #686a6b; }
.fcalendar th.monthselect { padding-bottom: 6px; }
.monthselect, .monthselect a { color: #f99404; }

.calendar td.day-current { border-color: #fff; background: #fff; }
	.day-current a, .day-current { color: #1a1d1d; }

/*---Лучшие пользователи---*/
.userstop, .pm { font-size: 0.85em; }
.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 { background: #fff url("../images/fbutton.png") repeat-x 0 100%; height: 22px; padding: 0; font-weight: bold; text-align: center; color: #4e4e4e; }

/*---Navigation---*/
.storenumber { font-weight: bold; }
.basenavi { font-size: 1.2em; line-height: 22px; text-align: center; margin-bottom: 15px; }
	.navigation a, .navigation span { margin-left: -2px; padding: 2px 8px 3px 8px; }
		.navigation a:hover { background-color: #f99404; color: #fff; }
		.navigation span { color: #1a1d1d; }
		.navigation span.nav_ext { color: #1a1d1d; background: none; }

		.pnext img, .pprev img { margin: -3px 4px 0 4px; vertical-align: middle; width: 22px; height: 22px; background: url("../images/beatimg.png") no-repeat -36px -401px; }
			.pnext img, .pprev img { background-position: -36px -401px; }
			.pprev a img, .pnext a img { background-position: -58px -401px; }
			.pprev a:hover img, .pnext a:hover img { background-position: -80px -401px; }
			
/*---BB коды---*/
 /* различие bbcodes и bbcodes_poll исключительно в длине кнопки */
/* класс bbcodes используем в списке персональных сообщений (pm.tpl)  и по умолчанию в модуле редактора сообщений*/
.bbcodes, .bbcodes_poll {
	background: #fff url("../images/fbutton.png") repeat-x 0 100%;
	text-shadow: 0 1px 0 #fff;
	border: 1px solid #a9a9a9;
	color: #212223;
	padding: 1px 9px 4px 9px;
	margin-bottom: 2px !important;
	height: 30px;
	font-weight: bold;
	cursor: pointer;
		-moz-box-shadow: 0 1px 2px -2px #bab4a0;
		-webkit-box-shadow: 0 1px 2px -2px #bab4a0;
		box-shadow: 0 1px 2px -2px #bab4a0;
}
.bbcodes:hover, .bbcodes_poll:hover { background-position: 0 10px; }
.bbcodes_poll { width: 100px; }

.editor { background: #fff; }
.editor input[type="text"] { padding: 2px; background: #fff; border: 1px solid #bcc0c2; }
.base .editor { padding: 5px; }
.editorcomm .editor { width: 96% !important; padding: 0; }
.editorcomm .editor textarea { width: 100% !important; background: #fff; 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 #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; }

/*---Персональные сообщения---*/ 
table.pm .bbcodes { margin-top: 10px; }
.pm_head {font-weight: bold;}

/*---Выпадающее меню кнопки редактировать---*/
#dropmenudiv { background-color: #444; font-size: 0.85em; line-height: 20px; margin: 2px 0; padding: 5px; opacity:0.9; -moz-opacity:0.9; filter:alpha(opacity=90); }
#dropmenudiv a { display: block; text-decoration: none; color: #fff; padding: 2px 4px; width: 162px; }
#dropmenudiv a:hover { background-color: #2e2e2e; }

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

/*---показ оригинальной картинки загруженной на сайт из уменьшенной копии---*/
.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; }

/*---Рейтинг---*/
#ratig-layer {text-decoration: none;}

/*---Облако тегов---*/
.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; }

	#btags a.clouds_xsmall { color: #5b5a5a; }
	#btags a.clouds_small { color: #6c6c6c; }
	#btags a.clouds_medium { color: #828282; }
	#btags a.clouds_large { color: #a8a8a8; }
	#btags a.clouds_xlarge { color: #d8d8d8; }
	
	#btags a.clouds_xsmall:hover, #btags a.clouds_small:hover, #btags a.clouds_medium:hover,
	#btags a.clouds_large:hover, #btags a.clouds_xlarge:hover { color: #f99404; }

/*---Диалоговые и всплывающие окна jQuery UI---*/
.ui-widget-overlay { background: #666 url("../images/bgui.png") 50% 50% repeat; opacity:0.5; -moz-opacity:0.5; filter:alpha(opacity=50); 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("../images/fbutton.png") repeat-x 0 100%; border-bottom: 1px solid #bcc0c2; }
	.ui-widget-header a { color: #1f70bc; }

.ui-icon-close, .ui-icon-closethick { margin-top: 2px; height: 16px; width: 16px; background: url("../images/beatimg.png") no-repeat -118px -421px; }
.ui-dialog { background: #fff; border: 1px solid #bcc0c2; overflow: hidden; padding: 5px 0; position: absolute; width: 300px;
    -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; }
.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 { background: url("../images/ussep.png") no-repeat 50% 0; padding: 12px 6px 6px 6px; text-align: center; }
.ui-dialog .ui-dialog-buttonpane button { margin: 0 1px; width: auto; }

.ui-button { font-size: 0.9em; cursor: pointer; text-shadow: 0 1px 0 #fff; margin-bottom: 2px; border: 1px solid #d4d4d4; height: 30px; color: #3c3c3c; padding: 2px 8px 4px 8px; background: #fff url("../images/fbutton.png") repeat-x 0 100%; font-weight: bold;
	-moz-box-shadow: 0 1px 2px -2px #bab4a0;
	-webkit-box-shadow: 0 1px 2px -2px #bab4a0;
	box-shadow: 0 1px 2px -2px #bab4a0;
}
.ui-button:hover { background-position: 0 5px; }
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; }
/* ==================== Модальное окно jQuery */
.reveal-modal-bg { position: fixed; height: 100%;width: 100%;background: #000;background: rgba(0,0,0,.8);z-index: 100;display: none;top: 0;left: 0; }
.reveal-modal { visibility: hidden;top: 100px; left: 50%;margin-left: -355px;width: 720px;background: #eee url(../images/modal-gloss.png) no-repeat -200px -80px;position: absolute;z-index: 120;padding: 2px;-moz-border-radius: 5px;-webkit-border-radius: 5px;border-radius: 5px;-moz-box-shadow: 0 0 10px rgba(0,0,0,.4);-webkit-box-shadow: 0 0 10px rgba(0,0,0,.4);-box-shadow: 0 0 10px rgba(0,0,0,.4);}		
.reveal-modal.small { width: 200px; margin-left: -140px;}
.reveal-modal.medium { width: 400px; margin-left: -240px;}
.reveal-modal.large { width: 600px; margin-left: -340px;}
.reveal-modal.xlarge { width: 800px; margin-left: -440px;}
.reveal-modal .close-reveal-modal {font-size: 30px;line-height: .5;position: absolute;top: 15px;right: 20px;color: #aaa;text-shadow: 0 -1px 1px rbga(0,0,0,.6);font-weight: bold;cursor: pointer;}