html {height: 100%;
}


body {
	background-color: #3B3636;
	color: #CCCCCC;
	height:100%;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	padding-right: 2em;
	padding-bottom: 0;
	padding-left: 2em;
}

#wrapper {
	position: relative;
	min-height:100%;
}

* html #wrapper {
		height:100%;
		}

#header {
}

#title-en {
	background-image: url(img/title-en.jpg);
	height: 13.5em;
	background-repeat: no-repeat;
	background-position: center bottom;
}

#title-bg {
	background-image: url(img/title-bg.jpg);
	height: 13.5em;
	background-repeat: no-repeat;
	background-position: center bottom;
}

#menu1 {
	text-align: center;
	margin-top: 0.3em;
}

#menu1 ul {
	display: inline;
	margin: 0px;
	padding: 0px;
	}

#menu1 li {
	display: inline;
	margin: 0px;
	padding: 0px;
}

#menu1 li a {
	text-decoration: none;
	line-height: 30px;
	font-size: 14px;
	color: #A29797;
	padding-top: 0;
	padding-right: 5px;
	padding-bottom: 0;
	padding-left: 7px;
	border-left-width: 1px;
	border-left-style: dotted;
	border-left-color: #A29797;
}

#menu1 li.first  a {
	border:none;
	}

#menu1 li a:hover {
	color: #DDCCCC;
}

#menu2 {
	text-align: center;
	height: 20px;
	margin-bottom: 1.2em;
}

#menu2 ul {
	display: inline;
	margin: 0px;
	padding: 0px;
	}

#menu2 li {
	display: inline;
	margin: 0px;
	padding: 0px;
}

#menu2 li a {
	text-decoration: none;
	line-height: 20px;
	font-size: 14px;
	color: #A29797;
	padding-top: 0px;
	padding-right: 0.5em;
	padding-bottom: 0px;
	padding-left: 0.5em;
	border-left-width: 1px;
	border-left-style: dotted;
	border-left-color: #A29797;

}

#menu2 li.first  a {
	border:none;
	}

#menu2 li a:hover {
	color: #DDCCCC;
	}

#menu1 .active-trail {
color: #DDCCCC;
}

#menu2 .leaf .active {
color: #DDCCCC;
}

body.path-publikatsii #menu2 .first a,
body.path-publications #menu2 .first a {
color: #DDCCCC;
}

#page {
	padding-bottom: 7.5em;
}

#content {
}

#content * {
	font-size: 14px;
}

#galleria-content {
	text-align: center;
}

#galleria-content .item-list {
	float: left;
	width: 100%;
	overflow: hidden;
	position: relative;
	padding-bottom: 1px;
}

.item-list ul {
	float: left;
	text-align: center;
	position: relative;
	left: 50%;
	clear: left;
	margin: 0px;
	padding: 0px;
}

.item-list li {
	display: block;
	float: left;
	position: relative;
	right: 50%;
}


.item-list li img.imagecache-galleria-thumbmail {
	border: 1px solid #ABA3A3;
}

.item-list li.active img {
	border: 1px solid #7B6F6F;
}

.item-list .galleria li {
height:62px;
width:62px;
margin:0 5px 5px 0;
}

#galleria-content .caption  {
	padding-top: 10px;
	padding-bottom: 20px;
	display: block;
	color: #ABA3A3;
}

#footer {
	position: absolute;
	bottom: 18px;
	width: 100%;
	clear: both;
}

#block-block-1 {
	text-align: center;
	width: 100%;
	font-size: 14px;
	color: #A29797;
}

#block-block-1 p {
	margin: 0px;
	padding: 0px;
}

#block-block-1 a {
	font-size: 14px;
	color: #A29797;
	text-decoration: none;
}

#block-block-1 a:hover {
	color: #DDCCCC;
	text-decoration: underline;
}

#block-block-3 {
	text-align: center;
	width: 100%;
	color: #7B6F6F;
	margin-top: 15px;
}

#block-block-3 p {
	margin: 0px;
	padding: 0px;
}

#block-block-3 a {
	color: #706565;
	text-decoration: none;
}

#block-block-3 a:hover {
	color: #A29797;
}

/* ============================= Contact page*/

#contact-mail-page {
	width: 700px;
	margin-right: auto;
	margin-left: auto;
}

#contact-mail-page h3 {
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #A19796;
	padding-bottom: 3px;
}

#contact-mail-page ul {
	margin-bottom: 1.5em;
}

#contact-mail-page #edit-name-wrapper {
	margin-top: 1.5em;
}

#contact-mail-page .resizable-textarea {
	width: 100%;
}

/* ============================= Snimki Page*/

body.path-snimki,
body.path-photos  {
	width: 60em;
	margin-right: auto;
	margin-left: auto;
}

body.path-snimki #content,
body.path-photos #content {
	padding-top: 10px;
}

 