@charset "UTF-8";


/* Sub-Navigation */
nav {
	width: 100%;
	height: auto;
	margin: 0;
	background-color:#ffffff;
	border-radius: .5em;
	-moz-border-radius: .5em;
	-webkit-border-radius: .5em;
	color: #CCC;
	padding: .5% 1% .5% 1%;
	border: 0px solid #999;
	}
nav ul {
	width:100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
}
nav ul li {
	padding:.75% 1% .75% 1%;
    list-style: none;
    float: left;
    text-align: center;
    width: 16.6667%; /* fallback for non-calc() browsers */
    width: calc(100% / 2);
    box-sizing: border-box;
	min-width:180px;
}
nav ul li a:link, a:visited {
	border-radius: .25em;
	-moz-border-radius: .25em;
	-webkit-border-radius: .25em;
	color: #CCC;
	padding: 1% 1% 1% 1%;
	border: 1px solid #fff;
	border-right: none;
    border-left: none;
	color:#4E4E4E;
    padding: 10px 4px;
	text-transform: uppercase;
	background-color: #F1F1F1;
	text-decoration: none;
	display:block;
}
nav ul li a:hover, a:active {
	color:#000;
	background-color:#fff;
	border-top-color:#999;
	border-bottom-color:#999;
	text-decoration: underline;
}
nav ul li a.current {
	color:#000;
	background-color:#fff;
	border-top-color:#999;
	text-decoration: underline;
}

ul.nav {
    list-style: none;
    margin-left: -1%; /* should match li left margin */
    }
ul.nav li {
	display: inline-block;
	padding: 6px;
	margin: 0 0 6px 6px;
	background: #eee;
	border: 1px solid #ccc;
	vertical-align: top;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
    }
/* class for 2 columns */
    ul.nav.columns-2 li {
    width: 47.5%; /* this value + 2.5 should = 50% */
    }
/* class for 3 columns */
    ul.nav.columns-3 li {
    width: 30.83%; /* this value + 2.5 should = 33% */
    }
/* class for 4 columns */
    ul.nav.columns-4 li {
    width: 22.5%; /* this value + 2.5 should = 25% */
    }
/* class for 5 columns */
    ul.nav.columns-5 li {
    width: 17.5%; /* this value + 2.5 should = 20% */
    }
/* class for 6 columns */
    ul.nav.columns-6 li {
    width: 14.167%; /* this value + 2.5 should = 16.6667% */
    }

@media screen and (min-width: 768px) and (max-width: 1024px) {
ul.nav {
    margin-left: 0;
    }
ul.nav.columns-4 li {
    width: 47.5%;  
	margin-top: 0;
	margin-right: 6px;
	margin-bottom: 6px;
	margin-left: 0;
    }
}
@media only screen and (min-width: 321px) and (max-width: 767px){
ul.nav {
    margin-left: 0;
    }
ul.nav li {
    width: 100% !important; /* over-ride all li styles */
    margin: 0 0 6px;
    }
}
@media only screen and (min-width: 0px) and (max-width: 320px){
	ul.nav {
    margin-left: 0;
    }
    ul.nav li {
    width: 100% !important; /* over-ride all li styles */
    margin: 0 0 6px;
    }
}