body {
	background: #5ab731 url("img/grad.jpg") repeat-x;
	/*padding-bottom: 73px;*/
	font-family: Verdana, Tahoma, Geneva, sans-serif;
	font-size: 12px;
	color: #0C1210;
}
#wrapper {
	text-align: left;
	margin: 275px auto -8px auto;
	padding: 0px;
	width: 901px;
	background: url("img/background.jpg") repeat-y 1px 0;
}
.home{
    display: block;
    width: 185px;
    height: 200px;
    position: absolute;
    top: 59px;
}
#header {
	margin: 0 0 0 0;
	background: #41A71D;
	position: relative;
}
	#hdr_top{
		position: absolute;
		width: 900px;
		height: 300px;
		background-image: url("img/header.jpg");
		background-repeat: no-repeat;
		background-position: -66px 0px;
		top: -275px;
	}
	#hdr_left{
		position: absolute;
		width: 65px;
		height: 285px;
		background-image: url("img/header.jpg");
		background-repeat: no-repeat;
		background-position: -1px 0px;
		top: -275px;
		left: -65px;
	}
	#hdr_right{
		position: absolute;
		width: 123px;
		height: 564px;
		background-image: url("img/header.jpg");
		background-repeat: no-repeat;
		background-position: -965px 0;
		top: -275px;
		right: -121px;
	}
.lang{
    background: url("../img/lang2.png") no-repeat scroll 0 0 transparent;
    height: 20px;
    position: absolute;
    right: 0;
    width: 49px;
	padding: 0 6px;
}
.lang img{
	 padding: 3px 4px;
	 margin: 0;
}
.lang img.zmien{
    -moz-opacity: 0.6; /* FF */
    filter: alpha(opacity=60); /* IE */
    opacity: 0.6;   /* opera */	
}		
#sidebar {
	float: left;
	width: 189px;
	background-image: url("img/header.jpg");
	background-repeat: no-repeat;
	background-position: -66px -275px;
	min-height:510px; /* min-height fix */
	height:auto !important; /* min-height fix */
	height:510px; /* min-height fix */
	padding: 40px 0 35px 0;
}
#maincol {
	margin: 0;
	float: left;
	width: 588px; /* bez paddingow: 560px; */
	padding: 15px 70px 30px 54px;
	height: 1%; /* Holly hack for Peekaboo Bug */
	background-image: url("img/header.jpg");
	background-repeat: no-repeat;
	background-position: -255px -275px;
	min-height:510px; /* min-height fix */
	height:auto !important; /* min-height fix */
	height:510px; /* min-height fix */
}
.mod_ymovie{margin: 15px 0 20px 55px;}
#footer {
	position: relative;
	clear: both;
	background: #C3C177;
	height: 119px;
	background-image: url("img/footer.jpg");
	background-repeat: no-repeat;
	background-position: 0px -161px;
        margin: 0 0 0 1px;
}
	#ftr_left{
		position: absolute;
		width: 188px;
		height: 32px;
		background-image: url("img/footer.jpg");
		background-repeat: no-repeat;
		background-position: 0 -129px;
		top: -32px;
		left: 0px;
	}
	#ftr_right{
		position: absolute;
		width: 87px;
		height: 223px;
		background-image: url("img/footer.jpg");
		background-repeat: no-repeat;
		background-position: -901px 0px;
		top: -161px;
		right: -87px;
	}
	#ftr_content{
	    color: #666539;
	    font-size: 0.8em;
	    height: 30px;
	    left: 192px;
	    position: absolute;
	    right: 0;
	    text-align: left;
	    top: 7px;
	    width: 490px;
	}
			#ftr_content img{margin: 1px;}
	#ftr_login{
		position: absolute;
		top: 14px;
		right: 58px;
		font-size: 80%;
		color: #316F14;
	}
	#ftr_login a{color: #316F14;}
	#ftr_login a:hover,#ftr_login a:active,#ftr_login a:focus{color: #3F9F13;}

	div#podpis{
		color: #CAFFB7;
		font-size:10px;
		left:7px;
		position:absolute;
		top:46px;
	}
		div#podpis a:link {color: #DCFFCF;}
		div#podpis a:visited{color: #DCFFCF;}
		div#podpis a:hover {color: #FFFFFF;}
		div#podpis img{ margin: 2px; border: 0;}

/* ------------- END LAYOUT ----------------------- */

/* ------------- FONTS ---------------------------- */

p{
	text-indent: 3em;
	letter-spacing: 0px;
	padding: 0 1ex 0 1ex;
	line-height: 1.5em;
	margin: 1em 0 0 0;
}

h1{
	color: #D41A2D;
	font-size: 3.2em;
	font-weight: bold;
	border-bottom: solid 2px #694734;
	margin: 0.7em 0 0.5em 0;
}

h2 {
	color: #D41A2D;
	font-size: 2em;
	font-weight: bold;
	margin: 0.5em 0 0.3em 0;
	clear: both;
}

h3{
	color: #D41A2D;
	font-size: 1.5em;
	font-weight: bold;
	margin: 0.5em 0 0.3em 0;
	clear: both;
}
h4{
	color: #000;
	font-size: 1.2em;
	font-weight: bold;
	margin: 0.53em 0 0.2em 0;
	clear: both;
}

a, a:link{color: #D41A2D;text-decoration: underline;}
a:visited{color: #D41A2D;}
a:hover,a:active,a:focus{color: #1E3F78;}

strong{ font-weight: bold;}
em{font-style: italic;}
abbr{border-bottom: dotted 1px; color: #0C1210; }

#maincol li {line-height: 1.5em; list-style-type: disc; list-style-position: outside; padding: 0 0 0 2px; margin: 1em 0 0 20px;}

/* ------------- END FONTS ----------------------- */
img{
	margin: 5px 10px;
	border: 1px solid #333;
}

/* ------------- NAVIGATION ---------------------------- */

#nav ul.menu_1{
	margin: 0 0 0 1px;
	font-size: 1.4em;
	background-image: url("img/menu_div.png");
	background-repeat: no-repeat;
	background-position: bottom center;
	list-style: none;
	margin-left: 1px;
	padding: 0;
	line-height: normal;
}
#nav ul.menu_2{
	list-style: none;
	padding: 0;
	margin: 0;
	}
#nav ul.menu_1 li{
	padding: 0;
	margin: 0;
	width: 187px;
	background-image: url("img/menu_div.png");
	background-repeat: no-repeat;
	background-position: top center;
	}
#nav ul.menu_1 a{
	color: #191D18;
	display: block;
	width: 170px;
	padding: 7px 3px 7px 14px;
	text-decoration: none;
	}
#nav ul.menu_2 a{padding: 4px 4px 4px 25px; width: 158px; font-size: 85%;}
/*#sidebar ul.menu_2 a{padding: 0px 4px 0px 25px; width: 214px; padding-left: 35px; font-size: 80%; font-weight: normal;}*/
#nav ul.menu_1 a:visited{color: #191D18;}
#nav ul.menu_1 a:hover{color: white; background: #2F8A0F;}
#nav ul.menu_1 a.active:hover{background: #2F8A0F url("img/menuitem.png") no-repeat 0 0;}
#nav ul.menu_1 a.active{position:relative; width: 179px; _width: 171px; height: 24px; color: white !important; background-image: url("img/menuitem.png"); background-color: #2F8A0F; background-position: top left;}
#nav ul.menu_2 a:hover{color: white; background: #2F8A0F;}
#nav ul.menu_2 a.active:hover{background: #6FB059;}
#nav ul.menu_2 a.active{position:relative; width: 158px; color: white; background: #6FB059; height: auto;}

/*#sidebar ul#admin a, #sidebar ul#superadmin a {background: #bbb; color: black; padding: 2px 3px 2px 14px; font-weight: bold; font-size: 70%;width: 170px;}*/
/*#sidebar ul#admin a:hover, #sidebar ul#admin a.active, #sidebar ul#superadmin a:hover, #sidebar ul#superadmin a.active {background: #555; color: white; width: 170px;}*/

/* ------------- END NAVIGATION ------------------------ */

