* {
	margin: 0;
	padding: 0;
}

body {
background:url(img/background.png) repeat-x #f0f0f0;
font-family:Arial, Helvetica, sans-serif;
font-size: 14px;
color: #494848;
margin: 0px;
padding: 0px;
}

.news .text {
	border: 1px solid transparent;
}

textarea {
	border: none;
	background-color: #f0f0f0;
	font-family:Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: #494848;
	margin: 0px;
	padding: 0px;
}

#main {
	width:960px;
	min-height:800px;
	margin:auto;
}

#header {
	height: 104px;
	width: 960px;
	position: relative;
}

#top {
	width: 1156px;
	height: 297px;
	background: url(img/book.png) no-repeat;
	position: relative;
	left: -98px;
}
#top_belka {
	background:url(img/pattern.png) repeat-x;
}


#logo{
	width:365px;
	height:65px;
	background:url(img/logo.png) no-repeat;
	position: absolute;
	top: 20px;
}

#menu_pat{
	position:absolute;
	right: 118px;
	background:url(img/menu_pattern.png) no-repeat;
	width:289px;
	height:104px;
}

#menu {
	position: absolute;
	right: 50px;
	top: 45px;
}
#menu a{
	float: right;
	display: block;
	background:url(img/menu.png);
	height: 24px;
	color: transparent;
}

#menu .active {
	height: 58px;
}

#menu .opis {background-position: -380px 0; width: 55px;}
#menu .katalog {background-position: -290px 0; width: 80px;}
#menu .zbiory {background-position: -180px 0; width: 102px;}
#menu .regulamin {background-position: -104px 0; width: 68px;}
#menu .o_nas {background-position: -5px 0; width: 95px; }

#menu .o_nas:hover, #menu .o_nas.active {background-position: -5px -26px;}
#menu .regulamin:hover, #menu .regulamin.active {background-position: -104px -26px;}
#menu .zbiory:hover, #menu .zbiory.active {background-position: -180px -26px;}
#menu .katalog:hover, #menu .katalog.active {background-position: -290px -26px;}
#menu .opis:hover, #menu .opis.active {background-position: -380px -26px;}





#contect_text{
position:absolute;
margin: 450px 0 0 0;
width: 960px;
min-height: 400px;
}


#prenum_outer {
	float: right;

	margin: 15px;
	border: 1px solid #ACACAC;
}

#prenum{
	
	width: 200px;
	background-image:url(img/background_pre.png);
	background-repeat: no-repeat;
	background-position: 0 0;
	background-color: #DFDFDF;
	border: 1px solid white;
	
	font-size: 12px;
	 /* 15px +1px outline */
	padding: 10px;
	padding-top: 0;	
}

#prenum div {
	overflow: auto;
	height: 300px;
}
#prenum p{
	background:url(img/arrow.png) no-repeat left ;
	margin: 2px 0 1px 0 ;
	padding-left: 15px;
}

#prenum h2{
	text-align: center;
	margin: 5px 0 10px 0;
	font-size:24px;
	color: #6b4610;
}

.news{
	border: none;
	background: url(img/pattern.png) repeat-x center top;
	position: relative;
}

#newsy{
	margin-top: 15px;
	min-height: 300px;
	width: 704px;
}

#newsy div {
	max-width: 704px;
}

#podstrona{
	margin-top: 15px;
	min-height: 300px;
	width: 960px;
}
#podstrona div {
	max-width: 704px;
}

.zdj_r{ 
float: right; 

}

.news h2{
	font-size: 18px;
	color: #88550c;
	margin: 8px;
	margin-bottom: 4px;
	padding-top: 15px;
	height: 25px;
	background:url(img/ico.png) no-repeat left bottom;
	padding-left: 35px;
}

.news .data {
	position: absolute;
	right: 17px;
	top: 17px;
	font-size: 11px;
	color:#666666;
	text-align:right;

}

.news span {
	display: none;
	visibility: hidden;
}

.news .text {
	padding: 6px;
	width: 715px;
	margin-bottom: 25px;


}

#footer {
	position: relative;
	clear: both;
	width:960px;
	background: url(img/pattern.png) repeat-x;
	min-height: 60px;
	margin: 0;
	font-size:12px;
	color: #959593;
}

#footer a {
	color: #959593;
	text-decoration:none;
}

#quick_menu {
	position:absolute;
	top: 15px;
	left: 50px;
}

#quick_menu a:hover {
	text-decoration: underline;
	color:#88550c; 
}
#quick_menu a {
	padding:0 0 0 20px;

}

#copyright{
	position:absolute;
	top: 15px;
	right: 50px;
}


hr{
background:url(img/pattern.png) repeat-x;
width:auto;
height:15px;
border: none;




}
