.nav-button, .phone { display: none; } /* hide the navigation button by default */

/* Wide mobile phone menu styles */
@media only screen and (min-width: 0px) and (max-width: 779px) {
	#headerWrapper {position:relative;top:50px;}
	#headerWrapper.collapsed {top:45px;}
	
	.phone {
		cursor: pointer;
		display: block;
		font-size: 1.75em;
		left: 80px;
		position: absolute;
		top: 10px;
		z-index: 999;
	}
	.phone a, .phone i {
		color: rgba(167,184,205,1);
		font-weight: 400;
		text-decoration: none;
	}

	/* Navigation Button
	-------------------------------------------------------- */

	.nav-button {
		display: block;
		position: absolute;
		top: 7px;
		left: 7px;
		width: 50px;
		height: 35px;
		background: url('/_images/open-menu-button.png'), -webkit-linear-gradient(top, rgba(19,38,65,0), rgba(19,38,65,.2));
		background: url('/_images/open-menu-button.png'),    -moz-linear-gradient(top, rgba(19,38,65,0), rgba(19,38,65,.2));
		background: url('/_images/open-menu-button.png'),     -ms-linear-gradient(top, rgba(19,38,65,0), rgba(19,38,65,.2));
		background: url('/_images/open-menu-button.png'),      -o-linear-gradient(top, rgba(19,38,65,0), rgba(19,38,65,.2));
		background-position: center center;
		background-repeat: no-repeat;
		background-size: 21px, 100%;
		cursor: pointer;
		border: 0 none;
		border-bottom: 1px solid rgba(191,204,220,.1);
		box-shadow: 0 0 4px rgba(19,38,65,.7) inset;
		border-radius: 5px;
		z-index: 999;
		text-indent: -9999px;
	}
	.nav-button:hover { 
		background-color: rgba(19,38,65,.1); 
	}
	.nav-button.open {
		background: url('/_images/close-menu-button.png'), -webkit-linear-gradient(top, rgba(19,38,65,0), rgba(19,38,65,.2));
		background: url('/_images/close-menu-button.png'),    -moz-linear-gradient(top, rgba(19,38,65,0), rgba(19,38,65,.2));
		background: url('/_images/close-menu-button.png'),     -ms-linear-gradient(top, rgba(19,38,65,0), rgba(19,38,65,.2));
		background: url('/_images/close-menu-button.png'),      -o-linear-gradient(top, rgba(19,38,65,0), rgba(19,38,65,.2));
		background-position: center center;
		background-repeat: no-repeat;
		background-size: 21px, 100%;
	}

	/* Navigation Bar
	-------------------------------------------------------- */

	.primary-nav {
		width: 100%;
		float: none;
		background-color: #476284; /* change the menu color */
		background-image: -webkit-linear-gradient(top, rgba(19,38,65,0), rgba(19,38,65,.2));
		background-image:    -moz-linear-gradient(top, rgba(19,38,65,0), rgba(19,38,65,.2));
		background-image:     -ms-linear-gradient(top, rgba(19,38,65,0), rgba(19,38,65,.2));
		background-image:      -o-linear-gradient(top, rgba(19,38,65,0), rgba(19,38,65,.2));
		display: block;
		height: 50px;
		margin: 0 0 5em 0;
		padding: 0;
		overflow: hidden;
		box-shadow: 0 1px 2px rgba(19,38,65,.6);
		position: absolute;
		top: 0px;
		left: 0px;
		z-index: 998;
		clear: both;
	}
	.primary-nav li {
		display: none;
		width: 100%;
	}
	.primary-nav li a {
		line-height: 1.5em;
		display: block;
		width: 100%;
		padding: 10px 5%;
		font-size: 1.25em;
		font-weight: 600;
		text-shadow: -1px -1px 0 rgba(19,38,65,.15);
		color: rgba(195,207,167,1);
		text-decoration: none;
		border-bottom: 2px solid rgba(19,38,65,.2);
		border-top: 2px solid rgba(191,204,220,.1); 
	}
	.primary-nav li a:hover:not(.active) {
		background-color: rgba(19,38,65,.5);
		border-top-color: transparent;
	}
	.primary-nav > li:first-child {
		border-top: 1px solid rgba(19,38,65,.2);
	}

	/* Toggle the navigation bar open  */

	.primary-nav.open { 
		height: auto; 
		padding-top: 50px;
	}
	.primary-nav.open li { 
		display: block; 
	}

	/* Submenus – optional .parent class indicates dropdowns */

	.primary-nav > li:hover:not(.active) > a {
		background: rgba(19,38,65,.5);
		border-bottom-color: transparent;
	}
	.primary-nav li.parent > a:after {
		font-family: FontAwesome;
		content: "\f0d7";
		font-size: 1.75em;
		color: rgba(195,207,167,1);
		float: right;
	}
	/* Highlight down arrow on selected menu item */	
	.primary-nav li.parent > a.active:after {
		color: rgba(235,233,144,1);
	}
	.primary-nav li.parent > a:hover:not(.active) {
		background: rgba(19,38,65,.75);
	}
	.primary-nav li ul {
		display: none;
		background: rgba(19,38,65,.5);
		border-top: 0 none;
		padding: 0;
	}
	.primary-nav li ul a {
		border: 0 none;
		font-size: 1.1em;
		padding: 10px 5%;
		font-weight: 600;
		text-indent:1em;
		border-bottom: 2px solid rgba(19,38,65,.8);
		border-top: 2px solid rgba(191,204,220,.2); 
	}
	.primary-nav li:hover ul {
		display: block;
		border-top: 0 none;
	}

} /* End wide mobile phone menu styles */

/* Earlier & narrower mobile phone menu styles */
@media only screen and (min-width: 0px) and (max-width: 320px) {
	.phone {
		font-size: 1.5em;
		left: 70px;
		top: 13px;
	}
} /* Earlier & narrower mobile phone menu styles */
