/* El Bandido Map Responsive Styling */

#map-finder-container {
  top: 0;
  left: 0;
  margin: 0;
  display: flex;
  z-index: 50;
  position: absolute;
  flex-direction: row;
  width: 100vw;
  height: 100vh;
  justify-content: space-evenly;
  background-color: #010101;
  align-items: center;
}
#status {
  color: white;
}
#search-row {
  z-index: 100;
  width: fit-content;
  background-color: white;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  width: 100%;
}
#search-input {
  font-family: Bebas Neue;
  z-index: 50;
  width: 80%;
  padding: 10px;
  font-size: 1em;
  background-color: whitesmoke;
  letter-spacing: 2px;
  border: none;
}
#search-button {
  z-index: 50;
  position: relative;
  align-self: center;
  justify-self: flex-end;
  font-size: 2em;
  background-color: white;
  border: 2px white solid;
  cursor: pointer;
}
#search-button:hover {
  color: #0a90ae;
}
#list-section {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}
#location-list {
  padding: 0;
  margin: 0;
  overflow-y: scroll;
  height: 68vh; 
  width: 100%;
  min-width: 30vw;
  min-height: 50vh;
  max-width: 35vw;
  max-height: 70vh;
  border: 1px 1px solid lightgray;
  background-color: white;
}
#location-list-item {
  width: 100%;
  display: flex;
  background-color: transparent;
  letter-spacing: 2px;
  border-bottom: 1px solid lightgrey;
  cursor: pointer;
}
#location-list-item:hover {
  background-color: rgba(50, 50, 50, .09);
}
#location-title {
  color: #0a90ae;
  width: 100%;
  padding: 2em;
  font-family: Bebas Neue;
  background-color: transparent;
  grid-area: title;
  letter-spacing: 1px;
}
#location-address {
  color: #010101;
  width: 100%;
  word-wrap: normal;
  display: flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: space-between;
  background-color: transparent;
  font-size: 12px;
  letter-spacing: 1px;
  font-family: Open Sans;
}
#location-distance {
  font-weight: 600;
  width: 100%;
  text-align: right;
  font-size: 12px;
  letter-spacing: 1px;
  font-family: Open Sans;
  background-color: transparent;
}
#location-duration {
  font-weight: 600;
  width: 100%;
  background-color: transparent;
  font-size: 12px;
  letter-spacing: 1px;
  font-family: Open Sans;
  background-color: transparent;
  justify-content: flex-end;
}
#location-icon {
  display: flex;
  background-color: transparent;
  margin-top: -5vh;
  width: 100%;
  height: fit-content;
  justify-self: flex-end;
  justify-content: center;
}
#map {
  display: flex;
  width: 45vw;
  height: 80vh;
  align-items: center;
  justify-content: center;
}
#store-image {
  position: relative;
  height: 3vh;
  width: 3vh;
}
#store-image:hover {
  cursor: pointer;
  height: 4vh;
  width: 4vh;
}
#venue-image {
  height: 3vh;
  width: 3vh;
}
#venue-image:hover {
  cursor: pointer;
  height: 4vh;
  width: 4vh;
}
/* ---------- */

/* Where Buttons */

#where-button-container {
  margin-top: 10px;
  display: flex;
  width: fit-content;
  flex-direction: row;
  justify-content: space-between;
  background-color: lightgray;
  background-color: white;
  cursor: pointer;
}
#find-me-button {
  font-family: Bebas Neue;
  background-color: transparent;
  border: none;
  padding-inline: 20px;
  padding-block: 8px;
  border-right: #0a90ae 1px solid;
  cursor: pointer;
}
#find-me-button:hover {
  background-color:#0a90ae;
}
#where-button-buy {
  font-family: Bebas Neue;
  background-color: transparent;
  border: none;
  padding-inline: 20px;
  padding-block: 8px;
  border-right: #0a90ae 1px solid;
  cursor: pointer;
}
#where-button-buy:hover {
  background-color:#0a90ae;
}
#where-button-drink {
  font-family: Bebas Neue;
  background-color: transparent;
  border: none;
  padding-inline: 20px;
  padding-block: 8px;
  cursor: pointer;
}
#where-button-drink:hover {
  background-color:#56a08a;
}
#reset-button {
  font-family: Bebas Neue;
  background-color: lightgrey;
  border: none;
  padding-inline: 20px;
  padding-block: 8px;
  cursor: pointer;
}
/* Loading Screen */
.loading-screen {
  width: 100%;
  height: 100%;
  display: none;
  position: absolute;
  background-color: rgba(34, 29, 17, 0.945);
  z-index: 500;
}
.loading-screen-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}
.loading-screen-text {
  font-family: Bebas Neue;
  font-size: 2em;
  color: #0a90ae;
  letter-spacing: 2px;
  background-color: transparent;
  padding-top: 3vh;
}
.loading-progress-bar {
  width: 25vw;
}
/* Style Popups */
.leaflet-popup-content {
  font-family: Open Sans;
  font-size: 20px;
}
@media only screen and (max-width: 720px) {
  #map-finder-container {
    flex-direction: column;
    height: 140vh;
  }
  #location-icon {
    justify-content: flex-end;
  }
}
/* Extra small devices (phones, 800px and down) */
@media only screen and (max-width: 800px) {
	#map-finder-container {
    flex-direction: column;
    height: 100vh;
  }
  #map {
    display: flex;
    min-width: 70vw;
    align-items: center;
    justify-content: center;
  }
  #search-row {
    width: 70vw;
  }
  #search-input {
    width: 55vw;
  }
  #list-section {
    display: flex;
    width: fit-content;
    height: fit-content;
    align-items: center;
    justify-content: center;
    background-color: transparent;
  }
  #location-list {
    overflow-y: scroll;
    max-width: 70vw;
    max-height: 35vh;
    border: 1px 1px solid lightgray;
    background-color: white;
  }
  #location-list-item {
    background-color: transparent;
  }
   /* Marker Popup */
  #popup-header {
    color: rgba(34, 29, 17, 0.705)
  }
}


