/* ==================== Вывод архива */
.archives {
	margin-top: 6px;
	margin-left: 10px;
	margin-bottom: 10px;
}

/* ==================== Цитата и скрытый текст */
.title_quote {
	color: #636363;
	background-color: #f2f2f2;
	border: 1px dotted #bebebe; 
	border-bottom: 0;
	font-weight: bold;
	padding: 5px;
}
.quote {
	color: #3c3c3c;
	background-color: #fffada;
	border: 2px dotted #ffde00;
	text-align: justify;
	padding: 8px;
}

/* ==================== Tэг CODE */
.scriptcode {
	color: #757575;
	background-color: #f2f2f2; 
	border: 1px dotted #bebebe;
	text-align: left;
	padding: 5px;
}

/* ==================== Календарь */
.calendar {font-size: 11px;}
.calendar td, th {
	 font-family: verdana;
	 text-decoration: none;
	 padding-left: 3px;
 	 padding-right: 3px;
	 padding-top: 3px;
	 padding-bottom: 3px;
	 
}
.weekday {color: #fea400;}
.weekday-active {color: #fea400;}
.day-active {color: #fea400;}
.day-active a, .weekday-active a, .day-active-v a, .weekday-active-v a {text-decoration: underline;}
.monthlink {text-decoration: none;}

/* ==================== Рейтинг статьи */
.rating {
	font-size: 11px;
	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;
}

/* ==================== BB коды */

/*---BB Редактор---*/

.bb-pane { height: 1%; overflow: hidden; border: 1px solid #BBB; background-image: url("../bbcodes/bg.gif"); }
.bb-btn, .bb-sep { height: 25px; float: left; display: block; overflow: hidden; text-indent: -9999px; white-space: nowrap; }
.bb-sel { float: left; padding: 4px 2px 0 2px; }
.bb-sel select { font-size: 11px; }
.bb-sep { width: 5px; background-image: url("../bbcodes/brkspace.gif"); }
.bb-btn { cursor: pointer; width: 23px; }

#b_font { width: 118px;}
#b_size { width: 65px;}
#b_font select { padding: 0px;}
#b_size select { padding: 0px;}
#b_b { background-image: url("../bbcodes/b.gif"); }
#b_i { background-image: url("../bbcodes/i.gif"); }
#b_u { background-image: url("../bbcodes/u.gif"); }
#b_s { background-image: url("../bbcodes/s.gif"); }
#b_img { background-image: url("../bbcodes/image.gif"); }
#b_up { background-image: url("../bbcodes/upload.gif"); }
#b_emo { background-image: url("../bbcodes/emo.gif"); }
#b_url { background-image: url("../bbcodes/link.gif"); }
#b_leech { background-image: url("../bbcodes/leech.gif"); }
#b_mail { background-image: url("../bbcodes/email.gif"); }
#b_video { background-image: url("../bbcodes/mp.gif"); }
#b_audio { background-image: url("../bbcodes/mp3.gif"); }
#b_hide { background-image: url("../bbcodes/hide.gif"); }
#b_quote { background-image: url("../bbcodes/quote.gif"); }
#b_code { background-image: url("../bbcodes/code.gif"); }
#b_left { background-image: url("../bbcodes/l.gif"); }
#b_center { background-image: url("../bbcodes/c.gif"); }
#b_right { background-image: url("../bbcodes/r.gif"); }
#b_color { background-image: url("../bbcodes/color.gif"); }
#b_spoiler { background-image: url("../bbcodes/spoiler.gif"); }
#b_fla { background-image: url("../bbcodes/flash.gif"); }
#b_yt { background-image: url("../bbcodes/youtube.gif"); }
#b_tf { background-image: url("../bbcodes/typograf.gif"); }
#b_list { background-image: url("../bbcodes/list.gif"); }
#b_ol { background-image: url("../bbcodes/ol.gif"); }
#b_tnl { background-image: url("../bbcodes/translit.gif"); }
#b_br { background-image: url("../bbcodes/pbreak.gif"); }
#b_pl { background-image: url("../bbcodes/page.gif"); }

.bb-editor textarea { 
    -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
    padding: 2px; border: 1px solid #bcc0c2; width: 100%; background: #fff url("../images/fields.png") repeat-x;
}
.editorcomm .bb-editor { width: 465px;}
.editorcomm .bb-editor textarea { height: 156px; }

.clr {
    clear: both;
}

.bbcodes {
	padding: 2px 5px;
	border-top: 1px solid #efefef;
	border-right: 1px solid #cccccc;
	border-bottom: 1px solid #cccccc;
	border-left: 1px solid #efefef;
	color: #333333;
	background: url(../images/grad1.gif) repeat-x top #f2f9fd;
}

/* класс bbcodes_poll используем в poll.tpl, vote.tpl, addnews.tpl */
.bbcodes_poll {
	padding: 3px 8px 2px;
	border: 1px outset #CCCCCC;
	background: url(../images/grad-1.gif) repeat-x top #D58400;
	color: #FFFFFF;
	text-transform: uppercase;
	font-size: 92%;
	font-weight: bold;
}
.editor_button {
	float: left;
	cursor: pointer;
	padding-left: 2px;
	padding-right: 2px;
	padding-top: 0px;
	height: 20px;
}
.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;
}

/* ==================== Дополнительные поля новостей */
.xfields textarea {
	margin-bottom: 1px;
	padding: 3px 2px;
	border: 1px solid #dddddd;
	background: #ffffff;
	width: 300px;
	height:70px;
}
.xfields input {
	margin-bottom: 1px;
	padding: 3px 2px;
	border: 1px solid #dddddd;
	background: #ffffff;
}
.xfields select {
	margin-bottom: 1px;
	padding: 3px 2px;
	border: 1px solid #dddddd;
	background: #ffffff;
}

/* ==================== Дополнительные поля профиля пользователей */
.xprofile textarea {
	margin-bottom: 1px;
	padding: 3px 2px;
	border: 1px solid #dddddd;
	background: #ffffff;
	width: 300px;
	height:70px;
}
.xprofile input {
	margin-bottom: 1px;
	padding: 3px 2px;
	border: 1px solid #dddddd;
	background: #ffffff;
}


/* ==================== Выпадающее меню */
#dropmenudiv {
	border-bottom-width: 0;
	font: normal 10px Verdana;
	background: #080808;
	line-height: 20px;
	margin: 2px;
	filter: alpha(opacity=90, enabled=1) progid:DXImageTransform.Microsoft.Shadow(color=#cacaca, direction=135, strength=3);
	-moz-opacity: 0.9;
	-khtml-opacity: 0.9;
	opacity: 0.9;
}
#dropmenudiv a {
	display: block;
	text-indent: 3px;
	border: 1px solid #464646;
	padding: 1px 0;
	margin: 1px;
	color: #ffffff;
	text-decoration: none;
	font-weight: normal;
}
#dropmenudiv a:hover { 
	/* hover background color */
	background-color: #fdd08b;
	color: #000000;
}

/* ==================== Уведомление о получении новых PM */
#newpm {
	position: absolute;
	width: 400px;
	padding: 4px;
	background-color: #fdfdfd;
	border: 1px solid #bbbbbb;
	font-family: verdana;
	line-height: 135%;
}
#newpmheader {
	padding-left: 5px;
	padding-right: 5px;
	padding-top: 2px;
	height: 20px;
	font-weight: bold;
	background-color: #35a6be;
	font-family: verdana;
	cursor: move;
}
#newpm a {
	background: transparent;
	color: #35a6be;
	text-decoration: none;
}
#newpm a:hover {
	background: transparent;
	color: #35a6be;
	text-decoration: underline;
}

/* ==================== показ оригинальной картинки загруженной на сайт из уменьшенной копии */
.highslide-html-content {
	position: absolute;
    display: none;
}
.highslide-display-block {display: block;}
.highslide-display-none {display: none;}
.highslide-loading {
    display: block;
	color: white;
	font-size: 9px;
	font-weight: bold;
    text-decoration: none;
	padding: 3px;
	border: 1px solid white;
    background-color: black;
}

/*---Диалоговые и всплывающие окна 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; }

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

.table-dates td {text-align: center; padding: 4px; font-weight: bold;}
.table-dates-order td {text-align: center; padding: 0px 4px 0px 4px; font-weight: bold;}
.table-dates-order-td:hover {text-align: center; padding: 0px 4px 0px 4px; font-weight: bold; background: #CCC; cursor: pointer }
.table-dates-order {width:100%;}
.td-order-selected {background: orange;}
.date-clock {font-size: 13px; border-radius: 4px; border: 1px solid #E4E3D0; background: #FCF6D7; padding: 5px; margin: 0px 5px 0px 0px;}
.dates-div{margin: 7px;white-space:nowrap}
.dates-div a {text-decoration: none;}
.dates-div a:hover {text-decoration: underline;}
.date-clock-span-1 a, .date-clock-span-1 a:hover {color: #FF3834;}
.date-clock-span-2 a, .date-clock-span-2 a:hover {color: #228B22;}
.date-clock-span-3 a, .date-clock-span-3 a:hover {color: #FF9B1F;}
.date-clock-span-4 a, .date-clock-span-4 a:hover {color: #24b5f9;}
.date-clock-span-5 a, .date-clock-span-5 a:hover {color: #3939d1;}
.date-clock-span-6 a, .date-clock-span-6 a:hover {color: #8B4513;}
.date-clock-span-7 a, .date-clock-span-7 a:hover {color: #FF1493;}

.but_style_1 {
    color: white;
    font-weight: bold;
    background: #FD9400;
    border-radius: 4px;
    box-shadow: 0px 0px 6px #CBCBCB;
    border: 0px;
    margin-right: 2px;
    border: 1px solid #A87101;
}

.but_style_1[disabled=disabled] { 
color: #e1e1e1;
font-weight: bold;
}

.month td {
    text-align: center;
    width: 28px;
    height: 17px;
    font-family: Tahoma;
    font-size: 11px;
    padding: 0px;
    position: relative;
}

.month {
    border-collapse: separate;
    border-spacing: 2px;
    border-color: gray;
    background: white;
}

.titles_for_days td {
    background: #d4e4e0;
    font-weight: bold;
}
.weekend {
    background: #faf0e6;
    text-align: center;
}

.week {
    width: 28px;
    height: 17px;
    background: #fafafa;
    text-align: center;
}

.trip_div {display: block; width: 28px; height: 18px; font-weight: bold; color: white;}
.trip_div a {text-decoration:none; color: white; display: block; font-size: 9pt;}
.trip_1 {background: #ff8534;}
.trip_2 {background: #228B22;}
.trip_3 {background: #a500c0;}
.trip_4 {background: #24b5f9;}
.trip_5 {background: #3939d1;}
.trip_6 {background: #8B4513;}
.trip_7 {background: #FF1493;}

.month_border {
    border: 1px solid #D8EDE9;
    padding: 4px;
    background: white;
}

.month_title, .year_title {
    font-family: Tahoma;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
}

.year_title {
    font-size: 16px;
}

.trip_befor {
    position: absolute;
    right: 3px;
    top: -3px;
    width: 26px; 
    height: 17px;
    z-index: 2;
    border-top: 1px solid white;
    border-left: 1px solid white;
}
.trip_befor:hover{
    position: absolute;
    right: -5px;
    top: -4px;
    width: 32px; 
    height: 21px;
    box-shadow: 0px 0px 10px white;
    padding-top: 1.5px;
    z-index: 5;
}
.trip_befor2 {
    position: absolute;
    right: 3px;
    top: -4px;
    width: 28px;
    height: 17px;
    z-index: 6;
    border-top: 1px solid white;
    border-left: 1px solid white;
}
.trip_befor2:hover{
    position: absolute;
    right: -5px;
    top: -6px;
    width: 32px; 
    height: 21px;
    box-shadow: 0px 0px 10px white;
    padding-top: 1.5px;
    z-index: 6;
}
.trip_up {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 28px; 
    height: 18px;
    z-index: 1;
}
.trip_up:hover{
    z-index: 555;
    position: absolute;
    left: -2px;
    top: -2px;
    padding-top: 2px;
    width: 32px; 
    height: 21px;
    box-shadow: 0px 0px 14px white;
}
.trip_up2 {
    z-index: 555;
    position: absolute;
    left: -2px;
    top: -2px;
    padding-top: 2px;
    padding-left: 1px;
    width: 32px; 
    height: 21px;
    box-shadow: 4px 0px 10px white;
}
.trip_long {
    width: 30px;
    border: 0;
}

.trip_left, .trip_right {
    width: 50px;
    filter: alpha(Opacity=50);
    opacity: 0.5; 
    cursor: pointer;
}
.trip_left:hover, .trip_right:hover {
    width: 50px;
    filter: alpha(Opacity=80);
    opacity: 0.8; 
}

.trip_left {
    background: url(../images/left.png) no-repeat 50% 50%;
}
.trip_right {
    background: url(../images/right.png) no-repeat 50% 50%;
}
.ff_pos{position:relative;width: 100%; height: 100%;}