html{
	width: 100%;
}

* html{ /*For IE*/
	padding: 0 10px;
}

body{
	max-width: 66em;
	margin: 10px auto;
	font-family: sans-serif;
	color: black;
	background: white url('images/binarne_cisla.png');
}

.cleaner{
	clear: both;
}

#logo{
	float: left;
	margin: 0 10px 10px 0;
}

#logo img{
	border: none;
}

#top{
	display: block;
	padding: 0;
	margin: 0;
	border-top: 1px solid white;
}

#top img{
	border: 0;
}

#top-menu h1{
	font-size: 120%;
	font-weight: bold;
	float: left;
	padding: 5px 10px;
	margin: 0;
	background-image: url('images/80.png');
	color: inherit;
}

#top-menu ul{
	float: right;
	padding: 0;
	margin: 0;
}

#top-menu li{
	float: left;
	padding: 0;
	list-style: none;
	margin: 0;
}

#top-menu a{
	margin: 5px 10px 0;
	padding: 5px 20px;
	display: block;
	border: 2px solid black;
	text-decoration: none;
	font-size: 80%;
	position: relative;
}

#top-menu a.selected{
	font-weight: bold;
	border-bottom: none;
	padding-bottom: 15px;
	margin-bottom: -2px;
	z-index: 100;
}

#top-menu a:hover{
	border-bottom: none;
	padding-bottom: 13px;
}

#top-menu a.selected:hover{
	border-bottom: none;
	padding-bottom: 15px;
}

* html * #sidebar{
	margin: 0 5px 5px 5px;
} 


#sidebar{
	clear: right;
	float: right;
	width: 20%;
	padding: 10px;
	margin: 0 10px 10px 10px;
	border: 2px solid black;
	color: inherit;
	background-color: white;
	position: relative;
	z-index: 50;
	
}

#top-info-bar{
	border: 2px solid black;
	border-right: none; 
	background-image: url('images/80.png');
	padding: 5px;
	margin: -12px 0 0 -12px;
	left: -300%;
	width: 300%;
	position: absolute;
}

#top-info-bar a{
	text-decoration: underline;
	color: #03C;
}

#top-info-bar a:visited{
	color: #018; 
}

#top-info-bar a:hover{
	text-decoration: none;
}

* html #top-info-bar{ /*IE fix*/
	margin: -12px 0 0 0;
	padding: 5px 53px 5px 5px;
}

#category-logo{
	float: right;
}

#sidebar h2{
	font-size: 120%;
	border-bottom: 1px dashed black;
}

#sidebar dl, #sidebar dl a{
	/*for IE*/
	position: relative;
}

#sidebar dl a{
	display: block;
	padding: 3px;
	margin: 3px;
	text-align: center;
}

#sidebar dl a:visited{
	color: inherit;
	background-color: #CCC;
}

#sidebar dl a.selected, #sidebar dl a.selected:visited{
	font-weight: bold;
	border: 1px solid black;
	color: black;
	background-color: #CCC;
}

#sidebar dl a:hover{
	font-weight: bold;
}

#content{
	float: left;
	width: 70%;
	clear: left;
	background-image: url('images/80.png');
	padding: 10px;
	margin: 0 0 10px 0;
}

#content a{
	text-decoration: underline;
	color: #03C;
}

#content a:visited{
	color: #018; 
}

#content a:hover{
	text-decoration: none;
}

#content .hore{
	text-align: right;
}

#bottom{
	text-align: center;
	padding: 3px;
	clear: both;
	border: 2px dotted black;
	background-color: white;
}

#bottom a{
	text-decoration: underline;
	color: #03C;
}

#bottom a:visited{
	color: #018; 
}

#bottom a:hover{
	text-decoration: none;
}

#kewobar a {
	display: block;
}
