@media screen and (min-width: 500px) {
  .geocoder-content {
    width: 300px;
  }
}
@media screen and (max-width: 500px) {
  .geocoder-content {
    width: 250px;

    .search-text-content {
      width: 150px;
    }
  }
}

button,
input,
textarea,
select {
  font: revert;
}

.geocoder-content {
  position: absolute;
  z-index: 9999;
  top: 8px;
  right: 8px;
  border: 1px solid #ccc;
  background: #fff;
}
.search-text-content {
  font-size: 15px;
  font-family: sans-serif;
  padding: 2px;
  margin: 3px;
  border: none;
  width: 230px;
}
.search-text-content:focus {
  outline: none;
}
.map-button-container {
  float: right;
  margin: 2px 2px 2px 0px;
}
.map-button-container button {
  float: left;
  background: #efefef;
  border: 1px solid #ccc;
  border-radius: 2px;
  cursor: pointer;
}
.map-button-container button:hover {
  background: #dfdfdf;
}
.search-button-content {
  font-size: 16px;
  padding: 0px 5px;
  margin-right: 3px;
}
.search-button-content:after {
  content: "\279C";
}
.delete-button-content {
  font-size: 14px;
  padding: 1px 6px;
  margin-right: 1px;
}
.delete-button-content:after {
  content: "\2716";
}

/* When the screen is less than 600px wide, stack the links and the search field vertically instead of horizontally */
/* @media screen and (max-width: 500px) {
  .geocoder-content a,
  .geocoder-content input[type="text"] {
    float: none;
    display: block;
    text-align: left;
    width: 100%;
    margin: 0;
    padding: 14px;
  }
  .geocoder-content input[type="text"] {
    border: 1px solid #ccc;
  }
} */

.dropdown-failed {
  position: relative;
  width: 300px;
  padding: 4px;
  font-size: 14px;
  font-family: sans-serif;
  border-top: 1px solid #d4d4d4;
  display: none;
}
.dropdown-content {
  position: relative;
  overflow-y: auto;
  width: 300px;
  max-height: 150px;
  display: none;
  z-index: 9999;
  border-top: 1px solid #d4d4d4;
}
.dropdown-content:focus {
  outline: none;
}
.result-item {
  padding: 5px 0px;
  margin: 0px 5px;
  cursor: pointer;
  background-color: #fff;
  border-top: 1px solid #d4d4d4;
  font-size: 14px;
  font-family: sans-serif;
  overflow: hidden;
  white-space: nowrap;
}
.result-item:hover {
  background-color: #efefef;
}
.result-active {
  background-color: #efefef;
}
