
.ol-touch .ol-control.gcd-gl-control button {
  font-size: 1.14em;
}

.ol-touch .ol-geocoder.gcd-gl-container {
  font-size: 1.1em;
}

.ol-geocoder.gcd-gl-container {
  position: absolute;
  display: block;
  box-sizing: border-box;
  left: 5px;
  top: 3px;
  opacity: 0;
  transform: translateX(-100px);
}

.ol-geocoder.gcd-gl-container *,
.ol-geocoder.gcd-gl-container *::before,
.ol-geocoder.gcd-gl-container *::after {
  box-sizing: inherit;
}

@media (min-width: 768px) {
  .ol-touch .ol-geocoder.gcd-gl-container {
    top: 5.5em;
  }
}

.ol-geocoder .gcd-gl-control {
  position: relative;
  width: 320px;
  height: 37px;
  overflow: hidden;
  transition: width 200ms, height 200ms;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 6px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(200, 200, 200, 0.3);
  padding-left: 8px;
}

.ol-touch .ol-geocoder .gcd-gl-control {
  width: 39px;
  height: 39px;
}

.ol-geocoder .gcd-gl-control:hover,
.ol-geocoder .gcd-gl-control:focus-within {
  border-color: var(--main-color);
}

.ol-geocoder .gcd-gl-expanded {
  width: 15.625em;
  height: 1.95em;
}

.ol-touch .ol-geocoder .gcd-gl-expanded {
  width: 15.925em;
}

.ol-geocoder .gcd-gl-input {
  position: absolute;
  left: 10px;
  top: 6px;
  z-index: 99;
  margin: 0;
  width: 274px;
  border: none;
  font-family: 'Calibri', 'Inter';
  font-size: 16px;
  background-color: transparent;
  color: #333;
  padding: 0;
}

.ol-geocoder .gcd-gl-input::placeholder {
  color: #999;
}

.ol-geocoder .gcd-gl-input:focus {
  border: none;
  outline: none;
  box-shadow: none;
}

.ol-touch .ol-geocoder .gcd-gl-input {
  height: 30px;
  left: 2.75em;
  top: 0.33em;
}

.ol-geocoder .gcd-gl-reset {
  position: absolute;
  z-index: 100;
  top: 0;
  right: 0.1em;
  width: 1.5625em;
  height: 100%;
  line-height: 1.15;
  border: none;
  background-color: transparent;
  display: inline-block;
  outline: 0;
  cursor: pointer;
}

.ol-geocoder .gcd-gl-reset::after {
  font-family: "Font Awesome 6 Free";
  content: "\f1f8";
  display: inline-block;
  margin-top: 11px;
  color: rgb(130, 129, 129);
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
}

.ol-touch .ol-geocoder .gcd-gl-reset {
  line-height: 1.6;
}

.ol-geocoder .gcd-gl-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  position: absolute;
  width: 31px;
  height: 31px;
  top: 3px;
  right: 5px;
  left: auto;
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  font-size: 15px !important;
  color: var(--main-color) !important;
  background: none !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.ol-geocoder .gcd-gl-btn::before {
  content: "\f002" !important;
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  font-size: 15px !important;
  color: var(--main-color) !important;
  display: block !important;
  visibility: visible !important;
}

.ol-geocoder .gcd-gl-btn::after {
  content: none !important;
  display: none !important;
}

.ol-touch .ol-geocoder .gcd-gl-btn {
  width: 31px;
  height: 31px;
  right: 2.5em;
}

.ol-touch .ol-geocoder .gcd-gl-btn::before {
  font-size: 16px !important;
}

.ol-geocoder ul.gcd-gl-result {
  top: 35px;
  left: -3px;
  width: 320px;
  max-height: 18.75em;
  white-space: normal;
  list-style: none;
  padding: 0;
  margin: 3px;
  margin-top: 5px;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 6px;
  border: 1px solid rgba(200, 200, 200, 0.3);
  overflow-x: hidden;
  overflow-y: auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: max-height 300ms ease-in;
}

.ol-geocoder ul.gcd-gl-result > li {
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid #eee;
  padding: 0;
  line-height: 1rem !important;
  min-height: 1rem !important;
  border-left: 3px solid transparent;
}

.ol-geocoder ul.gcd-gl-result > li > a {
  display: block;
  text-decoration: none;
  padding: 0.5rem !important;
  min-height: 0.8rem !important;
  line-height: 0.8rem !important;
}

.ol-geocoder ul.gcd-gl-result > li:nth-child(odd) {
  background-color: rgba(240, 240, 240, 0.9);
}

.gcd-gl-result li.selected,
.gcd-gl-result li:hover {
  background-color: color-mix(in srgb, rgb(50, 50, 50) 15%, transparent) !important;
  border-left: 3px solid var(--main-color) !important;
}

.gcd-gl-result li.selected a,
.gcd-gl-result li:hover a {
  color: var(--main-color) !important;
  font-weight: 500 !important;
}

@supports not (color: color-mix(in srgb, red, blue)) {
  .gcd-gl-result li.selected,
  .gcd-gl-result li:hover {
    background-color: rgba(50, 50, 50, 0.15) !important;
  }
}

.ol-touch .ol-geocoder ul.gcd-gl-result {
  top: 2.4em;
  left: 2.45em;
  width: 14.25em;
  max-width: 75%;
}

.ol-geocoder ul.gcd-gl-result:empty {
  display: none;
}

.ol-geocoder.gcd-txt-container {
  position: absolute;
  width: 25em;
  height: 4.375em;
  top: 0.7em;
  left: 5em;
  box-sizing: border-box;
}

.ol-geocoder.gcd-txt-container *,
.ol-geocoder.gcd-txt-container *::before,
.ol-geocoder.gcd-txt-container *::after {
  box-sizing: inherit;
}

.ol-geocoder .gcd-txt-control {
  position: relative;
  width: 100%;
  height: 4.375em;
  border: 1px solid #ccc;
  background-color: #fff;
  overflow: hidden;
}

.ol-geocoder .gcd-txt-label {
  display: inline-block;
  width: 100%;
  text-align: center;
}

.ol-geocoder .gcd-txt-input {
  position: absolute;
  z-index: 99;
  top: 0;
  left: 0;
  width: 100%;
  height: 1.8em;
  padding: 5px 30px 5px 40px;
  border: 5px solid;
  border-radius: 5px;
  text-indent: 6px;
  background-color: rgb(230, 230, 230);
  font-family: inherit;
  font-size: 0.875em;
}

.ol-geocoder .gcd-txt-input:focus {
  outline: none;
  box-shadow: inset 0 0 0 1px #4d90fe, inset 0 0 6px #4d90fe;
}

.ol-geocoder .gcd-txt-search {
  position: absolute;
  z-index: 100;
  top: 0;
  right: 0;
  width: 2.5em;
  height: 100%;
  line-height: 100%;
  border: none;
  background-color: transparent;
  display: inline-block;
  vertical-align: middle;
  outline: 0;
  cursor: pointer;
}

.ol-geocoder .gcd-txt-search::after {
  content: "\2386";
  display: inline-block;
  color: #333;
  font-size: 2em;
  cursor: pointer;
}

.ol-geocoder .gcd-txt-glass {
  position: absolute;
  top: 26px;
  left: 9px;
  z-index: 100;
  display: inline-block;
  width: 2.5em;
  height: 100%;
}

.ol-geocoder .gcd-txt-glass:after {
  content: "\1F50D";
}

.ol-geocoder ul.gcd-txt-result {
  position: absolute;
  top: 4.575em;
  left: 0;
  width: 25em;
  max-height: 18.75em;
  white-space: normal;
  list-style: none;
  padding: 0;
  margin: 0;
  background-color: white;
  border-radius: 4px;
  border-top: none;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  overflow-x: hidden;
  overflow-y: auto;
  box-shadow: 0 1px 7px rgba(0, 0, 0, 0.8);
  transition: max-height 300ms ease-in;
}

.ol-geocoder ul.gcd-txt-result > li {
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid #eee;
  padding: 0;
  line-height: 0.875rem;
}

.ol-geocoder ul.gcd-txt-result > li > a {
  display: block;
  text-decoration: none;
  padding: 3px 5px;
}

.ol-geocoder ul.gcd-txt-result > li > a:hover {
  background-color: #d4d4d4;
}

.ol-geocoder ul.gcd-txt-result > li:nth-child(odd) {
  background-color: #e0ffe0;
}

.ol-geocoder ul.gcd-txt-result:empty {
  display: none;
}

.ol-geocoder .gcd-hidden {
  opacity: 0;
  visibility: hidden;
}

.ol-geocoder .gcd-pseudo-rotate::after {
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.gcd-address {
  font-size: 0.875em;
  font-weight: 500;
  color: #333;
}

.gcd-road {
  font-size: 0.875em;
  font-weight: 500;
  color: #333;
}

.gcd-road i {
  margin-right: 8px;
}

.gcd-city {
  font-size: 0.75em;
  font-weight: normal;
  color: #333;
}

.gcd-country {
  font-size: 0.75em;
  font-weight: lighter;
  color: #333;
}

.icon::before {
  display: inline-block;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

.ol-geocoder .gcd-gl-search {
  top: 9px;
  right: 3px;
}

.ol-geocoder .gcd-gl-search::after {
  content: "";
  color: var(--main-color);
  font-size: 15px;
  margin-right: 8px;
}

@media (min-width: 768px) and (max-width: 991px) {
  .sidebar-left ~ .sidebar-map .ol-geocoder {
    margin-left: 305px;
  }
}

.ol-geocoder.gcd-gl-container.animate-in {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.6s ease-out 0.6s, transform 0.6s ease-out 0.6s;
}

.ol-geocoder.gcd-gl-container.animate-in-keyframes {
  animation: slideInSearch 0.6s ease-out 0.5s forwards;
}

@keyframes slideInSearch {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  .ol-geocoder .gcd-gl-control {
    width: calc(100vw - 20px);
  }
  
  .ol-geocoder.gcd-gl-container {
    opacity: 1 !important;
    transform: none !important;
    transition: none;
    animation: none;
  }
}

.gcd-gl-result i.fa-map-pin {
    color: rgb(70, 70, 70);
}

.gcd-gl-result i.fa-signs-post {
    color: rgb(70, 70, 70);
}

.gcd-gl-result i.fa-wrench {
    color: rgb(70, 70, 70);
}