
.flex-wrap {
	display: -ms-flex;
	display: -moz-flex;
	display: -webkit-flex;
	display: flex;

	-ms-flex-direction: column;
	-moz-flex-direction: column;
	-webkit-flex-direction: column;
	flex-direction: column;

	position: absolute;
	width:100vw;
	height:100vh;
}
.flex-body {
	overflow-x: visible;

	-ms-flex-grow: 2;
	-moz-flex-grow: 2;
	-webkit-flex-grow: 2;
	flex-grow: 2;

	position: relative;
}
.flex-header {
	top:0px;
	width:100%;
	padding-bottom: 1rem;
}
.flex-reset {
	display: -ms-flex;
	display: -moz-flex;
	display: -webkit-flex;
	display: flex;
}
.logo {
	text-align: center;
	max-width:200px;
	margin:0px auto;
	padding:1em;
}

#timeline-dates {
	-ms-align-self: center;
	-moz-align-self: center;
	-webkit-align-self: center;
	align-self: center;

	width:100%;

	display: -ms-flex;
	display: -moz-flex;
	display: -webkit-flex;
	display: flex;
}
#timeline-dates a {
	-ms-flex:1;
	-moz-flex:1;
	-webkit-flex:1;
	flex:1;

	color:#fff;
	font-weight: bold;
	position: relative;
	padding-top:1em;
	overflow: hidden;
}
#timeline-dates a.section-in-view::before {
	background-color: #000;
	border:.1em solid #fff;
}
#timeline-dates a::before {
	content: '';
	width:.75em;
	height:.75em;
	background-color: #fff;
	border-radius: 50%;
	position: absolute;
	top: 0em;
	left:50%;
	transform: translateX(-50%);
	z-index: 2
}

#timeline-dates a::after {
	position: absolute;
	width:100%;
	height: .2em;
	background-color: #fff;
	top: .3em;
	left:0;
	content: '';
}
#timeline-dates a:first-child::after {
	left:50%;
}
#timeline-dates a:last-child::after {
	right:50%;
	left: auto;
}
/* RESET –––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
html, body, header, footer, h1, h2, h3, h4, div, a, p, blockquote {
	margin: 0;
	padding: 0;
	text-decoration: none;
	color: inherit;
	font-family: inherit;
	list-style: none;
}

* {
	position: relative;
	box-sizing: border-box;
	border: none;
}

img {
}

/* SITE-WIDE –––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
html {
	height: 100%;

	font-size: 15px;
	font-family: Helvetica, Arial, sans-serif;
	font-weight: normal;
	text-align: center;

	background-color: #045092;
}

html::before {
	content: ' ';
	position: fixed;
	right: 0;
	top: 0;
	left: 50%;
	transform: translateX(-50%);

	width: 100%;
	height: 100%;

	background-image: url('../_assets/sw-city-left.svg');
	background-repeat: no-repeat;
	background-position: bottom center;
	background-size: auto 7rem;

	pointer-events: none;

	z-index: 0;
}

#swisher-logo {
	display: block;
	max-height: 100%;
	max-width: 100%;
}

.ignore-section-padding {
	margin: -1rem;
	width: calc(100% + 2rem);
}

.vertical-center-hack {
	margin-top: 50%;
	transform: translateY(-50%);
}

/* Typography ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
h1 {
	font-size: calc(1rem + 3vw);
}

h2 {
	font-size: 2rem;
	display: inline;
}

h3 {
	display: inline;
	font-size: 1.25rem;
}

p {
	font-size: 1.25rem;
	font-family: Georgia, serif;
	line-height: 135%;

	margin: 0rem auto 0.75rem auto;
}

h1 a, h2 a, h3 a, p a {
	text-decoration: underline;
}

h1 a:hover, h2 a:hover, h3 a:hover, p a:hover {
	color: #c2db00;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* HEADER –––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

h1 {
	-ms-flex: 2 0 auto;
	-moz-flex: 2 0 auto;
	-webkit-flex: 2 0 auto;
	flex: 2 0 auto;

	padding: 1em;
	color: #fff;
}

#tooltip {
	color: #fff;
	font-size: 12pt;
}

#shift {
	display: inline-block;
	padding: 0.25em 0.5em;
	border: 1px solid #fff;
	border-radius: 0.25em;
}

#timeline {
	display: -ms-flex;
	display: -moz-flex;
	display: -webkit-flex;
	display: flex;

  -ms-flex-wrap: nowrap;
	-moz-flex-wrap: nowrap;
	-webkit-flex-wrap: nowrap;
	flex-wrap: nowrap;

	overflow: hidden;
  overflow-x: auto;
	height:100%;
	position: absolute;
	width:100%;

	padding-bottom: 8rem;
}

#timeline .date-section {
	-ms-flex: 0 0 auto;
	-moz-flex: 0 0 auto;
	-webkit-flex: 0 0 auto;
	flex: 0 0 auto;

	height: 100%;

	-ms-flex-wrap: nowrap;
	-moz-flex-wrap: nowrap;
	-webkit-flex-wrap: nowrap;
	flex-wrap: nowrap;
}
.timeline-wrap {
	display: -ms-flex;
	display: -moz-flex;
	display: -webkit-flex;
	display: flex;

	height:100%;
	width:100%;
}

/* Divs  ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */

.timeline-item {
	margin-left: 1rem;
	margin-right: 1rem;
	min-width:80vw;
	max-width:80vw;
	display: flex;
	justify-content: center;
	align-items: center;
	padding-right: 2rem;
	border-right: 0.05rem solid #00274c;
	color: #fff;
	text-align: left;
	/*
	min-width: 0;
	border:1px solid red;
	display: flex;
	justify-content: center;
	align-items: center;
	flex: 0 0 auto;
	padding-right: 2rem;
	border-right: 0.05rem solid #00274c;
	color: #fff;
	text-align: left;
	*/
}

.timeline-item > div {
	display: block;
}

.timeline-item.first {
	max-width: calc(100vw - 3rem);
	text-align: center;
	border: none;
}

/*
.timeline-item.first::after {
	content: ' ';
	display: block;
	position: absolute;
	right: 1rem;
	top: calc(50% - 0.5rem);
	transform: rotate(45deg);
	width: 1rem;
	height: 1rem;
	border-right: 0.25rem solid #fff;
	border-top: 0.25rem solid #fff;
}
*/

.stand-alone-image-container {
	max-width: 32rem;
	height: 100%;
	overflow: hidden;
}

.stand-alone-image-container img {
	max-width: 100%;
	max-height: 100%;
}

.paired-image-container,
.staff-image {
	height: 15rem;
	overflow: hidden;
}

.paired-image-container img,
.staff-image img {
	max-width: 100%;
	max-height: 100%;
}

.staff-image {
	height: 12rem;
	margin-bottom: 0.5rem;
}

/* Vacancy Rates  –––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */

.vacancy-rate {
	-ms-flex-flow: column;
	-moz-flex-flow: column;
	-webkit-flex-flow: column;
	flex-flow: column;

	min-width: 24rem;
	text-align: center;

	margin-left: -1rem;
	padding-right: 0;

	z-index: 0;

	color: #c2db00;
}
	.vacancy-rate > div:nth-of-type(1) {
		width: 100%;
		margin-bottom: 1rem;
	}
	.vacancy-rate a {
		display: block;
		margin: auto;
		margin-top: 1rem;
		padding: 0.5rem 0.75rem;
		background-color: #00274c;
		color: #fff;
		font-weight: bold;
	}
	.vacancy-rate h3 {
		padding: 0 0.5rem;
	}

.vacancy-graph-container {
	width: 100%;
	background-repeat: no-repeat;
	background-position: center;
	position: relative;
}
	.vacancy-graph-container > img {
		display: block;
		width: 100%;
	}


/* Image Captions  –––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */

.image-caption {
	font-size: 10pt;
	font-style: italic;

	position: absolute;
	left: 0;

	background-color: #00274c;
	color: #fff;

	padding: 0.25em 0.5em;

	transform: translateY(0);
	opacity: 0;

	transition: transform 0.15s, opacity 0.1s;
	transition-timing-function: ease-out;
}

div:hover > .image-caption {
	transform: translateY(-100%);
	opacity: 1;
}

/* exception */
#agentSheets-80s > .image-caption {
	transform: translateY(-100%);
	top: 0;
}
#agentSheets-80s:hover > .image-caption {
	transform: translateY(0);
	opacity: 1;
}

/* Image Scroller  –––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */

#agentSheets-80s {
	background: none;
	box-shadow: none;
	height: 100%;
}

#agentSheets-80s > .image-scroller {
	height: 100%;
	overflow-y: auto;
	margin: 0;
	padding: 0;
}

.image-scroller > div {
	margin: 0;
	margin-bottom: 0.5rem;
	padding: 0;
	box-shadow: 2px 2px 4px rgba(0,0,0,0.125);

	position: sticky; top: 0;
}

/* Exceptions and Overrides */

.no-right-border {
	border-right: none;
	padding-right: 0;
	margin-right: 0;
}

/* Media Queries */

@media all and (max-width: 400px) {
	html {
		font-size: 13px;
	}
}
@media all and (min-width: 736px) {
}
@media all and (min-width: 850px) {
	.header {
		display: -ms-flex;
		display: -moz-flex;
		display: -webkit-flex;
		display: flex;

		padding:1em;

		-ms-align-self: center;
		-moz-align-self: center;
		-webkit-align-self: center;
		align-self: center;
	}
	.header .logo {
		max-width:15em;

		-ms-align-self: center;
		-moz-align-self: center;
		-webkit-align-self: center;
		align-self: center;
	}
	#timeline-dates {
		padding:2.5em;
	}
	.timeline-item {
		min-width:20em;
		max-width:30em;
	}
	/* Michigan Theater Section with tons of text */
	#yr-1979 {
		min-width: 30rem;
	}
	/* Agent Profiles */
	#agentSheets-80s img {
		max-height: 26rem;
	}

	#timeline {
		padding-bottom: 10rem;
	}
	html::before {
		background-size: auto 9.5rem;
	}
}
@media all and (min-width: 1280px) {
	html {
		font-size: 18px;
	}

	html::before {
		background-size: auto 15rem;
		top: 4rem;
	}
}
