body {
  padding: 0px;
  margin: 0px;
  font-family: "Helvetica", sans-serif;
  overflow: scroll;
}

#map {
  height: 200px;
  width: 100vw;
  border-bottom: 3px solid orange;
  left: 0;
}

.navbar {
}

.navbar .navbar-brand {
	font-size: 1.5em;
  font-family: 'Oswald', sans-serif;

}
.contentTool {
  position: absolute;
  top: 70px;
  left: 6em;
  margin-top: 1em;
  z-index: 10000;
}

.nav-item{
	margin-right:20px;
	margin-left: 20px;
	box-sizing: border-box;
	/* width: 70px; */
	height:40px !important;
	transition:all 0.4s linear;
	background-color: #ffffff;
}

.nav-item.active1:after{
	content:'';
	display:block;
	/* width:78px; */
	height: 3px;
	background:#000;
}

.nav-item:hover .nav-item-content {
	display: block;
}

.navbar-nav{
	margin-bottom: -18px !important;
}

#nav {
  position: absolute !important;
  top:0
}

nav > .crcs-logo{
	width: 200px;
	height:48px;
	background-image:url(./images/crsc-logo-black.png) no-repeat;
	background-size: 150px 36px;
}

#narration {
  position: absolute;
  width: 100vw;
  height: calc(100vh - 203px);
  z-index: 80;
}

ul{
	font-family:"Helvetica Neue", Helvetica, Arial, sans-serif;
	list-style:none;
	font-size: 14px;
	font-weight: 500;
}

.collapse {
	text-transform: uppercase;
	z-index:2;
}

#contents {
  padding: 0;
  width: 100%;
  margin-top: 0; /*Adjust if Title header needs more space */
  height: 100%; /* Adjust to fit max Description length, one setting for all; alternative is 100% */
  overflow-y: scroll;
  overflow-x: hidden;
  top: 70px;
  position: absolute;
}

#top {
  height: 145px;
  margin: 0;
  font-family: 'Oswald', sans-serif;
}

.filter {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-top: 0.3em;
}

.ml-auto{
	margin-right:0px !important;
}

#top > h3{
  font-size:24px;
  margin-top:2em;
  font-weight: 500 
}

a:visited, a:hover{
  color: #000 !important;
}

#space-at-the-bottom {
  height: 30px !important; 
  margin: 0;
  text-align: center;
  padding-top: 60px !important;
  font-size: 24px !important;
  text-decoration: none !important;
}

#title {
  position: absolute;
  left: 0;
  top: 203px;
  background-color: white;
  z-index: 100;
  margin: 0;
  padding: 20px 0;
  visibility: hidden;
  font-weight: bold;
  text-align: center;
}

/* #title>h3{
  font-size: 30px !important;
} */
small{
  text-decoration: none !important;
}
#title>small{
  line-height: 30px !important
}
h3 {
  margin: 0;
}

.chapter-container {
  /* margin + padding = chapterContainerMargin in script.js */
  /* Important for scrolling! */
  margin: 50px 0 0 0;
  padding: 20px 0 0px 0;
  text-align: center;
}

.chapter-container img {
  height: auto;
  width: auto;
  max-height: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;

  /* Three lines that center vertically */
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

.img-container {
  margin: 0;
  margin-bottom: 5px;
  height: 200px;
  max-height: 200px;
  width: 100%;
}

.audio-container {
  margin: 0;
  margin-bottom: 5px;
  height: 60px;
  max-height: 60px;
  width: 100%;
}

.chapter-header {
  display: block;
  text-align: center;
  font-size: 1em;
  padding: 0 5px;
}

.chapter-author {
  display: block;
  text-align: center;
  font-size: 0.8em;
  padding: 0 5px;
}

.source {
  display: block;
  font-size: 14px;
  margin: 1em;
}

.description {
  margin-top: 10px;
  text-align: left;
  font-size: 11pt;
  padding: 20px 20px 0px 20px;
  color:#666
}

.in-focus {
  opacity: 1.0;
  box-shadow: inset 5px 5px 5px rgba(68,68,68,0.1);
}

.in-focus >  .chapter-header{
  font-weight: 700;
}

.out-focus {
  opacity: 0.3;
}

.leaflet-control-attribution {
  position: relative;
  width: 40%; 
  padding:0 !important
}

.leaflet-marker-icon {
  opacity: 0.6  ;
}

.leaflet-marker-icon-highlight{
  opacity: 1;
  animation: blink 1s infinite
}

@keyframes blink {
  0%,100% {
    opacity: 0.3
  }
  50% {
    opacity: 1
  }
}

.legend{
  width:60%;
  height:60%
  /* opacity: 0.75 */
}
a.source, a.source:visited {
  color: grey;
  font-style: italic;
}

.modal {
  width: 20% !important;
  height: 20%;
  padding: 1em 2em;
  margin-left: 40vw !important;
  margin-top: 100px !important
}

#filterIcon {
  /* display: block; */
  border: 1px solid #eee;
  width: 36px;
  height: 36px;
  background: #666;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 3px;
  margin-top: 1em;
}

#searchButton {
  border: transparent;
  background: transparent;
  width: 36px;
  height: 36px;
  /* width: 20px; */
}
i.icon.search:before{
  /* content: "\f0b0"; */
  /* color: #fff !important; */
  font-size: 24px;
}
.search.icon {
  width: 30px !important;
}

i.icon.filter:before{
  content: "\f0b0";
  color: #fff !important;
  font-size: 16px;
}
.ui.dimmer{
  padding: 3em !important
}