/* основные элементы сетки */

body {
  font: Verdana 12px;
  background: #e2e2e2;
  margin: 0px;
  padding: 0px;
  height: 100%; }
  
.layouttable {
  width: 100%;
  height: 100%; }
  
.layouttable td {
  vertical-align: top; }
  
.layouttable .leftcolumn {
  background: url(../i/page_bgl.gif) right repeat-y; }
  
.layouttable .rightcolumn {
  background: url(../i/page_bgr.gif) repeat-y; }
  
.layouttable .middlecolumn {
  background: #fff;
  width: 780px; }
  
.layouttable .middlecolumn .left {
  width: 240px; }
  
.layouttable .middlecolumn .right {
  width: 540px; }
  
/* верхний мини-навигатор */

.topnav {
  left: 8px;
  position: relative; }
  
.topnav img {
  background: #e8e8e8;
  }
  
.topnav select {
  font: 9px Arial;
  color: #646464;
  position: relative;
  top: -5px;
  left: 58px; }
  
/* верхний логотип */

.toplogo {
  position: relative;
  left: 32px;
  top: 13px; }
  
/* левая навигация */

.leftnav {
  position: relative;
  top: 40px;
  width: 240px;
  background: url(../i/leftnav_bgc.jpg) right top no-repeat;
  margin: 0px 0px 57px 0px; }
  
.leftnav .sidebar {
  background: url(../i/leftnav_bgs.jpg) left top repeat-y;  }
  
.leftnav .links {
  background: url(../i/leftnav_itembgm.gif) repeat-y;
  background-position:  20px;
  padding: 25px 25px 10px 20px; }
  
.leftnav .links a, .leftnav .links a:visited {
  display: block;
  font: 12px Tahoma;
  color: #646464;
  background: url(../i/leftnav_itembgs.gif) -1px 1px no-repeat;
  padding: 0px 0px 0px 27px;
  margin: 0px 0px 15px 0px; }
  
.leftnav .links a:hover {
  color: #386996; }
  
.leftnav .links a#selected, .leftnav .links a#selected:visited {
  text-decoration: none;
  font-weight: bold;
  color: #386996; }
  
/* боковая панель поиска */

.searchbox {
  background: url(../i/left_searchbg.gif) no-repeat;
  height: 66px;
  padding: 12px 0px 0px 35px; }
  
.searchbox label {
  display: block;
  width: 185px;
  margin: 0px 0px 2px 0px;
  font: 11px Tahoma;
  color: #646464; }
  
.searchbox .text {
  font: 12px Tahoma;
  width: 132px;
  height: 21px; }
  
.searchbox .submit {
  position: relative;
  top: 2px;
  left: 2px; }
  
.searchbox form > .submit {
  top: 4px; }
  
/* левые информационные блоки */

#left_infoseller, #left_infobuyer {
  font: 11px Tahoma !important;
  color: #646464;
  padding: 50px 20px 0px 34px;
  margin: 15px 0px 0px 0px;
  height: 155px; }
  
.left > #left_infoseller, .left > #left_infobuyer {
  margin-bottom: -40px;
  margin-top: 5px; }
  
#left_infoseller {
  background: url(../i/left_sellerbg.gif) left top no-repeat; }
  
#left_infobuyer {
  background: url(../i/left_buyerbg.gif) left top no-repeat; }
  
#left_infoseller label, #left_infobuyer label {
  display: block;
  width: 185px;
  margin: 0px 0px 2px 0px;
  font: 11px Tahoma;
  color: #646464; }
  
#left_infoseller select, #left_infobuyer select {
  font: 11px Tahoma !important;
  color: #646464;
  width: 132px; }
  
#left_infoseller .submit, #left_infobuyer .submit {
  position: relative;
  top: 3px; }
  
#left_infoseller form > .submit, #left_infobuyer form > .submit {
  top: 4px; }
  
/* навигация первого уровня */

.level1 {
  margin: 12px 0px 20px 0px;
  height: 36px; }
  
.level1 a, .level1 a:visited {
  display: block;
  float: left;
  background-position: 0px 0px;
  background-repeat: no-repeat;
  height: 36px;
  margin: 0px 4px 0px 0px; }
  
.level1 a:hover {
  background-position: 0px -36px !important; }
  
.level1 a#selected {
  background-position: 0px 36px !important; }
  
.level1 a#selected:hover {
  background-position: 0px 36px !important; }
  
.level1 img { 
  float: left;
  margin: 0px 3px 0px 0px; }

/* хлебные крошки */

.breadcrumbs {
  font: 11px Tahoma;
  color: #b7b7b7;
  margin: 0px 10px 20px 10px; }
  
.breadcrumbs a, .breadcrumbs a:visited {
  color: #979797; }
  
.breadcrumbs a:hover {
  text-decoration: none; }
  
/* контейнер основного текста сайта */

.maincontent {
  margin: 0px 15px 20px 10px; }
  
/* блок новостей на главной странице */

.mainpage_news {
  margin: 15px 0px 0px 0px; }

.mainpage_news .event {
  background: url(../i/mainpage_newsicon.gif) left top no-repeat;
  padding: 0px 0px 0px 25px; }
  
.mainpage_news .event h2 {
  font: bold 12px Verdana;
  margin: 0px 0px 7px 0px; }
  
.mainpage_news .event span {
  font: 10px Tahoma;
  color: #fff;
  background: #b7b7b7;
  padding: 3px; }
  
.mainpage_news .event p {
  margin: 5px 0px 15px 0px; }
  
.mainpage_news a {
  font: bold 12px Tahoma; }
  
/* подвал сайта */

.footer {
  font: 10px Tahoma;
  color: #a0a0a0;
  padding: 10px 0px 15px 0px; }
  
.footer .madeby { 
  float: left;
  width: 237px;
  padding: 5px 0px 6px 15px;
  background: url(../i/footer_bglight.gif) right top no-repeat #e1e3d9; }
  
.footer > .madeby {
  width: 220px; }
  
.footer .madeby a, .footer .madeby a:visited { 
  font-weight: bold;
  color: #848484; }
  
.footer .level1_bottom {
  float: right;
  clear: right;
  font: 11px Tahoma;
  color: #fff;
  width: 533px;
  padding: 10px 7px 12px 15px;
  text-align: right;
  background: url(../i/footer_bggray.gif) left top no-repeat #666666; }
  
.footer > .level1_bottom {
  width: 512px; }
  
.footer .level1_bottom a, .footer .level1_bottom a:visited {
  color: #e7e7e7;
  padding: 0px 7px 0px 7px; }
  
.footer .sub {
  clear: both;
  padding: 15px 14px 15px 14px; }
  
.footer .contacts {
  float: left;
  width: 230px; }
  
.footer .copyright {
  float: left;
  width: 400px;
  margin: 0px 0px 0px 40px; }  
/* основные теги */

img {
  border: 0px; }
  
form {
  margin: 0px;
  padding: 0px; }

table {
  border: none; }
  
p {
  font: 12px Verdana;
  line-height: 1.6;
  margin: 10px 0px 10px 0px; }
  
a, a:visited {
  color: #297fbb; }
