table.layout {
  border-collapse: collapse;
}

td.layout, td.sidebar {
  border: 0px solid #666;
  padding: 0;
  margin: 0;
  vertical-align: top;
}

div.layout {
  margin: 10px;
}

td.sidebar {
  width: 240px;
  text-align: center;
  background-image:url(images/backgr.gif);
}

img.logo {
  width: 220px;
  height: 72px;
  margin: 7px;
  margin-top: 10px;
  margin-bottom: 10px;
  border-top: 3px solid #6e7193;
  border-left: 3px solid #6e7193;
  border-bottom: 3px solid #ccced6;
  border-right: 3px solid #ccced6;
}

table.border {
  border-spacing: 1px;
  background-color: #e0e9e9;
}

td.border {
  background-color: #fff;
  padding: 10px;
  font-size: 10pt;
  vertical-align: top;
  text-align: justify;
  color: #444;
}

p.border {
  border-color: #e0e9e9;
  border-style: solid;
  border-width: thin;
  padding: 5px;
  background-color: #fee;
}

/****************************************************************/

div.disc_box {
  width: 700px;
}

table.disc_header {
  border-collapse: collapse;
}

td.disc_header, div.disc_header_panel {
  margin: 0;
  padding: 0 1em;
  color: #fff;
  background-color: #5a81a7;
}

h2.disc {
  padding: 0;
  margin: 0;
  font-size: medium;
  font-weight: bolder;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  color: #fff;
}

div.disc_header_panel {
  font-weight: normal;
  font-size: x-small;
  text-align: right;
}

a.disc_header_url {
  color: #fff;
}

td.disc_header_tl, td.disc_header_t, td.disc_header_tr,
td.disc_header_bl, td.disc_header_b, td.disc_header_br {
  height: 8px;
  padding: 0;
  margin: 0;
  border: 0;
  font-size: 0%;
}

td.disc_header_tl {
  width: 8px;
  background: url(images/disc_header_tl_bg.png) no-repeat;
}

td.disc_header_t {
  width: 684px;
  background: url(images/disc_header_t_bg.png) repeat-x;
}

td.disc_header_tr {
  width: 8px;
  background: url(images/disc_header_tr_bg.png) no-repeat;
}

td.disc_header_bl {
  width: 8px;
  background: url(images/disc_header_bl_bg.png) no-repeat;
}

td.disc_header_b {
  width: 684px;
  background: url(images/disc_header_b_bg.png) repeat-x;
}

td.disc_header_br {
  width: 8px;
  background: url(images/disc_header_br_bg.png) no-repeat;
}

div.disc_edit_by {
  padding: 10px 1em 0 1em;
  margin: 0;
  font-size: x-small;
  text-align: right;
  clear: both;
}

div.clear {
  clear: both;
  margin: 0;
  padding: 0;
  font-size: 0%;
}

div.disc_msg_header, div.disc_new_msg_panel, div.disc_page_panel {
  clear: both;
  background-color: #efe;
  border: 1px solid #cce;
  margin: 0;
}

div.disc_msg_header, div.disc_page_panel {
  margin-top: 5px;
}

div.disc_msg_header {
  padding: 2px 1em;
  font-size: x-small;
  font-weight: bolder;
  text-align: left;
  color: #777;
  border-bottom-color: #efe;
}

div.disc_new_msg_panel {
  border-top-color: #efe;
  padding: 10px;
}

div.disc_page_panel {
  padding: 2px 1em;
  font-size: x-small;
  font-weight: bolder;
  text-align: center;
  color: #777;
}

form.disc {
  padding: 0;
  margin: 0;
}

div.disc_subj_stats {
  font-size: x-small;
}

div#disc_editor_ext {
  position: absolute;
  top: 700px;
  left: -500px;
  border: 1px solid #cce;
  background: #efe;
  width: 176px;
  text-align: center;
}

div#disc_editor_ext img {
  margin: 5px;
  vertical-align:middle;
}

img.smile {
  vertical-align: middle;
}

/****************************************************************/

table.disc_table {
  border-collapse: separate;
  width: 700px;
  clear: both;
  margin: 0;
  padding: 0;
  border-spacing: 1px;
  background-color: #cce;
}

td.disc_td, td.disc_user_td {
  background-color: #fff;
  padding: 10px;
  font-size: 10pt;
  vertical-align: top;
  text-align: justify;
  color: #444;
}

td.disc_user_td {
  background-color: #ffe;
  width: 120px;
  line-height: 1;
}

/****************************************************************/

p.resultok, p.resulterror {
  border: solid;
  border-width: thin;
  border-color: #bbb;
  font-weight: bold;
  font-size: 12pt;
  padding: 20px 5px 20px 5px; /*t l b r*/
}

p.resultok {
  color: #0162a7;
  background-color: #cf9;
}

p.resulterror {
  color: red;
  background-color: #ff9;
}

a.disc_url {
  border: outset;
  border-width: thin;
  border-color: #ccc;
  font-weight: bold;
  font-size: x-small;
  text-decoration: none;
  padding: 1px 10px 1px 10px; /*t l b r*/
  color: #0162a7;
  background-color: #cf9;
}

span.disc_author {
  font-size: 100%;
  font-weight: bolder;
  color: #0162a7;
  cursor: pointer;
}

span.disc_author:hover {
  text-decoration: underline;
}

div.msg_author_menu {
  white-space: nowrap;
  position: absolute;
  display: none;
  border: 1px solid #eee;
  background-color: #fff;
  font-size: small;
  padding: 5px;
}

div.msg_author_menu hr {
  border: 0;
  color: #eee;
  background-color: #eee;
  margin: 2px;
}

div.msg_author_menu a {
  font-weight: normal;
  color: #0162a7;
}

div.msg_author_menu img.close {
  float: right;
  margin: 0 0 1px 1px;
  cursor: pointer;
}

p.disc_small {
  font-size: 80%;
  padding-top: 3px;
  padding-bottom: 1px;
  margin-top: 3px;
  margin-bottom: 1px;
  text-align: left;
}

span.disc_date_t, span.disc_date_y, span.disc_date {
  font-size: x-small;
  font-weight: normal;
  padding-bottom: 0;
  margin-bottom: 0;
}

span.disc_date_t {
  background-color: #cf9;
}

span.disc_date_y {
  background-color: #ff8;
}

div.form {
  border: solid;
  border-width: thin;
  border-color: #bbb;
  background: #edf2f2;
  padding: 15px;
  margin: 10px;
}

div.panel {
  border: 1px solid #6E7193;
  background: #C4C9D3;
  padding: 1em;
  margin: 1em;
  font-size: 80%;
  text-align:center
}

td.buttonsbar {
  padding-top: 10px;
}

label.formfield {
  display: block;
  float: left;
  width: 14em;
  padding-top: 5px;
}

div.formfield {
  margin: 1em;
}

div.formbuttons {
  margin-top: 2em;
  margin-left: 15em;
}

button img {
  vertical-align: middle;
  margin-right: 5px;
}

div.description {
  margin: 10px;
  padding: 5px;
  border: 1px outset #ccc;
  background-color: #dfd;
}

div.description div.descr_in {
  margin: 0;
  padding: 10px;
  border: 1px inset #ccc;
  background-color: #fff;
}

ul.first, ul.second {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 10pt;
}

ul.first li a {
  display: block;
  padding: 4px 10px;
  text-decoration: none;
  background: #19359b;
  border-top: 1px solid #576fcb;
  border-left: 1px solid #576fcb;
  border-bottom: 1px solid #0f2579;
  border-right: 1px solid #0f2579;
}

ul.first li li a {
  padding: 4px 8px 4px 20px;
}

ul.first li a:visited, ul.first li a:link, ul.first li a:active, ul.first li a:hover {
  font-weight: bolder;
  text-decoration: none;
}

ul.first li a:visited, ul.first li a:link {
  color: #d1d4e0;
}

ul.first li a:active, ul.first li a:hover {
  color: #dce4de;
  background: #0e7422;
  border: 1px solid #0e7422;
  border-left: 1px solid #576fcb;
}

div.main_menu_top, div.main_menu_bottom {
  font-size: 0%;
  width: 220px;
}

div.main_menu_top {
  height: 9px;
  background-image:url(images/leftmenu_top.gif);
}

div.main_menu_bottom {
  height: 9px;
  background-image:url(images/leftmenu_bottom.gif);
}

div.main_menu {
  width: 220px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
  text-align: left;
}

div.site_search {
  width: 212px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
}

table.users {
  border-collapse: separate;
  border-spacing: 1px;
  background-color: #6E7193;
}

table.users td.header, table.users td {
  text-align: center;
  padding: 10px;
}

table.users td.header {
  background-color: #E0E2E6;
  font-size: 12pt;
}

table.users tr {
  background-color: #fff;
  font-size: 10pt;
}

table.users tr:hover {
  background-color: #ffc;
}

table.users tr td a {
  font-weight: normal;
  color: #0162a7;
}

table.skeleton {
  border-collapse: collapse;
  margin: 0px;
  padding: 0px;
  border-width: 0px;
}

table.skeleton tr td {
  margin: 0px;
  padding: 0px;
  border-width: 0px;
  /*border: 1px dotted #666;*/
}
