.top-navigation-wrapper {
	background: #FFF;
	height: 30px;
}

.container {
	width: 100%;
	max-width: 960px;
	margin: 0 auto;
}

.nav-clearfix {
	zoom: 1;
}

.nav-clearfix:after {
	content: "";
	display: table;
	clear: both;
}

@media only screen and (max-width: 1025px) {
	.container {
		width: 100%;
	}
}

@media only screen and (max-width: 960px) {
	.container {
		width: 100%;
		max-width: 630px;
	}
}

header, nav {
	display: block !important;
}

header {
	font-family: 'proximanova-regular', sans-serif;
  	-webkit-font-smoothing: antialiased;
  	line-height: 1.5em;
  	font-size: 17px;
}

header[role="banner"] {
	overflow: visible;
	word-wrap: break-word;
}

.nav {
	overflow: visible;
	word-wrap: break-word;
}

.mobile-toggle {
	display: none;
}

@media only screen and (max-width: 960px) {
	.mobile-toggle {
		display: block;
	}
}

#primary-menu-bar h2 {
  	margin: 2px 0px 3px;
  	padding-top: 2px;
  	font-weight: normal;
}

header h2 {
	margin: 10px;
	text-transform: uppercase;
	font-size: 17px;
}

#primary-menu-bar h2 > a {
	padding-left: 30px;
	padding-top: 1px;
	color: #999;
	background: url("/images/logos/grey3-bar.png") 0px center no-repeat;
	text-transform: none;
	cursor: pointer;
	font-size: 14px;
}

.menu-wrapper {
	margin: 0;
	padding: 0;
}

#primary-menu-bar h2 {
  	margin: 2px 0px 3px;
}

.element-invisible {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
}

ul.menu {
	border: none;
	list-style: none;
	text-align: left;
}

.nav ul, .nav ul.menu {
	margin: 0;
	padding: 0;
}

.nav li, .nav ul.menu li {
	display: inline;
	float: left;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav li a, .nav ul.menu li a {
	display: block;
	white-space: nowrap;
	padding: 0 10px;
	color: #999;
	text-decoration: none;
}

#primary-menu-bar ul.menu li a {
	padding: 5px 10px;
	font-size: 14px;
}

#primary-menu-bar ul.menu li a:hover {
	text-decoration: underline;
}

#primary-menu-bar ul.menu li.first a {
	padding-left: 0;
}

@media only screen and (max-width: 960px) {
	#primary-menu-bar ul {
		position: absolute;
		background: #fff;
		border-top: none;
		width: 300px;
		z-index: 200;
		top: 28px;
	}

	#primary-menu-bar ul li {
		float: left;
		width: 100%;
	}

	#primary-menu-bar ul.menu li.first a {
		padding-left: 10px;
	}
}

.branding-elements {
  	margin-left: 10px;
  	margin-right: 10px;
}

#login-link {
	position: absolute;
	right: 0;
	top: 3px;
	font-size: 14px;
	color: #999;
	line-height: 22px;
	min-width: 70px;
}

#login-link a {
	color: #999;
	text-decoration: none;
}

#login-link a:hover {
	text-decoration: underline;
}

#login-link img {
	display: inline;
	max-width: 100%;
	border: none;
}

.login-wrapper {
  position: fixed;
  left: 50%;
  z-index: 20000;
  height: 530px;
  width: 375px;
  margin-left: -187.5px;
  top: 50%;
  margin-top: -265px;
  background: none repeat scroll 0% 0% #FFF;
  display: none;
  border: 1px solid #ccc;
  box-shadow: 0px 0px 1px #ccc;
  display: none;
}

.login-wrapper .close-popup {
  cursor: pointer;
  padding: 5px;
  background: #eee;
  text-decoration: none;
  font-size: 17px;
}

.login-wrapper.visible {
	display: block;
}

@media only screen and (max-width: 960px) {
	.primary-menu-wrapper ul {
		height: 0px;
		overflow: hidden;
		transition: height .5s ease-in-out;
	}

	.primary-menu-wrapper ul.visible {
		height: 310px;
	}
}