/* Basics */
.maplibregl-ctrl-geocoder,
.maplibregl-ctrl-geocoder *,
.maplibregl-ctrl-geocoder *:after,
.maplibregl-ctrl-geocoder *:before {
  box-sizing: border-box;
}

.maplibregl-ctrl-geocoder {
  font-size: 18px;
  line-height: 24px;
  font-family: 'Open Sans Regular';
  position: relative;
  background-color: #fff;
  width: 100%;
  min-width: 240px;
  z-index: 1000;
  border-radius: 4px;
  transition: width 0.25s, min-width 0.25s;
  margin: 0 !important;
}

#geocodercontaineritd .maplibregl-ctrl-geocoder {
  z-index: 1001;
}
#geocodercontainer .maplibregl-ctrl-geocoder {
  z-index: 1001;
}

/* #rechps .suggestions {
  max-height: 120px;
} */

.maplibregl-ctrl-geocoder--input {
  font-size: 13px;
  font-weight: 400;
  width: 100%;
  border: 0;
  background-color: transparent;
  margin: 0;
  height: 36px;
  color: #404040; /* fallback */
  color: rgba(0, 0, 0, 0.75);
  padding: 6px 45px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: scroll;
}

.maplibregl-ctrl-geocoder--input::-ms-clear {
  display: none; /* hide input clear button in IE */
}

.maplibregl-ctrl-geocoder--input:focus {
  color: #404040; /* fallback */
  color: rgba(0, 0, 0, 0.75);
  outline: 0;
  box-shadow: none;
  /*outline: thin dotted;*/
}

.maplibregl-ctrl-geocoder .maplibregl-ctrl-geocoder--pin-right > * {
  z-index: 1001;
  position: absolute;
  right: 8px;
  top: 8px;
  display: none;
}

.maplibregl-ctrl-geocoder,
.maplibregl-ctrl-geocoder .suggestions {
  box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.1);
}

/* Collapsed */
.maplibregl-ctrl-geocoder.maplibregl-ctrl-geocoder--collapsed {
  width: 50px;
  min-width: 50px;
  transition: width 0.25s, min-width 0.25s;
}

/* Suggestions */
.maplibregl-ctrl-geocoder .suggestions {
  background-color: #fff;
  border-radius: 4px;
  left: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  width: 100%;
  top: 110%; /* fallback */
  top: calc(100% + 6px);
  /* overflow-y: scroll; */
  font-size: 12px;
  font-weight: 400;
  z-index: 1000;
}

.maplibregl-ctrl-bottom-left .suggestions,
.maplibregl-ctrl-bottom-right .suggestions {
  top: auto;
  bottom: 100%;
}

.maplibregl-ctrl-geocoder .suggestions > li > a {
  cursor: default;
  display: block;
  padding: 3px 12px;
  color: #404040;
  border-bottom: 1px solid #c7c3c3;
}
.maplibregl-ctrl-geocoder .suggestions > li:last-child > a {
  border-bottom: none;
}

.maplibregl-ctrl-geocoder .suggestions > .active > a,
.maplibregl-ctrl-geocoder .suggestions > li > a:hover {
  color: #404040;
  background-color: #c7c3c3;
  text-decoration: none;
  cursor: pointer;
}

.maplibregl-ctrl-geocoder--suggestion-title {
  font-weight: bold;
}

.maplibregl-ctrl-geocoder--suggestion-title,
.maplibregl-ctrl-geocoder--suggestion-address {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

/* Icons */
.maplibregl-ctrl-geocoder--icon {
  display: inline-block;
  vertical-align: middle;
  /* speak: none; */
  fill: #757575;
  top: 15px;
}

.maplibregl-ctrl-geocoder--icon-search {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 20px;
  height: 20px;
}

.maplibregl-ctrl-geocoder--button {
  padding: 0;
  margin: 0;
  border: none;
  cursor: pointer;
  background: #fff;
  line-height: 1;
}

.maplibregl-ctrl-geocoder--icon-close {
  width: 20px;
  height: 20px;
}

.maplibregl-ctrl-geocoder--button:hover .maplibregl-ctrl-geocoder--icon-close {
  fill: #909090;
}

.maplibregl-ctrl-geocoder--icon-loading {
  width: 26px;
  height: 26px;
  margin-top: -3px;
  margin-right: -3px;
  -moz-animation: rotate 0.8s infinite cubic-bezier(0.45, 0.05, 0.55, 0.95);
  -webkit-animation: rotate 0.8s infinite cubic-bezier(0.45, 0.05, 0.55, 0.95);
  animation: rotate 0.8s infinite cubic-bezier(0.45, 0.05, 0.55, 0.95);
}

/* Animation */
@-webkit-keyframes rotate {
  from {
    -webkit-transform: rotate(0);
    transform: rotate(0);
  }
  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes rotate {
  from {
    -webkit-transform: rotate(0);
    transform: rotate(0);
  }
  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

/* Media queries*/
/* @media screen and (min-width: 640px) { */
  /* .maplibregl-ctrl-geocoder.maplibregl-ctrl-geocoder--collapsed { */
    /* width: 36px; */
    /* min-width: 36px; */
  /* } */

  /* .maplibregl-ctrl-geocoder { */
    /* width: 100%; */
    /* font-size: 15px; */
    /* line-height: 20px; */
    /* max-width: 360px; */
  /* } */
  /* .maplibregl-ctrl-geocoder .suggestions { */
      /* font-size: 12px; */
	  /* line-height: 14px; */
  /* } */

  /* .maplibregl-ctrl-geocoder--icon { */
    /* top: 8px; */
  /* } */

  /* .maplibregl-ctrl-geocoder--icon-close { */
    /* width: 16px; */
    /* height: 16px; */
    /* margin-top: 3px; */
    /* margin-right: 0; */
  /* } */

  /* .maplibregl-ctrl-geocoder--icon-search { */
    /* left: 7px; */
    /* width: 20px; */
    /* height: 20px; */
  /* } */

  /* .maplibregl-ctrl-geocoder--input { */
    /* height: 36px; */
    /* padding: 6px 35px; */
  /* } */

  /* .maplibregl-ctrl-geocoder--icon-loading { */
    /* width: 26px; */
    /* height: 26px; */
    /* margin-top: -2px; */
    /* margin-right: -5px; */
  /* } */

  /* .maplibre-gl-geocoder--error { */
    /* color: #909090; */
    /* padding: 6px 12px; */
    /* font-size: 16px; */
    /* text-align: center; */
  /* } */
/* } */
