HTML *
{
  margin: 0;
  padding: 0;
}
BODY
{
  background: #f5f5f5;
  font-size: 20px;
  line-height: 30px;
  font-weight: 400;
  font-family: 'Roboto', sans-serif;
}
H1
{
  font-size: 40px;
  font-family: inherit;
  font-weight: 500;
  line-height: 40px;
  margin: 20px 0 12px 0;
}
H2
{
  font-size: 30px;
  font-family: inherit;
  font-weight: 500;
  line-height: 30px;
  margin: 20px 0 12px 0;
}
H3
{
  font-size: 25px;
  font-family: inherit;
  font-weight: 700;
  line-height: 25px;
  margin: 20px 0 12px 0;
}
H4
{
  border-bottom: 1px solid #642311;
  color: #642311;
  font-size: 20px;
}

A
{
  color: #1a4780;
}
A:hover
{
  color: #800000;
}
INPUT[type='submit']
{
  cursor:pointer;
  padding: 2px 10px;
  text-transform:uppercase;
  background: #EEE1C8;
  border-bottom:1px solid #1a4780;
  border-right:1px solid #1a4780;
  border-top:1px solid #CAB394;
  border-left:1px solid #CAB394;
}

A IMG
{
  border: 0;
}
A.bn
{
  color: #00008B;
}
INPUT:focus,
TEXTAREA:focus,
SELECT:focus
{
  outline: none;
}
.msg_err
{
  border: 2px solid #F00;
  margin: 15px 0;
}
.msg_mes
{
  border: 2px solid #00F;
  margin: 15px 0;
}

.body
{
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}
.body_in
{
  margin: 20px 0 0 0;
  background: #fff;
  border-radius: 16px;
}
.text
{
  padding: 45px 90px;
}
.text + .text
{
  padding-top: 0;
}
.text H1:first-child,
.text H2:first-child
{
  margin-top: 0;
}
.text P
{
  padding: 10px 0;
}
.text P A
{
  text-decoration: none;
  border-bottom-width: 1px;
  border-bottom-style: solid;
}
.text IMG
{
  max-width: 100%;
}
.text-r
{
  text-align: right;
}
.text-c
{
  text-align: center;
}
BLOCKQUOTE
{
  font-style: italic;
  color: #555;
  border-left: 4px solid #ccc;
  padding-left: 20px;
}
UL.tags_list
{
  list-style: none;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #555;
  text-align: center;
}
UL.tags_list LI
{
  display: inline-block;
}
UL.tags_list LI + LI
{
  margin-left: 15px;
}

.foot
{
  margin-top: 20px;
  background: #000;
  color: #bfbfbf;
  font-size: 14px;
}
.foot .in
{
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 0;
}
.foot B
{
  color: #fff;
  font-size: 20px;
}
.foot A
{
  color: #fff;
}
.foot A:hover
{
  color: #ced1d5;
}


LABEL, BUTTON, .curH, .frm_bar IMG
{
  cursor: pointer;
}
.ask
{
  cursor: help;
  color: #555;
}
.info
{
  color: #567;
}
.highlight
{
  color: #FF6347;
  font-weight: bold;
}
.d-no
{
  text-decoration: none;
}
.bl-r
{
  float:right;
}
.bl-l
{
  float:left;
}
.bl-0, .bl-1, .ct_main
{
  margin: 5px 0;
  padding: 5px;
}
.bl-1, .ct_main, .nw_i, .capt-0, .capt-1, .capt-2, .bl-4, .tb_rm
{
  border: 1px solid #ABC;
}
.bl-2, .bl-3, .block
{
  border: 1px solid #10147E;
}
.bl-2, .block
{
  margin: 10px 0;
  padding: 0;
  text-align: left;
}
.bl-3
{
  margin: 15px 0;
  padding: 15px 0;
  background-color: #EBEBE6;
}

.bl-2 H4, .block H4
{
  border-bottom: 1px solid #10147E;
  background-color: #EBEBE6;
  text-align: center;
  font-size:13px;
  padding: 1px 0 3px 0;
}

.quote
{
  margin: 20px 40px;
  padding-left: 10px;
  border-left: 5px solid #ABC;
}


#text P
{
  margin: 5px 0;
  text-indent: 15px;
  text-align:justify;
}


ACRONYM
{
  color: #800000;
  font-weight: bold;
}

TD.td_style
{
  border-bottom: 1px solid;
}
BUTTON.amenu, INPUT.t_style, INPUT.b_style
{
  border: 0;
  background-color: transparent;
}
INPUT.b_style
{
  font-weight:bold;
  border: 1px solid #DCDCDC;
}


.bl-4
{
  padding: 5px;
  height: 100%;
}
.capt-0, .capt-1, .capt-2
{
  padding: 0 5px;
  background-color: #EBEBE6;
}
.capt-1
{
  margin: 2px;
  text-align: right;
}
.capt-2
{
  text-align: left;
}
.nw_bl
{
  float:left;
  width:50%;
}
.nw_i
{
  margin: 2px;
  padding: 5px;
}
.nw_i I
{
  float: right;
  font-size: 85%;
}
.nw_i DIV I
{
  float: none;
  font-size: 85%;
}

.clear
{
  clear: both;
}
.clear-l
{
  clear: left;
}

.h-name
{
  background-color: #EBEBE6;
  padding: 2px 5px;
}

DIV.bt_menu
{
  text-align:center;
}
DIV.bt_menu DIV
{
  height: 18px;
  margin-top: 5px;
  padding-top: 1px;
  text-align: center;
  background: url(/img/usor_bt0.gif);
  background-repeat: no-repeat;
  background-position: 50% 50%;
  font-size: 12px;
  font-weight: bold;
}
DIV.bt_menu DIV A
{
  color: #000;
}
DIV.bt_menu DIV A:hover
{
  text-decoration: none;
  color: #10147E;
}
DIV.bt_menu INPUT
{
  cursor: pointer;
  margin-top: 3px;
  border: 0;
  font-size: 12px;
  font-weight: bold;
  background-color: transparent;
}

TABLE.name TH
{
  background-color: #DCDCDC;
  font-weight:bold;
}
TABLE.name TR.name
{
  background-color:#E4E9FD;
  font-weight:bold;
}
TABLE.name TD.name
{
  background: #D1D1D1;
  vertical-align: top;
}
TABLE.name TD.info
{
  background:#EBEBE6;
  text-align: left;
}

B.info
{
  color:#999;
}


tr.off_N {background-color: #E4E9FD; }
tr.off_Y {background-color: #FFFFFF; }


IMG.nm_menu
{
  border: 1px solid #ABC;
}
IMG.bt
{
  border: 1px solid #ABC;
  background-color: #FFF ;
  width: 16px;
  height: 16px;
  margin: 0 1px;
  vertical-align: middle;
}
IMG.off_Y
{
  background-color: #FF0 ;
}
IMG.off_N
{
  background-color: #0F0 ;
}
IMG.off_D
{
  background-color: #F00 ;
}


/* - форма - with label - */
.frm-l LABEL, .frm-l INPUT, .frm-l TEXTAREA, .frm-l SPAN, .frm-l SELECT, .frm-l IMG
{
  display: block;
  float: left;
  margin-bottom: 10px;
  margin-right: 10px;
}
.frm-l LABEL
{
  text-align: right;
  width: 100px;
  padding-right: 10px;
}
.frm-l BR
{
  clear: left;
}
.frm-l SPAN
{
  width: 30px;
  border: 1px solid #ABC;
  padding:2px 3px;
  text-align: right;
}


.frm_bar
{
  display: inline;
}
.frm_bar IMG
{
  border: 1px solid #abc;
}


/* топы в колонках */
.block
{
  font-size: 70%;
}
.block DIV
{
  padding: 0 5px;
  margin: 5px 0;
  border-left: 5px solid #ABC;
}


.txt-l
{
  padding-left: 10px;
  border-left: 1px solid #ABC;
}
.txt-l LABEL
{
  display: block;
  float: left;
  width: 80px;
}
.txt-l DIV
{
  margin-left: 80px;
}
.txt-l BR
{
  clear: left;
}

BLOCKQUOTE
{
  margin-top: 0;
  margin-bottom: 0;
}


.tb_rm
{
  margin-bottom: 5px;
}


/* + последнее сообщение (rooms) + */

.rm_l_cm, .nw_l_cm
{
  width: 220px;
  border: 1px solid #ABC;
  background-color: #EBEBE6;
}
.rm_l_cm
{
  padding: 3px 5px;
}
.nw_l_cm
{
  float: right;
  padding: 5px;
  height: 100%;
}

/* top subj */

.top S
{
  background-color: #fff;
  text-decoration: none;
  cursor: help;
  border: 1px solid #ABC;
  padding: 0 4px;
  margin-right: 2px;
}

.top .top_n {  border-color: #127815;}
/*
.top .top_i {  border-color: #9ACD32;}
*/
.top .top_i {  border-color: #ABC;}
.top .top_b {  border-color: #FFFF00;}
.top .top_f {  border-color: #00C; }
.top .top_r {  border-color: #EA2626; }


.amenu
{
  display: flex;
  justify-content: space-between;
  background-color: #f5f5f5;
  margin-bottom: 2px;
  border: 1px solid #abc;
  padding: 2px 5px;
  font-size: 11px;
}
.off_Y {  border-left: 7px solid #F00;}
.off_N {  border-left: 7px solid #0F0;}


.head_block
{
  background: #1a4780;
  color: #fff;
}
.head_block .in
{
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.head_block .logo
{
  padding: 25px 15px;
  background: #fff;
  color: #1a4780;
  font-size: 20px;
  line-height: 0;
  font-weight: 600;
  /*margin-right: 10px;*/
}
.head_block .logo A
{
  color: #1a4780;
  text-decoration: none;
}
.head_block .head_menu
{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.head_menu A
{
  line-height: 0;
  padding: 25px 15px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}
.head_menu A:hover
{
  background: #2d66b3;
}
.head_menu .current
{
  background: #fff;
  color: #1a4780;
  font-size: 20px;
}
.head_menu .current:hover
{
  background: #eee;
}

.admin_block
{
  background: #fff;
  color: #000;
}
.admin_block .in
{
  width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.admin_menu
{
  display: flex;
  justify-content: left;
}
.admin_menu A
{
  font-size: 14px;
  font-weight: 600;
  color: #000;
  padding: 0 5px;
  text-decoration: none;
}

.nav
{
  margin: 20px 0 0 0;
  text-align: center;
}
.nav A
{
  padding: 0 3px;
  text-decoration: none;
}

.comm
{
  margin: 5px 0;
  padding: 5px;
  border: 1px solid #ABC;
}
.comm .info
{
  font-size: 11px;
}


.fcomm
{
  margin: 5px auto;
  padding: 0;
  width: 520px;
  border: 1px solid #ABC;
}
.fcomm LEGEND
{
  padding: 2px 5px;
  margin-left: 15px;
  background-color: #FFF;
  border: 1px solid #ABC;
}
.fcomm TH, .fcomm .inp_bt INPUT, .fcomm LEGEND
{
  color: #333;
  font: 11px Verdana, Arial, sans-serif;
  font-weight: bold;
}
.fcomm INPUT, .fcomm TEXTAREA
{
  border: 1px solid #abc;
  font: 11px Verdana, Arial, sans-serif;
}
.fcomm TEXTAREA
{
  width: 100%;
}
.fcomm .inp_bt INPUT
{
  background-color: #EEE;
  cursor: pointer;
  width: 100px;
  font-size: 14px;
}
.fcomm LABEL
{
  cursor: pointer;
}
.fcomm TR
{
  vertical-align: middle;
  text-align: center;
}
.fcomm TD
{
  padding: 0 2px;
}


.board_cat
{
  padding: 2px 15px;
  margin: 5px 1px 1px 1px;
  background-color: #EBEBE6;
  border: 1px solid #abc;
}
.board_dir
{
  float: left;
  width: 33.33%;
}
.board_dir_i
{
  padding: 2px 3px 2px 5px;
  margin: 1px;
  background-color: #eee;
  border: 1px solid #abc;
}

.b555
{
  font-weight: bold;
  color: #555;
}


/* ++ index ++ */
.room
{
  border: 1px solid #abc;
  padding: 5px;
  background-color: #EBEBE6;
  margin-bottom: 5px;
}
.room A
{
  font-weight: bold;
/*  color: #555; */
}
.room .info
{
  color: #567;
  font-size: 11px;
  margin-top: 2px;
  float: right;
}
IMG.room_logo
{
  float: left;
  width: 35px;
  height: 35px;
  border: 1px solid #ABC;
  margin-top: 5px;
}
.news
{
  margin-bottom: 5px;
  padding: 5px;
  border: 1px solid #ABC;
  margin-left: 45px;
}
.subj
{
  margin-left: 0;
}
.news .info
{
  color: #567;
  font-size: 10px;
  float: right;
}
.news .head B
{
  font-size: 10px;
  margin-right: 10px;
}
.news .head A
{
  color: #555;
  font-weight: bold;
}
.news .link
{
  clear: both;
  font-size: 11px;
}
.news .link A
{
  text-decoration: underline;
}

UL.item_info
{
  list-style: none;
  display: flex;
}
UL.item_info LI
{
  margin: 0 15px 0 0;
  padding: 0 0 0 22px;
  font-size: 14px;
  color: #696969;
}
UL.item_info A
{
  color:#696969;
}
UL.item_info A:hover
{
  color:#00f;
}
UL.item_info .time
{
  background: url(/img/info-time.png) no-repeat 0 50%;
}
UL.item_info .comm
{
  background: url(/img/info-comm.png) no-repeat 0 50%;
}
UL.item_info .hit
{
  background: url(/img/info-hit.png) no-repeat 0 50%;
}
UL.item_info .dir
{
  background: url(/img/info-dir.png) no-repeat 0 50%;
}


/* ++ search form ++ */
.frm_search
{
  border: 1px solid #10147E;
  margin: 10px 0;
  text-align: center;
}
.frm_search H4
{
  border-bottom: 1px solid #10147E;
  background-color: #EBEBE6;
  font-size: 13px;
  padding: 1px 0 3px 0;
}
.frm_search FORM
{
  margin: 4px 0;
}
.frm_search .search_bt
{
  font-weight: bold;
  cursor: pointer;
  width: 55px;
  background-color: #eee;
  border: 1px solid #abc;
}
/* -- search form -- */

.advtb
{
  border: 1px solid #abc;
}
.advtb H2
{
  background-color: #EBEBE6;
  padding: 3px 5px;
}


#postind
{
/*  text-align: center; */
/*  width: 500px; */
}
#postind TD
{
  font-size: 12px;
}
#postind TD.a
{
  text-align: center;
}
#postind TD.a DIV
{
  margin-top: 5px;
  font-size: 14px;
  font-weight: bold;
}
#postind TD.a A
{
  font-size: 12px;
}

.table_rooms_menu TD
{
  padding: 0;
  padding-right: 5px;
  font-family: Verdana, sans-serif;
  font-size: 12px;
  font-weight: bold;
}
.table_rooms_menu TD A
{
  color: #000;
/*  text-decoration: underline; */
}
.table_rooms_menu TD A:hover
{
  color: #800000;
}
.table_rooms_menu TD IMG
{
  border: 1px solid #abc;
  width: 35px;
  height: 35px;
}
.table_rooms_menu TD A:hover IMG
{
  border: 1px solid #800000;
}


.subj
{
  margin-bottom: 10px;
}
.subj .ntext
{
  margin: 20px 40px;
  padding-left: 10px;
  border-left: 5px solid #ABC;
  clear: both;
}
.subj .ftext
{
  clear: both;
}
.subj .write
{
  text-align: right;
  color: #567;
  font-weight: bold;
  clear: both;
  border-bottom: 1px solid #bcd;
  padding-bottom: 5px;
}
.subj .stat
{
  padding-top: 3px;
  font-size: 11px;
  color: #567;
}
.subj .links
{
  padding: 5px 0;
  border-bottom: 1px solid #bcd;
  font-size: 90%;
  color: #567;
}
.subj .ban
{
  border: 1px solid #abc;
  background-color: #fff;
  margin-top: 2px;
  padding: 0 5px 1px 5px;
  text-align: center;
  font-size: 11px;
}


.tb_jkh
{
  text-align: center;
}
.tb_jkh TABLE
{
  border: 1px solid #abc;
  border-collapse: collapse;
  margin: 0 auto;
  width: 500px;
}
.tb_jkh TH
{
  text-align: left;
  padding: 2px 5px;
}
.tb_jkh TR TH
{
  font-weight: normal;
}
.tb_jkh THEAD TH
{
  font-weight: bold;
  font-size: 90%;
}
.tb_jkh TD
{
  text-align: right;
  padding: 2px 5px;
}
.tb_jkh THEAD
{
  background-color: #DBDBD6;
}
.tb_jkh TR.l1
{
  background-color: #EBEBE6;
}

.bold
{
  font-weight: bold;
}

.empty_form
{
  font-size: 0;
  line-height: 0;
}
.empty_form FORM
{
  display: inline;
}
.empty_form IFRAME
{
  width: 0;
  height: 0;
  border: 0;
}

.show_list
{
  display: flex;
  flex-wrap: wrap;
  /*justify-content: space-between;*/
  justify-content: center;
  padding: 15px;
}
.show_list ARTICLE
{
  width: calc( 100% / 4 - 30px );
  padding: 15px;
}
.show_list H2
{
  margin: 0 0 0 0;
  line-height: 1.3;
  font-size: 16px;
}
.show_list HEADER
{
  /*width: 100%;*/
  /*height: 300px;*/
}
.show_list TIME
{
  font-size: 14px;
  line-height: 1;
}
.show_list IMG
{
  width: 100%;
  height: auto;
  display: block;
}