/* @override http://localhost/~jiho/work/css/drop-down_menu.css */

/*

	DropDown menu

	Presents a unordered list as a dropdown menu with
	- the currently selected top level in white
	- the others in transparent white
	- the active element under the mouse with coloured borders

	(c) 2008 Jean-Olivier Irisson <jo.irisson (at) gmail.com>.
	GNU General Public License http://www.gnu.org/copyleft/gpl.html

*/

/* Global container list */
.dropmenu {
	z-index:10;
	margin: 0;
	padding: 0;
	position: absolute;
	bottom: 0;
	left: 30px;
	text-indent: 0px;
}

.dropmenu ul {
	padding: 0;
	margin: 0;
	list-style-type: none;
}

/* DropDown menu: First rank menu item */
.dropmenu ul li {
	float:left;
	position:relative;
	margin-right: 0.3em;
}
.dropmenu ul li a {
	display:block;
	text-decoration:none;
	text-align:center;
	overflow:hidden;
	color: white;
	width: 7em;
	padding: 5px;
	height: 15px;
}
.dropmenu ul li:hover a {
	background-image: url('white-transp.png');
	color: #333;
	text-decoration: none;
}

/* DropDown menu: First rank current menu item */
.dropmenu ul li.current a{
	color: #333 !important;
	background: white;
}

/* DropDown menu: Droped menu item */
.dropmenu ul li ul {
	display: none;
}
.dropmenu ul li:hover ul {
	display:block;
	position:absolute;
	top: 25px;
	left:0;
}

/* DropDown menu: Link selection when hovering the mouse */
.dropmenu a:hover {
	border-left: 2px solid #265;
	border-right: 2px solid #265;
	padding-left: 3px;
	padding-right: 3px;
	text-shadow: #265 0px 0px 2px; /* works only in safari */
}
