body, html {
	height: 100%;
}

body {
	font-family: 'Nunito Sans', sans-serif;
	background-color: #fefcf7;
	overflow: hidden;
	color:#090701;
	font-size: 1.1rem;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Nunito Sans', sans-serif;
	color: #090701;
}

h2 {
	font-size: 1.8rem;
}

h3 {
	font-size: 1.3rem;
}

#float-r  {
	float: right;    
	margin: 10px 15px;
	}

#float-l  {
	float: left;    
	padding: 12px;
	}


.padded-dropcap {
float: left;
color: #fefcf7;
background-color: #cf2e2e;
font-size: 4.5rem;
border-radius: 5px;
line-height: 0.85;
padding-bottom: 0.1em;
padding-right: 0.1em;
padding-left: 0.1em;
margin-right: 0.05em;
margin-bottom: -0.04em;
}

figure-left {
	padding: 8px;
	float: left;
	}
  
figure-right {
	padding: 8px;
	float: right;;
	}

figcaption {
	background-color: #f8ebca;
	color: black;
	text-align: center;
  	font-style: italic;
  	font-size: smaller;
    padding: 4px;
	}

ol.page {
	background: #f8ebca !important; 
	padding: 10px !important;
	text-align: left !important;
	}
	
	ol li.page {
	background: #fefcf7 !important;
	color: black !important;
	padding: 5px !important;
	margin-left: 35px !important;
	text-align: left !important;
	}

.shadow {
	box-shadow: 0 1px 2px rgba(0,0,0,0.7) !important;
}


blockquote {
	margin-left: 2rem;
	font-style: italic;
	border-left: 2px solid #fefcf7;
	padding-left: 1rem;
}

#legend, #map_player {
	background-color: #ededed;
	padding: 5px;
	border-radius: 3px;
	height: 5.5rem;
}

#map_player {
	width: 22rem;
}

.category {
	padding: 3px 5px 3px 5px;
	margin-right: 5px;
	/*border-radius: 2px;
	line-height: 1.1rem;*/
}

#legend hr, #map_player hr {
	margin: 0 0 0.5rem 0;
}


.bg-dark {
	background-color: #333333!important;
}

.navbar-dark {
	color: #e6e6e6;
}

.navbar {
	z-index: 6;
	border-bottom: 1px solid #9f9f9f;
	background-color: #f8ebca !important;
}

.navbar-light .navbar-nav .nav-link {
    color: #090701;
}

navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover {
    background-color: #ededed;
}

.full_height {
	/*display: block;*/
	height: 100%;
}

.sidebar {
	padding-left: 40px;
	padding-right: 10px;
	padding-top: 1.5rem;
	box-shadow: 1px 0px 2px rgba(0, 0, 0, 0.2);
	z-index: 1;
}

.sidebar * {
	padding-right: 10px;
}

.sidebar img {
	padding-right: 0px;
	margin-right: 10px;
}

.scroll {
	max-height: 100%;
	overflow: scroll;
}

.map_container {
	height: 100%;
	padding-left: 0px;
	touch-action: none;
}

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

.iface_container {
	margin-right: 0px;
	margin-top: -3.5rem;
	padding-top: 3.5rem;
}

.site_title {
	font-style: italic;
}

.feature_thumbnail_lg {
	border: 5px solid #f2f2f2;
	margin-bottom: 15px;
}

.feature_banner {
	min-width: 100%;
}

.nav {
	background-color: #f8ebca;
	color: black !important;
}

.col {
  columns: 2 !important;
  -webkit-columns: 2 !important;
  -moz-columns: 2 !important;
}

.navbar-nav a:link {
	color: #e9ecef;
	text-decoration: underline;
}

.navbar-nav a:visited {
	color: #e9ecef;
	text-decoration: underline;
}

a {
	color: #0000ff;
	text-decoration: underline
}


a:link {
	color: #0000ff;
	text-decoration: underline
}

a:visited {
	color: #5858a7;
	text-decoration: underline
}

a:focus {
	color: #8000ff;
	text-decoration: underline
}

a:hover {
	color: #8000ff;
	text-decoration: underline!important;
}

a:active {
	color: #8000ff;
	text-decoration: underline!important;
}

.detail_popup .mapboxgl-popup-content {
	width: 18rem;
    padding: 0px 0px 15px 0px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.7);
    background-color: #fefcf7; /*color of small banner with buttons on popup*/
	}

/*.button {
	display: inline-block;
	padding: 10px 20px;
	text-align: center;
	text-decoration: none;
	color: #ffffff !important;
	background-color: #000000;
	border-radius: 6px;
	outline: none;
  }
  overridden by below*/

.btn {
    display: inline-block;
    font-weight: 400;
    color: #090701;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: #f8ebca;
    border-color: 1px solid #090701;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.btn-zoom {
    display: inline-block;
    font-weight: 400;
    color: #090701;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: #f8ebca;
    border-color: 1px solid #090701;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.btn-welcome:link, .btn-welcome:visited {
	background-color: #f44336;
	color: white;
	padding: 15px 25px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
	}
	
	.btn-welcome:hover, .btn-welcome:active {
	background-color: red;
	-ms-transform: scale(1.25); /* IE 9 */
	-webkit-transform: scale(1.25); /* Safari 3-8 */
	transform: scale(1.25); 
	margin-left: 3rem;
	}

.btn-zoom:hover {
	-ms-transform: scale(1.25); /* IE 9 */
	-webkit-transform: scale(1.25); /* Safari 3-8 */
	transform: scale(1.25); 
	margin-left: 3rem;
}

.mapboxgl-popup-content img {
	width: 100%;
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
}

.mapboxgl-popup-content {
	position: relative;
	background: #fefcf7;
	border-radius: 3px;
	box-shadow: 0 1px 2px rgba(0,0,0,.1);
	padding: 3px 3px 5px;
	pointer-events: auto;
}

.mapboxgl-popup-content p {
	font-size: 0.95rem;
	font-family: Tahoma, Helvetica, "Arial Unicode MS", sans-serif;
	margin: 0.4rem;
	color: #090701; /*text color for popup and hover banner, but overidden by follwing code so its only for over*/
}

.popup_header {
	position: relative;
}

.feature_title {
	position: absolute;
	bottom: 0px;
	color: #fefcf7 !important; /*color of popup text*/
	background-color: rgba(4, 3, 0, 0.65); /*background for popup text*/
	margin: 0!important;
	width: 100%;
	padding: 5px 0px 5px 0px;
	font-size: 1rem !important;
}

.mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip, .mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-tip, .mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-tip {
	border-top-color: #ededed;
}

.mapboxgl-popup-anchor-top .mapboxgl-popup-tip, .mapboxgl-popup-anchor-top-right .mapboxgl-popup-tip, .mapboxgl-popup-anchor-top-left .mapboxgl-popup-tip {
	border-bottom-color: #ededed;
}

.mapboxgl-popup-anchor-left .mapboxgl-popup-tip {
	border-right-color: #ededed;
}

.mapboxgl-popup-anchor-right .mapboxgl-popup-tip {
	border-left-color: #ededed;
}

.mapboxgl-ctrl-logo {
	visibility: hidden;
}

.mapboxgl-accessibility-marker {
	background: transparent;
	margin: 0;
	padding: 0;
	appearance: none;
	border-radius: 0;
	border: none;
	position: fixed;
}

.mapboxgl-accessibility-marker:focus {
	border: 2px solid black;
}

.image_container {
	margin-bottom: 50px;
}


/* The grid: Four equal columns that floats next to each other */
.column-gallery {
	float: left;
	width: 25%;
	padding: 10px;
  }
  
  /* Style the images inside the grid */
  .column-gallery img {
	opacity: 0.8; 
	cursor: pointer; 
  }
  
  .column-gallery img:hover {
	opacity: 1;
  }
  
  /* Clear floats after the columns */
  .row:after {
	content: "";
	display: table;
	clear: both;
  }
  
  /* The expanding image container */
  .container-gallery {
	position: relative;
	display: none;
  }
  
  /* Expanding image text */
  #imgtext {
	position: absolute;
	left: 5px;
	right: 5px;
	color: #fefcf7;
	background-color: #090701;
	font-size: 20px;
  }
  

/* Audio player styling */

.audiojs {
	width: 100%;
}

.audiojs .play-pause {
	width: auto;
}



/* Mapbox Overlays */

.overlay_container {
	position: absolute;
	margin-top: 1rem;
	z-index: 1;
}

.overlay_container .col-6 {
	background-color: #ededed;	
	padding: 15px;
	border-radius: 2px;
}

.blackout_overlay {
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.7);
	position: absolute;
	z-index: 4;
	display: none;
}

button.close {
	font-size: 3rem;
	position: fixed;
	right: 60px;
	top: 90px;
}

.feature_detail {
	background-color: #fefcf7;
	overflow-y: auto;
	height: 85%;
	width: 92%;
	position: absolute;
	z-index: 5;
	margin: 30px;
	border-radius: 3px;
	display: none;
}

.feature_detail .row {
    padding-bottom: 50px;
}

.feature_detail_content {
	padding: 5px;
}


a.mapboxgl-ctrl-logo {
	display: none;
}

.legend_items {
	height: 50%;
}

.mapboxgl-popup.mapboxgl-popup-anchor-bottom {
	max-width: 100%!important;
}

.mapboxgl-ctrl-bottom-left {
	margin-left: 15px;
}

#play_button_container {
	position: absolute;
	background-color: #dadada;
	border-radius: 2.5rem;
	width: 12%;
	height: 2.5rem;
	width: 2.5rem;
	margin-right: 5px;
	top: 0;
	left: 0;
}


.popup_player #play_button_container {
	border-radius: 1.8rem;
	height: 1.8rem;
	width: 1.8rem;
}


#play_button_container:hover {
	background-color: #c6c6c6;
}

.player_display {
	position: absolute;
	left: 20%;
	width: 84%;
}

.player_display p {
	margin: 0px;
}

.progress_bar_container {
	display: block;
	width: 100%;
	height: 0.3rem;
	background: #c1c1c1;
}

.progress_bar {
	display: block;
	width: 0;
	height: 100%;
	background: #b1b1b1;
}

.progress_bar_fill {
	display: block;
	height: 100%;
	width: 0%;
	background-color: #98cb2b;
}

.play img {
	height: 90%;
	width: auto ;
	margin: 5%;
} 

.player {
	margin: 5px 5px 0 5px;
	position: relative;
	height: 2rem;
}

.popup_player .player_display {
	left: 15%;
}

.feature_detail .player {
	margin-bottom: 2rem;
}

.feature_detail .player_display {
	left: 3.5rem;
}

.navbar-dark .navbar-nav .nav-link {
	color: white;
}

.navbar-dark .navbar-nav .nav-link:hover, .navbar-dark .navbar-nav .nav-link:active {
	color: white;
}

article img {
	max-width: 100%;
	display: block;
	margin: auto;
}

.dropdown-menu.show, .dropdown-menu {
	background-color: #212529;
}

.dropdown-item {
	background-color: transparent;
}

.visible::after {
	content: "✅"!important;
}

.text_only_container {
	max-height: 100%;
	overflow-y: scroll;
}

.text_only_container .feature_detail {
	margin-left: 40px;
}

.text_only_container .blackout_overlay {
	width: 101%;
}

.dropdown-item:focus, .dropdown-item:hover {
    color: #16181b;
    text-decoration: none;
    background-color: #090701;
}

a.theme.dropdown-item.Activism\,.Government\,.and.Politics {
	color: #e9ecef !important;

}

a.theme.dropdown-item.African.American.women:hover, a.theme.dropdown-item.African.American.women:active {
	color: #e9ecef !important;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
	.player_display {
		left: 15%;
	}

	.detail_popup .mapboxgl-popup-content {
		width: 22rem;
	}

	.popup_player #play_button_container {
		border-radius: 1.8rem;
		height: 1.8rem;
		width: 1.8rem;
	}
}

/* Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) {
	.feature_detail {
		width: 97%;
	}
	.detail_popup .mapboxgl-popup-content {
		width: 22rem;
	}

	.popup_player #play_button_container {
		border-radius: 2.5rem;
		height: 2.5rem;
		width: 2.5rem;
	}

}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
	.feature_detail {
		width: 97%;
	}
	.detail_popup .mapboxgl-popup-content {
		width: 22rem;
	}
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
	.feature_detail {
		width: 98%;
	}
	.detail_popup .mapboxgl-popup-content {
		width: 22rem;
	}
}
