@import url('reset.css');

html,body {
  margin:0;
  padding:0;
  color:#000000;
  background: #d1d1d1;
  height:100%; 
}

body {
  min-width: 1028px;
  width: expression(document.body.clientWidth < 1028? "1028px": "auto" );
  margin: 0 auto;
  font-family: Tahoma;
  font-size: 0.9em;
}

div.all {
  margin: 0 0 0 -514px;
  width: 1028px;
  position: relative;
  left: 50%;
  background: url('/i/bg.jpg') repeat-y top left;
  padding: 0 25px;  
}

div.header {
  height: 193px;
  margin-bottom: 10px;
  background: url('/i/top.jpg') no-repeat top left;
}

table.nav {
  margin-top: 164px;
  height: 29px;
  float: left;
  width: 978px;
  font-size: 0.9em;
}

table.nav td {
  color: #ffffff;
  border-left: #ffffff 1px solid;
  padding: 5px;
  text-align: center;
}

table.nav td.first {
  color: #ffffff;
  border-left: none;
}

table.nav td#selected {
  background: url('/i/sel.jpg') repeat-x top left;
}

table.nav td a {
  color: #ffffff;
  text-decoration: none;
}

table.nav td a:hover {
  text-decoration: underline;
}

div.lang {
  margin-top: 164px;
  float: right;
  margin-right: 65px;
}

div.lang img {
  margin: 0 4px;
}

div.logoline {
  clear: both;
  height: 231px;
  margin-bottom: 10px;
}

div.logo {
  float: left;
  height: 231px;
  width: 244px;
}

div.about {
  float: left;
  height: 227px;
  width: 728px;
  margin-left: 2px;
  border: 1px solid #b4cde7;
  padding: 1px;
  font-size: 0.9em;
}

div.abouttxt {
  height: 146px;
  padding: 8px 50px;
}

div.abouttxt p {
  margin-top: 10px;
}

div.abouttxt p.help {
  color: red;
}

div.rek_line {
  background: url('/i/blue_bg.jpg') repeat-x bottom left;
  height: 26px;
  padding-top: 39px;
  text-align: center;
}

div.rek_line a {
  color: #ffffff;
  text-decoration: underline;
}

div.rek_line a:hover {
  text-decoration: none;
}

div.content {
  background: url('/i/gr_bg.jpg') repeat-y top left;
  border-bottom: 1px solid #d4d4d4;
  width: 978px;
}

div.leftpart {
  float: left;
  width: 198px;
  padding: 23px;
}

div.leftpart h1 {
  color: #214c7a;
  font-size: 1.2em;
  margin-bottom: 5px;
}

div.leftpart p {
  font-size: 0.9em;
  margin-bottom: 5px;
}

div.leftpart a {
  display: block;
  font-size: 0.8em;
  margin: 5px 0;
  color: #000000;
  text-decoration: none;
}

div.leftpart img {
  display: block;
  margin-left: 15px;
}

div.leftpart a:hover {
  color: #333333;
  text-decoration: none;
}

div.leftpart a.lnk {
  margin: 5px 0 25px 0;
  text-decoration: underline;
}

div.leftpart h1 a {
  color: #214c7a;
  font-size: 1em;
  margin-bottom: 18px;
}

div.mainpart {
  margin: 0 210px 15px 280px;
  padding-top: 23px;
}

#glavnaya {
  text-align: center;
}

div.mainpart h3 {
  margin-bottom: 15px;
}

div.mainpart img.docs {
  border: 5px solid #BBBBBB;
  margin: 0 20px 20px 0;
}

#glavnaya h1 {
  font-size: 1.5em;
  color: red;
  font-weight: bold;
}

div.mainpart h1 {
  color: #000000;
  font-size: 1.2em;
  margin-bottom: 5px;
  font-weight: bold;
}

div.mainpart p {
  margin-bottom: 10px;
}

div.mainpart a {
  color: #000000;
  text-decoration: underline;
}

div.mainpart a:hover {
  text-decoration: none;
  color: #404040;
}

div.mainpart b, div.mainpart strong {
  font-weight: bold;
}

div.mainpart i, div.mainpart em {
  font-style: italic;
}

div.mainpart ul {
  list-style: disc outside;
  margin: 15px 0 10px 20px;
}

div.mainpart ol {
  list-style: decimal outside;
  margin: 15px 0 10px 20px;
}

div.spacer {
  clear: both;
}

div.rightpart {
  float: right;
  width: 150px;
  padding: 23px;
}

div.rightpart img {
  display: block;
}

div.rightpart a {
  display: block;
  margin: 5px 0;
  font-size: 0.8em;
  color: #000000;
  text-decoration: none;
}

div.rightpart a:hover {
  color: #333333;
  text-decoration: none;
}

div.rightpart a.lnk {
  margin: 5px 0 25px 0;
  text-decoration: underline;
}

div.footer {
  height: 73px;
  background: #ebebeb;
  width: 978px;
  font-size: 0.75em;
}

div.footer a {
  color: #000000;
  text-decoration: underline;
}

div.footer a:hover {
  text-decoration: none;
  color: #404040;
}

div.cont {
  float: left;
  width: 198px;
  padding: 15px 23px; 
}


div.footer p {
  margin-left: 270px;
  padding-top: 5px;
}

div.news-calendar table {
  font-size: 0.8em;
  border-collapse: collapse;
}

div.news-calendar table.NewsCalTable td {
  padding: 5px;
  border: 1px solid #999999;
}

td.NewsCalHeader {
  font-weight: bold;
  background: #CCCCCC;
}

table.NewsCalTable td span {
  font-size: 0.7em;
  position: relative;
  top: -4px;
  left: -4px;
}

span.starrequired {
  color: red;
}

td.NewsCalWeekend span {
 color: red;
}

td.NewsCalOtherMonth span {
  color: #999999;
}

table.blago {
  font-size: 0.9em;
}

table.blago td {
  padding: 2px;
  text-align: left;
}

table.formtable td {
  padding: 2px;
  text-align: left;
}