/*
Markup
*/

html, body {
	height:100%;
	min-height:550px;
	width:100%;
	min-width:800px;
	padding:0px;
	margin:0px;
	background:#fff;
}

/*
Бадяга
*/

.wrapper {
	position:relative;
	height:100%;
	width:100%;
}

.wrapper>* {
	margin-left:200px;
}

.dim {
	position:absolute;
	width:800px;
	height:550px;
	z-index:-1
}

#header {
	height:200px;
	margin-bottom:-200px;
	position:absolute;
	z-index:4;
}

#header p.contacts {
	margin:0px;
	padding:60px 0px 0px 10px;
	white-space:nowrap;
}

#content {
	height:100%;
	margin-top:0px;
	display:block;
}

.table {
	display:table;
	height:100%;
	width:100%;
	margin:0px;
	padding:0px;
}

.vabottom {
	margin:0px;
	padding:0px;
	height:550px;
	display:table-cell;
	vertical-align:bottom;
	text-align:right;
	font-size:0px;
}

/*
Fonts
*/

#menu {
	font-family: Georgia, sans-serif;
	font-style: normal;
	font-size:1.3em;
	color:#868A91;
	line-height:1.5;
}

.galleryparts {
	font-size:0.75em;
	letter-spacing:0.1em;
}

.galleryparts a {
	border-bottom:none!important;
}

#menu a {
	text-decoration: none;
	border-bottom: 0.05em dashed;
	color:#3B5278;
}

#menu a.language {
	font-size:0.7em;
	color:#49A9B5;
}

#menu a:hover, #menu a.language:hover {
	color:#A0C7D7;
}

#header p, div p.contact {
	font-family: Georgia, sans-serif;
	font-style: italic;
	font-size:1.6em;
	color:#3B5278;
	line-height:1.4em;
}

#header a {
	text-decoration: none;
	border-bottom: 0.1em dashed;
	color:#3B5278;
}

#header a:hover {
	color:#A0C7D7;
}

/*
Боковая менюшка, батюшка
*/

.menubar {
	position:fixed;
	height:100%;
	width:200px;
	background-color:#fff;
	z-index:5;
	overflow-y:auto;
	overflow-x:hidden;
}

.menubar a img {
	border:none;
	position:relative;
	bottom:1px;
	right:1px;
}

.menubar a img:hover {
	bottom:0px;
	right:0px;
}

#menu {
	list-style:none;
	margin:1em 0em 1em 1em;
	padding:0em 0em 0em 0em;
}

.gallery {
	white-space:nowrap;
}

#menu li.language {
	margin-top:4em;
}