/* ~~~~ defaults (start) ~~~~ */

*{
	margin:0;
	padding:0;
}

body{
	font-family: Arial, Helvetica, sans-serif;
	background: #cfbe8a url(../img/main-bg.jpg) no-repeat 50% top;
	color: #111;
}

a{color: #125f00;font-weight:bold;}
a img{border:0;}

address{font-style: normal;}

.clear{clear:both;}
.left{float: left;}
.right{float: right;}

a.img-link{
	display: inline-block;
	padding: 5px;
	border: 1px solid #876449;
}
a.img-link:hover{
	background: #fff;
}
a.img-link img{display: block}

p{
	margin: 10px 0;
	font-size: 12px;
	text-indent: 20px;
	text-align:justify;
}
ul, ol{
	margin: 10px 0 10px 35px;
	font-size: 12px;
	list-style-position: outside;
}
h1{font-size: 30px; text-indent: 20px;line-height:36px;color:#5D3827;}
h2{font-size: 24px; text-indent: 20px;line-height:30px;}
h3{font-size: 18px; text-indent: 20px;line-height:26px;color:#5D3827;}

hr{
	height: 1px;
	border: 0;
	background-color: #111;
	color: #111;
	margin-left: 20px;
}

table a.img-link{margin:3px 0px 3px 0 !important;}

/* ~~~~ defaults (end) ~~~~ */

/* ~~~~ layout (start) ~~~~ */

.wrap{
	width:970px;
	margin:0 auto;
}

#left-side{
	float: left;
	width: 273px;
	margin-top: 3px;
}
#right-side{
	padding-left:301px;
	background: url(../img/left-side-bg.png) repeat-y;
}

/* ~~~~ layout (end) ~~~~ */

/* ~~~~ top-panel (start) ~~~~ */
#top-panel{
	position: absolute;
	left:0;
	right: 0;
	z-index: 2;
}
#top-panel .bg{
	display: none;
	padding: 10px 0 20px 0;
	background: #5d3827;
	
	color: #fff;
	font-size: 12px;
}
#top-panel .bottom{
	height: 12px;
	background: url(../img/panel-bottom.png) repeat-x;
}
#top-panel .bottom .wrap{position: relative;}
#top-panel .button{
	position: absolute;
	right: 0px;
	width: 221px;
	height: 38px;
	background: url(../img/panel-button.png) no-repeat;
}
#top-panel .button a{
	display: block;
	height: 18px;
	margin: 7px 25px 0 25px;
	padding-left: 25px;
	padding-top: 2px;
	font-size: 12px;
	background: no-repeat;
	color: #fff;
	text-decoration: none;
	background-image: url(../img/bt-open.png);
}
#top-panel .button a:hover{background-position: 0 -19px;}
#top-panel .button a.close:hover{background-position: 0 -20	px;}
#top-panel .button a.close{background-image: url(../img/bt-close.png);}

/* ~~~~ top-panel (end) ~~~~ */

/* ~~~~ header (start) ~~~~ */

#header{
	height: 360px;
	background: #cfbe8a url(../img/main-bg.jpg) no-repeat 50% top;
	position: relative;
	margin-bottom: -10px
}
#header #houses{
	width: 541px;
	height: 277px;
	position: absolute;
	left: 102px;
	top: 21px;
}
#header .logo{
	position: absolute;
	top: 30px;
	left: 0;
}
#header .slogan{
	position: absolute;
	left: 480px;
	top: 10px;
	z-index: 1;
}
#header .phone{
	position: absolute;
	top: 40px;
	right: 0;
	font-size: 16px;
	line-height: 1.4;
	color: #fff;
	margin-right:20px;
	font-weight:bold;
}

#header .top-block{
	position: absolute;
	width:200px;
	right: 0;
	bottom: 25px;
	margin-right:20px;
}
#header .top-block h3,#header .top-block h2{
	width: 212px;
	height: 47px;
	background: url(../img/block-head.png) no-repeat;
	color: #fff;
	margin: -2px -20px -9px -4px;
	text-indent: 0;
	position: relative;
	text-align:center;
	z-index: 1;
}
#header .top-block h3 span,#header .top-block h2 span{
	display: block;
	padding: 12px 0 0 0px;
}
#header .top-block .bg{
	background: #cfbe8a;
	border: 1px solid #876449;
	padding: 0 14px 10px 14px;
}
#header .top-block p{
	text-align:center;
	text-indent: 10px;}

/* ~~~~ header (end) ~~~~ */

/* ~~~~ top-menu (start) ~~~~ */

#top-menu{
	width: 678px;
	height: 45px;
	background: url(../img/top-menu.png) no-repeat;
	margin: 0px -10px -7px -3px;
	
	position: relative;
	z-index: 1;
}
#top-menu ul{
	margin: 0;
	padding: 10px 0 0 45px;
	list-style: none;
}
#top-menu li{
	height: 30px;
	float: left;
	font-size: 16px;
	color: #fff;
	position: relative;
}
#top-menu li span{
	display: inline-block;
	width: 17px;
	text-align: center
}
#top-menu li.last span{display: none;}
#top-menu li a{
	color: #fff;
	text-decoration: none;
}
#top-menu li a:hover,
#top-menu li.active a{border-bottom: 1px solid;}


#top-menu ul ul{
	display: none;
	margin: 0;
	width: 200px;
	padding: 5px 15px 10px 10px;
	list-style: none;
	position: absolute;
	top: 30px;
	left: -10px;
	background: #856046;
	
	z-index: -2;
}
#top-menu ul ul li{
	float: none;
	height: auto;
	margin-bottom: 5px;
	font-size: 12px;
	color: #fff;
}
#top-menu ul ul li a{
	color: #fff;
	text-decoration: none;
}
#top-menu li.active li a{border: 0;}

#top-menu ul ul li a:hover,
#top-menu ul ul li.active a:hover{text-decoration: underline; border: 0;}

/* ~~~~ top-menu (end) ~~~~ */

/* ~~~~ left-side (side-menu)(start) ~~~~ */

#left-side .side-block{
	font-size: 12px;
	color: #fff;
}
#left-side .side-block h3{
	font-size: 18px;
	color: #000000;
}
#left-side .side-block p{
	color: #000000;
}
#left-side .side-block h2{
	width: 281px;
	height: 45px;
	background: url(../img/side-block-head.png) no-repeat;
	margin: -3px 0 -7px -3px;
	text-indent: 0;

	position: relative;
	z-index: 1;
}
#left-side .side-block h2 span{
	display: block;
	padding: 10px 0 0 18px;	
}
#left-side .side-block .bg{
	background: #856046;
	padding: 1px 14px 10px 14px;
}
#left-side .side-block .bg p{
	text-align:left;
}
#left-side .side-block ul.side-menu{
	list-style-position: outside;
	margin-left: 16px;
}
#left-side .side-block ul.side-menu li{margin-bottom: 5px;}
#left-side .side-block ul.side-menu a{color: #fff;}

#left-side p{text-indent: 0;}

#left-side .img-link{
	border-color: #cfbe8a;
	margin: 10px;
	margin-top: 12px;
}
#left-side .img-link.left{margin-left: 0;}
#left-side .img-link.right{margin-right: 0;}
 
/* ~~~~ left-side (side-menu)(end) ~~~~ */

/* ~~~~ right-side (content)(start) ~~~~ */

.content{
	padding: 10px 0 10px 13px;
}

.content img{
 margin: 10px;
 padding: 5px;
 border: 1px solid #876449;
}
.content a.img-link img{
 margin: 0;
 padding: 0;
 border: none;
}
.content img.left{margin-left: 0}
.content img.right{margin-right: 0}

.content a.img-link{margin: 10px;}
.content a.img-link.left{margin-left: 0px;}
.content a.img-link.right{margin-right: 0px;}

.content p{margin:0;}

.content table, tr, td p{
	font-size:11px;
	text-indent:0px;
	text-align:center;
	}
.content table, tr, th p{
	font-size:11px;
	text-indent:0px;
	text-align:center;
	margin:0;
	}	

div.to_the_beginning{
	text-align: center;
	height: 20px;
	border-top: 1px solid;
	margin-top: 5px;
	padding-top: 5px;
	font-size: 14px;
}

/* ~~~~ right-side (content)(end) ~~~~ */

/* ~~~~ footer (start) ~~~~ */

#footer{
	height: 80px;
	background: #5d3827;
	border-top: 1px solid #fff;
}

#bottom-menu{padding-left: 301px;}

#bottom-menu ul{
	margin: 0;
	padding: 8px 0 0 15px;
	list-style: none;
}
#bottom-menu li{
	float: left;
	font-size: 12px;
	color: #fff;
}
#bottom-menu li span{
	display: inline-block;
	width: 17px;
	text-align: center
}
#bottom-menu li.last span{display: none;}
#bottom-menu li a{
	color: #fff;
	text-decoration: none;
}
#bottom-menu li a:hover,
#bottom-menu li.active a{border-bottom: 1px solid}

#adwizer{
float:right;
margin-right:250px;
color:#FFFFFF;
}
#adwizer a{
color:#FFFFFF;
font-weight:normal;
}

/* ~~~~ footer (end) ~~~~ */

#data{
	width:70px;
	margin-left:130px;
	background-color:#090;
}
#counter{
	margin-top:10px;
	float:left;
	margin-left:50px;
}