/* Дизайн страницы
===============================================================================*/
* {
  margin: 0;
  padding: 0;
  font-size: 100.01%;
}

html {
  height: 100%;
  background: #fff url(../img/html_bg.gif) 0 0 repeat-x;
}

body {
  min-height: 100%;
  height: 100%;
  color: #000;
  font-weight: normal;
  font-family: Tahoma, Arial, Verdana, Helvetica, Sans-Serif;
  font-size: 12px;
}

#container {
  height: auto !important;
  min-height: 100%;
  height: 100%;
  margin: 0 auto;
  width: 1002px;
  position: relative;
}

#header {
  position: relative;
  height: 289px;
/*  background: url(../img/header_bg.jpg) 100% 0 no-repeat;*/
  margin-bottom: 35px;
}

h1#logo {
  display: block;
  position: absolute;
  padding: 0;
  margin: 0;
  top: 87px;
  left: 42px;
  background: url(../img/logo.jpg) 0 0 no-repeat;
}

h1#logo a {
  display: block;
  width: 220px;
  height: 64px;
  text-indent: -9999em;
  overflow: hidden;
}

#sidebar {
  display: block;
  float: left;
  width: 260px;
  font-size: 11px;
}

#content {
  display: block;
  float: right;
  width: 615px;
  padding: 0 110px 15px 0;
  background: url(../img/content_bg.jpg) 0 0 no-repeat;
}

#content h2 {
  font-size: 20px;
  color: #fff;
  margin: 0 0 20px 0;
  padding: 6px 25px;
  background: #b70000 url(../img/h2_bg.gif) 0 0 repeat-x;
  font-family: Arial, Tahoma, Verdana, Helvetica, Sans-Serif;
  font-weight: bold;
}

/*#content h2:first-letter {
  font-weight: bold;
}*/

#footer_guarantor {
  height: 42px;
  clear: both;
}

#footer {
  position: relative;
  z-index: 10;
  margin: -27px 0 0 0;
  height: 27px;
  clear: both;
  background: #000;
  font-size: 10px;
  font-weight: bold;
  /*line-height: 12px;
  text-transform: lowercase;*/
}

#footer .wrapper {
  width: 1002px;
  margin: 0 auto;
  height: 27px;
  background: url(/img/footer_bg.jpg) 277px 0 no-repeat;
}

#footer .copyright {
  float: left;
  margin: 2px 0 0 15px;
  color: #d93627;
}

#footer a.developed:link, #footer a.developed:visited,
#footer a.developed:hover, #footer a.developed:active {
  display: block;
  float: right;
  color: #d93627;
  margin: 2px 15px 0 0;
}

#footer a.developed:hover, #footer a.developed:active {
  color: #fff;
}

#preload {
  position: absolute;
  left: -9999em;
  top: -9999em;
}

/* Общеупотребительное
===============================================================================*/
.u { text-decoration: underline; }
.b { font-weight: bold; }
.i { font-style: italic; }
.center { text-align: center; }
.right { text-align: right; }
.left { text-align: left; }
.nowrap { white-space: nowrap; }
.w100p { width: 100%; }
.w1p { width: 1%; }
.clear { clear: both; height: 0; overflow: hidden; }

img {
  border: 0;
}


/* Типография
===============================================================================*/
a, a:link, a:visited, a:hover, a:active {
  text-decoration: none;
  font-weight: bold;
  color: #808080;
}

a:hover, a:active {
  color: #e00000;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  color: #e00000;
  margin: 5px 0 10px 0;
/*  text-transform: uppercase;*/
}

h1 {
  font-size: 18px;
  line-height: 1.125em;
}

h2 {
  font-size: 15px;
  line-height: 1.125em;
}

h3 {
  font-size: 15px;
  line-height: 1.125em;
}

h4 {
  font-size: 14px;
  line-height: 1.125em;
}

h5, h6 {
  font-size: 12px;
  line-height: 1.125em;
}

#content p {
  margin: 1em 0;
}

#content table p {
  margin: 0;
}

#content td {
  padding: 3px;
}

#content ul, #content ol {
  margin: 0 0 0 2em;
}

sub, sup {
  font-size: 0.75em;
}

.img_left {
  float: left;
  margin: 0 1em 1em 0;
}

.img_right {
  float: right;
  margin: 0 0 1em 1em;
}

/* Меню выбора языков
===============================================================================*/
ul#lnSel {
  list-style: none;
  display: block;
  position: absolute;
  top: 231px;
  left: 0;
  height: 58px;
  width: 75px;
  background: #b70000 url(../img/lnsel_bg.jpg) 0 0 no-repeat;
}

#lnSel li {
  display: block;
  padding: 1px 0 2px 25px;
}

#lnSel li a,
#lnSel li a:link, #lnSel li a:visited,
#lnSel li a:hover, #lnSel li a:active {
  text-transform: lowercase;
  font-size: 11px;
  font-weight: normal;
  color: #FFF;
}

#lnSel li a.sel:link, #lnSel li a.sel:visited,
#lnSel li a:hover, #lnSel li a:active {
  text-decoration: underline;
}


/* Главное меню
===============================================================================*/
#mmenu {
  display: block;
  position: absolute;
  list-style: none;
  top: 231px;
  left: 75px;
  height: 58px;
  width: 927px;
  background: #b70000 url(../img/mmenu_bg.gif) 0 0 repeat-x;
}

#mmenu li { 
  display: block;
  float: left;
  position: relative;
  height: 58px;
  width: 123px;
  padding: 0 6px 0 3px;
  background: url(../img/mmenu_item_bg.gif) 100% 50% no-repeat;
  text-align: center;
}

#mmenu li.last {
  background: none;
}

#mmenu li a:link, #mmenu li a:visited,
#mmenu li a:hover, #mmenu li a:active {
  display: table-cell;
  vertical-align: middle;
  position: relative;
  height: 58px;
  color: #fff;
}

#mmenu li.sel a:link, #mmenu li.sel a:visited,
#mmenu li a:hover, #mmenu li a:active {
  text-decoration: underline;
}

#mmenu li a span {
  display: block;
  width: 123px;
  cursor: pointer;
}

#mmenu li a span span:first-letter {
  /*font-size: 14px;
  font-weight: bold;*/
}

#mmenu li ul {
  display: none;
  position: absolute;
  min-width: 100%;
  bottom: 100%;
  left: 0;
  padding: 10px 0;
  overflow: hidden;
}

* html #mmenu li ul {
  width: 100%;
  padding-bottom: 12px;
  
}

#mmenu li div {
  display: block;
  position: absolute;
  background: #cd5f5f;
  opacity: 0.3;
  filter: alpha(opacity = 30);
  width: 100%;
  height: 500px;
  top: 0;
  left: 0;
}

#mmenu li ul li {
  display: block;
  position: relative;
  float: none;
  width: auto;
  padding: 2px 9px;
  height: auto;
  background: none;
  text-align: left;
}

#mmenu li ul li a:link, #mmenu li ul li a:visited,
#mmenu li ul li a:hover, #mmenu li ul li a:active {
  display: block;
  position: relative;
  color: #fff;
  text-transform: uppercase;
  font-size: 11px;
  height: auto;
  width: auto;
  padding: 1px 2px;
}

#mmenu li ul li.sel a:link, #mmenu li ul li.sel a:visited,
#mmenu li ul li a:hover, #mmenu li ul li a:active {
  text-decoration: underline;
}

/* Меню домой/обр.сязь
===============================================================================*/
#topmenu {
  display: block;
  list-style: none;
  position: absolute;
  left: 85px;
  top: 12px;
}

#topmenu li {
  display: block;
  float: left;
  padding-right: 30px;
}

#topmenu li a:link, #topmenu li a:visited,
#topmenu li a:hover, #topmenu li a:active {
  display: block;
  height: 24px;
  width: 24px;
  text-indent: -9999em;
  overflow: hidden;
}

#topmenu li.home a:link, #topmenu li.home a:visited {
  background: url(../img/topmenu_bg.gif) 0 0 no-repeat;
}
#topmenu li.home a:hover, #topmenu li.home a:active {
  background: url(../img/topmenu_bg.gif) 0 100% no-repeat;
}
#topmenu li.email a:link, #topmenu li.email a:visited {
  background: url(../img/topmenu_bg.gif) -24px 0 no-repeat;
}
#topmenu li.email a:hover, #topmenu li.email a:active {
  background: url(../img/topmenu_bg.gif) -24px 100% no-repeat;
}
#topmenu li.map a:link, #topmenu li.map a:visited {
  background: url(../img/topmenu_bg.gif) -48px 0 no-repeat;
}
#topmenu li.map a:hover, #topmenu li.map a:active {
  background: url(../img/topmenu_bg.gif) -48px 100% no-repeat;
}

/* ссылки сайдбара
===============================================================================*/
#sidebar a:link, #sidebar a:visited {
  color: #808080;
}

#sidebar a:hover, #sidebar a:active {
  color: #e00000;
}

/* Форма логин и поиска
===============================================================================*/
#loginform, #searchform {
  display: block;
  position: relative;
  padding: 12px 15px;
  background: #d9d9d9;
  margin-bottom: 15px;
  line-height: 15px;
  height: auto !important;
  height: 1%;
}

#loginform label {
  display: block;
  padding-bottom: 5px;
}

#loginform label span, #searchform label span {
  display: block;
  float: left;
  width: 60px;
  text-transform: uppercase;
  font-weight: bold;
  line-height: 17px;
}

#searchform label span {
  width: 50px;
}

#loginform .text, #searchform .text {
  display: block;
  float: left;
  border: 0;
  background: #808080;
  color: #fff;
  width: 160px;
  height: 16px;
}

#loginform .submit, #searchform .submit {
  display: inline;
  float: right;
  margin: 5px 10px 0 0;
  border: 0;
  height: 14px;
  width: 14px;
  background: #d9d9d9 url(../img/doublearrow.gif) 50% 50% no-repeat;
  cursor: pointer;
}

#searchform .submit {
  margin: 2px 0 0 0;
  /*float: none;
  position: absolute;
  top: 14px;
  right: 5px;
  margin: 0; */
}

#loginform b {
  font-size: 12px;
  display: block;
  margin-bottom: 10px;
}

#loginform .logout {
  border: 0;
  padding: 0 20px 0 0;
  font-size: 10px;
  text-transform: uppercase;
  font-weight: bold;
  background: #d9d9d9 url(../img/doublearrow.gif) 100% 50% no-repeat;
  cursor: pointer;
}

/* Картинка аккумулятора
===============================================================================*/
#battery_img {
  height: 235px;
  background: url(../img/sidebar_battery.jpg) 50% 50% no-repeat;
}

/* Новости на сайдбаре
===============================================================================*/
/*#lastnews {
  display: block;
  position: relative;
  padding: 12px 15px;
  background: #d9d9d9;
  margin-bottom: 15px;
}

#lastnews h3 {
  margin: 0 0 8px 0;
  font-size: 11px;
  text-transform: uppercase;
  background: url(../img/doublearrow.gif) 100% 50% no-repeat;
}

#lastnews h3 a:link, #lastnews h3 a:visited, #lastnews .date {
  color: #e00000;
} */

/* Голосование
===============================================================================*/
#voting {
  display: block;
  position: relative;
  padding: 12px 15px;
  background: #d9d9d9;
  margin-bottom: 15px;
}

#voting h3 {
  font-size: 11px;
  text-transform: uppercase;
  color: #e00000;
  font-weight: bold;
}

#voting ul {
  display: block;
  list-style: none;
  margin: 10px 0 2px 0;
}

#voting ul li {
  position: relative;
  padding: 0 0 8px 25px;
}

#voting ul li.voted {
  padding: 0 50px 8px 0;
}

#voting ul li input {
  position: absolute;
  left: 0px !important;
  left: -25px;
}

#voting ul li span {
  display: block;
  position: absolute;
  bottom: 8px !important;
  bottom: auto;
  right: 0 !important;
  right: 15px;
  color: #e00000;
} 

#voting .vote, #voting .results {
  border: 0;
  padding: 0 20px 0 0;
  font-size: 10px;
  text-transform: uppercase;
  font-weight: bold;
  background: #d9d9d9 url(../img/doublearrow.gif) 100% 50% no-repeat;
  cursor: pointer;
}

#voting .results {
  margin-left: 20px;
}


/* Стили для всех форм
===============================================================================*/
textarea {
  font-size: 12px;
}

.required {
  background: url(/img/star.gif) center left no-repeat;
  padding-left: 12px;
}

input.text {
  height: 16px;
  border: 1px solid #aaa;
}

textarea.textarea {
  border: 1px solid #aaa;
}

input.error, textarea.error {
  border: 1px solid red;
}

input.valid, textarea.valid {
  border: 1px solid green;
}

input.hiddensubmit {
  width: 1px;
  height: 1px;
  border: 0;
  position: absolute;
  background: transparent;
  color: transparent;
}

/* Форма регистрации
===============================================================================*/
.stdform fieldset {
  margin: 1em 0;
  padding: 0.5em 1em 1em 1em;
  border: 1px solid #808080;
}

.stdform legend {
  font-weight: bold;
  color: #e00000;
}

.stdform p {
  margin: 0.5em 0 0 0;
}

.stdform div.left, .stdform div.right {
  text-align: left;
  width: 49%;
  float: left;
}

.stdform div.right {
  float: right;
  width: 48%;
}

.stdform label {
  display: block;
  font-weight: bold;
  margin-bottom: 2px;
}

.stdform input.text {
  width: 100%;
}

.stdform textarea {
  width: 100%;
  height: 100px;
}

.stdform .submit {
  padding: 0.5em 2em;
}

.stdform .small {
  font-size: 10px;
  color: #888;
}

/* счетчики
===============================================================================*/
#counters {
  position: absolute;
  right: 0;
  top: 470px;  
}

#counters li {
  height: 31px;
  width: 88px;
  overflow: hidden;
  margin: 0 0 6px 0;
  background: #d9d9d9;
  opacity: 0.5;
  filter: alpha(opacity=50);
}

#counters li:hover {
  opacity: 1;
  filter: alpha(opacity=100);
}

/* Иконка форума
===============================================================================*/
a#forum_icon:link, a#forum_icon:visited,
a#forum_icon:hover, a#forum_icon:active {
  position: absolute;
  right: 0;
  top: 324px;
  height: 130px;
  line-height: 30px;
  width: 110px;
  background: url(../img/forum_icon.jpg) 50% 40px no-repeat;
  color: #e00505;
  font-size: 12px;
  text-transform: uppercase;
  text-align: center;
}

/* Форум
===============================================================================*/
#content table.threads {
  border-collapse: collapse;
}

#content table.threads td, #content table.threads th {
  border: 1px solid #808080;
  padding: 3px 5px;
}

#content table.threads th {
  background: #d9d9d9;
}

.threadItem, .answerItem {
  margin-bottom: 20px;
}

.threadItem {
  background: #ececec;
  padding: 10px;
}

.answerItem h3, .threadItem h3 {
  font-size: 14px;
  margin-bottom: 5px;
}

.answerItem h3 span, .threadItem h3 span {
  color: #808080;
  padding-right: 15px;
}

.answerItem a.delete {
  float: right;
}

/* Каталог применяемости
===============================================================================*/
ul#catalog {
  list-style: none;
  margin: 0;
}

ul#catalog li a {
  font-size: 15px;
}

ul#catalog li div {
  padding: 5px 0 5px 10px;
}

ul#catalog li div ul li a {
  font-size: 12px;
  line-height: 1.5;
}

/* Карта сайта
===============================================================================*/
#map {
  line-height: 1.5;
}

#map ul {
/*  list-style: none;*/
/*  margin: 0;*/
}

#map ul ul {
  margin: 0 0 0 2em;
}

#map ul ul a {
  font-weight: normal;
}

#map ul li {
  font-size: 14px;
}

#map ul ul li {
  font-size: 14px;
}

#map ul ul ul li{
  font-size: 12px;
}


/* Постраничная навигация
===============================================================================*/
#content ul.pages {
  display: block;
  text-align: center;
  list-style: none;
  margin: 1em auto 0 auto;
  line-height: 1.5;
}

.pages li {
  display: inline;
  padding: 0 1px;
  font-weight: bold;
}

.pages li a, .pages li span {
  font-weight: bold;
  padding: 2px 6px;
  text-decoration: none;
}

.pages li a:link, .pages li a:visited { 
  color: #808080;
}

.pages li a:hover, .pages li span {
  background-color: #e00000;
  color: #fff;
}
