#map h1,
#map h2,
#map h3,
#map h4,
#map h5,
#map h6,
.mapboxgl-ctrl-attrib-inner a {
    color: unset !important;
}

.mapboxgl-popup a:link,
.map-controller a:link {
    color: #0000EE !important;
}
.mapboxgl-popup a:visited,
.map-controller a:visited
{
    color: #551A8B !important;
}

#map {
    width: 100%;
    height: 100%;
}

#content-wrapper #map {
    height: 70vh;
}

#full-page-map-container {
    width: 100%;
    height: 100%;
}

.mapboxgl-popup-content {
    max-height: 300px;
    width: 200px;
    overflow-y: scroll;
}

.mapboxgl-popup-content h2 {
    font-size: 12pt;
    margin-bottom: 0;
}

.mapboxgl-popup-content h3 {
    font-size: 10pt;
    margin: 0;
}

.mapboxgl-popup-content ul {
    list-style: none;
    margin: 0;
    padding-left: 0;
    font-size: 8pt;
}

.collapsible {
  background-color: #777;
  color: white;
  cursor: pointer;
  padding: 8px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.collapsible i {
    color: white !important;
}

.collapsible.active i {
    transform: rotate(180deg);
}

.active, .collapsible:hover {
  background-color: #555;
}

.content {
  padding: 0 18px;
  display: none;
  background-color: #f1f1f1;
}

.content.open {
    display: block;
}

.map-legend {
    position: absolute;
    bottom: 0;
    left: 40%;
    background-color: white;
    /*height: 2em;*/
    width: 20%;
    /*margin-right: 10px;*/
    border-radius: 3px;
    margin-bottom: 10px;
    /*box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);*/
    z-index: 2;
    padding: 0.5em;
    -moz-box-shadow: 0 0 2px rgba(0,0,0,.1);
    -webkit-box-shadow: 0 0 2px rgba(0,0,0,.1);
    box-shadow: 0 0 0 2px rgba(0,0,0,.1);
}

.map-legend h3 {
    margin: 0;
    font-size: 1em;
}

#map-legend-svg {
    width: 100%;
    height: 2em;
}

/*.map-legend .legend-key {*/
/*    flex-grow: 1;*/
/*    height: 1.5em;*/
/*    margin: 0 0.5em;*/
/*    background-image: linear-gradient(to right, #3E0751, #405187, #468E8B, #71B967, #F9E855);*/
/*}*/

/*.map-legend .legend-key-wrapper {*/
/*    display: flex;*/
/*    flex-direction: row;*/
/*    margin: 0.25em 0 0 0;*/
/*}*/

.control-popup > :first-child {
    max-width: calc(100% - 22px);
}

.mapboxgl-popup p,
.control-popup p {
    margin: 0;
    line-height: 1.3;
}

.mapboxgl-popup h3,
.control-popup h3 {
    margin-bottom: 0.25em;
    font-size: 1.5em;
    margin-top: 0;
}

.mapboxgl-popup h4,
.control-popup h4 {
    margin: 0.5em 0 0 0;
    font-size: 1.2em;
}

.mapboxgl-popup h5,
.control-popup h5 {
    margin: 0;
    /*font-size: 1.1em;*/
}

.mapboxgl-popup .studies-list,
.control-popup .studies-list {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
    font-weight: bold;
}

.mapboxgl-popup .studies-list > li,
.control-popup .studies-list > li {
    margin-top: 0.2em;
}


.mapboxgl-popup .study-properties,
.control-popup .study-properties {
    list-style: disc;
    padding-left: 2em;
    line-height: 1.5;
    font-weight: normal;
}

.mapboxgl-popup {
    max-height: 300px;
}

.no-format-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

