@font-face {
	font-family: boem;
	src: url('../fonts/EtBoemRU.ttf');
}

body{
	font-family: Times;
	font-size: 20px;
	background: #ffffff;
	text-align: center;
	margin: 0px;
	color: #666666;
}

a{
    color: #4a0507;
}

.richenza{
	height: 440px;
	position: fixed;
	margin-left: -676px;
	top: 25px;
}

.piedestal{
	position: fixed;
	margin-left: -770px;
	top: 364px;
}

.container{
	position: fixed;
	background: #ffffff;
	width: 1024px;
	margin: 0 auto;
	top: 0;
	left: 0;
	right: 0;
}

.main{
	text-align: left;
	width: 1024px;
	margin: auto;
}

.content{
	padding: 16px;
	margin-top: 136px;
	background: #ffffff;
}

header h1.normal{
	position: relative;
	text-transform: uppercase;
	color: #4a0507;
	font-weight: bold;
	font-size: 38px;
	z-index: 10;
	margin: 14px 0 0 8px;
}

header h1.shadow{
	position: relative;
	font-size: 54px;
	font-family: boem;
	color: #d9afa1;
	margin: -24px 0 -48px 8px;
	font-weight: normal;
	z-index: 5;
}

.menu ul {
	width: 1024px;
	display: table;
	table-layout: fixed; /* optional, for equal spacing */
	padding: 0;
}

.menu ul li{
	display: table-cell;
	text-align: center;
	vertical-align: middle;
	text-transform: uppercase;
	color: #4a0507;
	font-weight: bold;
	font-size: 20px;
	background: #f0f0f0;
	border-right-width: 2px;
	border-right-style: solid;
	border-image: linear-gradient(#f0f0f0, #d9afa1, #f0f0f0) 1 100%;
}

.menu ul li:last-child{
	background: linear-gradient(to right, #f0f0f0, #f0f0f0, #ffffff);
	border-right: none;
}

.menu ul li:first-child{
	background: linear-gradient(to left, #f0f0f0, #f0f0f0, #ffffff);
}

.menu ul li div{
	display: table;
	table-layout: fixed;
	width: 100%;
	height: 64px;
}

.menu ul li div a{
	position: relative;
	display: table-cell;
	width: 100%;
	padding: 0 8px;
	color: #4a0507;
	font-weight: bold;
	text-decoration: none;
	vertical-align: middle;
	z-index: 9;
}

.menu ul li:hover{
	background: #f6eae5;
}

.menu ul li:first-child:hover{
	background: linear-gradient(to left, #f6eae5, #f6eae5, #ffffff);
}

.menu ul li:last-child:hover{
	background: linear-gradient(to right, #f6eae5, #f6eae5, #ffffff);
}

.menu ul li div a.selected{
	display: table-cell;
	width: 100%;
	color: #4a0507;
	font-weight: bold;
	text-decoration: none;
	vertical-align: middle;
	background: #f6eae5;
	padding: 0 8px;
}

.menu ul li:first-child div a.selected{
	background: linear-gradient(to left, #f6eae5, #f6eae5, #ffffff);
}

.menu ul li:last-child div a.selected{
	background: linear-gradient(to right, #f6eae5, #f6eae5, #ffffff);
}

.menuico{
	display: none;
}

.image{
	display: block;
	width: 242px;
	height: 264px;
	float: left;
	text-align: center;
    text-decoration: none;
}

.image div{
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    width: 242px;
    height: 224px;
}

.image img {
	border: solid 1px #666666;
	max-width: 90%;
}

.coatofarms{
	display: block;
	width: 240px;
	margin: 4px;
	float: left;
	text-align: center;
	height: 400px;
}

.coatofarms img{
	width: 95%;
}

.coatofarms h2{
	margin: 0;
}

.coatofarms{
	text-decoration: none;
	color: #666666;
}

.invisible{
    display: none;
}

.pswp-thumbnail {
	float: left;
	width: 232px;
	height: 218px;
	margin: 7px;
	cursor: pointer;
	vertical-align: middle;
	text-align: center;
}

.pswp-thumbnail img {
	max-width: 90%;
	border: solid 1px #666666;
}

#frm-emailForm-url{
	display: none;
}

label{
	font-size: 20px;
	font-weight: normal;
}

input{
	height: 32px;
	border: solid 1px #666666;
	border-radius: 4px;
	font-size: 20px;
	font-family: Times;
	color: #666666;
	width: 90%
}

.button{
	height: 48px;
	cursor: pointer;
}

textarea {
	border: solid 1px #666666;
	border-radius: 4px;
	font-size: 20px;
	font-family: Times;
	height: 142px;
	color: #666666;	width: 90%
}


#frm-emailForm table{
	width: 100%;
}

a.articles{
	color: #666666;
	text-decoration: none;
}

div#articles{
    margin-top: 72px;
}

footer{
	clear: both;
	color: #4a0507;
	font-size: 12px;
	margin-top: 64px;
}

.contactleft{
	float: left;
	width: 50%;
}

.contactright{
	float: right;
	width: 50%;
}

@media only screen and (max-width: 1024px) {

	h1{
		font-size: 32px;
	}

	h2{
		font-size: 28px;
	}

	h3{
		font-size: 26px;
	}

	h4,h5,h6{
		font-size: 22px;
	}

	header h1.normal{
		font-size: 14px;
		margin: 12px 0 0 4px;
	}

	header h1.shadow{
		font-size: 20px;
		margin: -18px 0 0 4px
	}

	div.main{
		position: relative;
		width: 100%;
	}

	.container{
		background: #f0f0f0;
		width: 100%;
	}

	.menu{
		display: none;
	}

	.menu ul{
		width: 100%;
		display: inline-block;
	}

	.menu ul li{
		width: 100%;
		display: inline-block;
	}

	.menu ul li div{
		display: table;
		table-layout: fixed;
		width: 100%;
		height: 64px;
	}

	.content{
		margin-top: 20px;
		padding: 4px;
	}

	.menuico{
		display: block;
		width: 32px;
		height: 32px;
		position: fixed;
		top: 0;
		right: 0;
		padding: 2px;
		z-index: 20;
		cursor: hand;
	}

	.menuico hr{
		color: #4a0507;
		background: #4a0507;
		height: 2px;
		border: none;
	}

	.menu ul li:last-child{
		background: #f0f0f0;
	}

	.menu ul li:first-child{
		background: #f0f0f0;
	}

	.menu ul li:first-child div a.selected{
		background: #f6eae5;
	}

	.menu ul li:last-child div a.selected{
		background: #f6eae5;
	}

	.menu ul li:first-child div a:hover{
		background: #f6eae5;
	}

	.menu ul li:last-child div a:hover{
		background: #f6eae5;
	}
}

@media only screen and (max-width: 480px) {

	.content{
		text-align: center;
	}

	p img{
		width: 97% !important;
		float: none !important;
	}

	.coatofarms{
		float: none;
		margin: 48px auto;
	}

	footer{
		font-size: 16px;
	}

	.image{
		width: 152px;
		height: 174px;
		margin-top: 32px;
	}

	.image div{
		width: 152px;
		height: 144px;
	}

	.pswp-thumbnail{
		width: 150px;
		height: 182px;
		margin: 16px 2px;
	}

	.contactleft{
		width: 100%;
	}

	.contactright{
		width: 100%;
	}
}
