/*

HOW TO CREATE A CSS3 DROPDOWN admin_menu [TUTORIAL]

"How to create a CSS3 Dropdown admin_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 */


#admin_nav_wrapper {
	width:100%;
	
	background: #fcfcfc; /* Old browsers */
	background: -moz-linear-gradient(top,  #fcfcfc 0%, #f3f3f3 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fcfcfc), color-stop(100%,#f3f3f3)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #fcfcfc 0%,#f3f3f3 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #fcfcfc 0%,#f3f3f3 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #fcfcfc 0%,#f3f3f3 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #fcfcfc 0%,#f3f3f3 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fcfcfc', endColorstr='#f3f3f3',GradientType=0 ); /* IE6-9 */
	border-bottom:1px solid #CCC;
	-webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
	overflow:auto;
}
#admin_nav_inner_wrapper {
	
	margin:auto;
}

#admin_profile {
	color:#000;
	text-align:left;
	height:37px;
	font-size:10px;
	padding:3px 15px 0 5px;
	float:right;
	width:90px;
	border-left:1px #FFF solid;
	background:#CFCFCF;
	
}
#admin_profile_border {
	height:40px;
	float:right;
	border-right:1px #999 solid;
}
#admin_nav {
	font:Verdana, Geneva, sans-serif;
	width:830px;
	height:40px;
	
}




.admin_menu,
.admin_menu ul,
.admin_menu li,
.admin_menu a {
	margin: 0;
	padding: 0;
	border: none;
	outline: none;
	 
}

/* admin_menu */
.admin_menu {	
	height: 40px;
	width: 830px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

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

/* Links */

.admin_menu li a {
	z-index:8000;
	display: block;
	padding: 0 14px;
	
	line-height: 39px;
	text-decoration: none;
	
	border-left: 1px solid #FFF;
	border-right: 1px solid #999;

	font-family:Helvetica, Arial,  sans-serif;
	font-weight: normal;
	font-size:12px;

	color:#000;
	
}

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

.admin_menu li:hover > a { 
	color: #FFF;
	background:#777;
	cursor:pointer;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

/* Sub admin_menu */

.admin_menu ul {
	z-index:8000;
	position: absolute;
	top: 40px;
	left: 0;
	opacity: 0;
	background: #414141;
	-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;
}

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

.admin_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;
}

.admin_menu li:hover > ul li {
	height: 36px;
	overflow: visible;
	padding: 0;
}

.admin_menu ul li a {
	width: 220px;
	padding: 4px 0 4px 4px;
	margin: 0;
	font-size:10px;
	border: none;
	border-bottom: 1px solid #353539;
}

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

/* Icons */

.admin_menu a.subadmin_menutext {  font-size:14px;color:#0F6; }
.admin_menu a.messages { background: url(../img/bubble.png) no-repeat 6px center; }
.admin_menu a.signout { background: url(../img/arrow.png) no-repeat 6px center; }