/* Clearfix */
.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}
.clearfix:after {
    clear: both;
}
.clearfix {
    *zoom: 1;
}

/* Basic Styles */

nav {
	height: 35px;
	background: #255361;
	font-size: 11pt;
	font-family: Georgia, Arial, sans-serif;
	font-weight: normal;
	position: relative;
}

nav ul {
	padding: 0;
	margin: 0;
	height: 35px;
}

nav li {
	display: inline;
	float: left;
}

nav a {
	color: #ffffff !important;
	display: inline-block;
	padding: 0px 15px 0px 15px;
	text-align: center;
	text-decoration: none;
	line-height: 35px;
}

nav a:hover {
	color: #ffffff !important;
}
	
nav li a {
	border-right: 1px solid #ffffff;
	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: #333333;
	color: #ffffff;
}

nav a#pull {
	display: none;
}

nav li ul {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
	border-right: 0px;
}

nav li:hover ul {
    display: block;
	z-index: 1000;
	background: #255361;
	border-right: 0px;
	height: auto;
	
}

nav li ul li{
    clear: both;
	border-right: 0px;
	float: none;
	display: block;	
}

nav li ul li a {
	text-align: left;
	border: none;
	width: 100%;
	padding-left: 15px;
}

/*Styles for screen 786px and lower*/
@media screen and (max-width: 786px) {
nav { 
  	height: auto;
}

nav ul {
	width: 100%;
	display: block;
	height: auto;
}

nav li {
	width: 25%;
	float: left;
	position: relative;
}


nav li a {
	border-bottom: 1px solid #ffffff;
	border-right: 1px solid #ffffff;
}

nav a {
	text-align: left;
  	width: 100%;
}
	
nav li ul li {
    width: 100%;	
}
		
}

/*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 #ffffff;
	border-right: 1px solid #ffffff;
}
  
nav a {
 	text-align: left;
  	width: 100%;
  	text-indent: 10px;
}
	
}

/*Styles for screen 480px 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: #255361;
	width: 100%;
	position: relative;
	color: #255361;
}

nav a#pull:after {
	content:"";
	background: url('../images/nav-icon.png') no-repeat;
	width: 35px;
	height: 35px;
	display: inline-block;
	position: absolute;
	right: 15px;
	top: 7.5px;
}
	
nav a {
	padding: 0px;
}

}

/*Styles for screen 320px and lower*/
@media only screen and (max-width : 320px) {

nav li {
	display: block;
	float: none;
	width: 100%;
}

nav li a {
	border-bottom: 1px solid #ffffff;
}

nav a {
	text-align:center;
}

}