/* Общие для всех страниц стили */

* {
	margin:0; padding:0;
}
img {
	vertical-align:baseline;
	border:0;
}
a {
	text-decoration:underline;
	color:#d4a318;
}
a:hover {
	text-decoration:none;
	color:#787a77;
}
html {
	height:100%;
}
body {
	width:995px;
	height:100%;
	margin:0 auto;
	background:#FAFFF9;
}
.clear {
	clear:both;
}

#wrapper {
	float:left;
	position:relative;
	z-index:1;
	width:995px;
	min-height:100%;
	margin:0 0 -130px 0;
	background:url('/images/wrapper.gif') left top repeat-y #2c2a2b;
}

	#header {
		float:left;
		width:100%;
		background:#fff;
	}

		#header .logo {
			float:left;
		}
			#header .logo a {
				float:left;
				width:995px;
				height:254px;
				background:url('/images/header.jpg') left top no-repeat #84cffb;
			}

	#sidebar {
		float:left;
		display:inline;
		width:133px;
		margin:27px 0 0 88px;
		overflow:hidden;
	}

		#mainmenu {
			float:left;
		}
			#mainmenu .top {
				float:left;
				width:133px;
				height:34px;
				background:url('/images/mainmenu-top.gif') left top no-repeat;
			}
			#mainmenu .bottom {
				float:left;
				width:133px;
				height:12px;
				background:url('/images/mainmenu-bottom.gif') left top no-repeat;
			}

			#mainmenu ul {
				float:left;
				display:inline;
				width:127px;
				margin:0 0 0 1px;
				padding:10px 0 0 0;
				background:url('/images/mainmenu-bg.jpg') center top repeat-y;
				border-left:2px solid #d4a318;
				border-right:2px solid #d4a318;
			}
				#mainmenu ul li {
					float:left;
					clear:both;
					list-style:none;
				}
				#mainmenu ul li a {
					float:left;
					clear:both;
					width:107px;
					padding:0 6px 10px 14px;
					font:bold 12px/14px 'Tahoma', serif;
					color:#d4a318;
					text-decoration:none;
				}
				#mainmenu ul li a span {
					border-bottom:1px dashed #d4a318;
				}
				#mainmenu ul li a.current,
				#mainmenu ul li a:hover {
					color:#787a77;
				}
				#mainmenu ul li a.current span,
				#mainmenu ul li a:hover span {
					border-bottom:none;
				}
		#contact {
			float:left;
		}
			#contact a {
				float:left;
				width:133px;
				height:54px;
				margin:7px 0 0 0;
				background:url('/images/contact.gif') center top no-repeat;
			}

	#content {
		float:left;
		display:inline;
		width:664px;
		margin:27px 0 0 17px;
		background:url('/images/content-bg.jpg') left top repeat-y;
		overflow:hidden;
	}

		#content .top {
			float:left;
			width:632px;
			height:25px;
			padding:10px 0 0 32px;
			background:url('/images/content-top.gif') left top no-repeat;
			font:bold 12px/14px 'Tahoma' serif;
			color:#1e1e1e;
		}
		#content .content {
			float:left;
			padding:20px 20px 50px 32px;
		}
		#content .bottom {
			float:left;
			width:664px;
			height:16px;
			background:url('/images/content-bottom.gif') left top no-repeat;
		}

	#empty {
		float:left;
		clear:both;
		width:auto;
		height:100px;
	}

#footer {
	float:left;
	clear:both;
	display:inline;
	width:995px;
	height:130px;
	position:relative;
	z-index:2;
	background:url('/images/footer.gif') left bottom no-repeat;
}