@import url(https://fonts.googleapis.com/css2?family=Baloo+2&display=swap);
/* LEGEND CSS  */

/* LEGEND BUTTON */
#legend {
    height: calc(100vh - 20px);
    display: grid;
    grid-template-columns: 32.5px 292.5px;
    transition: width 1s;
}

.legend-open {
    width: 325px;
}

.legend-close {
    width: 32.5px;
}

#legend-open-button img {
    width: 35%;
}

#legend-open-button {
    opacity: 0.9;
    border-radius: 10px 0 0 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    writing-mode: vertical-rl;
    font-size: 13px;
    font-family: 'Baloo 2', cursive;
    cursor: pointer;
    height: 70px;
    background-color: white;
}

#legend-content{
    background-color: white;
    opacity: .95;
    height: 100%;
}

#subs {
    overflow-y: auto;
    height: calc(100vh - 90px);
}

#animal-story {
    overflow-y: auto;
    height: calc(100vh - 135px);
}

.title {
    background-color: #5D4B3F;
    opacity: 0.95;
    display: grid;
    height: 70px;
    grid-template-rows: 30px 40px;
}

#tracker p {
    margin: 5px 0 0 15px;
    padding: 0;
    font-size: 22pt;
    color: white;
}

#earthranger-logo {
    display: flex;
    justify-content: left;
    align-items: flex-end;
}

#earthranger-logo a {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: flex-end;
    margin: 0 0 5px 15px;
}

#earthranger-logo img {
    width: 90px;
    opacity: 0.5;
}

#animal-color {
    display: none;
    width: 55%;
    border: solid purple;
}

#story-button {
    margin-top: auto;
    margin-bottom: auto;
    margin-right: 12px;
    margin-left: 9px;
}

/* ANIMAL LEGEND CONTENT */
.animal-legend-content {
    width: 100%;
    height: 55px;
    display: flex;
}

#animal-img {
    display: flex;
    justify-content: center;
    align-items: center;
}

#animal-bullet {
    font-size: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 7px;
}

#animal-bullet div {
    height: 10px;
    width: 10px;
    border-radius: 50%;
    background-color: green;
}

#animal-name {
    display: flex;
    justify-content: left;
    align-items: center;
    font-size: larger;
    overflow-wrap: normal;
}

.animal-name-style {
    display: flex;
    align-items: center;
    margin: 0 0 0 7px;
    font-size: 14px;
    width: 145px;
}

.animal-name-bullet {
    padding-left: 3px;
    display: grid;
    grid-template-columns: 20% 80%;
}

.fit-content {
    width: fit-content;
}

#track-buttons {
    width: 90px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

#animal-legend-content img {
    width: 30px;
    height: 30px;
    cursor: pointer;
    padding: 7px;
    margin: auto;
}

/* POP-UP STYLING */
#pop-up {
    width: 200px;
    overflow: auto;
}

#pop-up-header {
    font-size: 15px;
}

#pop-up-header h3 {
    margin: 0 0 5px 0;
}

.pop-up-image {
    width: 100%;
    height: 150px;
}

#pop-up-buttons {
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
}

#name-container {
    padding: 15px;
}

#subject-div {
    border-bottom: solid 1pt rgba(0,0,0,.15);
}

#view-story-button {
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
    width: fit-content;
}

#view-story-button p {
    color: #DB580F;
    font-size: 9pt;
    font-weight: bold;
    margin: 0 0 0 0;
}

#view-story-button img {
    padding-left: 5px;
}

.hover {
    cursor: pointer !important;
}

.default {
    cursor: default;
}

#pop-up > p {
    margin: 1pt;
}

#date {
    font-size: 8pt;
    width: 45%;
    padding-right: 5px;
}

#arrow {
    transform: rotate(180deg);
}

#return {
    display: flex;
    align-items: center;
    padding: 10px;
    height: 20px;
    background-color: whitesmoke;
    border-bottom: solid 1pt rgba(0,0,0,.15);
}

#return p {
    font-size: 14px;;
    padding-left: 10px;
}

.sub-image {
    width: 100%;
}

#sub-content {
    display:flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

#ul-list {
    margin: none;
}

#help-button {
    width: 12px;
}

#tips-container {
    position: absolute;
    z-index: 1;
    top: 105px;
    left: 10px;
}

#tips-button-container {
    padding-top: 5px;
    padding-left: 8px;
    padding-right: 8.5px;
    background-color: white;
    border-radius: 3px;
    width: fit-content;
}

#tips {
    border-radius: 3px;
    width: 265px;
    background-color: white;
    margin-top: 15px;
}

#tips h2 {
    padding-left: 10px;
    margin-bottom: 0px;
}

#tips ul {
    padding-bottom: 10px;
}

.hidden {
    display: none;
}

#close-icon {
    width: 12px;
    height: 12px;
    padding: 10px;
    opacity: 90%;
    cursor: pointer;
}

#tips div {
    display: flex;
    justify-content: space-between;
}

#actual-tips {
    display: flex;
    flex-direction: column;
    padding: 10px;
}

#actual-tips div {
    justify-content: left;
    align-items: flex-start;
}

#actual-tips p {
    margin: 1px;
    margin-bottom: 7px;
    padding-left: 15px;
}

.mapboxgl-popup-close-button {
    display: none;
}

.bold {
    font-weight: bold;
}

.mapboxgl-ctrl.mapboxgl-ctrl-attrib {
    background-color: rgba(0,0,0,.5) !important;
}

.mapboxgl-ctrl-attrib a {
    color: rgba(255,255,255,.8) !important;
}
.App {
  padding: 20px;
}

#map-container {
  position: relative;
  height: 100vh;
  padding: 0px;
  margin: -8px;
}

#earth-ranger-logo {
  /* Should this be fixed or not */
  /* height: 45px; */
  position: absolute;
  padding: 10px 15px 10px 15px;
  top: 0;
  z-index: 1;
}

#earth-ranger-logo:hover {
  cursor: pointer;
}

#reset {
  z-index: 1;
  top: 90px;
  left: 10px;
  position: absolute;
  color: white;
}

#reset:hover { cursor: pointer; }

/* LEGEND CSS */
#legend {
  z-index: 1;
  right: 0;
  position: absolute;
}

.name {
  height: 0px;
  margin: 0px;
}

.namePopup {
  background-color: white;
  border-radius: 4px;
}

