body,
html {
  font-family: "Source Sans Pro", Arial, sans-serif;
  margin: 0;
  padding: 0;
}

h1 {
  font-size: 36px;
}

header,
footer {
  min-width: 1246px;
}

body.dragging,
body.dragging * {
  cursor: move !important;
}

*:focus {
  outline: none;
}

/*****************************************
* ATLAS OF THE SMOKIES: Selector         *
*****************************************/

.atlas-select-area {
  position: relative;
}

.selector-head-text {
  font-size: 19px;
  color: rgb(189, 189, 189);
  letter-spacing: 1px;
  display: inline-block;
  font-family: "Source Sans Pro", sans-serif;
  text-transform: uppercase;
}

.selector-container {
  z-index: 51;
  position: absolute;
  display: flex;
  top: -1px;
  left: 225px;
  padding-left: 5px;
  overflow: auto;

  cursor: pointer;
  letter-spacing: 0.001em;

  color: #f5faf2;
  border-radius: 4px;
  font-size: 10pt;
  line-height: 20px;

  margin-top: 5px;
  margin-bottom: auto;
}

.atlas-selector-dropdown {
  position: relative;
  top: -5px;
  left: -5px;
  width: 170px;
  height: 20px;
  padding-left: 5px;

  cursor: pointer;
  letter-spacing: 0.001em;

  color: #f5faf2;
  border-radius: 4px;
  background-color: #40403d;

  font-size: 10pt;
  line-height: 20px;

  margin-top: 5px;
}

.view-as-text {
  position: relative;
  top: -5px;
  height: 20px;
  padding-left: 5px;
  padding-right: 10px;

  cursor: pointer;
  letter-spacing: 0.001em;

  color: #f5faf2;
  border-radius: 4px;

  font-size: 10pt;
  line-height: 20px;

  margin-top: 5px;
}

.grouping-selector-dropdown {
  position: relative;
  top: -5px;
  width: 170px;
  height: 20px;
  padding-left: 5px;

  cursor: pointer;
  letter-spacing: 0.001em;
  top: -5px;

  color: #f5faf2;
  border-radius: 4px;
  background-color: #40403d;

  font-size: 10pt;
  line-height: 20px;

  margin-top: 5px;
}

.atlas-selector-triangle {
  left: unset !important;
  position: absolute !important;
  top: 3px !important;
  right: 10px !important;
}

.grouping-selector-triangle {
  left: unset !important;
  position: absolute !important;
  top: 3px !important;
  right: 10px !important;
}

/******************************
* Moa's CSS for his hacks     *
******************************/

.npmap .leaflet-control-edit button.edit-pencil {
  background-image: none !important;
  font-family: FontAwesome;
}

.hack-round {
  border-radius: 3px;
}

#options-selectbackground {
  height: 22px;
  width: 120px;
  padding-bottom: 10px;
}

#options-selectbackground-dropdown {
  position: relative;
  z-index: 50;
  font-style: italic;
  overflow-x: hidden;
  overflow-y: hidden;
}

#options-selectbackground-dropdown > .triangle {
  top: -12px;
  left: 105px;
}

#options-selectbackground-dropdown-ul {
  top: -5px;
  width: calc(100% - 5px);
  padding-right: 5px;
}

#options-selectviewing {
  height: 22px;
  width: 120px;
  padding-bottom: 10px;
}

#options-selectviewing-dropdown {
  z-index: 50;
  font-style: italic;
  overflow-x: hidden;
  overflow-y: hidden;
}

#options-selectviewing-dropdown > .triangle {
  top: -12px;
  left: 105px;
}

#options-selectviewing-dropdown-ul {
  position: relative;
  top: -5px;
  width: calc(100% - 5px);
  padding-right: 5px;
}

.select-atlas-link {
  all: unset;
}

.dragged {
  position: absolute;
  z-index: 2000;
  opacity: 0.5;
}

.leaflet-popup {
  font-family: "Source Sans Pro", sans-serif;
  letter-spacing: 0.001em;
}

.leaflet-tooltip {
  font-family: "Source Sans Pro", sans-serif;
  letter-spacing: 0.001em;
}

.hidden-label {
  display: none;
}

#map {
  position: absolute;
  z-index: 1;
  top: 100px;
  left: 0px;

  width: 100%;
  min-width: 1246px;
  height: calc(100% - 134px);
  margin: 0px;
  padding: 0px;
}

#search-tool {
  top: 90px;
  position: relative;

  width: 100%;
  min-width: 1246px;
  height: 110px;
  margin: 0px;
  padding: 0px;

  opacity: 1;
  background-color: black;
  z-index: 2;

  border-top: 1px solid #40403d;
}

#search-tool-contents {
  width: 1300px;
  height: 100%;
  margin: 0 auto;

  font-family: "Source Sans Pro", sans-serif;
}

#search-banner {
  width: 1229px;
  height: 30px;
  margin: 0px;
  padding: 5px 0px 5px 5px;

  border-bottom: 1px solid #40403d;
}

#search-banner-buffer {
  float: left;

  width: 989px;
  height: 30px;

  line-height: 30px;
  text-align: center;
  font-weight: 700;
}

#search-tool-extra-controls {
  float: left;

  border-left: 1px solid #40403d;
  margin: 10px;
  padding-top: 22px;
  height: 60px;
}

#search-banner-help-share,
#search-banner-help-link {
  width: 30px;
  height: 30px;
}

#search-banner-help-share-button,
#search-banner-help-link-button {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;

  cursor: pointer;
  letter-spacing: 0.001em;

  color: #969696;
  border: none;
  outline: none;
  text-align: center;
  background: none;

  font-size: 1.4em;
  line-height: 30px;
}

#search-banner-help-tooltips {
  float: left;

  width: 150px;
  height: 30px;

  border-right: 1px solid #40403d;
  color: #f5faf2;
  line-height: 30px;
  font-size: 10pt;
}

#search-banner-tooltips-label {
  float: left;
}

#search-banner-tooltips {
  width: 75px;
  height: 20px;
  float: left;

  border-radius: 4px;
  background-color: #202020;

  position: relative;
  top: 5px;
  left: 5px;
}

#search-banner-tooltips-button {
  width: 100%;
  height: 20px;
  margin: 0;
  padding: 0;

  cursor: pointer;

  border: none;
  border-radius: 4px;
  outline: none;
  background: none;
}

#search-banner-tooltips-button > div {
  position: relative;
  left: 37.5px;

  width: 37.5px;

  height: 20px;

  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  text-align: center;

  color: #202020;
  border-radius: 4px;
  background-color: #80807d;

  line-height: 20px;
}

#search-banner-tooltips-button > div > span {
  position: relative;
  top: -24px;
}

.search-banner-tooltips-button-sides {
  float: left;

  width: 50%;

  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  letter-spacing: 0.001em;

  text-align: center;

  color: #f5faf2;

  font-size: 10pt;
  line-height: 20px;
}

#search-banner-help-minimizer {
  position: absolute;

  width: 100px;
  height: 30px;

  text-align: center;
  margin-top: 127px;
  margin-left: 1087px;
  border-radius: 0 0 7px 7px;
  background-color: #000;
}

#search-banner-help-minimizer-button {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;

  cursor: pointer;
  letter-spacing: 0.001em;

  color: #f5faf2;
  border: none;
  outline: none;
  background: none;

  text-align: center;

  font-size: 10pt;
  line-height: 30px;
}

#search-initial {
  float: left;

  width: 270px;
  height: 128px;
  margin: 10px;
  padding: inherit;
}

#search-initial-image {
  float: left;

  width: 128px;
  height: 128px;

  opacity: 0;
  border-radius: 4px;
}

/* just until we have images */
#search-initial-image > img {
  display: none;
}

#search-initial-controls {
  float: left;

  height: 128px;
  width: 262px;
  padding-left: 10px;

  color: #f5faf2;
  font-size: 14px;
}

#search-initial-lexical {
  width: 15px;
  height: 15px;
  margin: 0;
  padding: 2.5px;

  cursor: pointer;

  border: none;
  border-radius: 4px;
  outline: none;
  background: none;
  background-color: #40403d;
}

#search-initial-dropdown {
  width: 255px;
  position: relative;
  top: 5px;
}

#grp-initial-dropdown {
	width: 255px;
	position: relative;
	top: 5px;
}

#subgrp-initial-dropdown {
	width: 255px;
	position: relative;
	top: 5px;
}

.grp-dropdown-input {
  height: 100%;
  width: 100%;
  float: left;
  border: none;
  padding: 0;

  font-style: italic;
  color: #f5faf2;
  background-color: #40403d;
  outline: none;
}

.dropdown-input {
  height: 100%;
  width: 225px;
  float: left;
  border: none;
  padding: 0;

  font-style: italic;
  color: #f5faf2;
  background-color: #40403d;
  outline: none;
}

.dropdown-input::-webkit-input-placeholder,
.dropdown-input::placeholder {
  font-style: normal;
  color: #eee;
}

.dropdown-button {
  width: 30px;
  height: 100%;
}

#search-initial-dropdown-select {
  position: relative;
  left: -5px;
  z-index: 60;

  overflow-x: hidden;
  overflow-y: scroll;

  width: 250px;
  height: 0px;
  margin: 0px;
  padding-left: 5px;
  padding-right: 5px;

  border-radius: 0px 0px 4px 4px;
  background-color: #40403d;
}

#search-initial-dropdown-select > li {
  width: 250px;
  height: 20px;
  margin: 0px;

  cursor: pointer;

  color: #f5faf2;
  border-top: 1px dotted #f5faf2;

  font-size: 10pt;
  font-style: italic;
  line-height: 20px;
}

#search-initial-dropdown-lex {
  position: relative;
  left: -5px;
  z-index: 60;

  overflow-x: hidden;

  width: 250px;

  height: 0px;
  margin: 0px;
  padding-left: 5px;
  padding-right: 5px;

  border-radius: 0px 0px 4px 4px;
  background-color: #40403d;
}

#search-initial-dropdown-lex > li {
  width: 250px;

  height: 20px;
  margin: 0px;

  cursor: pointer;

  color: #f5faf2;
  border-top: 1px dotted #f5faf2;

  font-size: 10pt;
  font-style: italic;
  line-height: 20px;
}

#grp-initial-dropdown-select {
  position: relative;
  left: -5px;
  z-index: 60;

  overflow-x: hidden;
  overflow-y: scroll;

  width: 250px;
  height: 0px;
  margin: 0px;
  padding-left: 5px;
  padding-right: 5px;

  border-radius: 0px 0px 4px 4px;
  background-color: #40403d;
}

#grp-initial-dropdown-select > li {
  width: 250px;
  height: 20px;
  margin: 0px;

  cursor: pointer;

  color: #f5faf2;
  border-top: 1px dotted #f5faf2;

  font-size: 10pt;
  font-style: italic;
  line-height: 20px;
}

#grp-initial-dropdown-select-lex {
  position: relative;
  left: -5px;
  z-index: 60;

  overflow-x: hidden;

  width: 250px;

  height: 0px;
  margin: 0px;
  padding-left: 5px;
  padding-right: 5px;

  border-radius: 0px 0px 4px 4px;
  background-color: #40403d;
}

#grp-initial-dropdown-select-lex > li {
  width: 250px;

  height: 20px;
  margin: 0px;

  cursor: pointer;

  color: #f5faf2;
  border-top: 1px dotted #f5faf2;

  font-size: 10pt;
  font-style: italic;
  line-height: 20px;
}

#subgrp-initial-dropdown-select {
  position: relative;
  left: -5px;
  z-index: 60;

  overflow-x: hidden;
  overflow-y: scroll;

  width: 250px;
  height: 0px;
  margin: 0px;
  padding-left: 5px;
  padding-right: 5px;

  border-radius: 0px 0px 4px 4px;
  background-color: #40403d;
}

#subgrp-initial-dropdown-select > li {
  width: 250px;
  height: 20px;
  margin: 0px;

  cursor: pointer;

  color: #f5faf2;
  border-top: 1px dotted #f5faf2;

  font-size: 10pt;
  font-style: italic;
  line-height: 20px;
}

#subgrp-initial-dropdown-select-lex {
  position: relative;
  left: -5px;
  z-index: 60;

  overflow-x: hidden;

  width: 250px;

  height: 0px;
  margin: 0px;
  padding-left: 5px;
  padding-right: 5px;

  border-radius: 0px 0px 4px 4px;
  background-color: #40403d;
}

#subgrp-initial-dropdown-select-lex > li {
  width: 250px;

  height: 20px;
  margin: 0px;

  cursor: pointer;

  color: #f5faf2;
  border-top: 1px dotted #f5faf2;

  font-size: 10pt;
  font-style: italic;
  line-height: 20px;
}


.grp-species-dropdown {
  position: relative;
  left: -5px;
  z-index: 60;

  width: 250px;
  height: 0px;
  margin: 0px;
  padding-left: 5px;
  padding-right: 5px;

  border-radius: 0px 0px 4px 4px;
  background-color: #40403d;
}

.grp-species-dropdown-select {
  position: relative;
  left: -5px;
  z-index: 60;
  overflow: hidden;
  overflow-y: scroll;
  width: 100%;
  height: 0px;

  margin: 0px;
  padding-left: 5px;
  padding-right: 5px;

  border-radius: 0px 0px 4px 4px;
  background-color: #40403d;
}

.grp-species-dropdown-select > li {
  width: 250px;
  height: 20px;
  margin: 0px;

  cursor: pointer;

  color: #f5faf2;
  border-top: 1px dotted #f5faf2;

  font-size: 10pt;
  font-style: italic;
  line-height: 20px;
}

.grp-species-dropdown-select-lex {
  position: relative;
  left: -5px;
  z-index: 60;

  overflow-x: hidden;

  width: 250px;

  height: 0px;
  margin: 0px;
  padding-left: 5px;
  padding-right: 5px;

  border-radius: 0px 0px 4px 4px;
  background-color: #40403d;
}

.grp-species-dropdown-select-lex > li {
  width: 250px;

  height: 20px;
  margin: 0px;

  cursor: pointer;

  color: #f5faf2;
  border-top: 1px dotted #f5faf2;

  font-size: 10pt;
  font-style: italic;
  line-height: 20px;
}

#search-compare-one-dropdown {
  width: 255px;
  position: relative;
  top: -37px;
  left: 170px;
  display: none;
}

#search-compare-one-dropdown > .dropdown-input {
  height: 100%;
  width: 225px;
  float: left;
  border: none;
  padding: 0;

  font-style: italic;
  color: #f5faf2;
  background-color: #40403d;
  outline: none;
}

#search-compare-one-dropdown > .dropdown-button {
  width: 30px;
  float: left;
  height: 100%;
}

#search-compare-one-dropdown-select {
  position: relative;
  left: -5px;
  z-index: 60;

  overflow-x: hidden;
  overflow-y: scroll;

  width: 250px;

  height: 0px;
  margin: 0px;
  padding-left: 5px;
  padding-right: 5px;

  border-radius: 0px 0px 4px 4px;
  background-color: #40403d;
}

#search-compare-one-dropdown-select > li {
  width: 250px;

  height: 20px;
  margin: 0px;

  cursor: pointer;

  color: #f5faf2;
  border-top: 1px dotted #f5faf2;

  font-size: 10pt;
  font-style: italic;
  line-height: 20px;
}

#search-compare-one-dropdown-lex {
  position: relative;
  left: -5px;
  z-index: 60;

  overflow-x: hidden;

  width: 250px;

  height: 0px;
  margin: 0px;
  padding-left: 5px;
  padding-right: 5px;

  border-radius: 0px 0px 4px 4px;
  background-color: #40403d;
}

#search-compare-one-dropdown-lex > li {
  width: 250px;

  height: 20px;
  margin: 0px;

  cursor: pointer;

  color: #f5faf2;
  border-top: 1px dotted #f5faf2;

  font-size: 10pt;
  font-style: italic;
  line-height: 20px;
}

#search-compare-two-dropdown {
  width: 255px;
  position: relative;
  top: -27px;
  left: 170px;
  display: none;
}

#search-compare-two-dropdown > .dropdown-input {
  height: 100%;
  width: 225px;
  float: left;
  border: none;
  padding: 0;

  font-style: italic;
  color: #f5faf2;
  background-color: #40403d;
  outline: none;
}

#search-compare-two-dropdown > .dropdown-button {
  width: 30px;
  float: left;
  height: 100%;
}

#search-compare-two-dropdown-select {
  position: relative;
  left: -5px;
  z-index: 60;

  overflow-x: hidden;
  overflow-y: scroll;

  width: 250px;

  height: 0px;
  margin: 0px;
  padding-left: 5px;
  padding-right: 5px;

  border-radius: 0px 0px 4px 4px;
  background-color: #40403d;
}

#search-compare-two-dropdown-select > li {
  width: 250px;

  height: 20px;
  margin: 0px;

  cursor: pointer;

  color: #f5faf2;
  border-top: 1px dotted #f5faf2;

  font-size: 10pt;
  font-style: italic;
  line-height: 20px;
}

#search-compare-two-dropdown-lex {
  position: relative;
  left: -5px;
  z-index: 60;

  overflow-x: hidden;

  width: 250px;

  height: 0px;
  margin: 0px;
  padding-left: 5px;
  padding-right: 5px;

  border-radius: 0px 0px 4px 4px;
  background-color: #40403d;
}

#search-compare-two-dropdown-lex > li {
  width: 250px;

  height: 20px;
  margin: 0px;

  cursor: pointer;

  color: #f5faf2;
  border-top: 1px dotted #f5faf2;

  font-size: 10pt;
  font-style: italic;
  line-height: 20px;
}

#search-initial-image > img {
  z-index: 49;

  width: 100%;
  height: 100%;

  border-radius: 4px;
}

#search-initial-altname {
  position: relative;
  top: 10px;
  color: rgb(144, 144, 144);
  font-style: italic;
  font-weight: semi-bold;
  font-size: 10pt;
}

#search-initial-switch {
  position: relative;

  width: 250px;
  height: 20px;

  font-style: italic;
}

#search-initial-switch-button {
  width: 100%;
  height: 20px;
  margin: 0;
  padding: 0;

  cursor: pointer;

  border: none;
  border-radius: 4px;
  outline: none;
  background: none;
}

#search-initial-switch-button > div {
  position: relative;
  left: 75px;

  width: 75px;
  height: 20px;

  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  text-align: center;

  color: #202020;
  border-radius: 4px;
  background-color: #80807d;

  line-height: 20px;
}

#search-initial-switch-button > div > span {
  position: relative;
  top: -24px;
}

.search-initial-switch-sides {
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  letter-spacing: 0.001em;

  color: #f5faf2;

  font-size: 10pt;
  line-height: 20px;
}

#search-initial-box {
  position: relative;
  z-index: 1000;
  top: -150px;
  left: 30px;

  display: none;

  width: 245px;
  height: 20px;

  border-radius: 4px;
  background-color: #40403d;
}

#search-initial-box-input {
  position: relative;

  width: 240px;
  height: 20px;
  margin: 0;
  padding: 0px 0px 0px 5px;

  letter-spacing: 0.001em;

  color: #f5faf2;
  border: 0;
  border-radius: 4px;
  outline: 0;
  background-color: #40403d;

  font-family: "Source Sans Pro", sans-serif;
  font-size: 10pt;
  font-style: italic;
  line-height: 20px;
}

#search-initial-box > ul {
  margin: 0px;
  padding: 0px;
}

#search-initial-box > ul > li {
  overflow-x: hidden;

  height: 20px;
  padding-left: 5px;

  cursor: pointer;

  color: #f5faf2;
  border-top: 1px dotted #f5faf2;

  font-size: 10pt;
  font-style: italic;
  line-height: 20px;
}

#search-compare {
  float: left;

  width: 570px;
  height: 80px;
  margin: 10px 0px 10px 0px;
  padding: inherit;

  border-left: 1px solid #40403d;
}

#search-compare-placeholder > div {
  width: 100%;
  height: 128px;

  color: #f5faf2;

  font-size: 18pt;
  font-weight: bold;
  line-height: 128px;
}

#search-compare-contents {
  width: 100%;
  height: 128px;
}

#search-compare-gv-contents {
  width: 100%;
  height: 128px;
}

.search-compare-gv-sub-cont {
  width: 100%;
  height: 128px;
  display: flex;
}

.group-sel-head {
  height: 20px;
  letter-spacing: 0.001em;
  color: #f5faf2;
  font-size: 14px;
}

#search-compare-lexical {
  position: relative;

  float: left;

  box-sizing: border-box;
  width: 241px;
  height: 80px;

  border-right: 1px dotted #40403d;
}

#search-compare-one-box {
  position: absolute;
  z-index: 1000;
  top: 25px;
  left: 225px;

  display: none;

  width: 245px;
  height: 20px;

  border-radius: 4px;
  background-color: #40403d;
}

#search-compare-one-box-input {
  position: relative;

  width: 240px;
  height: 20px;
  margin: 0;
  padding: 0px 0px 0px 5px;

  letter-spacing: 0.001em;

  color: #f5faf2;
  border: 0;
  border-radius: 4px;
  outline: 0;
  background-color: #40403d;

  font-family: "Source Sans Pro", sans-serif;
  font-size: 10pt;
  font-style: italic;
  line-height: 20px;
}

#search-compare-one-box-name {
  position: relative;
  top: -20px;

  display: none;

  width: 240px;
  height: 20px;
  margin: 0;
  padding: 0px 0px 0px 5px;

  letter-spacing: 0.001em;

  color: #f5faf2;
  border: 0;
  border-radius: 4px;
  outline: 0;
  background-color: rgb(242, 142, 67);

  font-family: "Source Sans Pro", sans-serif;
  font-size: 10pt;
  font-style: italic;
  line-height: 20px;
}

#search-compare-one-box-clear {
  position: relative;
  top: -40px;
  left: 215px;

  display: none;

  width: 20px;
  height: 20px;

  cursor: pointer;
  letter-spacing: 0.001em;

  color: #f5faf2;
  border-radius: 4px;

  font-family: "Source Sans Pro", sans-serif;
  font-size: 10pt;
  font-style: italic;
  line-height: 20px;
}

#search-compare-one-box > ul {
  margin: 0px;
  padding: 0px;
}

#search-compare-one-box > ul > li {
  overflow-x: hidden;

  height: 20px;
  padding-left: 5px;

  cursor: pointer;

  color: #f5faf2;
  border-top: 1px dotted #f5faf2;

  font-size: 10pt;
  font-style: italic;
  line-height: 20px;
}

#search-compare-two-box {
  position: absolute;
  top: 75px;
  left: 225px;

  display: none;

  width: 245px;
  height: 20px;

  border-radius: 4px;
  background-color: #40403d;
}

#search-compare-two-box-input {
  position: relative;

  width: 240px;
  height: 20px;
  margin: 0;
  padding: 0px 0px 0px 5px;

  letter-spacing: 0.001em;

  color: #f5faf2;
  border: 0;
  border-radius: 4px;
  outline: 0;
  background-color: #40403d;

  font-family: "Source Sans Pro", sans-serif;
  font-size: 10pt;
  font-style: italic;
  line-height: 20px;
}

#search-compare-two-box-name {
  position: relative;
  top: -20px;

  display: none;

  width: 240px;
  height: 20px;
  padding: 0px 0px 0px 5px;

  letter-spacing: 0.001em;

  color: #f5faf2;
  border-radius: 4px;
  background-color: rgb(29, 144, 156);

  font-family: "Source Sans Pro", sans-serif;
  font-size: 10pt;
  font-style: italic;
  line-height: 20px;
}

#search-compare-two-box-clear {
  position: relative;
  top: -40px;
  left: 215px;

  display: none;

  width: 20px;
  height: 20px;

  cursor: pointer;
  letter-spacing: 0.001em;

  color: #f5faf2;
  border-radius: 4px;

  font-family: "Source Sans Pro", sans-serif;
  font-size: 10pt;
  font-style: italic;
  line-height: 20px;
}

#search-compare-two-box > ul {
  margin: 0px;
  padding: 0px;
}

#search-compare-two-box > ul > li {
  overflow-x: hidden;

  height: 20px;
  padding-left: 5px;

  cursor: pointer;

  color: #f5faf2;
  border-top: 1px dotted #f5faf2;

  font-size: 10pt;
  font-style: italic;
  line-height: 20px;
}

#search-compare-distribution {
  position: relative;

  float: left;

  box-sizing: border-box;
  width: 240px;
  height: 128px;
}

#compare-dist-one {
  position: absolute;
  z-index: 1000;
  top: 25px;
  left: 190px;

  display: none;

  width: 245px;
  height: 20px;

  cursor: pointer;

  border-radius: 4px;
  background-color: #40403d;
}

#compare-dist-one > ul {
  position: relative;
  top: -4px;

  display: none;

  margin: 0px;
  padding: 0px;
}

#compare-dist-one > ul > li {
  overflow-x: hidden;

  height: 20px;
  padding-left: 5px;

  cursor: pointer;

  color: #f5faf2;
  border-top: 1px dotted #f5faf2;

  font-size: 10pt;
  font-style: italic;
  line-height: 20px;
}

#compare-dist-one > .triangle {
  left: 225px;
  top: -12px;
}

#compare-dist-one-name {
  width: 240px;
  height: 20px;
  padding: 0px 0px 0px 5px;

  color: #f5faf2;
  border-radius: 4px;
  background-color: #40403d;

  font-size: 10pt;
  font-style: italic;
  line-height: 20px;
}

#compare-dist-two {
  position: absolute;
  top: 57px;
  left: 190px;

  display: none;

  width: 245px;
  height: 20px;

  cursor: pointer;

  border-radius: 4px;
  background-color: #40403d;
}

#compare-dist-two > ul {
  position: relative;
  top: -4px;

  display: none;

  margin: 0px;
  padding: 0px;
}

#compare-dist-two > ul > li {
  overflow-x: hidden;

  height: 20px;
  padding-left: 5px;

  cursor: pointer;

  color: #f5faf2;
  border-top: 1px dotted #f5faf2;

  font-size: 10pt;
  font-style: italic;
  line-height: 20px;
}

#compare-dist-two-name {
  width: 240px;
  height: 20px;
  padding: 0px 0px 0px 5px;

  color: #f5faf2;
  border-radius: 4px;
  background-color: #40403d;

  font-size: 10pt;
  font-style: italic;
  line-height: 20px;
}

#compare-dist-two > .triangle {
  left: 225px;
  top: -12px;
}

#search-compare-environment {
  position: relative;

  float: left;

  width: 240px;
  height: 128px;
}

#compare-env-one {
  position: absolute;
  z-index: 1000;
  top: 25px;
  left: 225px;

  display: none;

  width: 245px;
  height: 20px;

  cursor: pointer;

  border-radius: 4px;
  background-color: #40403d;
}

#compare-env-one > ul {
  position: relative;
  top: -4px;

  display: none;

  margin: 0px;
  padding: 0px;
}

#compare-env-one > ul > li {
  overflow-x: hidden;

  height: 20px;
  padding-left: 5px;

  cursor: pointer;

  color: #f5faf2;
  border-top: 1px dotted #f5faf2;

  font-size: 10pt;
  font-style: italic;
  line-height: 20px;
}

#compare-env-one > .triangle {
  left: 225px;
}

#compare-env-one-name {
  width: 240px;
  height: 20px;
  padding: 0px 0px 0px 5px;

  color: #f5faf2;
  border-radius: 4px;
  background-color: #40403d;

  font-size: 10pt;
  font-style: italic;
  line-height: 20px;
}

#compare-env-two {
  position: absolute;
  top: 75px;
  left: 225px;

  display: none;

  width: 245px;
  height: 20px;

  cursor: pointer;

  border-radius: 4px;
  background-color: #40403d;
}

#compare-env-two > ul {
  position: relative;
  top: -4px;

  display: none;

  margin: 0px;
  padding: 0px;
}

#compare-env-two > ul > li {
  overflow-x: hidden;

  height: 20px;
  padding-left: 5px;

  cursor: pointer;

  color: #f5faf2;
  border-top: 1px dotted #f5faf2;

  font-size: 10pt;
  font-style: italic;
  line-height: 20px;
}

#compare-env-two-name {
  width: 240px;
  height: 20px;
  padding: 0px 0px 0px 5px;

  color: #f5faf2;
  border-radius: 4px;
  background-color: #40403d;

  font-size: 10pt;
  font-style: italic;
  line-height: 20px;
}

#compare-env-two > .triangle {
  left: 225px;
}

#search-compare-contents input[type="radio"] {
  position: relative;
  top: 3px;
  left: 5px;
}

#search-compare-contents .subhead {
  display: block;
  position: relative;
  left: 30px;
  margin-top: -15px;

  height: 15px;

  letter-spacing: 0.001em;

  color: rgb(144, 144, 144);

  font-size: 14px;
  font-weight: semi-bold;
  line-height: 20px;
}

#search-compare-contents .subhead2 {
  display: block;
  position: relative;
  top: 5px;
  left: 30px;

  width: 200px;
  height: 40px;

  letter-spacing: 0.001em;

  color: rgb(144, 144, 144);

  font-size: 14px;
  line-height: 20px;
}

#search-image-box {
  pointer-events: none;

  float: left;

  width: 110px;
  height: 110px;
  margin: 0px 0px 10px 0px;

  /*background-image: url('images/no_image.jpg');*/
  background-repeat: no-repeat;
  background-size: cover;

  cursor: pointer;
}

.search-image-box-magnifier {
  color: white;
  margin-top: 88px;
  margin-left: 89px;
  background-color: black;
  padding: 3px;
  border-radius: 3px 0 0 0;
  padding-left: 4px;
  opacity: 0.5;
  display: none;
}

#search-options {
  float: left;

  width: 150px;
  height: 80px;
  margin: 10px 0px 10px 0px;
  padding: 0px 5px 0px 10px;

  border-left: 1px solid #40403d;
}

#search-options-left {
  width: 140px;
  float: left;
}

#options-label {
  height: 20px;
  padding-bottom: 5px;

  letter-spacing: 0.001em;

  color: #f5faf2;

  font-size: 14px;
  font-weight: semi-bold;
}

#options-background {
  height: 22px;
  width: 120px;
  padding-bottom: 10px;
}

#options-background-dropdown {
  position: relative;
  z-index: 50;
  width: 100%;
  font-style: italic;
  overflow-x: hidden;
  overflow-y: hidden;
}

#options-background-dropdown > .triangle {
  top: -12px;
  left: 105px;
}

#options-background-dropdown-ul {
  position: relative;
  top: -5px;
  width: calc(100% - 5px);
  padding-right: 5px;
}

#options-background-dropdown-ul > li {
  width: 100%;
  height: 20px;
  border-top: 1px dotted #f5faf2;
}

#options-overlays {
  height: 22px;
  width: 120px;
  padding-bottom: 10px;
}

#options-overlays-dropdown {
  position: relative;
  z-index: 49;
  width: 100%;
  font-style: italic;
  overflow-x: hidden;
  overflow-y: hidden;
}

#options-overlays-dropdown > .triangle {
  top: -12px;
  left: 105px;
}

#options-overlays-dropdown-ul {
  position: relative;
  top: -5px;
  width: calc(100% - 5px);
  padding-right: 5px;
}

#options-overlays-dropdown-ul > li {
  width: 100%;
  height: 20px;
  border-top: 1px dotted #f5faf2;
}

#checkbox-container {
  height: 35px;
}

#options-predicted {
  margin-top: 20px;
}

#options-predicted > label {
  height: 13px;

  line-height: 13px;
}

#search-options-right {
  width: 136px;
  padding-left: 10px;
  float: left;
}

#annotations-label {
  height: 20px;
  padding-bottom: 5px;

  letter-spacing: 0.001em;

  color: #f5faf2;

  font-size: 12pt;
  font-weight: semi-bold;
}

#options-annotations {
  width: 90px;
  height: 75px;
  padding: 5px;

  letter-spacing: 0.001em;

  color: #a5aaa2;
  border: 1px solid #40403d;
  background-color: #202020;

  text-align: center;

  font-size: 10pt;
  font-style: italic;
}

#options-annotations-buttons {
  left: 3px;

  padding-top: 5px;
  padding-bottom: 5px;

  text-align: center;
}

#options-annotations > div {
  height: 33px;

  text-align: center;
}

#options-annotations > button {
  height: 27px;
  width: 50px;
  margin: 0;
  padding: 0;
  padding-bottom: 5px;
  border-radius: 4px;

  text-align: center;

  cursor: pointer;
  letter-spacing: 0.001em;

  color: #f5faf2;
  border: none;
  outline: none;

  background-color: #74746a;

  font-size: 10pt;
  line-height: 27px;
}

#options-annotations > button:hover {
  background-color: #626159;
}

#color-legend {
  display: none; /* it should be hidden initially */
  position: absolute;
  z-index: 1000;
  right: 5px;
  bottom: 60px;

  overflow: hidden;

  width: 450px;

  border-radius: 10px;
  background-color: #000000;

  font-family: "Source Sans Pro", sans-serif;
  transition: height 0.3s;
}

#legend-banner {
  width: 100%;
  height: 25px;
}

#legend-banner-left {
  float: left;

  width: 300px;
  height: 100%;

  text-align: center;
  letter-spacing: 0.001em;

  color: #f5faf2;

  font-size: 10pt;
  font-weight: semi-bold;
  line-height: 25px;
}

#legend-banner-right {
  float: left;

  width: 150px;
  height: 100%;

  text-align: center;
  letter-spacing: 0.001em;

  color: #f5faf2;

  font-size: 10pt;
  font-weight: semi-bold;
  line-height: 25px;
}

#legend-species-blue {
  overflow: hidden;

  width: 100%;
  height: 0px;
  margin-bottom: 0px;

  border-radius: 4px;
  background-color: #40403d;
  transition: height 0.3s;
}

#legend-blue-controls {
  float: left;

  width: 50px;
  height: 100%;
}

#legend-blue-controls > input[type="checkbox"] {
  position: relative;
  top: 3px;
  left: 19px;

  margin: 0;

  cursor: pointer;
}

#legend-blue-contents {
  position: relative;
  top: 4.5px;

  float: left;

  box-sizing: border-box;
  width: 250px;
  height: 40px;

  border-right: 1px dotted #202020;
}

#legend-blue-contents-name {
  width: 244px;
  height: 50%;
  padding-left: 5px;

  letter-spacing: 0.001em;

  color: #f5faf2;

  font-size: 10pt;
  font-style: italic;
  line-height: 20px;
}

#legend-blue-contents-colormap {
  width: 100%;
  height: 50%;
}

#legend-blue-100 {
  float: left;

  width: 75px;
  height: 100%;

  text-align: center;
  letter-spacing: 0.001em;

  color: #f5faf2;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  background-color: #056c58;

  font-size: 10pt;
  font-weight: semi-bold;
  line-height: 20px;
}

#legend-blue-75 {
  float: left;

  width: 75px;
  height: 100%;

  text-align: center;
  letter-spacing: 0.001em;

  color: #f5faf2;
  background-color: #1d909b;

  font-size: 10pt;
  font-weight: semi-bold;
  line-height: 20px;
}

#legend-blue-50 {
  float: left;

  width: 75px;
  height: 100%;

  text-align: center;
  letter-spacing: 0.001em;

  color: #f5faf2;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  background-color: #60c8d1;

  font-size: 10pt;
  font-weight: semi-bold;
  line-height: 20px;
}

#legend-blue-quality {
  float: left;

  width: 150px;
  height: 100%;

  text-align: center;
  letter-spacing: 0.001em;

  color: #f5faf2;

  font-size: 12pt;
  font-style: italic;
  line-height: 49px;
}

#legend-species-pink {
  overflow: hidden;

  width: 100%;
  height: 0px;
  margin-bottom: 1px;

  border-radius: 4px;
  background-color: #40403d;
  transition: height 0.3s;
}

#legend-pink-controls {
  float: left;

  width: 50px;
  height: 100%;
}

#legend-pink-controls > input[type="checkbox"] {
  position: relative;
  top: 3px;
  left: 19px;

  margin: 0;

  cursor: pointer;
}

#legend-pink-contents {
  position: relative;
  top: 4.5px;

  float: left;

  box-sizing: border-box;
  width: 250px;
  height: 40px;

  border-right: 1px dotted #202020;
}

#legend-pink-contents-name {
  width: 244px;
  height: 50%;
  padding-left: 5px;

  letter-spacing: 0.001em;

  color: #f5faf2;

  font-size: 10pt;
  font-style: italic;
  line-height: 20px;
}

#legend-pink-contents-colormap {
  width: 100%;
  height: 50%;
}

#legend-pink-100 {
  float: left;

  width: 75px;
  height: 100%;

  text-align: center;
  letter-spacing: 0.001em;

  color: #f5faf2;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  background-color: #752879;

  font-size: 10pt;
  font-weight: semi-bold;
  line-height: 20px;
}

#legend-pink-75 {
  float: left;

  width: 75px;
  height: 100%;

  text-align: center;
  letter-spacing: 0.001em;

  color: #f5faf2;
  background-color: #c31d8e;

  font-size: 10pt;
  font-weight: semi-bold;
  line-height: 20px;
}

#legend-pink-50 {
  float: left;

  width: 75px;
  height: 100%;

  text-align: center;
  letter-spacing: 0.001em;

  color: #f5faf2;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  background-color: #f069a3;

  font-size: 10pt;
  font-weight: semi-bold;
  line-height: 20px;
}

#legend-pink-quality {
  float: left;

  width: 150px;
  height: 100%;

  text-align: center;
  letter-spacing: 0.001em;

  color: #f5faf2;

  font-size: 12pt;
  font-style: italic;
  line-height: 49px;
}

#legend-species-orange {
  overflow: hidden;

  height: 0;
  opacity: 0;
  width: 100%;
  margin-bottom: 0px;

  border-radius: 4px;
  background-color: #40403d;
  transition: height 0.3s, opacity 0.3s, margin 0.3s;
}

#color-legend .populated {
  height: 49px;
  opacity: 1;
  margin-bottom: 1px;
}

#legend-orange-controls {
  float: left;

  width: 50px;
  height: 100%;
}

#legend-orange-controls > input[type="checkbox"] {
  position: relative;
  top: 3px;
  left: 19px;

  margin: 0;

  cursor: pointer;
}

#legend-orange-contents {
  position: relative;
  top: 4.5px;

  float: left;

  box-sizing: border-box;
  width: 250px;
  height: 40px;

  border-right: 1px dotted #202020;
}

#legend-orange-contents-name {
  width: 244px;
  height: 50%;
  padding-left: 5px;

  letter-spacing: 0.001em;

  color: #f5faf2;

  font-size: 10pt;
  font-style: italic;
  line-height: 20px;
}

#legend-orange-contents-colormap {
  width: 100%;
  height: 50%;
}

#legend-orange-100 {
  float: left;

  width: 75px;
  height: 100%;

  text-align: center;
  letter-spacing: 0.001em;

  color: #f5faf2;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  background-color: #bd2026;

  font-size: 10pt;
  font-weight: semi-bold;
  line-height: 20px;
}

#legend-orange-75 {
  float: left;

  width: 75px;
  height: 100%;

  text-align: center;
  letter-spacing: 0.001em;

  color: #f5faf2;
  background-color: #f78e24;

  font-size: 10pt;
  font-weight: semi-bold;
  line-height: 20px;
}

#legend-orange-50 {
  float: left;

  width: 75px;
  height: 100%;

  text-align: center;
  letter-spacing: 0.001em;

  color: #f5faf2;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  background-color: #ffce41;

  font-size: 10pt;
  font-weight: semi-bold;
  line-height: 20px;
}

#legend-orange-quality {
  float: left;

  width: 150px;
  height: 100%;

  text-align: center;
  letter-spacing: 0.001em;

  color: #f5faf2;

  font-size: 12pt;
  font-style: italic;
  line-height: 49px;
}

#legend-blend {
  width: 100%;
  height: 25px;
}

#legend-blend-text {
  float: left;

  width: 380px;
  height: 25px;
  padding-right: 10px;

  text-align: right;
  letter-spacing: 0.001em;

  color: #f5faf2;

  font-size: 10pt;
  font-weight: semi-bold;
  line-height: 25px;
}

#legend-blend-switch {
  position: relative;
  top: 2.5px;

  float: left;

  width: 50px;
  height: 20px;

  border-radius: 4px;
  background-color: #202020;
}

#legend-blend-switch-button {
  width: 100%;
  height: 20px;
  margin: 0;
  padding: 0;

  cursor: pointer;

  border: none;
  border-radius: 4px;
  outline: none;
  background: none;
}

#legend-blend-switch-button > div {
  position: relative;
  left: 25px;

  width: 25px;
  height: 20px;

  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  text-align: center;

  color: #202020;
  border-radius: 4px;
  background-color: #80807d;

  line-height: 20px;
}

#legend-blend-switch-button > div > span {
  position: relative;
  top: -24px;
}

.legend-blend-switch-sides {
  float: left;

  width: 50%;

  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  letter-spacing: 0.001em;

  text-align: center;

  color: #f5faf2;

  font-size: 10pt;
  line-height: 20px;
}

button {
  font-family: "Source Sans Pro", sans-serif;
}

.bordered {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;

  border-width: 1px;
}

.vignette:after {
  position: absolute;
  z-index: 50;
  top: 0;
  left: 0;

  width: 128px;
  height: 128px;

  content: "";

  border-radius: 4px;
  -webkit-box-shadow: inset 0 0 80px #000;
  -moz-box-shadow: inset 0 0 80px #000;
  box-shadow: inset 0 0 80px #000;
}

.dropdown-text {
  letter-spacing: 0.001em;

  color: #f5faf2;

  font-style: italic;
}

.search-checkbox {
  height: 17px;

  letter-spacing: 0.001em;

  color: #f5faf2;

  font-size: 10pt;
  font-style: italic;
}

.search-checkbox > input[type="checkbox"] {
  margin: 0px;

  cursor: pointer;
  vertical-align: middle;
}

.search-dropdown {
  width: 160px;

  letter-spacing: 0.001em;

  border-radius: 4px;

  font-family: "Source Sans Pro", sans-serif;
  font-style: italic;
}

.search-dropdown > option {
  letter-spacing: 0.001em;

  font-family: "Source Sans Pro", sans-serif;
  font-style: italic;
}

.species-dropdown {
  width: 240px;
  height: 20px;
  padding-left: 5px;

  cursor: pointer;
  letter-spacing: 0.001em;

  color: #f5faf2;
  border-radius: 4px;
  background-color: #40403d;

  font-size: 10pt;
  line-height: 20px;
}

.grp-species-dropdown {
  width: 28%;
  height: 20px;
  padding-left: 5px;
  padding-right: 5px;
  margin-left: 10px;
  margin-right: 10px;
  margin-top: 17px;

  cursor: pointer;
  letter-spacing: 0.001em;

  color: #f5faf2;
  border-radius: 4px;
  background-color: #40403d;

  font-size: 10pt;
  line-height: 20px;
}

.triangle {
  position: relative;
  top: 8px;
  left: 10px;
  width: 0;
  height: 0;

  border-top: 5px solid #f5faf2;
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
}

.triangle.lefter{
  left: 145px;
}

.drag-handle {
  width: 100%;
  height: 50%;
  text-align: center;
  letter-spacing: 0.1em;

  color: #a5aaa2;

  font-size: 12pt;
  font-weight: bold;
  line-height: 24.5px;
}

@media (min-width: 1364px) {
  #search-tool-contents {
    margin: 0 auto;
  }
}

#search-banner-help-share-button {
  position: relative;
}

#search-banner-help-share-button .fa-check-circle {
  /* ZURB Foundation Success button background color */
  color: #3adb76;
  display: none;
}

.fades {
  transition: opacity 0.3s;
}

.fades.hide {
  opacity: 0;
}

.fades.show {
  opacity: 1;
}

.messages {
  color: white;
}

.npmap-toolbar button.share {
  background-image: url("images/font-awesome/share.png");
}
.npmap-retina .npmap-toolbar button.share {
  background-image: url("images/font-awesome/share@2x.png");
}

/* for the editControls */
button.polygon,
button.rectangle {
  display: none !important;
}

#species-hover-thumbnail {
  position: absolute;
  left: 0;
  top: 0;
  width: 100px;
  height: 100px;
  z-index: 10000;
  display: none;
}

/*********************************************/
/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 2000; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  border-radius: 5px;
}

/* Caption of Modal Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation */
.modal-content,
#caption {
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {
    -webkit-transform: scale(0);
  }
  to {
    -webkit-transform: scale(1);
  }
}

@keyframes zoom {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
  .modal-content {
    width: 100%;
  }
}
/*********************************************/

/* Printer issue fixed */
@media (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
  .print {
    background-size: 80% !important;
  }
}

/* Fix for the dark/light 404 tiles */
[src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs="] {
  width: 0 !important;
}

/* Small adjustments to chardin positions */
div[data-id="search-compare-distribution"] {
  height: 90px !important;
}
div[data-id="search-compare-lexical"] {
  height: 90px !important;
  margin-left: -10px !important;
}
div[data-id="search-initial-switch"] {
  top: 170px !important;
}
