/* 
Bootstrap overrides
==============================================================
*/

body
{
	background: #000;
	margin: 0;
	padding: 0;
	font-family: "Lato", sans-serif;
}

a:focus
{
	text-decoration: none;
	outline: none;
	color: #fff;
	opacity: 0.8;
}

a:hover
{
	text-decoration: none;
	outline: none;
}




/* 
Map
==============================================================
*/

.byline
{
	font-size: 20px;
	text-transform: uppercase;
	font-family: "Lato", sans-serif;
}

.navbar
{
	position: fixed;
	width: 100%;
	top: 0;
	left: 0;
	z-index: 1000;
	border-radius: 0;
	background: rgba(0,0,0, 0.9);
	border: none;
}

.navbar-default 
.navbar-nav > li > a { color: #ccc; }
.navbar-default .navbar-nav li > a:hover, 
.navbar-default .navbar-nav li > a:focus { color: #aaa; }

.navbar-default .navbar-brand
{
	font-family: "Georgia", serif;
	color: #ccc;
	font-size: 15px;
}

.navbar-brand:focus { color: #fff !important; }
.navbar-default .navbar-toggle { border: 0px; }

.dropdown-menu
{
	z-index: 1000;
	overflow-y: scroll;
	background: #000;
}

.dropdown-menu > li > a { color: #ccc; }
.dropdown-menu > li > a:hover { background: #000; }
.leaflet-control-zoom { top: 50px; }
.leaflet-control-zoom a { opacity: 0.5; }

.modal-content
{
	background-color: #000;
	color: #888;
}

.modal-header { border-bottom: none; }
.modal-footer { border-top: none; }

#logo
{
	background: url("images/logo.png") no-repeat;
	background-size: contain;
	display: block;
	height: 40px;
	opacity: 0.3;
	outline: medium none;
	position: fixed;
	left: 20px;
	text-indent: -9999px;
	bottom: 20px;
	width: 40px;
	z-index: 100;
}

#fsg
{
	background: url("images/fsg.png") no-repeat;
	background-size: contain;
	display: block;
	height: 40px;
	opacity: 0.5;
	outline: medium none;
	position: fixed;
	right: 20px;
	text-indent: -9999px;
	bottom: 20px;
	width: 30px;
	z-index: 100;
}

#map
{
	position: absolute;
	top: 0;
	bottom: 0;
	width: 100%;
	background: #000;
}

.slider-wrapper
{
	position: absolute;
	width: 400px;
	bottom: 120px;
	right: 100px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.date
{
	position: absolute;
	bottom: 160px;
	right: 100px;
	width: 250px;
	font-size: 16px;
	padding: 10px;
	text-align: center;
	border: 1px solid #444;
	border-radius: 3px 3px 3px 3px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
	background: rgba(0,0,0, 0.7);
	color: #ccc;
}

.map-tooltip-content { font-family: "Lato", sans-serif; }
.ui-state-default, 
.ui-widget-content .ui-state-default, 
.ui-widget-header .ui-state-default { border-color: #444; }

.ui-slider-horizontal
{
	background: rgba(0,0,0, 0.7);
	border: 1px solid #444;
}

.ui-slider-horizontal { height: 12px; }
.ui-state-default { background: #ccc !important; }

#title
{
	position: absolute;
	left: 60px;
	top: 10px;
	z-index: 10;
	background: #fff;
	padding: 10px 20px;
	border: 1px solid #BBBBBB;
	border-radius: 3px 3px 3px 3px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
	color: #222;
}

.story a { font-size: 12px; }

h1
{
	font-size: 28px;
	margin: 0 0 5px 0;
	font-weight: 900;
	color: #ccc;
}

a
{
	text-decoration: none;
	color: #00FF00;
}

h1 a { color: #444; }

#menu-control
{
	position: absolute;
	top: -120px;
	right: 30px;
	height: 180px;
	width: 70px;
	background: #fff;
	z-index: 100;
	box-shadow: 0 1px 7px rgba(0, 0, 0, 0.4);
	border-radius: 0 0 10px 10px;
	text-indent: -9999px;
	display: none;
}

.menu-item
{
	width: 70px;
	height: 60px;
	display: block;
	cursor: pointer;
}

.leaflet-control-attribution { display: none; }
.hidden { opacity: 0.2; }
#hide-btn { background: url('images/hide.png') no-repeat center center; }
#menu-btn { background: url('images/menu.png') no-repeat center center; }
#menu-btn:hover,
#hide-btn:hover { opacity: 0.8; }

.section-title
{
	text-align: center;
	position: absolute;
	right: 0;
	left: 0;
	margin-right: auto;
	margin-left: auto;
	top: 34%;
}

.section-title small { color: #ccc; }

.section-title h2
{
	font-size: 40px;
	opacity: 0.8;
	color: #ccc;
	font-weight: normal;
	font-family: "Georgia", serif;
}

#slide-0 h2 { 
  font-size: 60px; 
}
.nyc-controls,
.canal-controls,
.haiti-controls,
.port-controls { 
  display: none; 
}

.marker
{
	width: 40px;
	height: 40px;
	position: absolute;
	left: 0;
	right: 0;
	margin-left: auto;
	margin-right: auto;
	z-index: 100;
	top: 45%;
}

.marker img { width: 40px; }

#loading
{
	z-index: 10;
	position: absolute;
	right: 10px;
	top: 10px;
}

#legend
{
	position: absolute;
	bottom: 10px;
	left: 10px;
	background: #fff;
	color: #777;
	padding: 10px;
	border-radius: 3px 3px 3px 3px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
	z-index: 10;
	font-size: 12px;
	display: none;
}

#satellite
{
	position: absolute;
	bottom: 60px;
	right: 100px;
	background: #000;
	padding: 5px;
	border-radius: 3px 3px 3px 3px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
	border: 1px solid #444;
	z-index: 10;
	display: block;
	width: 60px;
	text-align: center;
	text-transform: uppercase;
	font-size: 10px;
}

#satellite.active,
#canal-play.active
{
	background: #777;
	color: #fff;
}

.play
{
	position: absolute;
	bottom: 50px;
	right: 100px;
	background: #000;
	padding: 5px;
	border-radius: 3px 3px 3px 3px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
	border: 1px solid #444;
	z-index: 10;
	display: block;
	width: 40px;
	height: 40px;
	text-align: center;
	text-transform: uppercase;
	font-size: 20px;
	color: #fff;
}

.play:hover
{
	opacity: 0.8 !important;
	color: #fff !important;
}

#sidebar
{
	position: absolute;
	left: 50px;
	top: 0;
	width: 300px;
	background: rgba(0,0,0, 0.8);
	height: 100%;
	overflow-x: hidden;
}

.row
{
	border-bottom: 1px solid #eee;
	padding: 10px;
	position: relative;
}

.close
{
	position: absolute;
	right: 0px;
	top: 0px;
	background: #eee;
	height: 10px;
	width: 10px;
	display: block;
	text-indent: -9999px;
	z-index: 10;
}

#info
{
	width: 300px;
	position: absolute;
	background: rgba(0,0,0, 0.7);
	font-size: 18px;
	z-index: 150;
}

.caption
{
	padding: 28px;
	color: #ccc;
	font-size: 15px;
	line-height: 1.3;
	font-family: "Lato", sans-serif;
	display: none;
}

#branding
{
	height: 80px;
	position: absolute;
	bottom: 0;
	left: 0;
	background: rgba(255,255,255, 0.5);
	z-index: 10;
	width: 100%;
	box-shadow: 0 1px 7px rgba(0, 0, 0, 0.4);
}

.next-btn
{
	z-index: 160;
	position: absolute;
	display: block;
	right: 20px;
	top: 30%;
	color: rgba(255,255,255, 0.3);
	font-size: 150px;
	text-shadow: 0 1px 7px rgba(0, 0, 0, 0.2);
}

.next-btn:hover,
.prev-btn:hover { opacity: 0.6; }

.prev-btn
{
	z-index: 160;
	position: absolute;
	display: block;
	left: 20px;
	top: 30%;
	color: rgba(255,255,255, 0.1);
	font-size: 150px;
	text-shadow: 0 1px 7px rgba(0, 0, 0, 0.4);
}

#info
{
	width: 500px;
	top: 100px;
	left: 120px;
}

#slide-0 #info
{
	width: 500px;
	top: 80px;
	left: 60px;
}

#slide-1 #info,
#slide-2 #info,
#slide-3 #info,
#slide-4 #info,
#slide-5 #info,
#slide-6 #info
{
	width: 500px;
	top: 100px;
	left: 120px;
}

.tour-image
{
	position: absolute;
	bottom: 90px;
	right: 20px;
	background: #000;
	padding: 10px;
	z-index: 10;
	width: 300px;
}

.tour-image img { width: 300px; }
#progress { margin: -20px 0 0 0; }

.progress-bar
{
	width: 33%;
	float: left;
	z-index: 10;
	height: 20px;
	color: #eee;
	font-size: 11px;
}

#progress-ch1 { }
#progress-ch3 { width: 34%; }

.overlay-image
{
	left: 0;
	right: 0;
	margin-left: auto;
	margin-right: auto;
}

.fullscreen
{
	z-index: 180;
	right: 15px;
	top: 55px;
	width: 40px;
	text-align: center;
	position: absolute;
	display: none;
	font-size: 16px;
	color: #999;
}

.embed-code {
  width: 100%;
  background: #333;
  color: #fff;
  border: 1px solid #555;
  padding: 5px;
}


/* 
Mobile
==============================================================
*/

@media (max-width: 600px)
{
	#branding { display: none; }
	
	#info
	{
		width: 100% !important;
		bottom: 0px !important;
		left: 0px !important;
		top: auto !important;
		padding-bottom: 10px;
	}
	
	.tour-image
	{
		top: 10px !important;
		right: 10px !important;
		width: 150px !important;
		bottom: auto !important;
	}
	
	.tour-image img { width: 150px !important; }
	.controls { display: none !important; }
	#slide-0 h2 { font-size: 28px; }
	
	#slide-memory h2
	{
		width: 70%;
		margin: 0 auto;
		font-size: 24px;
	}
	
	.byline { font-size: 16px; }
	
	.next-btn, 
	.prev-btn
	{
		font-size: 60px;
		top: 15%;
	}
	
	.next-btn { color: rgba(255, 255, 255, 0.8); }
	.prev-btn { color: rgba(255, 255, 255, 0.2); }
	.next-btn:focus, 
	.prev-btn:focus,
	.next-btn:hover, 
	.prev-btn:hover { color: rgba(255, 255, 255, 1) !important; }
	.leaflet-control-zoom { display: none !important; }
}