html {
	height:100%;
	margin-bottom:1px;
}
body {
	background-image: url("../images/pattern5.png"); 
	background-repeat:repeat; 
	scrollbar-arrow-color:#98B675; 
	scrollbar-track-color:#E2EAC6;
	scrollbar-face-color:#E2EAC6;
	scrollbar-highlight-color:#98B675; 
	scrollbar-shadow-color:#98B675;
	scrollbar-3dlight-color:#E2EAC6;
	scrollbar-darkshadow-color:#E2EAC6; 
	text-align:center;
	
}
h1 {
	clear:both;
	font-weight:bold;
	background-color:#A3BE82;
	color: #E2EAC6;
	font-size:large;
	text-align: left;
	vertical-align: middle;
	white-space: normal;
	margin:0em 0em 0em 0em;
	padding:0em 0em 0em 0em;
}
p {
	text-indent:2em;
}
a:link, a:visited {
	color: #333333;
	text-decoration: none;
}
a:hover {
	background-color: #333333;
	color: #E2EAC6;
	text-decoration: none;
}
div#container {
	background-image: url("../images/md_body.png"); 
	background-repeat:repeat-y;
	width:780px; 
	margin:-0.7em auto;
	text-align:justify;
}
div#navigation1 {
	width:9.1em;
	float:left;
	margin:3em auto auto 5em;
	background-color:#BFB282;
	border-style:solid;
	border-width:thin;
	border-color:#98B675;
	font-family:Verdana, Arial, Helvetica, sans-serif;
	font-weight:bold;
	font-size:small;
	color:#333333;
	padding-top:0.2em;
	padding-bottom:0.2em;
	text-shadow:#E2EAC6;
	line-height:1.6em;
}
div#searchbar{
	background-color:#A3BE82;
	border-style:solid;
	border-width:thin;
	border-color:#98B675;
	width:9.1em;
	height:auto;
	float:left;
	font-family:Verdana, Arial, Helvetica, sans-serif;
	font-weight:bold;
	font-size:small;
	margin:16em auto auto -9.3em;
	color:#333333;
	padding-top:0.2em;
	padding-bottom:0.4em;
	line-height:1.6em;
}
div#searchbar p {
	text-indent:0.4em;
	margin:0px;
	padding:0px;
}
div#navigation1 a, a:visited {
	text-indent:0.4em;
	display:block;
	width:100%;
	vertical-align:middle;
}
div#navigation1 a:hover {
	background-color: #333333;
	color: #E2EAC6;
	text-decoration: none;
}	

div#navigation2 {
	text-align:right;
	width:528px;
	float:right;
	margin:-0.5em 53px 0px 0px; 
	background-color:#BFB282;
	font-family:Verdana, Arial, Helvetica, sans-serif;
	font-weight:bold;
	font-size:small;
	color:#333333;
	white-space:nowrap;
	border-style:solid;
	border-width:thin;
	border-color:#98B675;

}
div#navigation2 ul {
	text-align:center;
	margin:0.2em 0.5em 0.4em 0px; 
	float:right;
}
div#navigation2 li {
	display:inline;
	text-align:center;
	list-style-type:none;
	margin:0;
	padding:0;
	
}
div#navigation2 li a {
	display:inline;
	border-right : 2px solid #333333;
	text-decoration : none;
	text-align:center;
	padding : 0 0.25em 0 0.25em;
}
div#navigation2 li#novosti a {
	border-left: 2px solid transparent;
	border-right : 2px solid #333333;
}	
div#navigation2 li#kontakt a {
	border-right : 2px solid transparent;
	padding-right: 0em;
}	
div#navigation2 li a:hover {
	background-color: #333333;
	color: #E2EAC6;
}	
div#content {
	height: auto !important;
	min-height:314px;
	width:505px; 
	float:right;
	margin:1.4em 5em 0px 0px; 
	font-family:Verdana, Arial, Helvetica, sans-serif;
	font-size:small;
	color:#333333;
}
div#p a {	
	text-decoration: underline;	
	display:none;
}
div#content1 {
	text-align:right;
	height: auto !important;
	width:505px; 
	float:right;
	padding:0px; 
	margin:0em 5em 0px 0px; 
	font-family:Verdana, Arial, Helvetica, sans-serif;
	font-size:small;
	color:#333333;
}
div#header {
/*	position:relative;*/
	height:120px;
	background-image: url("../images/md_header1.png"); 
	background-repeat:no-repeat;
}
div#content img{
	margin:1.2em 0em 0.5em 0em;
	border-width:thin; 
	border-style:solid; 
	border-color:#BFB282; 
} 	
div#content img#right{
	margin-left:0.5em;
} 	
div#content img#left{
	margin-right:0.5em;
} 	

div#footer {
	height:107px; 
	background-image: url("../images/md_footer1.png"); 
	background-repeat:no-repeat; 
	clear:both;
}
div#footer_content {
	float:left;
	width:780px;
	text-align:center;
	margin-top:5em;
	font-family:Verdana, Arial, Helvetica, sans-serif;
	font-weight:bold;
	font-size:smaller;
	color:#333333;
}
input, textarea {
	border: #A3BE82 1px solid;
	margin-right:0px;
}
textarea{
	height:250px;
	width:500px;
	overflow:auto;
}
