/* Clearfix */
.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}
.clearfix:after {
    clear: both;
}
.clearfix {
    *zoom: 1;
}

/* Basic Styles */

nav {
	height: 30px;
	width: 100%;
	background: #ffffff;
	font-size: 11pt;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-weight: bold;
	position: relative;
	
}
nav ul {
	padding: 0;
	margin: 0 auto;
	width: 950px;
	height: 30px;
}
nav li {
	display: inline;
	float: left;
}
nav a {
	color: #106176;
	font-weight:bold;
	display: inline-block;
	width: 105px;
	text-align: center;
	text-decoration: none;
	line-height: 25px;

}
nav li a {
	border-right: 1px solid #576979;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
}
nav li:last-child a {
	border-right: 0;
}
nav a:hover, nav a:active {
	background-color: #8c99a4;
	color:#ffffff;
	text-decoration: none;
}
nav a#pull {
	display: none;
}

/*Styles for screen 600px and lower*/
@media screen and (max-width: 600px) {
	nav { 
  		height: auto;
  	}
  	nav ul {
  		width: 100%;
  		display: block;
  		height: auto;
  	}
  	nav li {
  		width: 50%;
  		float: left;
  		position: relative;
  	}
  	nav li a {
		border-bottom: 1px solid #f3f3f3;
		border-right: 1px solid #f3f3f3;
	}
  	nav a {
	  	text-align: left;
	  	width: 100%;
	  	text-indent: 25px;
  	}
}

/*Styles for screen 515px and lower*/
@media only screen and (max-width : 480px) {
	nav {
		border-bottom: 0;
	}
	nav ul {
		display: none;
		height: auto;
	}
	nav a#pull {
		display: block;
		background-color: #cccccc;
		width: 100%;
		position: relative;
	}
	nav a#pull:after {
		content:"";
		background: url('nav-icon.png') no-repeat;
		width: 20px;
		height: 20px;
		display: inline-block;
		position: absolute;
		right: 15px;
		top: 5px;
	}
}

/*Smartphone*/
@media only screen and (max-width : 320px) {
	
	nav li {
		display: block;
		float: none;
		width: 100%;
		background: #cccccc;
	}
	nav li a {
		border-bottom: 1px solid #576979;
	}
}


/*******drop down menu *****/

nav ul li {
  display: inline-block;
  position: relative;
z-index: 999;

}
nav ul li:hover {
  background: #8C99A4;
  color: #fff;
  z-index: 999;
}
nav ul li ul {
  padding: 0;
  position: absolute;
	z-index: 999;
  left: 0;
  width: 150px;
  box-shadow: none;
  display: none;
  opacity: 0;
  visibility: hidden;

}
nav ul li ul li { 
  background: #f3f3f3; 
  display: block; 
  color: #444444;
    z-index: 999;
  
}
nav ul li ul li:hover { background: #8C99A4 ; }
nav ul li:hover ul {
  display: block;
  opacity: 1;
  visibility: visible;
    z-index: 999;