#top_menu_block {
margin-left:auto;
margin-right:auto;
text-align:center;
}

#top_menu_img {

width:527px;
height:19px;
clear:both;
margin:10px 0 5px 0;
text-align:center;
margin-left:auto;
margin-right:auto;

}

#top_menu_bottom_img {
width:527px;
height:19px;
clear:both;
text-align:center;
margin-top:0;
margin-left:auto;
margin-right:auto;
}

/*----------------------------------------------------------proprieties of main menu----------------------------------------------------------*/
#top_menu {
	color : #F29400;
	font-family: Verdana;
	font-size:100%;
	text-align:center;
	margin-left:auto;
	margin-right:auto;

}

#top_menu .menu_align{
	line-height:260%;

}

#top_menu ul {/*clean the bullets points, text align*/
	margin:0;
	padding:0;
	list-style-type:none;
	list-style-image:none;
	text-align:center;
}

#top_menu ul#top_menu_home {/*for home*/
	margin:0px;

}

#top_menu li {/*align objects of main menu*/
	float:left;
}


#top_menu li a:link, #top_menu li a:visited {/*properties of links*/
	font-size:100%;
	display:block;
	color : #F29400;
	width:100px;
	height:30px;
	text-decoration:none; /*clean underlining*/
}

#top_menu li a.inactive {/*properties of links inactive before login*/
	color : #CCCCCC;

}

#top_menu li a:hover {/*change the color of the link when the mouse fly over it*/
background-color: transparent; 
color : #182250;
}

#top_menu li a.active {/*change the color of the link when clicking on it */
background-color: transparent; 
color : #182250;
}
		
#top_menu li ul {/*fix the menus when there are opened*/
position:absolute;
}


/*----------------------------------------------------------properties of second menu----------------------------------------------------------*/
#top_menu .submenu {
	z-index:10;
	text-align:left;
	font-family: Arial;
}

#top_menu .submenu li {/*display the second menu in columns*/
	float: none;
	line-height:22px;
	font-family: Arial;
	font-size:100%;
	font-weight:bold;
	margin: 0;
	padding: 0;
}


#top_menu .submenu li a:link,
#top_menu .submenu li a:visited {/*properties of displayed links*/
	width:83px;
	height:auto;
	display: block;
	visibility:visible;
	color: #182250;
	text-decoration: none;
	background: #F7BB77;
	border: 1.8px #FFF solid;
	padding-left:8px;
	padding-right:8px;
}

#top_menu .submenu {/*masking the second menu*/
	display: none;
	visibility:hidden;
	list-style-type: none;
}	

#top_menu .submenu li a:hover {/*reaction when the mouse fly over the links of the second menu*/
	color: #FFF; 
	background: #182250;
}	

#top_menu li:hover > .submenu { 
	display: block; /*display the second-menu when the mouse flyes over main menu's links */
	visibility:visible;
}


