*{
	margin: 0;	
}

body{
	width: 100%;
	background-color: #fff;
	font-size: 15px;
	text-align: center;
	font-family: 'Raleway', sans-serif;
}

img {
	width: 100%;
	text-indent: -999px;
	
}

hr {
	border: 0;
	height: 1px;
	background: #444;
	margin-top: 20px;
	margin-bottom: 20px;
}

/* Links */

a {
	color: #0084c1;
	text-decoration: none;
}

a:visited {
	color:#0084c1;
}

a:hover {
	color: #0084c1;
}

#wrapper {
	width: 100%;
	margin: 0 auto;
	position: relative;
}

#wrapper.home {
	padding-top: 5em;
}

#wrapper.home h1 {
	width: 70%;
	margin: 0 auto;
	padding: 1.5em 0;
}

#content {
	width: 80%;
	margin: 0 auto;
	padding-top: 5em;
	padding-bottom: 80px;
}

#content.home {
	padding-top: 3em;
}

#header {
	width: 100%;
	background-color: #1e2529;
	position: fixed;
	z-index: 888;
	border-bottom: 1px solid rgba(255,255,255,0.1);
}

#footer {
	position: absolute;
	bottom: 0;
	font-size: .75em;
	color: #888;
	height: 35px;
	width: 100%;
}

.footer-legal {
	display: inline-block;
	font-size: .75em;
	color: #888;
    padding-bottom: 2em;
}

.logo-large {
	position: relative;
	top: 3em;
	border: none;
	display: inline-block;
	text-indent: -9999em;
	width: 23em;
	background-position: 0 4em;
	background-size: 23em 15em;
	background-repeat: no-repeat;
	background-image: url('img/logo-lockup.svg');
}

.logo-small {
	border: none;
	display: inline-block;
	text-indent: -9999em;
}

.icon-rivet {
	float: left;
	vertical-align: center;
	border: none;
	display: inline-block;
	text-indent: -9999em;
	width: 23em;
	background-size: 4.5em 4.5em;
	background-repeat: no-repeat;
	background-image: url('img/ic-logo.svg')
}

.partner {
	text-align: left;
	display: inline-block;
	width: 33%;
	overflow: hidden;
	vertical-align: top;
}

.company {
	text-align: left;
	display: inline-block;
	width: 33%;
	overflow: hidden;
	vertical-align: top;
}

.alt-bg {
	background-color: #1e2529;
}
.alt-bg h1 {
	color: #fff;
}
	
/* Navigation */

#top-nav {
	position: fixed;
	z-index: 999;
}

#nav-bar {
	background-color: red;
	width: 100%;
	height: 6.67em;
	position: relative;
}

.nav-options {
	top: 20em;
	text-align: center;
}

.nav {
	padding-bottom: 1em;
	display: inline-block;
	margin: 0;
	list-style: none;
	padding:0;
}

.nav li {
	font-size: 0.8em;
	font-weight: 300;
	display: inline-block;
	height: 6.67em;
	line-height: 6.67em;
	text-transform: uppercase;
}

.nav li a {
	color: #7a8786;
	text-decoration: none;
	padding: 0.8em 1em;
	margin: 1px 16px;
	border: 1px solid #1e2529;
}

.nav li a:hover {
	border: 1px solid rgba(255,255,255,0.15);
}

.nav li a:active {
	border: 1px solid rgba(255,255,255,0.25);
}

.nav li.nav-selected a {
	border: 2px solid #fff;
	color: #fff;
	margin: 0 15px;
}


/* Typography */

h1 {
	font-weight: 300;
	font-size: 3em;
	padding: 2em 1em;
	line-height: 1em;
	color: #888;
}

h2 {
	display: block;
	font-weight: 300;
	font-size: 2em;
	color: #1e2529;
	line-height: 1.2em;
	text-align: left;
	padding-bottom: 0.5em;
	padding-top: .5em;
	line-height: 1.2em;
}

p {
	display: block;
	font-size: 1em;
	text-align:left;
	color: #333;
	line-height: 1.8em;
	padding-bottom: 2em;
}

.partner .wrap {
	padding: 0 10px;
}

.company .wrap {
	padding: 0 10px;
}

.partner .bio-pic {
	height: 150px;
	width: 150px;
	background-size: 100% auto;
	border-radius: 50%;
}

.company .company-pic {
	height: 150px;
	width: 150px;
	background-size: 100% auto;
	border-radius: 50%;
}

.partner-name {
	display: inline-block;
	font-weight: 300;
	font-size: 2em;
	color: #1e2529;
	line-height: 1.2em;
	text-align:left;
	padding-bottom: 0.5em;
	padding-top: .5em;
	line-height: 1.2em;
}

.company-name {
	display: inline-block;
	font-weight: 300;
	font-size: 2em;
	color: #1e2529;
	line-height: 1.2em;
	text-align:left;
	padding-bottom: 0.5em;
	padding-top: .5em;
	line-height: 1.2em;
}

.partner-bio {
	display: block;
	font-size: 1em;
	text-align:left;
	color: #333;
	line-height: 1.8em;
	padding-bottom: 2em;
}

.company-bio {
	display: block;
	font-size: 1em;
	text-align:left;
	color: #333;
	line-height: 1.8em;
	padding-bottom: 2em;
}

@media screen and (max-width: 1024px) {
	body {
		font-size: 15px;
	}
	#content {
		width: 70%;
		margin: 0 auto;
		padding-top: 5em;
	}
}

@media screen and (max-width: 960px) {
	body {
		font-size: 15px;
	}
	#content {
		width: 90%;
		margin: 0 auto;
		padding-top: 5em;
	}
	.partner .bio-pic {
		width: 100px;
		height: 100px;
	}
}

@media screen and (max-width: 768px) {
	body {
		font-size: 15px;
	}
	#content {
		width: 90%;
		margin: 0 auto;
		padding-top: 3em;
	}
	.nav li a {
		margin: 1px 10px;
	}
	.nav li.nav-selected a {
		margin: 0 9px;
	}
	.partner {
		width: 80%;
	}
	.partner .bio-pic {
		width: 100px;
		height: 100px;
	}
}

@media screen and (max-width: 550px) {
	body {
		font-size: 12px;
	}
	#content {
		width: 90%;
		margin: 0 auto;
		padding-top: 2em;
	}
	.nav li a {
		margin: 1px 3px;
	}
	.nav li.nav-selected a {
		margin: 0 2px;
	}
	.partner {
		width: 80%;
	}
	.partner .bio-pic {
		width: 80px;
		height: 80px;
	}
}

@media screen and (max-width:320px) {
	body {
		font-size: 10px;
	}
	#content {
		width: 90%;
		margin: 0 auto;
		padding-top: 2em;
	}
	.partner {
		width: 80%;
	}
	.partner .bio-pic {
		width: 50px;
		height: 50px;
	}
}