/*
  * by Yaroslav Safarov
*/
html, 
body {
  background: url('images/body-bg.jpg') left top repeat;
  color: #6c6c6c;
  font: normal 11px Verdana, sans-serif;
  width: 100%;
}

a {
  color: #3c8dcb;
  font: normal 11px Verdana, sans-serif;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4 {
  margin-bottom: 20px;
}

h1 {
  font: bold 26px Verdana, sans-serif;
}

h2 {
  font: bold 24px Verdana, sans-serif;
}

h3 {
  font: bold 22px Verdana, sans-serif;
}

h4 {
  font: bold 12px Verdana, sans-serif;
}

.homepage h1,
.homepage h2,
.homepage h3,
.homepage h4 {
  color: #2e448d;
}


div.clear {
  clear: both;
}

/*------main-content-----*/
#main-content {
  background: #fff url('images/main-content-bg.jpg') right top no-repeat;
  width: 1024px;
  height: 100%;
  margin: 0 auto;
  overflow: hidden;
}
/*-----------------------*/

/*---------header--------*/
#header {
  width: 100%;
  height: 145px;
  overflow: hidden;
  position: relative;
}

#logo {
  display: block;
  margin: 30px 0 0 30px;
  float: left;
}

#header-controls {
  width: 210px;
  height: 15px;
  /*float: right;*/
  /*margin: 55px 30px 0 0;*/
  top: 55px;
  right: 30px;
  overflow: hidden;
  line-height: 15px;
  position: absolute;
  z-index: 10;
}

#header-controls ul {
  list-style-type: none;
  float: left;
}


#header-controls ul li {
  float: left;
  margin-left: 25px;
  _margin-left: 15px;
}

ul.controls li.first-control {
  margin-left: 0 !important;
}

ul.lang {
  margin-left: 30px;
  _margin-left: 25px;
}

ul.lang li a {
  color: #3c8dcb;
  font: normal 11px Verdana, sans-serif;
}

ul.lang li.lang-active a {
  color: #6c6c6c;
}
/*-----------------------*/

/*-------left-menu-------*/
#left-menu {
  background: url('images/left-menu-bg.jpg') left top no-repeat;
  float: left;
  width: 270px;
  height: auto;
  overflow: hidden;
}

#left-menu ul {
  list-style-type: none;
  padding: 0 20px 0 30px;
}

#left-menu ul li {
  padding-top: 20px;
}

#left-menu ul li.left-menu-first {
  padding-top: 0 !important;
}
/*-----------------------*/

/*---------content-------*/
#content {
  float: left;
  width: 725px;
  position: relative;
}

#content ul li {
  background: url('images/list-item-bg.gif') left center no-repeat;
  padding-left: 20px;
  padding-bottom: 3px;
}

.homepage #content {
  padding-top: 195px;
  float: left;
  width: 725px;
  _width: 710px;
  position: relative;
  /*margin-bottom: -195px;*/
}

#homepage-logo {
  background: url('images/homepage-bg.png') left top no-repeat;
  width: 754px;
  height: 312px;
  /*margin-top: -96px;*/
  top: -96px;
  position: absolute;
  z-index: 5;
}

.post {
  margin-bottom: 55px;
  overflow: hidden;
  line-height: 14px;
}

.news-item {
  margin-bottom: 20px;
}

.homepage .news-item {
  width: 200px;
  margin-right: 40px;
  _margin-right: 30px;
  float: left;
  line-height: 14px;
}

.news-item span.news-item-date {
  display: block;
  margin-bottom: 10px;
}

table.table-type-1 td {
  padding-bottom: 18px;
  line-height: 16px;
}

table.table-type-1 td span.item-date {
  display: block;
}

table.table-type-1 td img.item-image {
  float: left;
}

table.table-type-1 td div.item-descr {
  padding-left: 75px;
}

table.table-type-1 td.left-col {
  width: 323px;
}

table.table-type-1 td.right-col {
  padding-left: 25px;
}
 
table.table-type-1 td.col-type-1 {
  padding-bottom: 45px !important;
  line-height: normal;
}

table.table-type-1 td.col-type-2 {
  width: 323px;
  padding-bottom: 50px !important;
  line-height: normal;
}

table.table-type-1 td.col-type-2 div.item-descr {
  padding-left: 145px;
}

table.table-type-1 td.col-type-2 div.item-descr a {
  font-weight: bold;
}

table.table-type-2 {
  width: 100%;
}

table.table-type-2 tr.row-0 th {
  background-color: #cbcbcb;
}

table.table-type-2 tr.row-1 th {
  background-color: #dcdcdc;
}

table.table-type-2 th {
  padding: 3px 20px 3px 15px;
  vertical-align: middle;
  font-weight: bold;
}

table.table-type-2 td {
  padding: 3px 20px 3px 15px;
  vertical-align: middle;
}

table.table-type-2 td.col-0 {
  background-color: #e6e6e6;
}

table.table-type-2 td.col-1 {
  background-color: #f0f0f0;
}

table.table-type-3 td.left-col {
}

table.table-type-3 td.right-col {
  padding-left: 25px;
}

table.table-type-4 th {
  font-weight: bold;
  padding-bottom: 20px;
}

table.table-type-4 td {
  padding-left: 20px;
}

table.table-type-5 td.left-col {
  width: 145px;
}

table.table-type-5 td.left-col ul li {
  display: block !important;
  padding: 0 !important;
  margin: 0 !important;
  background-image: none !important;
  margin-bottom: 12px !important;
}

table.table-type-5 td.left-col ul li.img-up a {
  background: url('images/sld-up.jpg') center top no-repeat;
  display: block;
  width: 84px;
  height: 10px;
}

table.table-type-5 td.left-col ul li.img-down a {
  background: url('images/sld-down.jpg') center bottom no-repeat;
  display: block;
  width: 84px;
  height: 10px;
}

table.table-type-5 td.right-col ul li {
  float: left; 
  margin-bottom: 10px !important;
}

table.table-type-5 td.right-col ul li.img-prev {
  background: url('images/img-prev.gif') left center no-repeat !important;
  padding-left: 20px;
}

table.table-type-5 td.right-col ul li.img-next {
  background: url('images/img-next.gif') right center no-repeat !important;
  padding-right: 20px;
  margin-left: 30px;
}

#paginator {
  margin-top: 10px;
}

#paginator ul li {
  background-image: none !important;
  float: left;
  padding-left: 10px;
}

#paginator ul li.paginator-first {
  padding-left: 0px;
}
/*-----------------------*/

/*---------footer--------*/
#footer {
  background-color: #9d9d9d;
  color: #ffffff;
  font: normal 11px Verdana, sans-serif;
  /*height: 90px;*/
  width: 994px;
  height: 65px;
  padding: 25px 30px 0 0;
  overflow: hidden;
  margin-top: 20px;
}

.footer-block-left {
  float: left;
  margin-left: 55px;
  line-height: 14px;
}

#copyright {
  _margin-left: 35px;
}

.footer-block-right {
  float: right;
}

#search-input-text {
  background: url('images/search-input-text.jpg') left top no-repeat;
  color: #9d9d9d;
  font: normal 11px Verdana, sans-serif;
  border: none;
  /*width: 208px*/
  width: 188px;
  height: 18px;
  _height: 15px;
  padding: 0 10px;
  _padding-top: 3px;
}

#footer a {
  color: #ffffff;
  text-decoration: underline;
}

#footer a:hover {
  text-decoration: none;
}
/*-----------------------*/