/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h2, h4, h5, h6, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

html, body {
  height: 100%;
	font-family: 'Gotham SSm A','Gotham SSm B',"Helvetica Neue",Helvetica,Arial,sans-serif;
}

p, a {
	color: #c30975;
}

hr {
	width: 90%;
	opacity: 0.2;
}

/*sidebar*/

.input-sidebar {
	color: white;
	display: block;
	float: left;
	width: 25%;
	height: 100%;
	background-color: #333D47;
	overflow-y: auto;
}

.input-sidebar * {
	width: 90%;
	margin-left: 5px;
}

/*maps section*/

.map-container {
	float: left;
	height: 100%;
	width: 75%;
}

.map-container:after {
  content: "";
  display: block;
  clear: both;
	visibility: hidden;
}

.map {
	height: 50%;
	width: 50%;
	float: left;
	border-bottom: 1px solid black;
	margin-top: -1px;
}

#driver-B-map {
	margin-left: -1px;
	border-left: 1px solid black;
}

.directions {
	float: left;
	width: 50%;
	height: 50%;
	overflow: auto;
}

/*modal and detour maps*/

.modal-background {
	display: none;
}

.modal-background.active {
	display: block;
	background-color: #c30975;
	height: 100%;
	width: 100%;
	position: absolute;
	z-index: 10;
	opacity: 0.5;
}

.detour-modal {
	display: none;
}

.detour-modal.active {
	display: block;
  background-color: white;
  opacity: 1;
  width: 85%;
  height: 85%;
  left: 50%;
	top: 50%;
  z-index: 15;
  position: absolute;
	box-shadow: 0px 0px 1px 1px #440D2D;
	overflow: hidden;
	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
}

.detour-map {
	float: left;
	height: 50%;
	width: 80%;
	border-right: 1px solid black;
	margin-left: -1px;
}

#detour-B-map {
	margin-top: -1px;
	border-top: 1px solid black;
}

.detour-stats {
	float: left;
	width: 20%;
	height: 50%;
	background-color: #333D47;
	color: white;
}

.detour-stats:last-of-type {
	margin-top: -1px;
	border-top: 1px solid black;
}

.detour-stats * {
	width: 90%;
	margin-left: 5px;
}

/*animation*/

@keyframes flash {
	0% {color: white;}
	25% {color: #c30975;}
	50% {color: white;}
	75% {color: #c30975;}
	100% {color: white;}
}

.input-sidebar a {
	animation-name: flash;
	animation-iteration-count: infinite;
	animation-duration: 5s;
}
