#page-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	padding: 0px;
	background-color: rgb(87, 87, 87);
	-webkit-transform: translate3d(0, 0, 0);
	z-index: 1100;
}

#page-header-wrapper {
	margin:0 auto;
	padding: 0;
	padding-top: 20px;
	padding-bottom: 35px;
	width: 95%;
	height: 100%;
	max-width: 900px;
}

#page-header li a {
	font-family: Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 16px;
}


/* Back to Top */

#page-header nav li.nav-primary {
	float: left;
	display: inline-block;
}

#page-header li.nav-primary a {
	color: white;
}


/* Platform Switch */

#page-header nav ul.platform-switch {
	float: left;
	margin-left: 30px;
}

#page-header li.platform-choice {
	display: inline-block;
	position: relative;
	height: 22px;
	width: 75px;
	top: -3px;
	padding: 0px;
	margin: -3px;
	border: 1px solid #fefefe;
	border-radius: 5px;
	text-align: center;
}

#page-header li.platform-choice a {
	display: inline-block;
	position: relative;
	top: 2px;
	font-size: 0.9em;
}

#page-header li.platform-choice.on {
	background-color: #fefefe;
}

#page-header li.platform-choice.left {
	border-top-right-radius: 0px;
	border-bottom-right-radius: 0px;
}

#page-header li.platform-choice.right {
	border-top-left-radius: 0px;
	border-bottom-left-radius: 0px;
}

#page-header li.platform-choice.off a {
	color: white;
}

#page-header li.platform-choice.on a {
	color: rgb(87, 87, 87);
}


/* Navigation */

#page-header nav ul.navigation {
	float: right;
	padding-right: 60px;
}

#page-header li.nav-secondary {
	display: inline-block;
	margin-left: 50px;
}

#page-header li.nav-secondary a {
	color: rgb(25, 187, 255);
}

#page-header a.active {
	font-weight: bold;
}

/* Webring */

#nav-webring a {
	position: absolute;
	bottom: 12px;
	right: 15px;
	font-size: 0.8em;
	line-height: 1.2em;
	text-align: left;
	color: white;
}

#header-webring {
	position: absolute;
	top: 100%;
	right:0px;
	width: 260px;
	background-color: rgb(87, 87, 87);
	border-top: 1px solid #ccc;
	border-left: 1px solid #ccc;
	display: none;
}
#header-webring.webring-visible {
	display: block;
}

div.header-app {
	display: inline-block;
	position: relative;
	text-align: left;
	width: 260px;
	height: 64px;
	padding: 5px 10px;
	color: white;
	font-size: 1.0em;
	border-bottom: 1px solid #ccc;
}

img.header-app-icon {
	float: left;
	width: 48px;
	margin-top: 2px;
	margin-right: 8px;
}
p.header-app-name, p.header-app-tagline {
	padding:0px;
	margin:0px;
	margin-top: 2px;
	color: white;
}

p.header-app-tagline {
	margin-top: -0.4em;
	font-size: 0.6em;
}


/* Mobile */

@media only screen and (max-width: 1200px) {
	#page-header li.platform-choice {
		width: 65px;
	}
	#page-header li.nav-secondary {
		margin-left: 30px;
}

@media screen and (max-width: 900px) {
	#page-header li.platform-choice {
		width: 55px;
	}
	#page-header nav ul.navigation {
		padding-right: 45px;
	}
	#page-header li.nav-secondary {
		margin-left: 18px;
	}
	#nav-webring a {
		right: 10px;
	}
}

@media screen and (max-width: 700px) {
	#page-header-wrapper {
		padding: 15px;
		padding-bottom: 30px;
	}
	#page-header li.platform-choice {
		width: 50px;
	}
	#page-header nav ul.navigation {
		padding-right: 20px;
	}
	#page-header nav ul.platform-switch {
		float: left;
		margin-left: 5px;
	}
	#page-header nav li.optional {
		display: none;
	}
	#page-header nav li.nav-primary {
		display: none;
	}
	#page-header nav li.nav-secondary {
		margin-left: 12px;
	}
	#nav-webring {
		display: none;
	}
}