* {
  box-sizing: border-box;
}

html,
body {
  padding: 0;
  margin: 0;
  height: 100%;
  font-family: Ubuntu, sans-serif;
  font-size: 14px;
  overflow: hidden;
  line-height: 1.5;

}

#geocoding-demo-app {
  position: relative;
  width: 100%;
  height: 100%;
}

:not(.search) input {
  accent-color: #3170fe;
}

input[type="number"],
input[type="text"] {
  font-size: 14px;
  padding: 5.5px;
  border: 0px solid #ccc;
  border: #c1cfe4 solid 2px;
  background-color: white;
  border-radius: 4px;
  width: 5em;
}

input[type="number"]:focus,
input[type="text"]:focus,
select:focus {
  border: #3170fe solid 2px;
}

select {
  font-size: 14px;
  padding: 5px;
  /* border: 0px solid #ccc; */
  border: #c1cfe4 solid 2px;
  background-color: white;
  border-radius: 4px;
}

.hidden {
  display: none;
}

/*layerSwitcherControl*/
.maplibregl-ctrl-basemaps {
  margin-top: 26px !important;
  display: flex;
  flex-direction: row;
  pointer-events: auto;
  bottom: 15px;
  position: relative;
}

.maplibregl-ctrl-basemaps.reverse {
  flex-direction: row-reverse;
}

.maplibregl-ctrl-basemaps.column {
  flex-direction: column;
}

.maplibregl-ctrl-basemaps.column.reverse {
  flex-direction: column-reverse;
}

.maplibregl-ctrl-basemaps .basemap {
  width: 64px;
  height: 64px;
  margin: 2px;
  border: 2px solid #fff;
  box-shadow: 0 0 6px 2px rgb(0 0 0 / 8%);
  cursor: pointer;
}

.maplibregl-ctrl-basemaps img {
  border-radius: 4px;
}

.maplibregl-ctrl-basemaps .basemap.active {
  border-color: orange;
}

.maplibregl-ctrl-basemaps.closed .basemap {
  display: none;
}

.maplibregl-ctrl-basemaps.closed .basemap.active {
  display: block;
  border: 2px solid #fff;
}

.controls {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5px 10px;
  align-items: baseline;

  & > *:nth-child(odd) {
    justify-self: end;
    white-space: nowrap;
  }

  & > *:nth-child(even) {
    justify-self: start;
  }
}

h1 {
  margin: 0 0 10px;
  font-size: 14px;
}

.break {
  flex-basis: 100%;
}

pretty-json {
  zoom: 90%;
  white-space: pre;
}

input:disabled {
  background-color: #eee;
  cursor: not-allowed;
}

.maplibregl-ctrl-zoomlevel {
  background-color: #ffffff80;
  padding: 0px 5px;
}

label[title] {
  text-decoration:underline;
  text-decoration-style: dotted;
  text-decoration-color:#c1cfe4;
  cursor: help;
}

:not(button)[title] {
  cursor: help;
}

input[type=checkbox] {
  position: relative;
  top: 2px;
}
