@charset "utf-8";

/*  
Theme Name: Mafnifico
Description: A Business & Portfolio Theme
Version: 1
Author: Dany Duchaine
Author URI: http://themeforest.net/user/ddstudios
*/

/* ---------- Navigation ---------- */

#top_bar {
	background-color:#000000;
	height: 40px;
}
#nav_container {
	width: 940px;
	margin: 0 auto;
}
#nav {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 12px;
	color: #9f9f9f;
	z-index: 9999;
	float: right;
	position: relative;	
}
#nav, #nav ul{
     margin:0;
     padding:0;
     list-style-type:none;
     list-style-position:outside;
     position:relative;
     line-height:1em;
}
#nav a:link, #nav a:active, #nav a:visited{
    display:block;
	line-height: 40px;
    padding: 0 25px;
    color:#a5a5a5;
    text-decoration:none;
	text-transform: uppercase;
}
#nav a:hover {
    color:#fff;
}
#nav .on{
	background-color: #e97d08;
	color:#ffffff !important;
	float: left;
	position: relative;
}
#nav .subscribe{
	background: url(../images/subscribe.png) top left no-repeat;
	height: 40px;
	margin-left: 22px;
	float: left;
	position: relative;
}
#nav li{
    float:left;
    position:relative;
}
#nav ul {
    position:absolute;
    top:3.3em;
    display:none;	
	z-index: 1;
}
#nav li ul a {
    width:8em;
	height: 40px;
    float:left;
	background-color: black;
	background-image: none !important;
}
.last {
    width:8em;
    float:left;
	background-color: black;
	background-image: none !important;
	margin-right: 15px;
}

#nav li ul a:hover {
	background-color: #292929;
}
#nav ul ul{
	top:auto;
}	
#nav li ul ul {
    left:11.3em;
    margin:0px 0 0 10px;
}
#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li:hover ul ul ul ul{
    display:none;
}
#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li li li li:hover ul{
    display:block;
}
