body {
	color: white;
	font-size: 8pt;
	font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
	margin: 0;
	padding: 0;
	background-image: url(graphics/mbkgrnd.jpg);
	background-color: #111111;
	vertical-align: top;
}
.scrollbar { /* временный, должен перехать в body */ scrollbar-3dlight-color: #F0F0EE; scrollbar-arrow-color: #676662; scrollbar-base-color: #F0F0EE; scrollbar-darkshadow-color: #DDDDDD; scrollbar-face-color: #E0E0DD; scrollbar-highlight-color: #F0F0EE; scrollbar-shadow-color: #F0F0EE; scrollbar-track-color: #F5F5F5;}
h1 { font-size: 16pt; }
h2 { font-size: 14pt; }
h3 { font-size: 12pt; }
h4 { font-size: 10pt; }
h5 { font-size: 8pt; }
h6 { font-size: 6pt; }
a { color: #36c; text-decoration: none; }
a:hover { text-decoration: underline; }
p { margin: 0 0 6px; padding: 0; }
img { border-width: 0; }
td, th { font-size: 8pt; }

/**************** смайлики ***************/
.smiley { vertical-align: middle; }

/********* элементы управления ***********/
form { margin: 0 0 2px; padding: 0; }
input.text { background-color: silver; }
input.button, input.submit { font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; font-size:11px; height: 23px; padding-left: 4px; padding-right: 4px; }
.button { margin: 6px; }
.narrowedit { width: 100%; }
.mceEditor { background-color: #F0F0EE; margin: 0; padding: 0; width: 100%; }
.icon { vertical-align: middle; }


/***************** ПАНЕЛИ *****************/
/* верхняя панель */
.topRoot { text-align: center; margin: 0 !important; padding: 0; }
.topBanners {
	margin: 0;
	padding: 0;
}
/*table.topBanners {
	table-layout: fixed;
	height: 62px;
	border-style: none;
	border-width: 0;
	top: 0;
}*/
.bannercont {  }
.banner { margin-left: 0; margin-right: 0; margin-top: 1px; margin-bottom: -3px; padding: 0; position: relative; top: -1px; border-width: 0; }
.topLoc { color: white; font-size: 28px; text-align: center; vertical-align: middle; padding-bottom: 2px; }
.toprow a { color: #fff; }
/* центральняя панель */
.mainframe {
	height: auto;
	color: white;
	background-image: url(graphics/mbkgrnd.jpg);
	padding-left: 6px;
	padding-right: 6px;
	padding-bottom: 4px;
	vertical-align: text-top;
	padding-top: 3px;
}
.mainframe a { color: #ffd271; text-decoration: none; }
.mainframe a:hover { text-decoration: underline; }
/* левый столбик мини-окон */
.leftcol { background-image: url(graphics/lbkgrnd.jpg); background-repeat: repeat-y; vertical-align: top; width: 166px; margin: 0; padding: 0; }
.leftContent { padding-right: 6px; padding-bottom: 12px; padding-left: 2px; height: auto; }
/* правый столбик мини-окон */
.rightcol {  background-image: url(graphics/rbkgrnd.jpg); vertical-align: top; width: 163px; height: auto; margin: 0; padding: 0; }
.rightContent { height: auto; padding: 0 2px 12px 6px; }

/************** мини-окошки ******************/
table.mwnd { color: black; margin-bottom: 8px; }
.mwndTitle { color: white; font-size: 12px; font-family: Impact, Tahoma, "Arial Narrow"; text-align: left; vertical-align: bottom; padding-top: 3px; padding-right: 6px; padding-left: 5px; }
.mwndContent, .mwndContent table { color: black; vertical-align: middle; padding: 1px; }

/************* центральные окна **************/
table.wnd { color: black; margin-bottom: 4px;  }
.wndContent { color: #b6b4b4; background-image: url(graphics/wndbk.png); vertical-align: top; padding: 12px 10px 10px 12px; }
.wndStatus { /* статус (внизу окна) */ color: #b6b4b4; font-size: 11px; vertical-align: top; margin-top: 6px; margin-bottom: 5px; padding-top: 12px; padding-right: 3px; padding-left: 3px; }
.wndTitle { /* заголовок */ color: #cac8c8; font-size: 11px; font-weight: bold; text-align: left; vertical-align: middle; padding-right: 6px; padding-bottom: 1px; padding-left: 5px; }
.wndTitle2 { /* правый заголовок (для кнопок) */ color: black; vertical-align: middle; padding-top: 2px; padding-bottom: 0px; padding-right: 4px; padding-left: 2px; }

/****************** МЕНЮ ***********************/
.menu { position: relative; margin-bottom: 12px; talbe-layout: fixed; width: 166px; }
.menu_item { vertical-align: bottom; margin: 0; padding: 0; border-style: none; border-width: 0; }


/****************** ЭЛЕМЕНТЫ ******************/
/* мини-чат */
.message_header { margin: 0; padding: 2px; }
.mchat_date { color: gray; font-size: 10px; }
.message {
	margin: 0;
	padding: 0;
}

/* комментарии */
.comment_cont
{
	margin: 8px 0 8px;
	padding: 0;
}
div.comment_title {
	margin: 0;
	padding: 2px 2px 3px 8px;
	background-color: #333333;
}
span.comment_title { color: #e6e4e4; }
.comment_text {
	margin: 0;
	padding: 5px;
	border-top-style: none;
	border-right-style: solid;
	border-bottom-style: double;
	border-left-style: solid;
	border-width: 2px;
	border-color: #303030;
}

/* подсказки и сообщения */
.comment { font-size: 10px; font-weight: normal; }
.attention { color: white; font-weight: bolder; }

/* столбик голосования, пока что тупо красный */
.barl { /* левый торец */ background-color: red; width: 1px; height: 2px; float: left; }
.barm { /* центральная часть */ background-color: red; height: 2px; float: left; }
.barr { /* правый торец */ background-color: red; width: 1px; height: 2px; float: left; }

/* выбор аватара */
.sel_avatar { border: solid 4px white; }
.unsel_avatar { margin: 4px; }

/******************* ФОРУМ ***********************/
	/* таблицы с форумами, темами */
.forums { color: silver; background-color: #131313; /* цвет линий границ */ }
.forums th { color: #ebebeb; font-size: 12px; background-color: #6c6a68; padding: 5px; }
.forums td { font-size: 12px; background-color: #302d2c; vertical-align: top; padding: 12px; }
.forums td a { font-size: 12px; padding: 0px; }
.forum_description { font-size: 10px; margin: 0px; padding: 0px; }
	/* стили сообщений форума */
.f_head { color: black; background-color: #bd8a42; height: 25px; padding: 6px; }
.f_body td { color: black; background-color: #bcbcbc; padding: 10px 10px 15px; }
.f_body td a { color: #36c; }

/* ТАБЛИЦЫ */
.data td { color: #b6b4b4; background-color: #272727; padding: 6px; }
.data th, .innerdata th { color: #ebebeb; background-color: #454442; padding: 8px 12px; }
.data td a { color: #e1b963; }
.data { color: silver; background-color: #131313; /* цвет линий границ */ }
	/* ситль вложенной таблицы */
.innerdata td { color: #b6b4b4; background-color: #333; }
table.innerdata { background-color: #1D1D1D; }

/********************** КАЛЕНДАРЬ *************************/
.calendar { color: black; font-size: 9px; text-align: center; margin: 0; padding: 0; border: solid 0px gray; margin-bottom: 4px; }
.calendar td { padding-top: 2px; }
/*.calendar td a { color: black; }*/
.calendar td a:hover { color: white; text-decoration: none; }
.cl_head { /* заголовок, название месяца */ /*background-color: #ffeabd; */margin: 0; padding: 0; padding-bottom: 3px; }
.cl_dayoff { /* дни недели, воскресенье */ color: #b50808; font-size: 9px; background-color: silver; margin: 0; padding: 0; }
.cl_work { /* дни недели, будни */ background-color: silver; font-size: 9px; margin: 0; padding: 0; }
.cl_empty { /* ячейка другого месяца */ margin: 0; padding: 0; }
a.cl_empty { color: silver; }
td.cl_inner { color: red; margin: 0; padding: 0; /*border-color: white gray gray white; border-style: solid; border-width: 1px;*/ }
a.cl_inner { color: black; }
td.cl_today { /* ячейка "сегдня" */ font-weight: bold; background-color: #6e94d2; margin: 0; padding: 0; border: solid 2px white; }
a.cl_today { color: black; }
td.cl_sel { /* выделенная ячейка */ background-color: #ffd271; margin: 0; padding: 0; border-color: black white white black; border-style: solid; border-width: 1px; }
a.cl_sel { color: black; font-weight: bold; }

/************ КОНТЕЙНЕРЫ с полосами прокрутки ******************/
.scrollnarrow { /* контейнер с полосами прокрутки */ width: 100%; overflow: auto; overflow-x: scroll; overflow-y: auto; margin: 0; padding: 0; }
.scrollauto { width: 100%; overflow: auto; overflow-x: auto; overflow-y: auto;}
.scrollhidden { width: 100%; overflow: hidden; overflow-x: hidden; overflow-y: hidden;}
.scrollnarrow_full { border: 0px; height: auto; }
.hidescroll { overflow: hidden; };
.hltable { /* обертка для контейнера с полосами прокрутки */ table-layout: fixed; width: 100%; margin: 0; padding: 0; /*margin: -8px;*/ }
.hltable_full { /* обертка для полного размера */ width: 100%; height: auto; margin: 0 auto; overflow: hidden; }

/****************** ТУРНИРНАЯ СЕТКА *************************/
	/* всплывающая подсказка */
.TooltipContainer { position: absolute; z-index: 99; height: auto; width: 260px !important; overflow: visible; visibility: hidden; background-color:   #ebebeb; color:  black; border: solid 2px #000000; padding: 7px; text-align: center; }
.lg_tiptbl { float: center; width: 96%; color: black; margin: 5px; border: solid 1px gray; }
.lg_tiptbl td { padding: 4px 18px; border: solid 1px gray; }
	/* классы ячеек */
.lg { color: white; background-color: black; }
.lg_head { background-color: #5e5e5e; text-align: center; font-family: Tahoma; height: 25px; border-color: silver; border-style: solid; border-width: 2px 5px; }
.lg_void, .lg_vline, .lg_lvline, .lg_rvline, .lg_hline, .lg_brcorner, .lg_blcorner, .lg_trcorner, .lg_tlcorner, .lg_lcenter, .lg_rcenter { background-color: #1a1a1a; background-image: url(graphics/wndbk.png); width: 35px; height: 27px; }
.lg_voidnarrow, .lg_player, .lg_loser, .lg_winner { background-color: black; width: 148px; height: 27px; }
.lg_winner { font-weight: bold; background-image: url(graphics/lg_winner.png); background-repeat: no-repeat; background-attachment: scroll; background-position: 0 0; text-align: center; }
.lg_loser { color: silver; font-weight: lighter; background-image: url(graphics/lg_loser.png); background-repeat: no-repeat; background-attachment: scroll; background-position: 0 0; text-align: center; }
.lg_player { background-image: url(graphics/lg_player.png); background-repeat: no-repeat; background-attachment: scroll; background-position: 0 0; text-align: center; }
.lg_lvline { background: url(graphics/lg_lvline.png) no-repeat; }
.lg_rvline { background: url(graphics/lg_rvline.png) no-repeat; }
.lg_hline { background: url(graphics/lg_vs.png) no-repeat; }
.lg_brcorner { background: url(graphics/lg_brcorner.png) no-repeat; }
.lg_blcorner { background: url(graphics/lg_blcorner.png) no-repeat; }
.lg_trcorner { background: url(graphics/lg_trcorner.png) no-repeat; }
.lg_tlcorner { background: url(graphics/lg_tlcorner.png) no-repeat; }
.lg_lcenter { background: url(graphics/lg_lcenter.png) no-repeat; }
.lg_rcenter { background: url(graphics/lg_rcenter.png) no-repeat; }

/* спайсер НЕ ТРОГАТЬ!!! */
.spacer{ font-size: 0 !important; line-height: 0 !important; overflow: hidden; clip: rect(auto auto auto auto); padding: 0; }
.bottomCenter {
	background-position: left top;
	text-align: center;
	vertical-align: bottom;
	padding: 3px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	font-weight: normal;
	color: #ECE9D8;
}
.bottomCenter a { color: white; }
