body {
	font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
	font-size: 17px;
	line-height: 1.3em;
	-webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  color: rgba(0,0,0,0.8);
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
}

/* --- Nav styles --- */

.main-nav {
	padding: 1em 0;
	border-bottom: 1px solid #D6D6D6;
}

.main-nav__wrapper {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 19px;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}

.explainer-text {
	padding: 0;
	margin: 0;
	color: #858585;
	font-size: .9em;
	font-style: italic;
}

.brand {
	display: flex;
	flex-direction: row;
	align-items: center;
	text-decoration: none !important;
}

.brand__image {
	padding-right: .5em;
}

.brand__text {
	color: #0D1723;
	font-size: 1.333em;
	font-weight: bold;
}

/* --- Main search styles --- */

h1.form-title {
	font-size: 2.333em;
	font-family: sans-serif;
	text-align: center;
	margin: 0 auto;
	line-height: 1.2em;
	padding: 0 0 1em;
	font-weight: bolder;
}

form {
	padding: 2em 19px 4em;
}

.form-search {
	max-width: 665px;
	margin: 0 auto;
}

.search-input-field {
	width:100%;
	height:175px;
	font-size:15px;
	padding:10px;
	box-sizing: border-box;
	font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
	border-radius: 5px;
	border: solid 1px #5e5e5e;
	resize:none;
}

.menu-link {
	color: #5352ED;
}

.menu-link:hover {
	text-decoration: none;
	cursor: pointer;
}

.search-input-button {
	width: 100%;
	padding: .5em 1em;
  color: #fff;
  border-radius: 6px;
  font-size: 1em;
  font-weight: 600;
  background-color: #5352ED;
  border: none;
  box-shadow: 0 2px 0 #2928AB;
  transition: .2s;
  display: inline-block;
  text-decoration: none!important;
  cursor: pointer;
  margin: .5em 0 1em;
}

.search-input-button:hover {
  background-color: #3D3CD1;
}

.search-output {
	max-width: 665px;
	margin: 0 auto;
	padding: 0 19px;
}

.explanation-wrapper {
	background: #F2F2F2;
	width: 100%;
	margin: .5em 0 1em;
	padding:0 1em;
	box-sizing: border-box;
	border: solid 1px #D6D6D6;
	border-radius: 4px;
}


/* --- Footer styles --- */

.form-footer-wrapper {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.footer {
	padding: 1em 0;
	background-color: #F2F2F2;
}

.footer__wrapper {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 19px;
	display: flex;
	flex-direction: row;
	justify-content: flex-end;
	align-items: center;
}

.footer__link {
	text-decoration: none;
	color: #70757a;
	font-size: .9em;
	margin: 0 2em;
}

.footer__link:hover {
	text-decoration: underline;
	color: #5352ED;
}

/* --- Responsive styles --- */

@media only screen and (max-width: 750px) {
	.r_img_embed {
		float:none;
		position:relative;
		margin:15px auto;
	}
}


@media only screen and (max-width: 680px) {
	h1.form-title {
		font-size: 1.777em;
	}
	.vid_wrapper, .vid_wrapper_right {
		position:relative;
		width:100%;
	}
	.profile_vid, .profile_vid_right {
		float:none;
		position:relative;
		margin:15px auto;
		width:400px;
	}
	.embed_vid {
		float:none;
		width:100%;
	}
	.profile_img {
		float:none;
		position:relative;
		margin:15px auto;
		width:400px;
	}
}


@media only screen and (max-width: 480px) {

	.listing {
		padding-left: 0px;
		padding-right: 0px;
	}

	.profile_wrapper {
		position:relative;
		width:100%;
	}
	.profile_pic {
		float:none;
		position:relative;
		margin:15px auto;
		width:200px;
	}

	.profile_vid, .profile_vid_right {
		float:none;
		width:100%;
	}

	.profile_img {
		float:none;
		width:100%;
	}
}


code {
  background: #eee;
  font-weight: bold;
  color: black;
  padding: 2px 5px;
}

.tab {
	float:left;
	box-sizing: border-box;
	width:100px;
	border-right: solid 1px #ccc;
	text-align:center;
	padding:10px 15px;
}
