body, p, td, th, textarea, input, select, option, caption {
  font-size: 11px;
  font-family: Verdana, Arial, Helvetica, sans-serif;
}

body {
  background: #fff;
  color: #000;
  margin: 0px 0 0px 0;
  padding: 0;
  border: 0;
}

abbr, acronym {
  cursor: help;
}

img {
  border: 0;
}
/*
hr {
  height: 1px; 
  border: 0; 
  background: #999; 
  color: #999;
  width: 100%;
}
*/

sup {
  font-size: 8px;
}

hr {
  width: 100%;
  color: #999;
}

/* Заголовки */

h1 {
  margin: 0;
  height: 22px;
  line-height: 22px;
  text-align: left;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: bold;
  border-bottom: 1px solid #3b3b81;
  color: #da251c;
}

h2 {
  color: #036;
  text-align: left;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: bold;
  margin: 7px 0 7px 0;
}

p {
  margin: 7px 0 7px 0;
}

a {
  color: #3b3b81;
  text-decoration: none;
  font-weight: normal;
}

a:hover {
  color: #3b3b81;
  text-decoration: underline;
}

a.bd {
  color: #da251c;
  text-decoration: none;
}

a.bd:hover {
  color: #da251c;
  text-decoration: underline;
}

/* Стили */

.content {
  text-align: left;
  margin: 5px;
}

.small { font-size: 92%; }
.bold { font-weight: bold; }
.uline { text-decoration: underline; }
.bu, a.bu { font-weight: bold; text-decoration: underline; }
.italic { font-style: italic; }

.center { text-align: center; }
.right { text-align: right; }
.left { text-align: left; }

.selected { color: #da251c; }

.win {
  color: green;
  font-weight: bold;
}

a.win, a.win:hover {
  color: green;
  font-weight: bold;
  text-decoration: underline;
}

.pass {
  color: navy;
  font-weight: bold;
}

a.pass, a.pass:hover {
  color: navy;
  font-weight: bold;
  text-decoration: underline;
}

.lose {
  color: red;
  font-weight: bold;
}

a.lose, a.lose:hover {
  color: red;
  font-weight: bold;
  text-decoration: underline;
}

.grayfill { background: #ddd; } /* заливки строк таблицы дней рождения */
.darkgrayfill { background: #ccc; } /* для Х в таблице-шахматке */

.th { background: #ddd; } /* для совместимости - потом убрать надо */

.dateline {
  text-align: right;
  color: #333;
}

.printver {
  margin: 7px 0 7px 0;
  text-align: left;
  height: 16px;
}

.gbname {
  color: #036;
  font-weight: bold;
}

/* Списки */

ul {
  margin: 0 0 0 20px;
}

li {
  list-style-image: url('../img/listitem.gif');
  margin: 4px 20px 4px 0;
}

/* Таблица */

table {
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
  border-collapse: collapse;
  margin: 5px 0 5px 0;
  width: 94%;
  voice-family: "\"}\"";
  voice-family: inherit;
  width: 100%;
}

caption {
  font-weight: bold;
  text-align: left;
  padding-bottom: 3px;
}

td {
  padding: 1px 3px;
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

th {
  padding: 1px 3px;
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  background: #ddd;
  color: #036;
}

th a {
  font-weight: bold;
}

#contentright table {
  margin: 0;
}

#contentright td, #contentright th {
  padding: 1px 1px;
}

/* Основное содержимое */

#topbanner {
  background: #eee;
  position: relative;
  margin: 0 auto 5px auto;
  padding: 0;
  border: 0;
  width: 300px;
  height: 100px;
}

#main {
  position: relative;
  margin: 0 auto 0 auto;
  padding: 0;
  border: 0;
  width: 1198px;
}

/* Шапка */

#logo {
  background: transparent url('../img/header.png') top right no-repeat;
  position: relative;
  margin: 0;
  padding: 0;
  border: 0;
  height: 171px;
  width: 1198px;
}

#header {
  position: relative;
  margin: 0;
  padding: 0;
  border: 0;
  height: 36px;
  width: 1198px;
}

/* Верхрнее меню */

#header p.ezh_shaiba {
  position: absolute;
  top: 0px;
  left: 4px;
  margin: 0;
  padding: 3px 0 3px 50px;
  border: 0;
  text-align: left;
  font-size: 14px;
  color: #3b3b81;
  line-height: 30px;
  font-weight: bold;
  background: transparent url('../img/ezh_shaiba.png') no-repeat center left;
}

#header p {
  padding: 0;
  margin: 0;
  position: absolute;
  top: 3px;
  right: 0px;
  text-align: right;
}

#header a {
  font-size: 11px;
  color: #3b3b81;
  text-decoration: none;
  padding: 3px 22px;
  margin: 0;
  line-height: 30px;
  border: 0;
}

#header a:hover {
  color: #3b3b81;
  text-decoration: underline;
}

#header a.home {
  background: transparent url('../img/home.png') no-repeat center left;
}

#header a.mail {
  background: transparent url('../img/mail.png') no-repeat center left;
}

#header a.guest {
  background: transparent url('../img/guest.png') no-repeat center left;
}

#header a.settings {
  background: transparent url('../img/settings.png') no-repeat center left;
}

/* Блок главного меню */

#menucontainer {
  position: relative;
  width: 198px;
  padding: 0;
  border: 0;
  margin: 0 0 20px 0;
  float: left;
}

#partner {
  width: 198px;
  margin: 10 0 0 0;
  position: relative;
  float: left;
  text-align: center;
}

#partner img {
  margin: 5px auto;
  width: 150px;
}

#partner a {
  color: #2c2c2c;
  text-decoration: none;
}

#partner a:hover {
  color: #2c2c2c;
  text-decoration: underline;
}

#partner p {
  color: #2c2c2c;
  font-size: 11px;
  margin: 0;
  padding: 5px 10px 10px 0;
  line-height: 12px;
  border-bottom: 1px solid #d4d4d4;
  text-align: center;
}

/* Главное меню */

#menucontainer .menu {
  position: relative;
  padding: 0;
  margin: 0 0 20px 0;
  float: left;
  width: 198px;
}

.menu dl, .menu dt, .menu dd, .menu ul, .menu li {
  margin: 0;
  padding: 0;
  list-style-type: none;
  list-style-image: none;
}

.menu dt {
  color: #3b3b81;
  height: 22px;
  line-height: 22px;
  font-size: 12px;
  text-align: left;
  border-bottom: 1px solid #3b3b81;
  text-transform: uppercase;
  cursor: pointer;
}

.menu dt.external {
  background: #ffb;
}

.menu dt.selected {
  font-weight: bold;
  border-bottom: 1px dotted #3b3b81;
  color: #da251c;
}

.menu dd {
  display: none;
  border-bottom: 1px solid #3b3b81;
}

.menu li {
  text-align: left;
  color: #da251c;
  height: 16px;
  line-height: 16px;
}

.menu li a, .menu dt a {
  text-decoration: none;
  display: block;
  border: 0 none;
  height: 100%;
}

.menu dt.selected a {
  color: #da251c;
  font-weight: bold;
}

.menu dt a {
  color: #3b3b81;
}

.menu li a {
  color: #3b3b81;
}

.menu dt a:hover {
  background: #3b3b81;
  text-decoration: none;
  color: #fff;
}

.menu li a:hover {
  background: #3b3b81;
  text-decoration: none;
  color: #fff;
}

/* Контент */

#contentsingle {
  position: relative;
  padding: 0;
  margin: 0 0 20px 10px;
 _margin-left: 5px;
  width: 990px;
  float: left;
}

#contentleft {
  position: relative;
  padding: 0;
  margin: 0 0 20px 10px;
 _margin-left: 5px;
  width: 740px;
  float: left;
}

#contentright {
  position: relative;
  width: 240px;
  padding: 0;
  margin: 0 0 20px 10px;
 _margin-left: 5px;
  float: left;
}

/* Подвал */

#footer {
  margin: 0;
  padding: 0;
  border-top: 1px solid #3b3b81;
  border-bottom: 1px solid #3b3b81;
  height: 36px;
  width: 1198px;
  position: relative;
  clear: both;
}

#footer p.ezh_shaiba {
  position: absolute;
  top: 0px;
  left: 4px;
  margin: 0;
  padding: 3px 0 3px 50px;
  border: 0;
  text-align: left;
  font-size: 12px;
  color: #3b3b81;
  line-height: 30px;
  font-weight: normal;
  background: transparent url('../img/ezh_shaiba.png') no-repeat center left;
}

#footer p {
  padding: 0;
  margin: 0;
  position: absolute;
  top: 0px;
  right: 0px;
  text-align: right;
}

#footer a {
  font-size: 11px;
  color: #3b3b81;
  text-decoration: none;
  padding: 0;
  margin: 0;
  line-height: 36px;
  border: 0;
}

#footer a:hover {
  color: #3b3b81;
  text-decoration: underline;
}

/* Главное меню - баннеры */

#banners {
  width: 1198px;
  margin: 0;
  position: relative;
  float: left;
  text-align: center;
}

#banners img {
  width: 88px;
  height: 31px;
  margin: 26px 2px 27px 2px;
}

#reclama {
  color: #999;
  padding: 7px;
  margin: 0 auto 0 auto;
  clear: both;
  width: 1198px;
}

#reclama a {
  color: #999;
  font-weight: normal;
  text-decoration: none;
}

#reclama a:hover {
  text-decoration: underline;
  color: #999;
}

.objectphoto {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 5px 0px 10px 12px;
  padding: 0;
  border: 0;
  z-index: 3;
  float: left;
}

/* Формы */

form {
  margin: 0;
}

form * {
  margin: 1px 0 1px 0;
}

textarea, input, select, option {
  background-color: #fff;
  color: #000;
  border: 1px solid #3b3b81;
}

option {
  border: 0;
}

.but {
  background-color:#3b3b81;
  color: #fff;
  font-weight: bold;
}

/* Контент для календаря */

#contentleftcalendar {
  position: relative;
  padding: 0;
  margin: 0 0 20px 10px;
 _margin-left: 5px;
  width: 790px;
  float: left;
}

#contentrightcalendar {
  position: relative;
  width: 190px;
  padding: 0;
  margin: 0 0 20px 10px;
 _margin-left: 5px;
  float: left;
}

#contentrightcalendar .menu {
  position: relative;
  width: 190px;
  padding: 0;
  margin: 0;
  float: left;
  border: 0;
}

/* VOTE */

fieldset {
  border: solid 1px #666666;
  width: 300px;
  padding: 0 10px 10px 10px;
  margin-bottom: 15px;
}

legend {
  color: #ffffff;
  background: #339;
  border: 1px outset #cccccc;
  padding: 2px 2px 0 2px;
  font-weight: bold;
}

.vote {
  margin-top: 4px;
  padding: 0 0 0 0;
}

.vote p {
  margin-top: 6px;
  margin-bottom: 6px;
}

.errorMessage {
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 10pt;
  color: #ff0000;
}

.credit {
  font-family: Arial, sans-serif;
  font-size: 8pt;
  color: #696969;
}

/* Default for the poll bars */

.pollBar {
  height: 15px;
  background: #ff0000;
  border: 1px solid #000000;
}

/* Poll bar ids are sequential and one-indexed */

#pollBar1, #pollBar7, #pollBar13, #pollBar19 {
  background: #ff0000;
}

#pollBar2, #pollBar8, #pollBar14, #pollBar20 {
  background: #00ff00;
}

#pollBar3, #pollBar9, #pollBar15, #pollBar21 {
  background: #0000ff;
}

#pollBar4, #pollBar10, #pollBar16, #pollBar22 {
  background: #ffff00;
}

#pollBar5, #pollBar11, #pollBar17, #pollBar23 {
  background: #00ffff;
}

#pollBar6, #pollBar12, #pollBar18, #pollBar24 {
  background: #ff00ff;
}
