/* z-indexes */

#permalink {
  z-index: 7001;
}
#header, #footer {
  z-index: 7000;
}
#metatext {
  z-index: 6000;
}
#introText {
  z-index: 5999;
}
#notediv {
  z-index: 5001;
}
#toc, #text {
  z-index: 5000;
}
#mf * {
  z-index: 4000;
}
#controls > div, #slider {
  z-index: 3000;
}
#blog_posts {
  z-index: 2500;
}
#legend {
  z-index: 2000;
}


body {
      overflow: hidden;
      margin: 0;
      padding: 0;
      font-family: Marcellus, Georgia; /* Marcellus, */
      height: 100%;
    }
    
html {
    overflow-x: hidden;
    height: 100%;
}

a 
{
    color: #283E67;
	text-decoration: none;
}

#metatext a {
  border-bottom: 1px dotted #283E67;
}

#metatext a.imageLink {
  border-bottom: none !important;
}


.image {
   border:2px solid #111111;
}
.image:hover {
	border: 2.2px solid #0078A8;
}
#header, #permalink {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height:44px;
	padding-top: 3px;
	padding-bottom: 3px;

	font-family: Abel, Verdana;
}

#header {
  opacity: 0.95;
  background-color: #283E67;
  color: #DADDE2;
  box-shadow: -3px 3px 7px #777;
}

#permalink {
  background-color: #DADDE2;

  color: #283E67;
  margin-top: -50px;
}

#header a {
  color: #DADDE2;
}

a img {
  border: none;
}

#header h1, #permalink h1
{
	font-size: 16px;
	line-height: 16px;
	margin: 0 0 0 15px;
	font-weight: normal;	
	position: absolute;
	right: 10px;
	top: 5px;
	font-family: Abel, Verdana;	
}
#header h2, #permalink h2 {
	font-size: 26px;
	font-weight: normal;
	position: absolute;
	left: 10px;
	top: 8px;
	margin: 0;
}

#header h2 {
  width: 600px;
}

#header h2.longTitle {
  font-size: 16px;
}
#header nav, #permalink .close {
  position: absolute;
  top: 22px;
  right: 10px;
  font-size: 16px;
}
#header nav ul {
  margin: 0;
}
#header nav ul li {
	display: inline-block;
	list-style: none;
	margin-left: 10px;
}

a, #animation_toggle, .popup_sources h4 {
  cursor: pointer;
}

#clickable_map {
  cursor: help;
}

#map_controls h2
{
	font-weight: bold;
	font-size: 1em;
}

#footer {
	position: absolute;
	bottom: 0;
	width:100%;
	height: 6px;
	background-color: #283E67;
	padding-top: 3px;
	padding-bottom: 3px;
	opacity: 0.95;
	box-shadow: -3px 3px 7px #333;
	padding-right: 20px;
	margin: -4px -10px;
}

#map, #plate, #page {
	position: absolute; 
	top: 0 !important; 
	right: 0 !important;
	left:0 !important;
	bottom:0 !important;
	cursor: default;
}

#map:active, #plate:active, #page:active {
  cursor: move;
}

#plate, #page
{
	background-image: url("../img/bgtile.jpg");
}

#metatext {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  padding-top: 80px;
  background-color: rgba(239, 239, 239, 0.95);
  color: #333;
  line-height: 1.7;
  overflow: scroll;
  display: none;
}

#metatext h2 {
  text-align: center;
}

#metatext > div {
  width: 650px;
  left: 50%;
  margin-left: -325px;
  position: absolute;
  display: none;
  font-size: 1.05em;
} 

#metatext #returnToMap {
  position:absolute; 
  top: 50px;
  right: 10px;
  font-family: Abel, Verdana;
  font-size: 16px;
  color: white;
  width: 145px;
  background: #283E67; 
  padding: 6px; 
  margin: 10px 0;
  box-shadow: 0 1px 7px rgba(0,0,0,0.5);
  -moz-border-radius: 4px; 
  -webkit-border-radius: 4px;
  border-radius: 4px;
  text-align: center;
}

#metatext a.imageLink img {
  border: 1px solid #283E67;
}

#logos {
  text-align: center;
}

#logos a {
  border: none !important;
}

#logos img {
  padding: 5px;
  vertical-align: middle;
}


#home .section {
  max-width: 1000px;
  margin: 0 auto;
}

#home figure {
  margin: 0;
}

#home .halfsubsection {
  width: 440px !important;
  background-color: #EFEFEF;
  -moz-border-radius: 4px; 
  -webkit-border-radius: 4px;
  border-radius: 4px;
  border: 1px solid #283E67;
  text-align: center;
  padding: 0 20px 20px;
}

#home .halfsubsection h3 {
  text-align: center;
}

#home p {
  font-size: 1.7em;
  text-align: center;
} 

#home img, #home video {
 width: 398px;
 height: 249px !important;
 border: 1px solid darkgrey;
}

#home #slideshow {
  float: left;

}

#home #slideshow figcaption {
  text-align: center;
  padding: 0 20px;
}



#home .section1 div {
  position: absolute;
  left: 50%;
  width: 520px;
  margin-left: -540px;
  top: 900px;
  background-color: #EFEFEF;
  -moz-border-radius: 4px; 
  -webkit-border-radius: 4px;
  border-radius: 4px;
  border: 1px solid #283E67;
  }
#home .section1 img {
  position: absolute;
  left: 50%;
  margin-left: 20px;
  top: 900px;
  background-color: #EFEFEF;
  -moz-border-radius: 4px; 
  -webkit-border-radius: 4px;
  border-radius: 4px;
  border: 1px solid #283E67;
  padding: 20px;
  width: 400px;
}


#home #introvideo {
  float: right;
}

#home #introvideo video {
  border: 1px solid darkgrey;
}

#tour-toc > * {
 margin-right: 400px; 
}

.tour h2 {
  text-align: center;
  background-color: rgba(239,239,239,0.6);
  -moz-border-radius: 8px; 
  -webkit-border-radius: 8px;
  border-radius: 8px;
  border: 1px solid silver;
  padding: 20px;
}

.tour h4 {
  padding: 10px 20px;
  background-color: #283E67;
  -moz-border-radius: 4px; 
  -webkit-border-radius: 4px;
  border-radius: 4px;
  text-align: center;
  color: white;
  display: inline-block;
  position: relative;
}

.tour .tour-nav {
  clear: both;
  text-align: center;
}
#sidebar {

}

#sidebar .hidden {
	visibility: hidden;
	z-index: -1000;
}

#text, #toc {
	opacity: 0.92;
	position: absolute;
	top: 44px; /* the height of the header */
	bottom: 0px; /* the height of the footer */
	right: -440px; /* the width + the left and right padding -440 */
	width: 400px; 
	overflow: scroll;
	background-color: white;
	color: black;
/*	border-left:2px solid #000;*/
	box-shadow: -5px 5px 10px #333;
	padding: 20px 20px 50px 20px;
}

#paullin-text h2, #paullin-text h3, #paullin-text h4
{
	text-align: center;
}

#paullin-text h2
{
	font-size: 18px;
}

#paullin-text h3
{
	font-size: 16px;
}

#paullin-text h4
{
	font-size: 15px;
}

#paullin-text h5
{
	float: left;
	padding-right: 7px;
	margin: 0;	
	font-size: 1em;
}


.info {
    padding: 6px 8px;
    font-size: 18px;
    background: rgba(255,255,255,0.8);
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    border-radius: 5px;
	font-family: Abel, Verdana;
}
.info h4 {
    margin: 0 0 5px;
    color: #444;
}
		

#slider 
{ 
	position:absolute; 
	top: 65px; 
	left: 50px; 
	height: 53px; 
	width: 15px; 
	background: #b3b3b3 !important; 
	cursor: 
}

#map_title
{
	position:absolute; 
	top: 65px; /* 85px; */ 
	right: 10px; 
	width: 300px; 
	height:50px;
	height: 42px; 
	background: #1d4063;
	color: white; 
	padding: 6px; 
	-moz-border-radius: 7px; 
	-webkit-border-radius: 7px; 
	border-radius: 7px; 
	opacity: 0.85; 
	text-align: center;
	font-family: Abel, Verdana;
	font-size: 18px;
}

#controls {
  position:absolute; 
  top: 50px;
  right: 10px;
  font-family: Abel, Verdana;
  font-size: 16px;
  color: #333;
}

#controls > div {
  position: relative;
  width: 145px;
  background: white; 
  padding: 6px; 
  margin: 10px 0;
  opacity: 0.85; 
  box-shadow: 0 1px 7px rgba(0,0,0,0.65);
  -moz-border-radius: 4px; 
  -webkit-border-radius: 4px;
  border-radius: 4px;
}


#nav_controls {
  font-size: 1.1em;
  text-align: center;
}

#view_control {
  text-align: center;
  color: #283E67;
}

#map_controls
{ 
  text-align: right;
}

#map_controls input[type="checkbox"] {
  margin: 3px 0;
}

#legend {
  position: absolute;
  bottom: 20px;
  right: 10px;
}

#legend img {
  border: 1px solid #777;
}



/* #previousMap, #nextMap
{
  margin-top: 10px;
  display: inline-block;
} */

.showing
{
	color: black !important;
}

.inactive
{
	color: #eee !important;
}

#map_plate_toggle a, #map_controls a { color: #444; }
.ui-slider-handle { 
  background: white !important; 
  height: 10px !important; 
  margin-left: 4px !important; 
  width: 15px !important; 
}


.leaflet-control-zoom
{
	top: 55px !important;
}

.leaflet-control-layers
{
	top: 55px !important;

}

.leaflet-control2
{
	top: 55px !important;
}
.leaflet-right2
{
	right: auto !important;
	left: 60px;
	
}

.leaflet-clickable
{
	cursor: crosshair;
}

td
{
	border: 1px solid #aaa;
}

table caption
{
	width: 75%;
	margin: 10px auto;
}

table
{
	margin: 10px auto;
	border-collapse:collapse;
	min-width: 75%;
}

th, td
{
	padding: 4px 8px;
	text-align: center;
}

#toc {
  font-family: Abel, Verdana;
}

#toc a {
  color: #444;
  font-weight: normal;
  font-size: 18px;
}

#toc a.selected {
  color: #283E67;
  text-decoration: underline;
}

#toc a:hover {
  text-decoration: underline;
  color: #283E67;
}

#toc a span.plate {
  display: inline-block;
  width: 20px;
  color: #999;
  font-size: 14px;
  text-transform: uppercase;
}

#toc ul
{
  margin:0;
}

#toc ul li 
{
  margin: 0px;
  padding-left: 20px;
  text-indent: -20px;
  /* margin-left: -0.5em; */
}

#toc h4 {
  color: #283E67 !important;
  font-weight: bold !important;
  background: white !important;
  border-color: #ddd !important;
}

#toc h4.ui-state-active {
  color: white !important;
  font-weight: bold !important;
  background: #283E67 !important;
}




.note_symbol {
  padding-right: 8px;
}

#text .note {
  display: none;
}

#notediv { 
  position: absolute;
  right: 20px;
  width: 400px;
  padding: 5px;
  border: 1px solid #333;
  background-color: #ddd;
  opacity: 0.99;
  font-size: 0.9em;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

#timeline.ui-slider {
  background: #ddd !important; /* #9B5F32 !important; */
  height: 12px !important;
}

#timeline .ui-slider-handle {
  height: 20px !important;
  width: 20px !important;
  /* the 11px offset on the left accouns for half the width and the default left border */
  margin: 0 0 0 -11px !important;
  border-color: #617EB3 !important;
}

.ui-slider-tick-mark{
display:inline-block;
background: #666;
position:absolute;
top: 12px;
width:2px;
height:4px;
}

.ui-slider-tick-label{
width: 40px;
position:absolute;
top: 20px;
color: #666;
font-family: Abel, Verdana;
font-size: 13px;
text-align: center;
}

#timeline .century {
  font-size: 15px !important;
}

#loading {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color:rgba(0,0,0,0.5);
  text-align: center;
}

#loading h1 {
  color: white;
  padding-top: 200px;
  opacity: 1; 
}

#progressBar {
  width: 400px !important;
  height: 22px;
  border: 1px solid #111;
  background-color: #292929;
  margin: 10px auto;
  border-radius: 5px;	
  overflow: hidden;
  box-shadow: 0 0 5px #333;
}

#progressBar div {
  height: 100%;
  color: #fff;
  text-align: right;
  line-height: 22px; /* same as #progressBar height if we want text middle aligned */
  width: 0;
  background-color: #283E67;
  background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#0099FF), to(#1a82f7)); 
  background: -webkit-linear-gradient(top, #0099FF, #1a82f7); 
  background: -moz-linear-gradient(top, #0099FF, #1a82f7); 
  background: -ms-linear-gradient(top, #0099FF, #1a82f7); 
  background: -o-linear-gradient(top, #0099FF, #1a82f7);
}

#mf {
  position: relative;
  height: 100%;
  overflow: visible;
  width: 0px;
  pointer-events: none;
  overflow: visible;
  float:left;
}

#mf * {
  pointer-events: all;
}


#mf.hasBlogAndPopup {
  margin-left: 40px;
}

#clickable_map {
  position: absolute; 
  bottom: 35px;
  left: 20px;
  padding: 2px 4px;
  text-align: center;
  background: transparent;
  border: 1px solid white;
  border-radius: 4px; 
  -webkit-border-radius: 4px; 
  -moz-border-radius: 4px; 
  background-color: white;
}

#clickable_map_explanation {
  position: absolute; 
  bottom: 70px;
  left: 20px; 
  padding: 4px 20px;
  max-width: 300px;
  text-align: left;
  background: white;
  border-radius: 4px; 
  -webkit-border-radius: 4px; 
  -moz-border-radius: 4px; 
  display: none;
}

#blog_post_icon {
  position: absolute; 
  bottom: 35px;
  left: 20px;
  padding: 2px 4px;
  text-align: center;
  background: transparent;
  border: 1px solid white;
  border-radius: 4px; 
  -webkit-border-radius: 4px; 
  -moz-border-radius: 4px; 
  background-color: white;
}

#blog_posts {
  position: absolute; 
  bottom: 70px;
  left: 20px; 
  padding: 4px 20px;
  max-width: 700px;
  text-align: left;
  background: white;
  border-radius: 4px; 
  -webkit-border-radius: 4px; 
  -moz-border-radius: 4px; 
  display: none;
}

#blog_posts a:hover {
  text-decoration: underline;
}

#blog_posts .title {
  font-weight: bold;
}

#blog_posts ul {
  margin-bottom: 0;
  padding-bottom: 0;
}

#animation_toggle {
  position: absolute; 
  bottom: 35px;
  left: 60px;
  height: 20px; 
  width: 70px;
  padding: 4px;
  text-align: center;
  background: #617EB3;
  border-radius: 4px; 
  -webkit-border-radius: 4px; 
  -moz-border-radius: 4px;
}

#animation_toggle a {
  color: white !important;
}

#animation_control {
  position: absolute;
  bottom: 35px;
  left: 110px;
  /* display: "inline-block" */
  visibility: hidden;
}

#animation_control a {
  border-radius: 4px; 
  -webkit-border-radius: 4px; 
  -moz-border-radius: 4px;
  box-shadow: 0 1px 7px rgba(0,0,0,0.65);
  background: white;
  display: block;
  padding-top: 2px;
  height: 27px;
  width: 29px;
  text-align: center;
  vertical-align: -10px;
  line-height: 29px;
}

#timeline {
  position: absolute;
  bottom: 45px;
  left: 150px;
  height: 35px;
  visibility: hidden;
}

#timelineYear {
  position: absolute;
  width: 80px;
  text-align: center;
  font-family: Abel, Verdana;
  font-size: 25px;
  visibility: hidden;
}

#mapTitle .plate_id {
  margin-left: 7px;
  font-size: .5em;
  display: inline;
  text-transform: uppercase;
  vertical-align: super;
}

#mapTitle .permalink {
  display: inline;
  font-size: .45em;
}

body#minimal #map_controls,
body#minimal #slider {
  top: 10px;
}

body#minimal #map_controls {
  width: 150px !important;
  height: 50px !important;
}

body#minimal .leaflet-control-zoom {
  top: 0px !important;
}

body#minimal .leaflet-bottom {
  bottom: 0px !important;
}

#introText {
  position: absolute;
  right: 0;
  top: 0;
  left: 0;
  padding: 64px 20px 20px 20px;
  background-color: white;
  box-shadow: -3px 3px 7px #777;
  opacity: 0.95; 
}

#introText p {
  width: 650px;
  margin: 0 auto;
  font-size: 1.1em;
}


.popup_sources h4 {
  text-align: right;
  font-weight: normal;
  color: #283E67;
  font-style: italic;
}

.popup_sources ul {
  display: none;
  padding-left: 10px;
}

/* bootstrap overwrites */

.carousel {
  margin-top: 44px;
  height: 800px;
  overflow: hidden;
}

.carousel-overlay h1 {
  font-family: Abel, Verdana !important;
  font-size: 64px;
  line-height: 64px;
  font-weight: bold;
  color: white;
  text-shadow: 3px 3px 5px #333;
}

.carousel-overlay h1 small {
  color: white;
  line-height: 64px;
}

.carousel-overlay {
  position: absolute;
  top: 133px;
  width: 600px;
  text-align: center;
  left: 50%;
  margin-left: -300px;
}

.carousel-enter {
  position: absolute;
  bottom: 60px;
  width: 300px;
  text-align: center;
  left: 50%;
  margin-left: -150px;
}

.carousel-caption {
  font-size: 24px;
  top: 600px;
  bottom: auto;
}

.btn {
  background-color: #283E67; 
  color: white;
  font-size: 1.4em;
  padding: 10px 40px;
  font-family: Abel, Verdana !important;
}

.btn:hover {
  color: #ddd;
}

.inner-item1 {
    text-align: center;
}

.carousel img {
  /* margin: 0 auto; */
  min-width: 1500px;
  min-height: 100%;
  width: 100%;
  height: auto;
  max-width: none;
  max-width: none;
  position: relative;

}



.content {
  min-height: 500px;
  padding: 40px 0;
  width: 1020px;
  margin: 0 auto;
  font-size: 1.3em;
  line-height: 1.7;
  
  position: relative;
}



.content h3 {
  text-align: center;
  font-family: Marcellus, Georgia;
  border-bottom: 1px solid silver;
  padding: 0 30px;
  margin: 0 auto 15px;
}

.parallax {
    height: auto;  
    margin: 0 auto; 
    width: 100%; 
    padding: 200px 0;
    background-repeat: no-repeat;
    background-position: 0 800px;
    background-size: cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  clear:both;
}

.small-pane {
  width: 276px;
  float: left;
  margin: 10px 24px;
  font-size: 0.9em;
  line-height: 1.4;

}

#landing h4 {
  text-align: center;
}

#landing h5 {
  text-align: center;
  font-weight: normal;
  color: #999;  
  cursor: pointer;
}

.small-pane img {
  border: 1px solid #444;
  margin-bottom: 10px;
}

.small-pane .animatedImages {
  position: relative;
  height: 172px;
  margin-bottom: 10px;
}

.small-pane .animatedImages img {
  position: absolute;
  top: 0;
  left: 0;
  display: none;
}

.small-pane .animatedImages img.active {
  display: inline;
  z-index: 1;
}

.commaList li {
  display: inline;
}

.commaList li:after{
	content: ',';
	padding-right: 5px;
}

.commaList li:nth-last-child(2):after {
	content: '';
	padding-right: 0;
}

.commaList li:last-child:before {
	content: ', and ';
	padding-right: 0;
}

.commaList li:last-child:after {
	content: '.';
	clear: both;
}

/* this prevents single item lists from containing commas and 'ands' */
.commaList li:only-of-type:before, .commaList li:only-of-type:after {
	content: '';
	padding: 0;
}



h5.instructions {
  line-height: 44px;
  margin: -40px 0 20px;
}

.carousel-control .icon-prev, .carousel-control .icon-next {
  width: 100px;
  height: 100px;
  margin-top: -50px;
  margin-left: -50px;
  font-size: 100px;
}

h5.instructions.next {
  position: absolute;
  bottom: -20px;
  left: 50%;
  margin-left: -50px;
  width: 100px;
}

cite {
  font-style: italic;
}

.control-rend {
  font-family: Abel, Verdana;
  font-size: 15px;
  color: #444;
  box-shadow: 0 1px 7px rgba(0,0,0,0.65);
  -moz-border-radius: 4px; 
  -webkit-border-radius: 4px;
  border-radius: 4px;
  padding: 2px 10px;
  white-space:nowrap;
}

#tableOfContents {
  column-count:3;
  -moz-column-count:3; /* Firefox */
  -webkit-column-count:3; /* Safari and Chrome */
}

#tableOfContents li {
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  font-family: Abel, Verdana;
  cursor: pointer;
}

#tableOfContents li a {
  border-bottom: 1px dotted #444;
}

#intro-blurb p {
  width: 600px;
  margin: 20px auto;
}

#intro-blurb #launch-video {
  text-align: center;
}

#intro-video {
  position: absolute;
  top: 0px; 
  height: 455px;
  width: 1000px;
  left: 50%;
  margin-left: -500px;
  text-align: center;
  display: none;
}

#close-video {
  text-align: right;
  width: 850px;
}

span.small-caps {
  font-family: 'Marcellus SC', Georgia; 
}

@media screen and (max-width: 1500px) { /* Specific to this particular image */
  .carousel img {
    left: 50%;
    margin-left: -750px;
  }
}

blockquote blockquote {
  margin: 0;
}

blockquote blockquote p:before     { content: open-quote }
blockquote blockquote p:after      { content: no-close-quote }
blockquote blockquote p:last-child:after { content: close-quote }

q.continued_quote:after { content: no-close-quote }

.geoPolygon {
  -webkit-animation: pulsate 1s ease-out;
  -webkit-animation-iteration-count: infinite; 
}

@-webkit-keyframes pulsate {
    0% {stroke-opacity: 0.5; stroke-width: 1}
    50% {stroke-opacity: 1.0; stroke-width: 1.1}
    100% {stroke-opacity: 0.5; stroke-width: 1}
}




/*  width: 145px;
  background: white; 
  padding: 6px; 
  margin: 10px 0;
  opacity: 0.85; */