html,
body {
  position: relative;
  width: 100%;
  height: 100%;
}

body {
  color: #333;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

a {
  color: rgb(0, 100, 200);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:visited {
  color: rgb(0, 80, 160);
}

label {
  display: block;
}

input,
button,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  padding: 0.4em;
  /* margin: 0 0 0.5em 0; */
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 2px;
}

input:disabled {
  color: #ccc;
}

input[type="range"] {
  height: 0;
}

button {
  color: #333;
  background-color: #f4f4f4;
  outline: none;
}

button:active {
  background-color: #ddd;
}

button:focus {
  border-color: #666;
}

.mapboxgl-ctrl-print.maplibregl-ctrl-group > button,
.maplibregl-ctrl-print.maplibregl-ctrl-group > button {
  margin: 0;
  padding: 5px;
}
.header__header {
  flex-grow: 2;
  position: relative;
  z-index: 20;
}
.header__body {
  flex-grow: 2;
}
.autocomplete-search li {
  justify-content: space-between;
  align-items: center;
  padding: 0.3rem;
  height: auto;
}
.autocomplete-search li span {
  width: 100%;
  text-align: left;
}
.autocomplete-search li span.popis {
  color: #888;
}
header.header .input__group--search {
  width: 60%;
}
.vyber-vyhladavania {
  width: 40%;
}
.select__list li:hover {
  padding-left: 0.3rem;
}
.autocomplete-search {
  position: absolute;
}

.mapboxgl-popup-content ul,
.maplibregl-popup-content ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.mapboxgl-popup-content ul li,
.maplibregl-popup-content ul li {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
}
.mapboxgl-popup-content ul li:not(:last-child),
.maplibregl-popup-content ul li:not(:last-child) {
  margin-bottom: 0.75rem;
}
.mapboxgl-popup-content ul li small,
.maplibregl-popup-content ul li small {
  font-size: 0.625rem;
  color: #a4a4a4;
}
.mapboxgl-popup-content ul li span,
.maplibregl-popup-content ul li span {
  display: inline-block;
  line-height: 1;
  cursor: pointer;
}
.mapboxgl-popup-content ul li .icon,
.maplibregl-popup-content ul li .icon {
  width: 1rem;
  height: 1rem;
  margin-right: 0.75rem;
}
.footer-buttons {
  margin-top: 15px;
  display: flex;
  justify-content: space-between;
}
.footer-buttons span {
  cursor: pointer;
}
.footer-buttons span.zobrazit-data,
.footer-buttons span.upravit-poznamku {
  margin-right: 10px;
}
.footer-buttons span,
.tab-poznamka,
.tab-data {
  display: none;
}
.footer-buttons span.active,
.tab-poznamka.active,
.tab-data.active {
  display: block;
}
.popup-list {
  max-height: 250px;
  overflow-y: auto;
  padding-right: 15px !important;
}

.maplibregl-ctrl-bottom-right .mapboxgl-ctrl-group button,
.maplibregl-ctrl-bottom-right .maplibregl-ctrl-group button {
  background-image: url(../img/spritesheet.png);
  background-image: linear-gradient(transparent, transparent),
    url(../img/spritesheet.svg);
  background-repeat: no-repeat;
  background-size: 300px 30px;
  background-clip: padding-box;
}
.mapboxgl-ctrl-print.mapboxgl-ctrl-group>button {
  margin: 0;
  padding: 5px;
}
.mapboxgl-ctrl-group:not(:empty) {
  -moz-box-shadow: 0 0 2px rgba(0, 0, 0, .1);
  -webkit-box-shadow: 0 0 2px rgba(0, 0, 0, .1);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, .1);
}
.maplibregl-ctrl-bottom-left .mapboxgl-ctrl {
  float: left;
  margin: 0 0 10px 10px;
}
.maplibregl-ctrl-bottom-right .mapboxgl-ctrl {
  float: right;
  margin: 0 10px 10px 0;
}
.mapboxgl-ctrl-group {
  background: #fff;
  border-radius: 4px;
}

.mapboxgl-ctrl {
  clear: both;
  pointer-events: auto;
  transform: translate(0);
}
.mapboxgl-ctrl-group button {
  background-color: transparent;
  border: 0;
  box-sizing: border-box;
  cursor: pointer;
  display: block;
  height: 29px;
  outline: none;
  padding: 0;
  width: 29px;
}
.mapboxgl-ctrl-group button+button {
  border-top: 1px solid #ddd;
}
.mapbox-gl-draw_line {
  background-position: 0 -1px !important;
}
.mapbox-gl-draw_polygon {
  background-position: -29px -1px !important;
}
.mapbox-gl-draw_polygon2 {
  background-position: -60px -1px !important;
}
.mapbox-gl-draw_trash {
  background-position: -180px -1px !important;
}
.mapbox-gl-draw_circle {
  background-position: -90px -1px !important;
}
.mapbox-gl-draw_point {
  background-position: -120px -1px !important
}
.mapbox-gl-draw_cancel {
  background-image: none !important;
  position: relative;
}

.mapbox-gl-draw_cancel:before,
.mapbox-gl-draw_cancel:after {
  content: '';
  position: absolute;
  width: 15px;
  height: 2px;
  background-color: #464646;
  top: 13px;
}

.mapbox-gl-draw_cancel:before {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  transform: rotate(45deg);
  left: 7px;
}

.mapbox-gl-draw_cancel:after {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  transform: rotate(-45deg);
  right: 7px;
}
.mapboxgl-popup-content span.link,
.maplibregl-popup-content span.link {
  cursor: pointer;
}

.datagrid table tr td.wrap {
  white-space: normal;
}
.mapboxgl-popup-content,
.mapboxgl-popup-content,
.maplibregl-popup-content,
.maplibregl-popup-content {
  padding: 10px;
}
.mapboxgl-popup,
.maplibregl-popup {
  min-width: 150px;
}
.mapboxgl-popup-content .info,
.maplibregl-popup-content .info {
  font-size: 10px;
  line-height: 14px;
  color: #888;
}
.datagrid .deactivate .icon {
  color: #ccc;
}
.datepicker .header {
  height: auto;
  padding: 0;
  margin: 0;
  background: none;
}
.dropzone {
  min-height: auto;
  border: 1px solid #dbdbdb;
  color: #989898
}
.dropzone .dz-message {
  margin: 0 auto;
}
.dropzone .dz-preview {
  min-height: auto;
}
/* .dropzone .dz-preview .dz-image {
  width: 80px;
  height: 80px;
} */
.dropzone .dz-preview .dz-image img {
  width: 100%;
}
.sidebar__tab--rozkopavky .input-group {
  margin-bottom: .75rem;
}
.splitter__header {
  z-index: 10;
}
.filterWrap .filtre .filter input {
  margin-left: 10px;
  width: 80px;
  background: #fff;
}
.sidebar {
  z-index: 11;
}
