html {
	background: url(../images/html_bg.png) center top;
}

body {
	width: 960px;
	margin: 0 auto;
	background: transparent;
	font-family: Trebuchet MS, sans-serif;
}

/* Basic start */

#content form ul {
	list-style: none !important;
}

#content form ul li {
	margin-top: 10px;
	padding-top: 10px;
	clear: both;
	background: url(../images/sidebar_divider.png) center top no-repeat;
}

#content form ul li label {
	display: block;
	width: 180px;
	line-height: 28px;
	font-style: italic;
	float: left;
}

#content form ul li label.required {
	font-style: normal;
}

#content form ul li label.required span.required {
	position: absolute;
	margin-left: -10px;
	color: #d20;
	font-size: 15px;
}

#content form ul li label.required span.error {
	font-style: italic;
	color: #d20;
}

#content form ul li input[type=text],
#content form ul li input[type=password],
#content form ul li textarea,
#content form ul li select {
	width: 300px;
	border: 1px solid #ddd;
	padding: 4px;
	color: #333;
	font: 12px Trebuchet MS, sans-serif;
}

#content form ul li textarea {
	height: 120px;
}

#content form ul li ul {
	float: left;
	margin: 0;
}

#content form ul li ul li {
	margin: 0;
	padding: 0;
	margin-bottom: 10px;
	background: none;
}

#content form ul li ul li input {
	float: left;
	margin-right: 10px;
	position: relative;
	top: 4px;
}

#content form ul li ul li label {
	float: left;
}

#content form p.error {
	clear: both;
	margin-left: 180px;
	border: 1px solid #6c0201;
	background: #a72b26;
	padding: 4px;
	-moz-border-radius: 3px;
	line-height: 100%;
	color: #fff;
	margin-bottom: 15px;
	position: relative;
	top: 5px;
}

/* Basic end */


#header {
	padding: 10px 0;
	position: relative;
}

#header h1 a {
	display: block;
	text-indent: -9999px;
	width: 358px;
	height: 68px;
	background: url(../images/logo.png) 0 0 no-repeat;
}

#header ul#locale {
	position: absolute;
	top: 0;
	right: 0;
}

#header ul#locale li {
	float: left;
}

#header ul#locale li a.flag {
	background: url(../images/flags.png) 0 0 no-repeat;
	display: block;
	width: 26px;
	height: 21px;
	text-indent: -9999px;
	margin: 10px 10px 10px 0;
}

#header ul#locale a.flag.fi { background-position: 0 -21px; }
#header ul#locale a.flag.fi:hover { background-position: -26px -21px; }

#header ul#locale a.flag.en { background-position: 0 0; }
#header ul#locale a.flag.en:hover { background-position: -26px 0; }

#header ul#locale a.flag.ru { background-position: 0 -42px; }
#header ul#locale a.flag.ru:hover { background-position: -26px -42px; }

#top_wrapper {
	height: 330px;
	background: url(../images/top_wrapper_bg.png) 0 0 no-repeat;
}

#top_wrapper ul#navigation {
	float: left;
	padding: 20px 0 0 20px;
	width: 240px;
}

#top_wrapper ul#navigation li a {
	display: block;
	line-height: 46px;
	font-size: 22px;
	color: #920804;
	text-decoration: none;
	padding-left: 54px;
	background: url(../images/button_arrow.png) 9px center no-repeat;
	border-bottom: 1px solid #BD9B4B;
	text-shadow: 1px 1px 0 #fdefcc;
}

#top_wrapper ul#navigation li a:hover {
	color: #aa3e3b;
}

#top_wrapper #splash {
	padding: 12px 20px 0 40px;
	text-align: right;
}

#top_wrapper #splash img {
	border: 5px solid #fff;
	margin-left: 5px;
}

#main {
	background: url(../images/content_bg.png) 0 0 no-repeat;
	min-height: 300px;
	height:auto !important;
	height: 300px;
	padding: 20px;
}

#sidebar {
	width: 240px;
	float: left;
}

#sidebar ul#news-widget li {
	font-size: 12px;
	line-height: 18px;
	padding-bottom: 15px;
	margin-bottom: 15px;
	background: url(../images/sidebar_divider.png) center bottom no-repeat;
}

#sidebar ul#news-widget li a.news-link {
	color: inherit;
	text-decoration: none;
}

#sidebar ul#news-widget li span.news-date {
	font: bold 10px Tahoma;
	color: #666;
	display: block;
}

#sidebar div.banner {
	text-align: center;
}

#content {
	width: 640px;
	margin-right: 40px;
	float: left;
}

#main {
	color: #333;
}

#main h1,
#main h2 {
	border-bottom: 1px solid #bd9b4b;	
	color:#920804;
	margin-bottom: 10px;
	text-transform: uppercase;
}

#main h1 {
	font-size: 24px;
	line-height: 30px;
}

#main h2 {
	font-size: 20px;
	line-height: 30px;
}

#main h1 span,
#main h2 span {
	color: #5d5d5d;
	margin-left: 5px;
	font: bold 14px Trebuchet MS;
}

#main p {
	font-size: 12px;
	line-height: 18px;
	margin-bottom: 18px;
}

#main {
	font-size: 12px;
	line-height: 18px;
}

#content ul {
	list-style: disc;
	margin: 10px 20px;
}

#content img {
	border: 5px solid #fff;
	margin-right: 20px;
	margin-bottom: 10px;
}

#content hr {
	height: 3px;
	clear: both;
	margin-bottom: 10px;
	border: 0;
	background: url(../images/hr_bg.png) center center repeat-y;
}

#footer {
	clear: both;
	background: url(../images/footer_bg.png) 0 0 no-repeat;
	padding-top: 30px;
}

#footer p {
	padding: 10px;
	font-size: 12px;
	color: #ccc;
	text-align: center;
	text-shadow: 0 0 3px #200;
}

#footer p a {
	text-decoration: none;
	border: 0;
	color: #ccc;
}

#footer p a:hover {
	color: #fff;
}

#minigallery {
	background: #ddd;
	margin: 0 20px;
	padding: 0 37px;
	height: 120px;
	position: relative;
}

#minigallery .minigallery-wrapper {
	width: 846px !important;
}

#minigallery .minigallery-wrapper li {
	margin: 10px 5px;
}

#minigallery .minigallery-navi {
	display: block;
	position: absolute;
	top: 0;
	height: 100%;
	width: 32px;
	background: url(../images/minigallery_navi_bg.png) 0 0 repeat-y;
}

#minigallery .minigallery-navi span {
	height: 28px;
	width: 32px;
	position: absolute;
	top: 50%;
	margin-top: -14px;
	display: block;
	background: url(../images/minigallery_navi_buttons.png) 0 0 no-repeat;
	text-indent: -9999px;
}

#minigallery .minigallery-prev span { background-position: -32px 0; }
#minigallery .minigallery-next span { background-position: -96px 0; }
#minigallery .minigallery-prev:hover span { background-position: 0 0; }
#minigallery .minigallery-next:hover span { background-position: -64px 0; }

#minigallery .minigallery-prev { left: 0; }
#minigallery .minigallery-next { right: 0; }

