* {
  padding: 0px;
  margin: 0px;
}

html {
height: 100%;
}

body {
  text-align: center;
  height: 100%;
  background-color: #fff;
  color: #666;
  font-family: Calibri, sans-serif;
  font-size: 0.8em;
}   

table {
  font-family: Calibri, sans-serif;
  font-size: 1em;
  color: #666;
}

#wrapper {
  position: relative;
  min-height: 100%;
  background: url(i/goldengrass.jpg) 50% 100% repeat-x;
}

#goldline{
background: url(i/goldline.png) 50% 35px no-repeat; overflow: hidden;
}

* html #wrapper {
  height: 100%;
}

a {
  color: #0068a6;
}

img {
border: none;
}

p{
margin: 8px 0;
}

h2{
height: 30px;
position:relative;
top: 7px;
padding:0;
5margin:11px 0;
font-size: 18px;
font-family: Freeset, Calibri, sans-serif;
font-weight: normal;
5line-height: 35px;
color: #7c5f10;
}

h1{
font-size: 1.3em;
font-weight: normal;
color: #9E7814;
line-height: 0.8em;
margin-bottom: 38px;
}

h3 {
font-size: 1.25em;
}

dt{
font-weight: bold;
}

dd {
margin-left: 14px;
margin-bottom: 20px;
}

#header {
width: 960px;
overflow:hidden;
position: relative;
/*z-index: 1;*/
}

#top{
height: 200px;
text-align: left;
overflow:hidden;
}

#logo {
display: block;
width: 115px;
height: 95px;
position: relative;
/*top: 212px;*/
top: 118px;
left: 10px;
text-decoration: none;
background: url(i/logo.png) 0 0 no-repeat;
}


#content {
  padding-bottom: 125px;
  width: 960px;
  margin-top: 40px;
  position: relative;
  /*z-index: 0;*/
}

#content-wrapper{
clear: both;
margin-bottom: 40px;
width: 100%;
}

#content-inner{
margin-left: 250px;
//margin-left:248px;
border-left: 2px solid #ccc;
padding-left: 88px;
padding-bottom: 60px;
}

#corner{
height: 19px;
line-height: 0px;
font-size: 0;
overflow: hidden;
background: url(i/corner.html) 100% 0 no-repeat;
}

#menu {
text-align: left;
margin-top: -50px;
margin-left: 250px;
overflow:visible;
5width:100%;
_zoom:1;
/*z-index: 3;*/
position: relative;
}

#menu ul{
list-style:none;
clear: both;
//height:1%;
overflow:hidden;
5padding-bottom:1000px;
5margin-bottom:-1000px;

5height:100%;
}

#menu li{
display: inline;
float:left;
5font-weight: bold;
5width: 160px;
5height:100%;
}

#menu li a{
color: #7c5f10;
text-decoration: none;
display: block;
padding-top: 20px;
padding-left: 14px;
padding-right: 14px;
5padding-bottom: 20px;
font-size: 0.9em;
overflow:hidden;

5height:100%;
5float:left;
5margin-bottom:-100%;
}

#menu li a:hover{
color: #fff;
background-color: #b0892d;
z-index:9999;
position:relative;
}

#menu li .selected{
background-color: #b0892d;
color: #fff;
}

#menu li a span{
margin-top: -100%;

}

#menu li a div{
color: #666;
clear: both;
visibility: hidden;
display: block;
background-color: #efefef;
margin-top: 20px;
padding: 20px 14px; 
margin-left: -14px;
margin-right: -14px;
overflow:hidden;

5margin-top:100%;
}
#menu li a div:hover{}

#menu li a:hover div{

display: block;
visibility: visible;
z-index:9999;
}

#menu .shadow a {
color: #2783a2;
}



#sidebar {
width:250px;


float: left;
border-right: 2px solid #ccc;
}

#sidebar ul {
 list-style-type: none; 
 padding-right: 15px;
}

#sidebar li {
padding-bottom: 10px;
}

#sidebar li a{
color: #9e7814;
font-size: 0.9em;
text-decoration: none;
}

#sidebar-include
{
	float: left;
	margin-bottom: 140px;
	
}

.columns3
{
display: table;
position: relative;
//overflow-y: hidden;
width: 100%;
}
.columns3 .r
{
display: table-row;
position: relative;
//top: 50%;
width: 100%;
}
.columns3 .a
{
display: table-cell;
//display: inline;
position: relative;
//float: left;
vertical-align: middle;
}

.columns3 .r .r
{
display: block;
//top: -50%;
width: auto;
//width: 100%;
}

/*-------- подвал ---------------*/
#footer {
  margin: 0 auto;
  position: relative;
  height: 125px;
  margin-top: -125px;
  clear: both;
  width: 960px;
  color: #666;
  /*z-index: 1;*/

}

#contacts{
float: left;
clear: both;
width: 615px;
margin-right: -615px;
font-size:0.9em;
text-align: left;
line-height: 20px;
padding-top: 17px;
}

#license{
margin-left: 615px; 
font-size: 0.7em; 
font-weight: bold; 
text-align: left;
padding-top: 17px;
}

#footer ul{
list-style-type: none;
width: 476px;
overflow:auto;
margin: 0 auto;
margin-bottom: 1px;
margin-top: -2px;
}

#footer ul li{
display: inline;
margin: 0 5px;
}

#footer a{
text-decoration: none;
color: #fff;
}

.clear{ 
clear:both; 
font-size:0; 
overflow:hidden;
}

/****уголки****/
.rounded{
float: left;
background-repeat: no-repeat;
background-image: url(i/black-dot.html);
}

.rounded .lt{
background-position: 0px 0px;
}

.rounded .rt{
background-position: 100% 0px;
}

.rounded .lb{
background-position: 0 100%;
}

.rounded .rb{
background-position: 100% 100%;
}

.rounded .l-r{
background-color: #000;
border-left: 5px solid #000;
border-right: 5px solid #000;
margin:5px 0;
}

.rounded .t-c-b{
background-color: #000;position:relative;
}

.t{
top:-5px;
}

.b{
top:10px;
}

.c{
top:-5px;
line-height: 1em;
color: #fff;
}

.c a{
color: #fff;
text-decoration: none;
5display:block;
}
/****\уголки****/

#favorites{
position: relative;
left: 188px;
top: -55px;
}

#map{
position: relative;
left: 538px;
top: 39px;
}

#feedback{
position: relative;
left: 835px;
top: -65px;
}


#banner {
background: url(i/banner.png) 0 0 no-repeat;
position: absolute; 
bottom: 200px; 
left: 250px;
width: 485px;
height: 167px;
overflow: hidden;
z-index:1;
}

#banner-wrapper{
padding: 15px;
}

/*-------------стили таблиц---------------*/

.table-wrapper{
width:100%;
}

.table-wrapper table{
width:100%; 
border:none; 
border-collapse: collapse;
}

.table-wrapper table tr td{
padding: 20px 0;
vertical-align: top;
border-bottom: 1px solid #b0892d;
}

.table-wrapper table tr .before-docs{
border-bottom-width: 2px;
}

/*-------------/стили таблиц---------------*/
