/* Clearfix */
.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}
.clearfix:after {
    clear: both;
}
.clearfix {
    *zoom: 1;
}

/* Basic Styles */
nav {
	width: 100%;
   font-size: 16px;
   line-height:34px;
	font-weight: 400;
	text-transform: uppercase;
	position: relative;
	z-index: 999;
	/*border-bottom: 2px solid #06C;*/
}
nav ul {
	padding: 0;
	margin: 0 auto;
	/*width: 600px;*/
	text-align:left;
	float: left;
}
nav li {
	display: inline-block;
/*margin-right: -4px;*/
}
nav a, nav a:visited {
	color: #51544b;
	display: block;
	/*width: 100px;*/
	text-align: center;
	text-decoration: none;
	line-height: 34px;
	padding: 0px 14px;
	text-decoration: none;
	/*text-shadow: 1px 1px 0px #283744;*/
}
nav a:hover {
	background-color: #51544b;
	color: #fefefe;
	border-bottom: 0px;
	text-decoration: none;
}

nav li.menuactive a {
	background-color: #C6DCD8;	
}

nav li.menuactive a:hover {
		background-color: #51544b;
	color: #fefefe;
}

nav li a {
	border-right: 1px solid #C6DCD8;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
}
nav li:last-child a {
	border-right: 0;
}
nav li:last-child {
	margin-right: 0;
}

nav a#pull {
	display: none;
	padding: 0px;
}
nav a:hover#pull {
		color: #fefefe;
}

/* forsubnav */
nav li ul {
	display: none;
	position: absolute; 
   top: auto; 
   height: auto;
}

nav li ul li {
	display: block; 
   width: 200px; 
   margin-right: 0px;
}

nav li ul a,
nav li.menuactive ul a  {
	text-align: left;
	
   background: #666;
   border-right: 0px;
}

nav li:hover ul { 
   display: block; 
}
