.taxa-header {
  border-bottom: 2px solid #005296;
  border-top: 2px solid #005296;
  background-color: #dce6f2;
  margin-top: 2px;
  margin-bottom: 5px;
  padding: 4px 5px 4px 12px;
}
.taxa-header .header-left-container {
  float: left;
}
.taxa-header .header-left-container h3 {
  color: #005296;
  font-weight: bold;
  font-style: italic;
  margin-bottom: 6px;
  margin-top: 13px;
}
@media (min-width: 768px) {
  .taxa-header .header-right-container {
    display: block;
    float: right;
  }
  .taxa-header .header-right-container .genus-container {
    float: left;
    padding-top: 5px;
    margin-right: 5px;
  }
  .taxa-header .header-right-container .genus-container h4 {
    color: #8a8a8a;
    font-weight: bold;
    font-style: italic;
    margin-bottom: 6px;
    margin-top: 13px;
  }
  .taxa-header .header-right-container .genus-container > p {
    color: #8a8a8a;
  }
  .taxa-header .header-right-container .species-image {
    float: left;
    margin-left: 0.5em;
    border: 1px solid #005296;
  }
  .taxa-header .header-right-container .species-image img {
    max-height: 70px;
  }
  .taxa-header .header-right-container .distribution-image {
    float: left;
    margin-left: 0.5em;
    border: 1px solid #005296;
  }
  .taxa-header .header-right-container .distribution-image a {
    display: block;
  }
  .taxa-header .header-right-container .distribution-image a .leaflet-container {
    cursor: pointer;
  }
}
@media (max-width: 1200px) {
  .taxa-header .genus-container {
    display: none;
  }
}
@media (max-width: 767px) {
  .taxa-header .header-right-container {
    display: none;
  }
}
.taxa-bottom {
  margin-top: 100px;
}
.genus-species-tree {
  padding: 5px;
}
.help {
  margin-top: 20px;
  padding: 10px;
  border: 1px solid;
  border-color: #d1d0ce;
}
.summary-main-content {
  padding-left: 15px;
  padding-right: 15px;
  margin-top: 1em;
}
.image p {
  margin-bottom: 0px;
  font-size: 80%;
}
@media (max-width: 767px) {
  .image-modal-dialog {
    width: 300px;
    margin: 30px auto;
  }
  .image-modal-dialog img {
    width: 100%;
    height: 100%;
  }
}
@media (min-width: 768px) {
  .image-modal-dialog {
    width: 600px;
    margin: 30px auto;
  }
  .image-modal-dialog img {
    width: 100%;
    height: 100%;
  }
}
@media (min-width: 992px) {
  .image-modal-dialog {
    width: 900px;
    margin: 30px auto;
  }
  .image-modal-dialog img {
    width: 100%;
    height: 100%;
  }
}
.image-modal-content {
  color: #ffffff;
  background-color: #000000;
}
.image-modal-footer {
  text-align: center;
}
.image-group {
  width: 100%;
}
.image_preview {
  min-height: 300px;
  min-width: 300px;
  text-align: center;
  background-color: #E5E5E5;
  padding: 0.5em 0.5em 0em 0.5em;
  border-style: solid;
  border-color: #A09C9C;
  border-width: 1px 1px 0px 1px;
}
.image_caption {
  color: black;
  background-color: #E5E5E5;
  padding: 0.5em 1em 2em 1em;
  font-size: 10px;
  text-align: center;
  border-style: solid;
  border-color: #A09C9C;
  border-width: 0px 1px 1px 1px;
}
.image_carousel {
  margin-top: 0.5em;
  background-color: #A09C9C;
}
.image_carousel img {
  padding: 1px;
  cursor: pointer;
  opacity: 0.6;
}
.image_carousel img.active {
  border: 1px solid red;
  opacity: 1;
}
#map {
  height: 400px;
}
#map .leaflet-control {
  clear: none;
}
#map .leaflet-control-scale {
  opacity: 0.5;
}
#map .leaflet-control-scale .leaflet-control-scale-line {
  border: 1px solid #777;
  border-top: none;
}
#map .leaflet-control-scale .leaflet-control-scale-line:not(:first-child) {
  border-top: 1px solid #777;
  border-bottom: none;
}
#map .leaflet-control-coordinates {
  position: absolute;
  bottom: 0;
  margin: 0% 0% 0% 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 0px;
  min-width: 12.5em;
}
#map .leaflet-control-coordinates .label {
  color: #333333;
  font-weight: normal;
}
#species_distribution_legend {
  margin-top: 0.5em;
}
#species_distribution_legend .species_distribution_category {
  padding-right: 1em;
  float: right;
}
#species_distribution_legend .species_distribution_category .legend_icon {
  float: left;
  width: 12px;
  height: 12px;
  border: 1px solid #a9a9a9;
  margin-right: 4px;
}
#species_distribution_legend .species_distribution_category .legend_label {
  float: left;
  line-height: 12px;
  font-size: 10px;
}
#sandboxLegends {
  margin-top: 20px;
  padding-left: 15px;
  padding-right: 15px;
}
#sandboxLegends .legend-row {
  margin-top: 5px;
}
#sandboxLegends .legend-row label {
  font-weight: bold;
  width: 100px;
}
#sandboxLegends .legend-item {
  display: inline-block;
  margin-right: 15px;
}
#sandboxLegends .legend-item .legend-icon {
  float: left;
  width: 12px;
  height: 12px;
  border: 1px solid #a9a9a9;
  margin-right: 4px;
}
#sandboxLegends .legend-item .legend-label {
  float: left;
  line-height: 12px;
  font-size: 10px;
}
#micromap {
  height: 70px;
  width: 260px;
  background-color: #B8B8B8;
}
.cotw-history {
  padding-left: 15px;
  padding-right: 15px;
  font-size: 11px;
}
.factsheet-top-box {
  margin: 20px;
  padding: 5px;
  background-color: #dce6f2;
  border: 1px solid #005296;
}
.factsheet-subheading {
  margin-top: 20px;
}
.original-description-extract {
  margin-bottom: 15px;
  padding: 10px;
  background-color: #fdeada;
}
