* {
	margin: 0;
	padding: 0;
}
body, html {height:100%;}

body {
	font: 12px/2 Verdana, serif;
	line-height:130%;
}

p, h1 {padding:20px 0;}

h1 {
 color:#483a10;
 font-size:16px;
 font-weight:normal;
 letter-spacing:-1px;
 border-bottom:1px solid #dbdad0;
}

h2 {
 color:#7F7F7F;
 font-size:14px;
 font-weight:normal;
 letter-spacing:-1px;
}
h2 a { font-weight:bold;  letter-spacing:0;}


a:link {color:#483a10; text-decoration:underline}
a:hover {color:#635016; text-decoration:none;}
a:visited {color:#635016;}

a img {border:0;}

hr {
border: 0;
color: #dbdad0;
background-color: #dbdad0;
height: 1px;
text-align: left;
clear:both;
margin:10px auto;
}
#all {
	max-width: 960px;
	min-width: 560px;
	margin: 0 auto;
	background: white;
	height:100%;
}

#page-wrap {
	background: white;
	height:auto;
}
#header {
	background: #dbb032 url(/bsystem/templates/base_template/images/header.gif) top left repeat-x;
	height: 100px;
}
#menu {
	background: #73736c;
	height: 42px;
	border-bottom:2px solid #ddddd6;
}
#menu a {
	color: #f6f6f5;
	font-size: 11px;
	text-decoration: none;
	margin: 5px 15px;
	padding: 3px 6px;
	display: block;
	float: left;
	border: 1px solid #73736c;	
}
#menu a:hover, #menu a.act {
	border: 1px solid #91918a;
	color: #dadad8;
}

#logo {
	margin: 5px 40px 0 20px;
	float:left;
}

#message {
float:left;
width:257px;
height:61px;
overflow:hidden;
margin:10px;
padding:5px;
line-height:150%;
font-size:11px;
background: url(/bsystem/templates/base_template/images/message.png) top left no-repeat;
}

.block {
background:#f3ebcb;
border:1px solid #e3e2d9;
padding: 10px 7px;

line-height:120%;
}

.block hr {
border: 0;
color: #e3e2d9;
background-color: #e3e2d9;
height: 1px;
text-align: left;
clear:both;
margin:10px auto;
}


.block a:link {color:#483a10; text-decoration:none}
.block a:hover {color:#635016; text-decoration:underline;}

.nopad { padding:0;}
.nopad img {width:100%;}

.blockhead {
background:#a89b70;
color:#dcd5bc;
border:1px solid #97927e;
border-bottom:0px;
padding: 7px 7px;
}
.blockhead a {color:#dcd5bc; text-decoration:none;}

.blockhead a:link {color:#dcd5bc; text-decoration:none}
.blockhead a:hover {color:#dcd5bc; text-decoration:underline;}

img.left {border:1px solid #97927e; width:238px; margin-bottom:10px;}

#main-content {
	background:#fff;
}
#main-sidebar {
	bottom: 0;
	padding: 10px 0 0 0;
	background: white;
}
#secondary-sidebar {
	bottom: 0;
	padding: 10px 0 0 0;
	background: white;
}
#footer {
	background: #73736c;
	margin: 0 auto 15px;
	font-size:11px;
	
}
#footer p {
	padding: 10px;
	color: white;
}
#footer a {
	color: white;
	border-bottom: 1px solid white;
	text-decoration: none;
}

/*
	Malo - CSS Library
	Author:Vladimir Carrer
*/

/* CSS Reset */

html, body, div, p{
  margin: 0;
  padding: 0;
  border: 0;
  }
  
/* CSS Grid */

/*
For center layout 
Define your default width in %, px or em

.main {  margin:0 auto; width:85%;}

*/

.dp20,
.dp25,
.dp33,
.dp50,
.dp75,
.dp100{float:left; display: inline; *margin-left:-0.04em; } /* IE margin hack */

/* dp = div percet */

.dp20{width:20%;}
.dp25{width:25%;}
.dp33{width:33.33%;}
.dp50{width:50%;}
.dp75 {width:75%;}
.dp100{width:100%;}
.clear{ clear:both;}

/* Galeria */
.galleria{list-style:none;width:100%;}
.galleria li{display:block;width:80px;height:80px;overflow:hidden;float:left;margin:0 10px 10px 0}
.galleria li a{display:none}
.galleria li div{position:absolute;display:none;top:0;left:180px}
.galleria li div img{cursor:pointer}
.galleria li.active div img,.galleria li.active div{display:block}
.galleria li img.thumb{cursor:pointer;top:auto;left:auto;display:block;width:auto;height:auto}
.galleria li .caption{display:block;padding-top:.5em}
* html .galleria li div span{width:400px}
/* MSIE bug */
.caption{color:#887; display:block;}
.demo{position:relative;}
.gallery_demo{width:800px; margin:0 auto;}
.gallery_demo li{width:68px;height:50px;border:3px double #111;margin:0 2px;background:#000;}
.gallery_demo li div{left:240px}
.gallery_demo li div .caption{font:italic 0.7em/1.4 georgia,serif;}
#ppages {text-align:center;margin-bottom:10px;}
#ppages a {padding:3px; margin-right:3px; background: #282828; border:1px solid #1F1D1D; color:#887; text-decoration:none;}
#ppages a:hover, #ppages a.active {background: #476C8F; border:1px solid #37556F; color:#fff;}
#main_image{clear:both;margin:40px auto 0 auto;text-align:center;height:auto;width:900px;}
#main_image img{margin:0 auto;margin-bottom:10px;max-width:900px;max-height:600px; border:3px solid #E6E0CB}
.nav{clear:both;text-align:center;font-size:20px; margin:0; padding:0;}

#preloader * {width:3px;}

/* Спасибо за внимание! Удачи! */
