* {
  margin: 0;
  padding: 0;
  font-size: 100.01%;
}

html {
  height: 100%;
  background-color: #dbdcdd;
  background-image: url('/img/body_bg.jpg');
}

body {
  min-height:100%;
  height: 100%;
  color: #000;
  font-weight: normal;
  font-family: Tahoma, Verdana, Arial, Helvetica, Sans-Serif;
  font-size: 9.5pt;
}

/* Контейнер всего содержимого кроме подвала */
#page {
  width: 900px;
  margin: auto;
  height: auto !important;
  min-height:100%;
  height: 100%;
  background: #dbdcdd url('/img/page_bg.gif') repeat-y;
  border-style: solid;
  border-color: #808183;
  border-width: 0 6px 0 6px;
}

#footer_guarantor {
  height: 20px;
  clear: both;
}

#footer {
  margin: auto;
  margin-top: -20px;
  width: 900px;
  height: 20px;
  clear: both;
  background: #808183 url('/img/footer.gif') no-repeat;
}

#footer div {
  color: #cc2229;
  font-family: Verdana;
  font-weight: bold;
  font-size: 10pt;
  text-align: right;
  padding: 3px 45px 0 0;
}

#header {
  position: relative;
  height: 470px;
  background-color: #808183;
  background-repeat: no-repeat;
}

div.patch_minheight {
  width: 1px;
  height: 100px;
  float: right;
}

#sidebar {
  width: 240px;
  padding: 30px 0;
  float: left;
  background: #cc2229;
}

#mainbar {
  position: relative;
  z-index: 20;
  width: 580px;
  padding: 30px 45px 0px 35px;
  /*margin-bottom: 30px;*/
/*  border: 1px solid yellow;*/
  background: #dbdcdd url('/img/page_bg.gif') top right repeat-y;
  overflow: hidden;
  float: right;
}

#logo_left_margin {
  float: left;
  width: 240px;
  height: 448px;
}

#logo_right_margin {
  float: right;
  width: 15px;
  height: 448px;
}

.opac {
  background: #cc2229;
  opacity:.25;
}

#opac_left {
  position: absolute;
  width: 240px; 
  height: 470px; 
}

#opac_right {
  position: absolute;
  width: 15px; 
  height: 470px; 
}

.clear_both {
  position: relative;
  clear: both;
  height: 1px;
  margin: 0px;
  padding: 0px;
  font-size: 1px;
  overflow: hidden;
}

/* Типография
=======================================================================================*/
a, a:link, a:visited, a:hover, a:active {
  text-decoration: none;
  font-weight: bold;
  color: #cc2229;
}


h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  color: #cc2229;
  margin: 10px 0 5px 0;
  text-transform: uppercase;
}

h2 {
  font-size: 12pt;
}

h3 {
  font-size: 9.5pt;
}

ul, dl {
  padding-left: 20px;
}

/* Общее
=======================================================================================*/
img {
  border: 0px;
}

.right {
  text-align: right;
}

/* Главное меню
=======================================================================================*/
#mainmenu {
  position: relative;
  z-index: 20;
  clear: both;
  height: 22px; 
  width: 650px;
  padding: 0 15px 0 235px;
  background: url('/img/slash_bg.gif') repeat-x;
}

#mainmenu ul {
  list-style: none;
  display: block;
  overflow: hidden;
  float: left;
  height: 22px;
  padding: 0 14px 0 18px;
  border-left: 5px solid #cc2229;
  background: url('/img/mmenu_trailer.gif') right no-repeat;
}

#mainmenu li {
  display: none;
  float: left;
  height: 22px;
  width: 132px;
}

#mainmenu a {
  display: block;
  float: left;
  text-align: center;
  text-transform: lowercase;
  width: 132px;
  padding-top: 3px;
  background: url('/img/mmenu_item.gif') no-repeat center;
  height: 19px;
}

#mainmenu a:link, #mainmenu a:visited {
  color: #a8adb3;
}

#mainmenu a:hover, #mainmenu a:active {
  color: #FFF;
  position: relative;
  padding: 3px 14px 0 14px;
  margin: 0 -14px 0 -14px;
  z-index: 10;
  background: url('/img/mmenu_item_sel.gif') no-repeat center;
}

#mainmenu li.first {
  display: block;
}

#mainmenu .first a:link, #mainmenu .first a:visited, #mainmenu .first a:hover, #mainmenu .first a:active {
  background: url('/img/mmenu_item_first.gif') no-repeat center;
  color: #a8adb3;
}

/* Главное субменю
=======================================================================================*/
.mainmenu_sub {
  display: none;
  position: absolute;
  float: left;
  height: 26px;
  padding-left: 22px;
  background: url('/img/mmenu_sub_left.png') no-repeat;
}

.mainmenu_sub ul {
  list-style: none;
  padding: 0;
  display: block;
  float: left;
}

.mainmenu_sub li {
  float: left;
  display: block;
  height: 26px;
  background: url('/img/mmenu_sub_bg.png') repeat-x;
}

.mainmenu_sub div {
  display: block;
  float: left;
  height: 26px;
  width: 22px;
  background: url('/img/mmenu_sub_right.png') no-repeat;
}

.mainmenu_sub a {
  display: block;
  float: left;
  position: relative;
  text-transform: lowercase;
  height: 21px;
  text-align: center;
  padding: 5px 10px 0 10px;
}

.mainmenu_sub a:link, .mainmenu_sub a:visited {
  color: #FFF;
}

.mainmenu_sub a:hover, .mainmenu_sub a:active {
  color: #FFF;
  /*border-bottom: 1px dotted #FFF;*/
  text-decoration: underline;
}

/* Верхнее меню (колонка)
=======================================================================================*/
#logomenu {
  height: 100%;
  width: 100%;
}

#logomenu td {
  vertical-align: bottom;
  padding: 30px 30px 5px 30px; 
  color: #FFF;
}

#logomenu a, #logomenu a.sel {
  display: block;
  float: left;
  padding: 2px 4px 14px 4px;
  margin: 1px 0;
  font-size: 10pt;  
  position: relative;
  z-index: 10;
  text-transform: lowercase;
}

#logomenu a:link, #logomenu a:visited {
  color: #FFF;
}

#logomenu a:hover, #logomenu a:active,
#logomenu a.sel:link, #logomenu a.sel:visited, #logomenu a.sel:hover, #logomenu a.sel:active {
  color: #FFF;
  background: url('/img/logomenu_bg.gif') left bottom;
}

a#logo, a#logo:link, a#logo:visited, a#logo:active, a#logo:hover {
  float: none;
  font-size: 24pt;
  color: #FFF;
  background: transparent;
  margin-bottom: 25px;
}

#logo span {
  color: #cc2229;
}

/* Нижнее меню (колонка)
=======================================================================================*/
#sidebar a, #sidebar a.sel {
  display: block;
  padding: 3px 20px 3px 35px;
  margin-bottom: 15px;
}

#sidebar a:link, #sidebar a:visited {
  color: #bbbcbf;
}

#sidebar a:hover, #sidebar a:active,
#sidebar a.sel:link, #sidebar a.sel:visited, #sidebar a.sel:hover, #sidebar a.sel:active {
  color: #FFF;
  background: url('/img/left_arrow.gif') no-repeat left center;
}

/* Анонс новости и т.д.
=======================================================================================*/
div.announcement {
  margin: -12px 0 30px -12px;
  padding: 12px 0 0 12px;
  background: url('/img/title_bg.jpg') no-repeat left top;
/*  border: 1px solid green;*/
  width: 580px;
}

.announcement div.img {
  float: right;
  height: 128px;
  width: 128px;
  padding: 5px 5px;
  /*margin: -12px 0 5px 20px;*/
  margin: 0 0 5px 20px;
  background: url('/img/img_bg.jpg') no-repeat left bottom;
}

h3.announcement {
  margin: 0 0 10px 0;
}

h3.announcement span {
  color: #000;
}

img.announcement {
  margin-top: 15px;
  width: 37px;
  height: 8px;
}
