@font-face{
	font-family: 'Judge Bold';
	src: url('fonts/F37Judge-Bold.otf'), url('fonts/F37Judge-Bold.otf') format('otf');
}

@font-face{
	font-family: 'Grotesc Bold';
	src: url('fonts/F37Grotesc-Bold.otf'), url('fonts/F37Grotesc-Bold.otf') format('otf');
}

@font-face{
	font-family: 'Grotesc Book';
	src: url('fonts/F37Grotesc-Book.otf'), url('fonts/F37Grotesc-Book.otf') format('otf');
}

body {
	margin: 0;
	padding: 0;
	width: 100vw;
	height: 100vh;
	font-family: 'Roboto', sans-serif;
	font: 16px;
	/* font-weight: 400; */
	background: #f5f5f0;
	overflow: hidden;
	cursor: default;
}

.link{
	/* text-decoration: underline !important; */
	color: #289b8c !important;
	font-weight: bold !important;
}

.mobile, .mobile-text, .scroll-down.mobile-text, .scroll-down.mobile {display: none;}

.desktop, .desktop-text, .scroll-down.desktop-text, .scroll-down.desktop {display: block;}

.toggle > body {overflow: hidden;}

/* Prevent overscroll bouncing on touchscreen */
@media (pointer: coarse) {

  html {overflow: hidden; width:100%;}

	/* Removed 'positon: fixed' as solution to main menu not opening on iPhone */
  body {height: 100%;}
}

a,
a:hover {color: #289b8c;}

h3 {font-size: 40px;}
h4 {font-size: 18px;}

section > a > h2, section > a > h2:link,
section > a > h2:visited, section > a > h2:hover,
section > a > h2:active,
section > a > h3, section > a > h3:link,
section > a > h3:visited, section > a > h3:hover,
section > a > h3:active,
section > a > h4, section > a > h4:link,
section > a > h4:visited, section > a > h4:hover,
section > a > h4:active {
	color: #000;
	font-family: 'Judge Bold', sans-serif;
	/* font-weight: 700; */
	text-decoration: none;
}

section > a > p, section > a > p:link,
section > a > p:visited, section > a > p:hover,
section > a > p:active,
section > p > a,
section > p > a:link,
section > p > a:visited,
section > p > a:hover,
section > p > a:active,
section > a > ol > li, section > a > ol > li:link,
section > a > ol > li:visited, section > a > ol > li:hover,
section > a > ol > li:active,
section > a > ul > li, section > a > ul > li:link,
section > a > ul > li:visited, section > a > ul > li:hover,
section > a > ul > li:active {
	color: #000;
	font-weight: 400;
	text-decoration: none;
	text-align: justify;
}

section > a > ol > li, section > a > ol > li:link,
section > a > ol > li:visited, section > a > ol > li:hover,
section > a > ol > li:active,
section > a > ul > li, section > a > ul > li:link,
section > a > ul > li:visited, section > a > ul > li:hover,
section > a > ul > li:active {text-align: justify;}

section > a, section > a:link,
section > a:visited, section > a:hover,
section > a:active {
  text-decoration: none;
  font-weight: 400;
}

table,
table:link,
table:visited {
  font-size: 16px;
  color: #000;
  background-color: rgba(0,0,0,0);
  text-decoration: none;
  outline: none;
}

h3.intro-title, h3.intro-title:hover, h3.intro-title:active, 
h3.credits-title, h3.credits-title:hover, h3.credits-title:active {
	color: #16554d;
	display: inline;
	font-family: 'Judge Bold', sans-serif;
	font-size: 48px;
	text-align: center;
	margin: auto;
	text-transform: uppercase;
}

h3.intro-title span, h3.credits-title span {
	bottom: 0em;
	color: #BD8A00;
	opacity: 1;
	position: relative;
}


h4.map-key, h4.map-key:hover, h4.map-key:active {
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
}

.intro-title {font-size: 32px; margin-left: 20px; max-width: calc(100% - 160px); text-transform: uppercase;}
.credits-title {font-size: 24px;}

/* Map Keys */
.paddingBetweenCols tr {height: 36px;}
.paddingBetweenCols td {width: 80%; padding-right: 10px;}

.keySquare {width: 24px; height: 24px; margin-left: 20px; text-align: center;}
.keyCircle {width: 24px; height: 24px; margin-left: 20px; text-align: center; border-radius: 50%;}
.keyCircleSmall {width: 12px; height: 12px; margin-left: 26px; text-align: center; border-radius: 50%;}
.keyLine {min-width: 50px; height: 5px; padding: 0; text-align: center;}
.keyLineDashed {min-width: 25px; height: 5px; float: left;}
.keySVG {text-align: center;}

.empty-row {height: 20px;}

/* Map Hints */
.map-hint, .map-hint:hover {
	color: #289b8c;
	font-family: 'Roboto', sans-serif;
	font-weight: 700;
}

.map-hint span {
	font-feature-settings: 'liga';
	font-size: 20px;
	vertical-align: middle;
}

statement-text {
	color: #000;
	font-family: 'Judge Bold', sans-serif;
	font-size: 24px;
}

button.threed_rotate::before,
button.labels-button::before,
button.labels-off-button::before,
button.light-style-button::before,
button.dark-style-button::before,
button.satellite-style-button::before {
	font-family: "Material Icons";
	font-feature-settings: 'liga';
	font-size: 20px;
	line-height: 24px;
	vertical-align: middle;
}

button.threed_rotate::before{content: "3d_rotation";}

button.labels-button::before{content: "label";}

button.labels-off-button::before{content: "label_off";}

button.light-style-button::before{content: "brightness_5";}

button.dark-style-button::before{content: "brightness_4";}

button.satellite-style-button::before{content: "satellite";}

button.modal-button {width: 50px;}

button.modal-button::before {
	font-size: 16px;
	font-weight: bold;
	line-height: 24px;
	vertical-align: middle;
	content: "HELP";
}

#wrapper, #wrapperFeatures {
	width: 100vw;
	height: 100vh;
	z-index: 10000;
}

#features {
	position: absolute;
	width: 500px;
	height: 100%;
	left: -505px;
	max-width: 50%;
	top: 0;
	overflow-x: hidden;
	overflow-y: auto;
	overflow-y: auto;
	/* scrollingPrompt */
	/* scroll-behavior: smooth; */
	color: #000;
	background-color: #f5f5f0;
	padding-left: 35px;
	z-index: 10000;
	-webkit-transition: left 0.2s linear;
	transition: left 0.2s linear;
  	cursor: default;	
	direction: rtl;
	opacity: 1;
}
/* Highlight */
.highlight {
	background-color: "#289b8c"
}

/* Headshot Image */
.headshot-container {
	max-height: 100px;
	vertical-align: middle;
}

.headshot-img {
	border-radius: 50%;
	display: inline-block;
	height: 60px;
	width: 60px;
}

a:hover {text-decoration: none;}

.headshot-span {
	display: inline-block;
	font-size: 16px;
	vertical-align: middle;
}

.headshot-span > a > span {
	color: white;
	font-size: 16px;
	text-decoration: none;
}

section > .headshot-container > .headshot-span > a {
	color: #000;
	text-decoration: none;
}

.headshot-span > b > a.headshot-link {
	color: #289b8c;
	font-size: 16px;
	font-weight: 700;
}

a.skip-survey {
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	width: 80%;
	text-align: center;
	color: #000;
	cursor: pointer;
	padding: 10px;
	margin:0 auto;
	display:block;
	background-color: #f5f5f0;
	border-radius: 43px;
	box-shadow: 0 2px 8px 2px rgba(0,0,0, 0.6);
	-webkit-transition: left 0.2s linear;
	transition: left 0.2s linear;
	opacity: 1;
	font-weight: 700;
  text-decoration: none;
}

a.skip-survey > span {font-weight: 700;}

a.skip-survey:hover {
	opacity: 0.75;
	box-shadow: 0 2px 8px 2px rgba(0,0,0, 0.8);
}

div.scroll-down,
a.scroll-down {
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	width: 80%;
	text-align: center;
	color: white;
	cursor: pointer;
	padding: 10px;
	margin:0 auto;
	display:block;
	background-color: #289b8c;
	border-radius: 10px;
	box-shadow: 2px 2px 6px 1px rgba(0,0,0, 0.3);
	-webkit-transition: left 0.2s linear;
	transition: left 0.2s linear;
	opacity: 1;
	font-weight: 700;
  	text-decoration: none;
}

div.scroll-down > span,
a.scroll-down > span {font-weight: 700;}

div.scroll-down:hover,
a.scroll-down:hover {
	opacity: 0.75;
	box-shadow: 0 2px 8px 2px rgba(0,0,0, 0.8);
}

div.survey-link,
a.survey-link {
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	width: 80%;
	text-align: center;
	color: white;
	cursor: pointer;
	padding: 10px;
	margin:0 auto;
	display:block;
	background-color: #289b8c;
	border-radius: 40px;
	box-shadow: 0 2px 8px 2px rgba(0,0,0, 0.6);
	-webkit-transition: left 0.2s linear;
	transition: left 0.2s linear;
	opacity: 1;
	font-weight: 700;
  text-decoration: none;
}

div.survey-link > span,
a.survey-link > span {font-weight: 700;}

div.survey-link:hover,
a.survey-link:hover {
	opacity: 0.75;
	box-shadow: 0 2px 8px 2px rgba(0,0,0, 0.8);
}

/* Audio button */
.audio-container {
	height: 60px;
	width: 100%;
	vertical-align: middle;
}

.play-btn{
	background-color: grey;
	border-radius: 50%;
	color: #000;
	cursor: pointer;
	display: inline-block;
	height: 42px;
	vertical-align: middle;
	width: 42px;
}

.play-btn:hover{
  opacity: 0.75;
}

.play-btn i.material-icons {font-size: 32px; line-height: 36px; padding: 3px 0 0 5px;}

.audio-prompt {
	color: #289b8c;
	display: inline-block;
	font-weight: 700;
	line-height: 36px;
	padding-left: 10px;
	vertical-align: middle;
}

.audio-transcript {
	color: white;
	font-weight: bold;
	padding: 5px 0 0 45px;
}

#wrapperFeatures.switch>#features {
  pointer-events: none;
}

#wrapperFeatures.toggle>#features {
	left: 0px;
}

#featuresExpand {display: none;}

section {
	overflow: hidden;
	padding:  50px 40px 0px 20px;
	margin-bottom: 20px;
	opacity: 0.25;
	font-size: 16px;
	direction: ltr;
}
section.active {
  opacity: 1;
}
section:last-child {
  border-bottom: none;
  margin-bottom: 1000px;
}

.tab-pane > p > a.section-link,
section > p > a.section-link {
	color: #289b8c;
	font-weight: bold;
	text-decoration: underline;
}

#sidebar > .sidebar-logo > a > img {
	padding: 20px;
	width: 350px;
}

.sidebar-logo > a > img {
	max-width: 415px;
}

.story-image {
	max-width: 400px;
	width: 100%;
}

#img {
  width: 100%;
  display: block;
}

.client-logo {
	width: 50%;
	margin: 15px 0;
}

.project-logo {
    width: 100%;
    max-width: 400px;
    margin: 20px 0;
}

.modal-logo {
    width: 100%;
    max-width: 300px;
    margin: auto;
	align-items: center;
	display: flex;
}

.client-credits {
	max-width: 360px;
	max-height: 140px;
	padding-top:10px;
	padding-bottom: 20px;
}

/* Close Features Menu */
#menuClose {
  padding: 10px 10px;
	z-index: 1000000;
	top: 30px;
  left: -455px;
	width: 56px;
	height: 56px;
  position: fixed;
  cursor: pointer;
	-webkit-transition: left 0.2s linear;
	transition: left 0.2s linear;
  opacity: 0.7;
}
#wrapperFeatures.toggle>#menuClose {
	left: 10px;
}
#wrapperFeatures.toggle>#menuClose:hover,
#wrapperFeatures.toggle>#menuClose:active {
  opacity: 0;
}

#sidebar {
	z-index: 10000;
	position: absolute;
	left: -355px; /* extra 5px to ensure it's not rendered */
	width: 350px;
	top: 0;
	max-width: 90%;
	height: 100%;
	overflow-x: hidden;
	overflow-y: auto;
  direction: rtl;
	color: #333;
  background-color: rgba(46, 59, 72, 0.8);
	border-right: 1px solid #ddd;
	box-shadow: 0 -1px 24px rgba(0, 0, 0, 0.4);

	-webkit-transition: left 0.2s linear;
	transition: left 0.2s linear;
}

#sidebar * {
	direction: ltr;
}

/* Horizontal Scroll Buttons MOBILE */
#nextFeature,
#prevFeature{
  visibility: hidden;
}

.scrollbar-primary::-webkit-scrollbar {
  width: 15px;
	background-color: rgba(0,0,0,0);
}

.scrollbar-primary::-webkit-scrollbar-thumb {
	border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0);
  background-color: #289b8c;
}

#wrapper.toggle>#sidebar {
	left: 0;
}

#sidebar label {
	position: relative;
	display: flex;
	align-items: center;
	height: 34px;
	padding: 10px 20px;
	cursor: pointer;
}

#sidebar i {
	margin: 5px 10px;
	width: 24px;
	height: 24px;
}

label.shown {
	color: #535654;
}

body:not(.touch) #sidebar label:hover, #sidebar label.selected {
	opacity: 0.7;
}

#wrapper.toggle>#main {
	opacity: 0.7;
}

#wrapper.toggle>#main * {
	pointer-events: none;
}

#main {
	width: 100%;
	height: 100%;
}

#map {
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	/* For full-screen map on iOS Chrome - min-width: 100vw */
	min-width: 100vw;
	height: 100%;
}

#menu.arrow {
	text-align: center;
	height: 60px;
	margin: -4px 0px 0px -60px ;
	opacity: 0.85;
	cursor: pointer;
}

.wideArrow {
	height: 45px;
	margin: 0;
}

.narrowArrow {display: none;}

.maintained {
	padding-bottom: 10px;
}

#carouselButtons {
		position: absolute;
		left: 4px;
    bottom: 2px;
		color: #101820;
		opacity: 0.6;
}

a.right.carousel-control,
a.left.carousel-control {
	height: 90%;
	background-image: none;
	text-shadow: 0 2px 3px rgba(0,0,0,.9);
}

.playpause{
	color: #101820;
	cursor: pointer;
}

.playpause:hover{
	color: #101820;
	opacity: 0.9;
	text-decoration: none;
}

#contact {
	width: 85%;
}
.contact{
	float: left;
}

#bwb {
	opacity: 0.8;
	width: 70px;
	height: 41px;
}

#bwb:hover {
	opacity: 1;
}

#deetu {
	opacity: 0.8;
}

#deetu:hover {
	opacity: 1;
}

#explore {
	opacity: 0.8;
	height: 25px;
}

#explore:hover {
	opacity: 1;
}

#sidebarMenu {
	background-color: rgba(46, 59, 72, 0.7);
	z-index: 1000;
	color: grey;
	text-decoration: none;
	cursor: pointer;
}

#sidebarMenu {
	position: fixed;
	padding: 10px;
	top: 20px;
	left: 0px;
  border-top-right-radius: 2em;
	width: 70px;
	height: 67px;
}

#sidebarMenu > img {
	width: 45px;
	margin-right: 0;
}

#menu {
	background-color:  #f5f5f0;
	z-index: 1000;
	color: grey;
	text-decoration: none;
	cursor: pointer;
	position: absolute;
	padding: 12px 20px 15px 20px;
	bottom: calc(100% - 156px);
	right: calc(100vw - 80px);
  border-bottom-right-radius: 2em;
  border-top-right-radius: 2em;
}

.deetu-static {
	position: fixed;
	/* width: 100px; */
	bottom: 10px;
	right: 10px;
	z-index: 1050;
}

.deetu-static a {text-decoration: none;}

.deetu-static img {width: 100px; display: inline-block;}

#reset {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #555;
	font-size: 0.95em;
	cursor: pointer;
	padding: 5px 10px;
	border: 1px solid #ccc;
	border-radius: 3px;
	background: #eee;
}

#reset>i {
	width: 20px;
	height: 20px;
	font-size: 20px;
	margin: 0;
	margin-right: 10px;
}

label[for="greenspaces"].shown {
	color: #95ab00;
}

label[for="label-1"].shown {
	color: #000;
}

.footer {
	padding-bottom: 30px;
	/* Inner flex layout */
	display: flex;
	justify-content: center;
	flex-direction: row;
	align-items: center;
}

.footer>* {
	color: #777;
	text-decoration: none;
	margin: 0 10px;
}

.centrer {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

table {
	width: 100%;
}

th {
	text-align: left;
}

ol, ul {
	padding-left: 20px;
}

#sidebar ul {
	padding-left: 0;
}

hr {
	border-color: #ddd transparent transparent transparent;
	border-style: solid;
}

#sidebar li {
	display: flex;
	align-items: center;
}

img {
	margin-right: 10px;
}

svg {
	width: 100%;
	height: 100%;
	stroke: currentColor;
	fill: currentColor;
}

label>span {
	position: relative;
	flex-grow: 1;
}

div.mapboxgl-ctrl-top-right {z-index: 100;}

.mapboxgl-ctrl-group > button.ctrl-button {
  width: 100%;
  padding: 0 5px;
	font-family: 'Roboto', sans-serif;
}

.mapboxgl-ctrl-icon.mapboxgl-ctrl-compass > .mapboxgl-ctrl-compass-arrow.dark-ctrl {
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E %3Cpolygon fill='%23CCCCCC' points='6,9 10,1 14,9'/%3E %3Cpolygon fill='%23484848' points='6,11 10,19 14,11 '/%3E %3C/svg%3E");
}

.mapboxgl-ctrl-icon.mapboxgl-ctrl-zoom-in.dark-ctrl {
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E %3Cpath style='fill:%23CCCCCC;' d='M 10 6 C 9.446 6 9 6.4459904 9 7 L 9 9 L 7 9 C 6.446 9 6 9.446 6 10 C 6 10.554 6.446 11 7 11 L 9 11 L 9 13 C 9 13.55401 9.446 14 10 14 C 10.554 14 11 13.55401 11 13 L 11 11 L 13 11 C 13.554 11 14 10.554 14 10 C 14 9.446 13.554 9 13 9 L 11 9 L 11 7 C 11 6.4459904 10.554 6 10 6 z'/%3E %3C/svg%3E");
}

.mapboxgl-ctrl-icon.mapboxgl-ctrl-zoom-out.dark-ctrl {
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E %3Cpath style='fill:%23CCCCCC;' d='m 7,9 c -0.554,0 -1,0.446 -1,1 0,0.554 0.446,1 1,1 l 6,0 c 0.554,0 1,-0.446 1,-1 0,-0.554 -0.446,-1 -1,-1 z'/%3E %3C/svg%3E");
}

.view-button.ctrl-button.dark-view {
	background-color: rgba(77,82,92,1);
	color: #101820;
	border-top-color: rgba(255, 255, 255, 0.3);
}

.view-button::before {
	float: left;
	content: "flight_land";
	font-family: "Material Icons";
	line-height: 24px;
	padding-left: 1px;
	padding-right: 6px;
	font-feature-settings: 'liga';
}

.ctrl-icon {
    float: left;
		font-size: 20px;
}

.ctrl-icon-text {
    float: left;
    line-height: 24px;
}

.mapboxgl-ctrl-group {
    border-radius: 4px;
}

.mapboxgl-popup-content {
	border-radius: 3px;
	max-width: 625px;
 	padding: 10px;
	text-align: center;
}

.popup-containter-img {
	width: 100%;
	max-width: 250px;
}

.mapboxgl-popup {
    max-width: 95% !important;
    z-index: 10;
}

.popup-vimeo {
	background-color: rgba(0,0,0,0);
	min-height: 100vh;
	left: 0;
	position: absolute;
	min-width: 100vw;
	top: 0;
	transform:none !important;
	z-index: 1000;
}

.popup-vimeo div {
	background-color: rgba(0,0,0,0.85);
	min-height: 100vh;
}

.mapboxgl-popup-close-button {
	background-color: #f5f5f0;
	border-radius: 50%;
	color: #000;
	font-family: 'omnes-pro',"HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Figtree, "Lucida Grande", sans-serif;
  font-size: 44px;
	height: 46px;
	line-height: 40px;
	padding: 0 0 12px 0;
	position: absolute;
	/* right: calc(50vw - 20px); */
	width: 46px;
	top: 2vh;
	display: none;
}

.mapboxgl-popup-close-button:hover {
	background-color: #f5f5f0;
	border-radius: 50%;
	opacity: 0.5;
}

.popup-title {
  padding: 3px;
  font-size: 16px;
  font-weight: 700;
	font-family: 'Roboto', sans-serif;
	/* max-width: 200px; */
  /* padding-right: 20px; */
	text-align: center;
	/* transform: skewX(7deg); */
}

.popup-info {
	color: #101820;
	font-size: 16px;
	font-weight: 500;
	font-family: 'Roboto', sans-serif;
	margin: 0;
	max-width: 200px;
	padding: 3px;
	text-align: center;
}

a.popup-title,
a.popup-title:active {
	color: #289b8c;
	text-decoration: none;
}

a.popup-title:hover {opacity: 0.65;}

.popup-caption {
	color: white;
	font-size: 16px;
	font-family: 'Roboto', sans-serif;
	padding-top: 5px;
	text-align: center;
	margin-left:calc((100% - 1000px)/2);
	max-width: 1000px;
}

.embed-popup {
	/* margin-top: 10vh; */
	align-items: center;
	background-color: rgba(0,0,0,0.85);
	position: fixed;
	min-width: 100%;
	height: 100%;
	top:0;
	left:0;
	z-index: 1000001;
}

.embed-360 {padding: 0px;}

/* splitview image slider */
.slider {
    position: absolute;
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 100%;
    background-color: white;
	opacity: 0;
    outline: none;
    margin: 0;
    transition: all .2s;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 3;
}

.slider:hover {background-color: rgba(255,255,255, .1);}

.slider-button {
    size: 50px;
    pointer-events: none;
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: white;
    left: calc(50% - 29px);
    top: calc(50% - 29px);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 3;
	border: solid 5px #289b8c;
}

.slider-button:after {
	content: '';
	padding: 5px;
	display: inline-block;
	border: solid #289b8c;
	border-width: 0 4px 4px 0;
	transform: rotate(-45deg);
}
.slider-button:before {
	content: '';
	padding: 5px;
	display: inline-block;
	border: solid #289b8c;
	border-width: 0 4px 4px 0;
	transform: rotate(135deg);
}

.splitview {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

.panel {
    position: absolute;
    width: 100vw;
    min-height: 100vh;
    overflow: hidden;
}

.panel .content {
	position: absolute;
	width: 100vw;
	min-height: 100vh;
	color: #FFF;
}

.bottom {
	background-color: rgb(44, 44, 44);
	z-index: 1;
}

.top {
	background-color: rgb(99, 99, 99);
	border-right: solid 7px #289b8c;
	z-index: 2;
	width: 50vw;
}

.popup-close {
	background-color: #289b8c;
	border-style: none;
	color: #fff;
	font-family: 'Roboto', sans-serif;
 	font-size: 18px;
	font-weight: 700;
	height: 40px;
	line-height: 40px;
	padding: 0 0 0 0;
	position: static;
	width: 100vw;
}

.popup-close:hover {
	opacity: 0.9;
}

.btn-hidden {display:none;}

#popup-video {
	min-height: 80vh;
	min-width: 100%;
	margin-top: 10vh;
}

#popup-360 {
	width: 100vw;
	height: 100vh;
	padding: 0;
}

#popup-img {
	object-fit: contain;
	max-height: 75vh;
	height: auto;
	margin-top: 7vh;
	margin-left:calc((100% - 1000px)/2);
	width: 100%;
	max-width: 1000px;
}

#popup-caption {
  height: auto;
margin-right: 10px;
padding-top: 5px;
  position: relative;
text-align: left;
max-width: 100vw;
}

#popup-caption span {
  color: #101820;
	font-size:16px;
}

@media only screen and (min-width:500px) and (max-width:1020px) {
	#popup-img {
		margin-left: 0;
	}

	.intro-title {
		display: block;
		font-size: 50px;
		margin-left: 0;
		max-width: 100%;
	}
}

a.popup-cta {
	font-size: 14px;
	width: 180px;
	text-align: center;
	color: white;
	cursor: pointer;
	padding: 6px;
	margin: 10px auto;
	display:block;
	background-color: #289b8c;
	border-radius: 43px;
	box-shadow: 0 2px 8px 2px rgba(0,0,0, 0.6);
	-webkit-transition: left 0.2s linear;
	transition: left 0.2s linear;
	opacity: 1;
  text-decoration: none;
}

a.popup-cta > span {font-weight: 800;}

a.popup-cta:hover {
	opacity: 0.75;
	box-shadow: 0 2px 8px 2px rgba(0,0,0, 0.8);
}

.mapboxgl-popup-content p {
    padding: 3px;
    font-size: 16px;
    font-weight: 700;
		font-family: 'Roboto', sans-serif;
		margin: 0;
		text-align: center;
}

.mapboxgl-popup-content p a {
	color: #289b8c;
	text-decoration: none;
}

.carousel-inner {
	width: 420px;
	height: 280px;
}

.carousel-inner.carousel-portrait {
	width: 420px;
	height: 480px;
}

.popup-table {
    font-size: 13px;
    margin-top: 5px;
		/* transform: skewX(7deg); */
}

.popup-table td, .popup-table th {
    padding: 3px;
		font-family: 'Roboto', sans-serif;
}

.popup-table th span a {
    color: #289b8c;
}

.popup-table th span a:hover {
    text-decoration: none;
	  color: #289b8c;
}

img.popup-image {
	/* width: 80vw; */
	max-width: 600px;
	margin: 0;
}

/* Modal overrides */
#intro-modal {
	color: #000;
	font-size: 16px;
	overflow: hidden;
}

.modal {z-index: 1060; top: 60px;}

.modal.show {overflow-y: hidden;}

.modal-backdrop.show {z-index: 1050 !important;}

.modal .nav {margin-bottom: 15px;}

.nav > button {
	color: #289b8c;
	font-weight: 700;
	padding: 5px 10px;
}

.nav > button:hover {
	background-color: rgba(0, 42, 78,0.1);
	color: #289b8c;
}

.nav > button:active {
	color: #000;
	padding: 5px 10px;
	background-color: #f5f5f0;
}

.modal-dialog {
	width: 75%;
	max-width: 780px;
}

.modal-content {
	background-color: #f5f5f0;
	border: none;
	border-radius: 4px;
	overflow-x: hidden;
}

.nav-tabs {
	margin-left: -15px;
	padding-left: 15px;
	margin-right: -15px;
	padding-right: 15px;
	font-weight: bold;
	border-bottom: 1px solid #ddd;
}

h3.modal-title {
	color: #16554d;
	display: inline;
	font-family: 'Judge Bold', sans-serif;
	font-size: 34px;
	/* font-weight: 700; */
	/* letter-spacing: 0rem; */
	text-align: center;
	margin: auto;
	text-transform: uppercase;
}

h3.modal-title span {
	/* animation: move-text 1s;  */
	bottom: 0em;
	color: #BD8A00;
	opacity: 1;
	position: relative;
}

h3.modal-title span:nth-child(1) {animation-delay: .2s;}
h3.modal-title span:nth-child(2) {animation-delay: .4s;}
h3.modal-title span:nth-child(3) {animation-delay: .6s;}
h3.modal-title span:nth-child(4) {animation-delay: .8s;}
h3.modal-title span:nth-child(5) {animation-delay: 1s;}
h3.modal-title span:nth-child(6) {animation-delay: 1.2s;}
h3.modal-title span:nth-child(7) {animation-delay: 1.4s;}
h3.modal-title span:nth-child(8) {animation-delay: 1.6s;}

@keyframes move-text {
    /* 0% { bottom: 0;} */
    0% { bottom: 0; opacity: 1;}
	50% { bottom: 0.4em; opacity: 1;}
    100% { bottom: 0; opacity: 1;}
    /* 100% { bottom: 0;} */
    /* 100% { bottom: 0;} */
}

.btn-close {margin-left: 0 !important;}

img.modal-title-img {
	margin: 5px 0 10px 0;
	max-height: 25px;
}

.modal-tagline {
	font-weight: 700;
	text-align: center;
}

.modal-image {
	width: 210px;
}

.tab-content {
	overflow-x: hidden;
	overflow-y: auto;
	max-height: calc(100vh - 400px);
	min-height: 80px;
}

.tab-pane {
  overflow-y: auto;
	overflow-x: hidden;
}

.accordion-button:focus {
	outline: 2px solid black;
  	border-radius: 3px;
}

.modal-footer {
	align-items: initial;
	border-top-color: #e5e5e5;
	display: flex;
	padding: 20px 15px;
	width: 100%;
}

.modal-footer > .modal-cta {
	width: 45%;
	max-width: 250px;
}

.modal-footer > .secondary-cta {
	background-color: #f5f5f0;
	color: #289b8c;
}

button.close {
	color: #000;
	opacity: 0.9;
}

button.close:hover {
	color: #000;
	opacity: 0.4;
}

.modal-cta {max-width: 300px;}

.amplify {
	color: #289b8c;
	font-family: 'Roboto', sans-serif;
	font-size: 22px;
	font-weight: 300;
}

#deetuLogo {
	height: 50px;
	margin-top: -40px;
	float: right;
}

/* Cookies popup */
.cookie-confirmation {
    background-color: #ffffff;
    border-radius: 4px;
    bottom: 50px;
    box-shadow: 0 2px 8px 0 rgba(29, 29, 27, 0.15);
    display: none;
	font-size: 12px;
    margin: 13px;
    padding: 20px;
    position: fixed;
    right: 0;
    width: 300px;
	max-width: 90vw;
    z-index: 1070;
}

.cookie-confirmation__content p {margin: 0 15px 0 0;}

.cookie-confirmation__content a {color: #2475CC;}

.cookie-confirmation, .cookie-confirmation__footer {margin-top: 1.5rem}

.cookie-confirmation__close {
	position: absolute;
	top: 0;
	right: 0;
	margin: 20px;
	vertical-align: top;
}

.cookie-confirmation__close svg {
	fill: #616161;
	width: 15px;
	height: 15px;
	cursor: pointer;
}

.cookie-confirmation__close:hover {opacity: 0.7;}

.btn-cookies {
	font-family: 'Montserrat', sans-serif;
	font-size: 14px;
	width: 80%;
	text-align: center;
	color: #2475CC;
	cursor: pointer;
	font-weight: 700;
	padding: 10px;
	margin:0 auto 5px auto;
	display:block;
	/* background-color: #aae1ff; */
	border: 2px solid #484848;
	border-radius: 43px;
	/* box-shadow: 0 2px 8px 2px rgba(0,0,0, 0.6); */
	-webkit-transition: left 0.2s linear;
	transition: left 0.2s linear;
	opacity: 1;
	text-decoration: none;
}

.btn-cookies:hover {color: #2475CC; opacity: 0.7;}

img#langFlag {
	width: 30px;
	height: 20px;
	border-style: none;
	margin: 0;
}

section > a.transcript-btn {
	color: #289b8c;
	font-weight: 700;
}

/* Updated attribution with Mapbox GL JS V1.0.0 */
.mapboxgl-ctrl-attrib.mapboxgl-compact {
	background-color: rgba(255,255,255,0.5);
	border-radius: 3px 12px 12px 3px;
	font-size: 12px;
	left: calc(100vw - 430px);
	position: fixed;
	right: 50px;
	top: 6px;
	visibility: hidden;
	z-index: 100;
}
/* Updated attribution with Mapbox GL JS V1.0.0 */
.mapboxgl-ctrl-attrib.mapboxgl-compact:hover {
	padding: 0;
	visibility: visible;
	margin: 10px;
}
/* Updated attribution with Mapbox GL JS V2.0.0 */
.mapboxgl-ctrl-attrib.mapboxgl-compact::after {
	position: fixed;
	top: -2px;
	right: 8px;
	visibility: visible;
	z-index: 100;
	content: "";
    cursor: pointer;
    position: absolute;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd'%3E%3Cpath d='M4 10a6 6 0 1012 0 6 6 0 10-12 0m5-3a1 1 0 102 0 1 1 0 10-2 0m0 3a1 1 0 112 0v3a1 1 0 11-2 0'/%3E%3C/svg%3E");
    background-color: hsla(0,0%,100%,.5);
    width: 24px;
    height: 24px;
    box-sizing: border-box;
    border-radius: 12px;
}

a.mapboxgl-ctrl-logo {
	position: fixed;
	bottom: 10px;
}

#mobile-chapters #mobile-pagination{
	display: none;
}

/* Bootstrap Accordion Modal overrides for dark-theme websites */
/* .accordion {
    --bs-accordion-border-color: rgba(222,226,230,0);
}

.accordion-item {
    border: var(--bs-accordion-border-width) solid rgba(255,255,255,0.1) !important;
} */

.accordion-button:focus {
    box-shadow: none;
}
.accordion-button.collapsed{
    background-color: #f5f5f0 !important;
    color: #000;
}

.accordion-button:not(.collapsed) {
	color: #000;
}

.accordion-button{
    background-color: #f5f5f0 !important;
    border-color: #cfc5b8 !important;
    color: #000;
}

.accordion-body{
    background-color: #f5f5f0;
    color: #000000;
}

.nav-link.active{
    background-color: #f5f5f0 !important;
	border-bottom-color: #f5f5f0 !important;
    color: #000000 !important;
}

.nav-link:hover{
	background-color: #f5f5f0 !important;
	border-bottom-color: #f5f5f0 !important;
    color: #000000 !important;
}

.table > thead > tr > th, .table > tbody > tr > td{
    background-color: #f5f5f0 !important;
    color: #000000 !important;
}

/* Bootstrap Accordion Modal overrides for dark-theme websites */
/* .accordion-button::after{
    background-image: url('assets/dropdown-white.svg');
} */

@media only screen and (max-width:500px) {

	#wrapperFeatures.toggle > #mobile-pagination{
		bottom: 0;
		-webkit-transition: bottom 0.2s linear;
		transition: bottom 0.2s linear;
	}

	#wrapperFeatures.toggle > #mobile-chapters {
		-webkit-transition: top 0.2s linear;
		transition: top 0.2s linear;
		top: calc(50% - 10px);
	}

	#wrapperFeatures.toggle > #mobile-chapters::before {
		bottom: 0;
	}

	.mobile, .mobile-text, .scroll-down.mobile-text, .scroll-down.mobile {display: block;}

	.desktop, .desktop-text, .scroll-down.desktop-text, .scroll-down.desktop {display: none;}

	a.scroll-down {width: 90%;}

	.client-logo {
		width: 30%;
		max-width: 415px;
		margin-top: 20px;
	}

	/* .client-credits{
		max-width: 60px;
	} */

	/* Features MOBILE */
	#features {
		position: fixed;
		white-space: nowrap;
		width: 100vw;
		max-width: 100vw;
		height: 50%;
		top: 100%;
		left: 0;
		overflow-x: hidden;
		overflow-y: hidden;
		box-shadow: 0 2px 5px 2px rgba(0,0,0, 0.2);
		margin-left: 0;
		padding-left: 0;
		direction: ltr;
	}

	#features a h3 {
		padding-right: 15px;
	}

	.intro-title {
		font-size: 2rem;
	}

	/* Various Features Animations/Transitions MOBILE */
	#wrapperFeatures.toggle > #features {
		top: 50%;
		-webkit-transition: top 0.2s linear;
		transition: top 0.2s linear;
	}

	#wrapperFeatures.notransition > #features {
		-webkit-transition: none !important;
		transition: none !important;
	}

	/* Text Fade Out */
	/* #wrapperFeatures.toggle > #features:before {
		content: "";
		width:100%;
		height: 15%;
		position:fixed;
		left:0;
		bottom:0px;
		background: linear-gradient(to top, #101820, rgba(255,255,255,0));
		pointer-events: none;
	}

	#wrapperFeatures.toggle > #features.dark-before:before{
		content: "";
		width:100%;
		height: 15%;
		position:fixed;
		left:0;
		bottom:0px;
		background: linear-gradient(to top, black, rgba(0,0,0,0));
		pointer-events: none;
	} */

	section {
		top: 0;
		width: 100vw;
		min-height: 50px;
		height: 100%;
		padding: 20px 20px;
		display: inline-block;
		white-space: normal;
		overflow-y: auto;
		vertical-align: top;
	}

	section > a > h2, section > a > h2:link,
	section > a > h2:visited, section > a > h2:hover,
	section > a > h2:active,
	section > a > h3, section > a > h3:link,
	section > a > h3:visited, section > a > h3:hover,
	section > a > h3:active {
		text-align: left;
	}

	section > a > p, section > a > p:link,
	section > a > p:visited, section > a > p:hover,
	section > a > p:active,
	section > p > a, section > p > a:link {
		text-align: justify;
		font-size: 16px;
	}

	section > a > h3, section > a > h3:link,
	section > a > h3:visited, section > a > h3:hover,
	section > a > h3:active {
		font-size: 26px;
		margin: 15px 0 0 0;
	}

	statement-text {font-size: 20px;}

	.headshot-span > a > span,
	.headshot-span > b > a.headshot-link {
		font-size: 16px;
	}

	.headshot-span {
		font-size: 14px;
	}

	.headshot-img {
		margin-right: 5px;
		height: 50px;
		width: 50px;
	}

	div.scroll-down,
	a.scroll-down {
		max-width: 250px;
		width: 100%;
	}

	h4 {font-size: 16px; margin:0;}

	/* Map Key- add extra padding on mobile */
	.keySquare {margin-left: 7px;}
	.keyLineDashed {min-width: 15px; height: 5px; float: left;}
	.keySVG {text-align: center;}
	.el-final-section {margin-bottom: 75px !important;}

	/* Features Menu */
	#menu {
		opacity: 1;
		bottom: 20px;
		right: 20px;
		width: 55px;
		height: 55px;
		border-radius: 100%;
		box-shadow: 0 3px 10px 2px rgba(0,0,0, 0.3);
	}

	.mapboxgl-popup-close-button {
		top: calc(100% - 70px);
		right: 20px;
	}

	#sidebarMenu {
	  border-bottom-right-radius: 2em;
	}

  .narrowArrow {
		display: inline;
		position: absolute;
		width: 30px;
		height: 30px;
		left: calc(100% - 42px);
		top: calc(100% - 43px);
		margin: 0;
		opacity: 1.15;
	}

	.wideArrow {display: none;}

	/* Close Features Menu MOBILE */
	#menuClose {
		top: calc(100vh + 50px);
		padding: 0;
		left: calc(100vw - 50px);
		width: 30px;
		height: 30px;
		opacity: 0.45;
	}

	#wrapperFeatures.toggle>#menuClose {
		top: 52%;
		right: 0;
		left: calc(100vw - 42px);
	}

	/* Horizontal Scroll Buttons MOBILE */
	#nextFeature,
	#prevFeature {
		visibility: visible;
		z-index: 100000;
		position: fixed;
		top: -100vh;
		padding: 3px;
		width: 30px;
		background-color: #289b8c;
		border-radius: 10%;
		box-shadow: 2px 2px 6px 1px rgba(0,0,0, 0.3);
	}

	#nextFeature {right: 2px;}

	#prevFeature {left: 9px;}

	#nextFeature.toggle,
	#prevFeature.toggle {top: calc(75% + 35px);}

	#sidebar {
		max-width: 75%;
	}

	.story-image {
		width: 100%;
	}
	
	.popup-containter-img {
		width: 100%;
		max-width: 175px;
	}

	img.popup-image {max-width: 90vw;}

	.popup-info {font-size: 14px;}

	.popup-caption{
		font-size: 14px;
		margin:0;
		padding: 0 40px;
	}

	#popup-caption span {font-size: 14px;}

	#popup-video {
		width: calc(90vw - 26px);
		height: calc(0.666*(calc(90vw - 26px)));
	}

	#popup-img {
		margin-left: 0;
		margin-top: 20vh;
	}

	.carousel-inner {
		width: calc(90vw - 26px);
		height: calc(0.666*(calc(90vw - 26px)));
	}

	.carousel-inner.carousel-portrait {
		width: calc(90vw - 26px);
		height: calc(1.143*(calc(90vw - 26px)));
	}

	.contact > p { width: 100%;}

	.fly-l, .fly-r {font-size: 9px;}

	.btn-label, .btn-l, .btn-r {
		margin: 0 0 10px 0;
		width: 23%;
	}

	#deetuLogo {float: left; margin: 0 0 0 -10px;}

	.deetu-static {
		bottom: 7px;
		right: calc(100vw - 130px);
	}
	.deetu-static > a > img {width: 85px;}

	.mapboxgl-ctrl-logo {
		left: 105px;
	}

	/* Updated attribution with Mapbox GL JS V1.0.0 */
	.mapboxgl-ctrl-attrib.mapboxgl-compact {
		height: 38px;
		left: 18px;
		max-width: calc(100vw - 90px);
		right: 0;
		top: calc(100% - 80px);
	}
	/* Updated attribution with Mapbox GL JS V1.0.0 */
	.mapboxgl-ctrl-attrib.mapboxgl-compact::after {
	  top: 0px;
    left: -23px;
		right: 0px;
	}

	/* Modal */
	#intro-modal {
		font-size: 16px;
		top: 30px;
	}

	h3.modal-title {
		font-size: 18px;
	}

	.modal-dialog {
		width: 90%;
		margin: auto;
	}

	.tab-content {
		max-height: calc(100vh - 480px);
	}

	.modal-footer {
		display: block;
		padding: 15px;
	}

	.modal-footer > .modal-cta {
		margin-bottom: 10px;
		max-width: 250px;
		width: 80%;
	}
	
	#mobile-chapters{
		display: inline-flex;
		background-color: grey;
		width: 100%;
		height: 10px;
		position: fixed;
		top: 100%;
		left: 0;
    	z-index: 10000;
	}
  .segment{
		background-color: #c7c7c7; /*#289b8c*/
		height: 100%;
		width: 10px;
		margin: 0 1px;
	}

	#mobile-pagination{
		display: inline-flex;
		position: fixed;
		height: 36px;
		width: 100%;
		background-color: grey;
		bottom: -36px;
		z-index: 10000;
	}

	.page-button{
			background-color: #289b8c;
			height: 100%;
			width: calc(50% - 1px);
			margin: 0 1px;
			color: white;
			text-align: center;
			font-size: 36px;
	}
	.mobile-pagination, a:hover{
		color: white;
	}
	.scroll-down.mobile{
		position: sticky;
		position: -webkit-sticky;
		bottom: 2.5rem;
	}
	.scroll-down.mobile:hover{
		opacity: 1;
	}
}
