/*

HOW TO CREATE A CSS3 DROPDOWN MENU [TUTORIAL]

"How to create a CSS3 Dropdown Menu [Tutorial]" was specially made for DesignModo by our friend Valeriu Timbuc.

Links:
http://vtimbuc.net/
https://twitter.com/vtimbuc
http://designmodo.com
http://vladimirkudinov.com

*/

/* Reset */
.menu,
.menu ul,
.menu li,
.menu a {
	margin: 0;
	padding: 0;
	border: none;
	outline: none;
}

/* Menu */
.menu {	
	height:21px;
	margin-top:11px;
	position:relative;
	height:25px;
	padding:3px 0px 0px 0px;
	z-index:4;

/*	background: -webkit-linear-gradient(top, #4c4e5a 0%,#2c2d33 100%);
	background: -moz-linear-gradient(top, #4c4e5a 0%,#2c2d33 100%);
	background: -o-linear-gradient(top, #4c4e5a 0%,#2c2d33 100%);
	background: -ms-linear-gradient(top, #4c4e5a 0%,#2c2d33 100%);
	background: linear-gradient(top, #4c4e5a 0%,#2c2d33 100%);
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
*/}

.menu li {
	position: relative;
	list-style: none;
	float: left;
	display: block;
	height:21px;
}

.menu li:hover{

}

/* Links */

.menu li a {
	display: block;
	padding: 0 27px;
	margin: 0px 0;
	line-height:20px;
	text-decoration: none;
	font-family:Verdana, Geneva, sans-serif;
	font-weight: bold;
	font-size: 12px;
	color: #4e4e4e;
/*	text-shadow: 1px 1px 1px rgba(0,0,0,.6);*/
	-webkit-transition: color .2s ease-in-out;
	-moz-transition: color .2s ease-in-out;
	-o-transition: color .2s ease-in-out;
	-ms-transition: color .2s ease-in-out;
	transition: color .2s ease-in-out;
}

.menu li.selected a {
	display: block;
	padding: 0 26px;
	margin: 0px 0;
	background:#c4c5c6;
	line-height:20px;
	text-decoration: none;
;
	font-family:Verdana, Geneva, sans-serif;
	font-weight: bold;
	font-size: 12px;
	color: #515153;
/*	text-shadow: 1px 1px 1px rgba(0,0,0,.6);*/
	-webkit-transition: color .2s ease-in-out;
	-moz-transition: color .2s ease-in-out;
	-o-transition: color .2s ease-in-out;
	-ms-transition: color .2s ease-in-out;
	transition: color .2s ease-in-out;
}

.menu li.selected li a {
	display: block;
	padding: 4px 26px;
	margin: 0px 0;
	background: url(../img/arrow.png) no-repeat 0px center;
	text-decoration: none;
	font-family:Verdana, Geneva, sans-serif;
	font-weight: bold;
	font-size: 12px;
	color: #fff;
	border-left: none;
	border-right: none	;
/*	text-shadow: 1px 1px 1px rgba(0,0,0,.6);*/
	-webkit-transition: color .2s ease-in-out;
	-moz-transition: color .2s ease-in-out;
	-o-transition: color .2s ease-in-out;
	-ms-transition: color .2s ease-in-out;
	transition: color .2s ease-in-out;
}
.menu li.selected li a:hover {
	color: #505052;
}


.menu li:first-child a { border-left: none; }
.menu li:last-child a{ border-right: none; }

.menu li:hover > a { color: #4c4c4e; }


/* Sub Menu */

.menu ul {
	position: absolute;
	top:22px;
	left: 0;
	opacity:0;
	background: #c4c5c6;
	-webkit-border-radius: 0 0 5px 5px;
	-moz-border-radius: 0 0 5px 5px;
	border-radius: 0 0 5px 5px;

	-webkit-transition: opacity .25s ease .1s;
	-moz-transition: opacity .25s ease .1s;
	-o-transition: opacity .25s ease .1s;
	-ms-transition: opacity .25s ease .1s;
	transition: opacity .25s ease .1s;
}

.menu li:hover > ul { opacity: 1; }

.menu ul li {
	height: 0;
	overflow: hidden;
	padding: 0;
	-webkit-transition: height .25s ease .1s;
	-moz-transition: height .25s ease .1s;
	-o-transition: height .25s ease .1s;
	-ms-transition: height .25s ease .1s;
	transition: height .25s ease .1s;
}

.menu li:hover > ul li {
	height:30px;
	overflow: visible;
	padding: 0;
}

.menu ul li a {
	width: 220px;
	padding:4px 0 4px 30px;
	margin: 0;
	border: none;

}

.menu li ul .selected a {
	display: block;
	padding: 0 26px;
	margin: 0px 0;
	line-height:20px;
	text-decoration: none;
	font-family:Verdana, Geneva, sans-serif;
	font-weight: bold;
	font-size: 12px;
	color: #fff;
/*	text-shadow: 1px 1px 1px rgba(0,0,0,.6);*/
	-webkit-transition: color .2s ease-in-out;
	-moz-transition: color .2s ease-in-out;
	-o-transition: color .2s ease-in-out;
	-ms-transition: color .2s ease-in-out;
	transition: color .2s ease-in-out;
}

.menu ul li:last-child a { border: none; }

/* Icons */

.menu a.documents { background: url(../img/docs.png) no-repeat 6px center; }
.menu a.messages { background: url(../img/bubble.png) no-repeat 6px center; }
.menu a.signout { background: url(../img/arrow.png) no-repeat 0px center; }