/* CSS Document */

* {
	margin: 0px;
	padding: 0px;
	}

html, body {
	text-align: center;
	background-image:url(img/background.gif);
	background-repeat: repeat-x;
	background-color: #a2a1a1;
	font-family:Arial, Tahoma, Verdana, Helvetica, sans-serif;
	font-size: 13px;
	}
	
h1 {
	clear: both;
	text-align: left;
	font-size: 18px;
	font-weight: bold;
	width: 500px;
	height: 32px;
	color: #FFFFFF;
	padding-top: 6px;
	padding-bottom: 5px; 
	}	
	
h2 a{background:inherit;color:#fff;}

h3{ font-size: 16px; color: #FF0000; padding-top: 10px; padding-bottom: 10px;}
h3 a{background:inherit;color:#FF0000; padding-right: 5px;}

h4{ font-size: 12px; color: #000000; font-weight: normal;}
h4 a{color:#666;background:inherit;}	
	
h5 {
	font-size: 11px;
	color: #000000;
	font-weight: normal;
	}	
	
	
	
	
	
	
	

#container {
	width: 893px;
	margin: 0 auto;
	}
	
  #top {
  	width: 893px;
	height: 181px;
	clear: both;
	background-image:url(img/header1.jpg);
	}
	
  #main {
  	width: 893px;
	clear: both;
	background-image:url(img/background_content.gif);
/*	background-position: -64px 0px;
	background-position:top;	
	padding-left: 64px;
	border: solid 1px red;*/
	padding-left: 10px;
	}


    #right {
		width: 748px;
		float: left;
		text-align: left;
		padding-bottom: 15px;
		padding-left: 65px;
		padding-right: 80px;
		}
		
	
	#right ul {
		 padding-left: 20px;
		 padding-bottom: 10px;
		 }
		 
	#right a {
		color: #f00;
		font-weight: bold;
		text-decoration: none;
		font-size: 13px;
		}
		
	#right a:hover {
		color: #000;
		}

	#search {
		width: 300px;
		height: 40px;
		float: right;
		margin-right: 60px;
		clear: right;
		}
  
	#footer {
		font-size: 12px;
		color: #CCCCCC;
		width: 893px;
		height: 67px;
		padding-top: 40px;
		margin: 0 auto;
		clear: both;
		background-image:url(img/footer_background.gif);
		background-position: left top;
		margin-bottom: 10px;
		}
		
	#footer a {	
		color: #FFFFFF;
		font-weight: normal;
		text-decoration: none;
		}
		
	#footer a:hover {
		color: #CCCCCC;
		text-decoration: underline;
		}
p {
	padding-bottom: 10px;
	}
	
#ok {
	padding-top: 20px;
	color: #FF0000;
	}
	

#bodyGallery {
	border: solid 1px red;
	}
	
	
.QE_Link {
	float: left;
	clear: both;
	}
	
			
 /* *** Float containers fix:
 http://www.csscreator.com/attributes/containedfloat.php *** */ 
.clearfix:after {
content: "."; 
display: block; 
height: 0; 
clear: both; 
visibility: hidden;
}
 
.clearfix{display: inline-block;}

/* Hides from IE-mac \*/
* html .clearfix{height: 1%;}
.clearfix{display: block;}
/* End hide from IE-mac */ 

hr {
	size: 1px;
	height: 1px;
	padding: 0px;
	margin-bottom: 3px;
	}

ul.menu {
	float: left;
	list-style: none;
	font-family: Arial, Helvetica, sans-serif;
	padding-left: 55px;
	}
	
ul.menu li {
	float: left;
	}
	
ul.menu li a {
	padding-left: 15px;
	padding-right: 15px;
	height: 20px;
	display: inline;
	float: left;
	padding-top: 6px;
	padding-bottom: 10px;
	font-size: 13px;
	font-weight: bold;
	color: #000;
	text-transform: uppercase;	
	text-decoration: none;	
	}
	
ul.menu li a:hover {
	color: #f00;
	}
	
ul.menu li.active a, ul.menu li.top1 a.top_link {
	color: #f00;
	text-decoration: underline;
	}
				
ul.menu table {border-collapse:collapse; width:0; height:0; position:absolute; top:0; left:0;}



ul.menu a:hover {visibility:visible; position:relative; z-index:200;}
ul.menu li:hover {position:relative; z-index:200;}


ul.menu ul {position:absolute; left:-9999px; top:-9999px; width:0; height:0; margin:0; padding:0; list-style:none;}

ul.menu ul.sub1 {width:auto;}
ul.menu ul.sub2 {width:auto;}
ul.menu ul.sub3 {width:auto;}
ul.menu ul.sub4 {width:auto;}

ul.menu :hover ul {border-left: solid 1px #000; border-right: solid 1px #000; border-bottom: solid 1px #000; left:23px; top:28px; background: #eeeeef; padding:3px; padding-bottom: 6px; white-space:nowrap; height:auto; z-index:300;  }
ul.menu :hover ul li {border-bottom: solid 1px #e2e2e2; clear:both;display:block; float: left; height:25px; position:relative; font-weight:normal; width: 200px;}
ul.menu :hover ul li a {  text-align: left; display:block; border: solid 1px #eef; font-size:12px; height:25px; line-height:25px; width:auto; padding:0 10px; color:#000; text-decoration:none; }
ul.menu :hover ul li a:hover {background:#fff; color:#f00; border: solid 1px #f00;}


.per_table {
	margin-top: 20px;
	margin-bottom: 20px;
	}
	
.per_table td {
	border-bottom: solid 1px red;
	padding-top: 5px;
	padding-bottom: 5px;
	}
	
.per_table .gray {
	background-color:#f2f2f2;
	}
	
.per_naslov1 {
	font-weight: bold;
	font-size: 15px;
	color: #f00;
	display: block;
	clear: both;
	padding-bottom: 10px;
	}
	
	
.per_naslov2 {
	font-weight: bold;
	font-size: 15px;
	color: #39b44a;
	display: block;
	clear: both;
	padding-bottom: 10px;
	}
	
.per_naslov3 {
	font-weight: bold;
	font-size: 15px;
	color: #f99f31;
	display: block;
	clear: both;
	padding-bottom: 10px;
	}	