@font-face {
	font-family: MidietBold;
	src: url('/static/img/Midiet_Sans_Medium.ttf') format('truetype');
}
@font-face {
	font-family: MidietLight;
	src: url('/static/img/Midiet_Sans_Light.ttf') format('truetype');
}

body {
	background: #ffd800;
	font: 90%/1.4 Helvetica, Arial, sans-serif;
	color: #333;
}


body.lang_latin #menu1,
body.lang_latin .header h1 a
{
	font-family: MidietLight, Helvetica, Arial, sans-serif;
}

body.lang_latin #page_title,
body.lang_latin .content h1,
body.lang_latin .content h2,
body.lang_latin .content h3,
body.lang_latin .nice_h1,
body.lang_latin .nice_h2,
body.lang_latin .nice_h3,
a.style-h1, a.style-h2, a.style-h3,
body.lang_latin .page_content legend
{
	font-family: MidietBold, Helvetica, Arial, sans-serif;
}


/* links */
a {
	color: #2668df;
}
a:hover {
	color: #5087e9;
}
a:active {
	color: #1654c4;
}


/* rounded corners */
#languages li.active a,
#menu1 .menuitem a,
#menu2 {
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}


/* content container */
.container_wrapper {
	width: 840px;
	margin: 0 auto;
}

.content h1, .style-h1, .nice_h1 {
	color: #b40000;
	font-size: 1.8em;
}

.content h2, .style-h2, .page_content legend, .nice_h2 {
	color: #b40000;
	font-size: 1.4em;
}

.content h3, .style-h3, .nice_h3 {
	color: #b40000;
}

.content p, .style-p {
	color: #333;
}

.content ul {
	margin: 1em 0;
}
.content ul li {
	list-style: circle outside;
}

.content ol {
	margin: 1em 0;
}
.content ol li {
	list-style: decimal outside;
}

.content small {
	font-size: 12px;
	color: #766400;
}

.bodyarea {
	background: #ffde28;
	border-top: 1px #d7b100 solid;
}

.container {
	padding: 30px 20px;
}
.container.with_menu2 {
	padding: 30px 0 30px 20px;
}


.menu_container {
	background: #b40000;
	border-top: 1px #c70000 solid;
	border-bottom: 1px #800 solid;
}


/* header */
.header {
	border-bottom: 1px #800 solid;
	background: #b40000 url('/static/img/bg.gif') repeat-x;
	min-height: 169px;
}

.header .container_wrapper {
	background: url('/static/img/hdr-photo.png') bottom right no-repeat;
}

#site_title {
	overflow: hidden;
	position: relative;
	height: 169px;
	width: 270px;
}

#site_title img {
	position: absolute;
	width: 270px;
	height: 170px;
	border: none;
	outline: none;
}

.header h1 a {
	font-size: 2em;
	line-height: 1.2;
	color: #fff;
	text-decoration: none;
}

#languages {
	float: right;
	margin: 15px 0;
	padding: 0;
}
	#languages li {
		display: inline-block;
		margin: 0;
		padding: 0;
		border-bottom: 1px #af0000 solid;
	}
		#languages li a {
			display: block;
			padding: 3px 7px;
			text-decoration: none;
			color: #fff;
		}
		#languages li.active a {
			background: #ffd800;
			color: #000;
			border-bottom: 1px #920000 solid;
		}


/* menus */
#menu1 {
	width: 800px;
	margin: 0 auto;
	padding: 4px 0;
	font-size: 1.2em;
	line-height: 1.5em;
}
	#menu1 .menuitem {
		display: block;
		float: left;
		margin: 0;
		padding: 0;
		text-shadow: #500 0 1px 0;
	}
		#menu1 .menuitem a {
			color: #fff;
			padding: 3px 10px 0px 10px;
			display: block;
			text-decoration: none;
		}
		#menu1 .menuitem a:hover, #menu1 .menuitem.hover a {
			background: #cd3b3b;
			text-shadow: #b52626 0 -1px 0;
		}

	#menu1 .menuitem.active a {
		background: #ffd800;
		color: #000;
		text-shadow: none;
	}
		#menu1 .menuitem.active a:hover {
			color: #000;
		}


/* content */
#page_title {
	font-weight: normal;
	font-size: 2.4em;
	line-height: 1em;
	color: #b40000;
	text-shadow: #fff7b6 0 1px 0;
}

.content_container {
	margin: 15px 0;
}

.container.with_menu2 .page_content {
	float: left;
	width: 580px;
}

#menu2 {
	float: right;
	width: 220px;
	margin: 0;
	padding: 0 0;
}
	#menu2 .menuitem {
		list-style: none;
		margin: 0;
		display: block;
	}
	#menu2 .menuitem a {
		padding: 0 0 0 10px;
	}
	#menu2 .menuitem.active a {
		background: url('/static/img/menu2cone.gif') left center no-repeat;
	}
	#menu2 .menuitem a span {
/*
		border-radius: 5px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
*/
	}
		#menu2 .menuitem a {
			display: block;
			margin: 0;
			text-decoration: none;
			color: #000;
		}
		#menu2 .menuitem a span {
			display: block;
			padding: 5px 10px;
			margin-top: 1px;
			background: #fff38c;
		}
		#menu2 .menuitem.active a span,
		#menu2 .menuitem.active a:hover span,
		#menu2 .menuitem.active.hover a span {
			background: #fff;
			color: #000;
			font-weight: bold;
		}
		#menu2 .menuitem a:hover span,
		#menu2 .menuitem.hover a span {
			background: #fff7cb;
		}
		
		
		#menu2 .menuitem #menu3 {
			padding: 0;
			margin: 0;
		}
			#menu2 .menuitem #menu3 .menuitem {
				padding-left: 0;
			}
			#menu2 .menuitem #menu3 .menuitem a {
				background: none;
				font-size: 80%;
			}
			#menu2 .menuitem #menu3 .menuitem a span {
				background: #fff;
				margin-top: 0;
				font-weight: normal;
			}
			#menu2 .menuitem #menu3 .menuitem a span:hover {
				color: #666;
			}
			#menu2 .menuitem #menu3 .menuitem.active a span {
				font-weight: bold;
			}
		


/* footer */
.footer {
	font-size: 90%;
	color: #b09500;
	margin: 0 auto;
	border-top: 1px #ccad00 solid;
	padding: 10px 0 20px 0;
}
	
	.footer .footer_content {
		margin: 0 auto;
		width: 800px;
	}

		.footer .footer_content div {
			display: block;
			float: left;
			margin-right: 20px;
		}
		.footer .footer_content div.copyright {
			margin-right: 5px;
		}



/* legacy */

.page_content fieldset, .page_content legend {
	border: 2px #f1cc00 solid;
}
 
.page_content legend {
	padding: 3px 5px;
	margin-bottom: 25px;
	margin-left: 20px;
}
 
.page_content label {
	width: 150px;
	padding: 4px 8px 4px 0;
	display: block;
	text-align: right;
	float: left;
}
.page_content fieldset input {
	float: left;
}
 
.page_content fieldset div.button {
	padding-left: 150px;
}
 
.page_content table {
	background-color:#ffec13;
	border-collapse: collapse;
}

.page_content .field input[type=submit] {
	margin: 10px 20px 10px 160px;
}

.page_content table tr th {
	background-color:#fff446;
	color:#fff;
	text-align: left;
}
 
.page_content table tr td {
	background-color:#ffd800;
	padding: 10px 20px 10px 10px;
	border: 1px #b09500 solid;
}

.page_content .column {
	float: left;
	margin-right: 20px;
}


body.loginbox .loginform {
	width: 130px;
}
body.loginbox {
	background: #ffde28;
}





.content.content_photos {
	text-align: center;
}

.content.content_photos .photo {
	width: 160px;
	display: block;
	float: left;
	list-style: none;
	margin: 0 0 10px 0;
	padding: 0;
}
	.content.content_photos .photo a {
		display: block;
		text-decoration: none;
	}
	.content.content_photos .photo a img {
		width: 160px;
	}
	.content.content_photos .photo a .description {
		color: #333;
	}


.content_textwithphotos.photosblock {
	float: right;
	width: 160px;
	margin-left: 20px;
}