body {
	/*background: url(../images/bg.png) #000;*/
	background: url(../images/page.jpg) #000;
	color: #ccc;
	font: 12px Arial, Verdana, Helvetica;
}

header, nav, article, footer {
	display: block;
	clear: both;
}

header, nav > div, article, footer {
	width: 960px;
	margin: 0 auto;
}

article {
	width: 920px;
}

hr {
	color: #555;
	background-color: #555;
	border: 0px none;
	height: 1px;
	clear: both;
	margin: 0;
}

hr.footer {
	width: 980px;
	margin: 0 auto;
}

.active, .active a, .phone_pref {
	color: #ffa31a;
}

/* clearfix*/
header:after,
nav:after,
article:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}

header a, nav a, footer a {
	text-decoration: none;
	color: #aaaaaa;
}

header a:hover, nav a:hover, footer a:hover {
	color: #fff;
}

header {
	margin-top: 10px;
	position: relative;
}

header > a {
	position: absolute;
	left: -10px;
}

header > h1 {
	float: left;
	margin: 17px 0 30px 145px;
	font: 36px Georgia;
	font-variant: small-caps;
}

header > h1 > span {
	display: block;
	font: 16px Arial, Verdana, Helvetica;
	color: #aaaaaa;
}

header > ul.contacts {
	float: right;
	list-style: none;
	margin-top: 29px;
	text-align: right;
}

header > ul.contacts > li.phone {
	font-size: 24px;
	margin-bottom: 2px;
}

header > ul.contacts > li.mail {
	font-size: 16px;
}

nav {
	margin: 0 0 85px;
	background-color: #040404;
}

nav > div > ul {
	margin-left: 135px;
	float: left;
}

nav > div > ul > li {
	float: left;
}

nav > div > ul > li > a {
	display: block;
	padding: 10px 15px;
	font-size:13px;
}

nav > div > ul > li > a:hover {
	background: url(../images/bg.png) #000;
	-moz-box-shadow: inset 0 0 10px 2px rgba(0,0,0,1);
	-webkit-box-shadow: inset 0 0 10px 2px rgba(0,0,0,1);
	box-shadow: inset 0 0 10px 2px rgba(0,0,0,1);
}

nav > div > p {
	float: right;
	margin-top: 10px;
}

article {
	margin-bottom: 35px;
}

footer {
	color: #aaaaaa;
}

footer > p {
	margin-top: 10px;
}

footer > ul.contacts {
	float: right;
	list-style: none;
	text-align: right;
	font-size: 18px;
}

article a {
	text-decoration: none;
	color: #ffa31a;
}
article a:hover {
	text-decoration: underline;
}

article h1 {
	font-weight: normal;
	text-transform: uppercase;
	color: #ffa31a;
	font-size: 16px;
	margin: 1.3em 0;
}

article h2 {
	font-weight: normal;
	text-transform: uppercase;
	color: #ffa31a;
	font-size: 16px;
	margin: 1.3em 0;
}

article {
	font-size: 14px;
	line-height: 1.4;
}

article p {
	color: #ccc;
	margin: 1.3em 0;
}

article ul, article ol {
	margin-bottom: 1.1em;
	margin-top: 1.1em;
	padding-left: 40px;
}

article li {
	line-height: 1.4;
}

#main_page h2, #gallery h2 {
	margin-top:0;
}

#main_page {
	float: left;
	width: 50%;
}

#gallery {
	float: right;
	width: 40%;
}

#gallery > ul {
	list-style: none;
	padding:0;
}

#gallery > ul > li {
	display: inline;
	margin-right: 15px;
}

#gallery > ul > li > a {
	opacity: 0.5;
}

#gallery > ul > li > a > img {
	-moz-box-shadow: 3px 3px 5px rgba(0,0,0,0.5);
	-webkit-box-shadow: 3px 3px 5px rgba(0,0,0,0.5);
	box-shadow: 3px 3px 5px rgba(0,0,0,0.5);
}

#gallery > ul > li > a:hover {
	opacity: 1;
}

.note, .hint {
	color: gray;
	font-size: 0.9em;
}

.price {
	border-collapse: collapse;
	font-size: 11px;
}

.price th, .price td {
	vertical-align: middle;
	border: 1px solid #606060;
	padding: 5px;
}

.price th {
	text-align: center;
	font-weight: bold;
}

.price td.h {
	border: none;
	color: #ffa31a;
	font-size: 14px;
}

.form input[type="text"], .form textarea {
	background-color:#ddd;
	border:none;
	padding:5px;
}

.form input[type="submit"] {
	padding:10px 15px;
}

.form td {
	padding:3px 0;
}

.errorMessage {
	color:red;
	font-size:0.9em;
}