@import url("config.css");

@font-face {
  font-family: 'AtypRegular';
  src: url('../../../assets/css/font/AtypDisplay-Regular.woff2') format('woff2'),
       url('../../../assets/css/font/AtypDisplay-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

body, html {
  /* font-family: 'Raleway', sans-serif; */
  font-family: 'AtypRegular', sans-serif !important;
  height: 100%;
  margin: 0;
  padding: 0;
}
body {
  display: flex;
  flex-direction: column;
}
a {
  text-decoration: none;
  color: #aa1e80;
}

.page-loading {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-transition: all .4s .2s ease-in-out;
  transition: all .4s .2s ease-in-out;
  background-color: #fff;
  opacity: 0;
  visibility: hidden;
  z-index: 9999;
}
.page-info-loading {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-transition: all .4s .2s ease-in-out;
  transition: all .4s .2s ease-in-out;
  background-color: #fff;
  opacity: 0;
  visibility: hidden;
  z-index: 9999;
  display: none;
}
.page-loading.active {
  opacity: 1;
  visibility: visible;
}
.page-info-loading.active {
  opacity: 1;
  visibility: visible;
  display: block;
}
.page-loading-inner {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  text-align: center;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  -webkit-transition: opacity .2s ease-in-out;
  transition: opacity .2s ease-in-out;
  opacity: 0;
}
.page-loading.active > .page-loading-inner {
  opacity: 1;
}
.page-info-loading.active > .page-loading-inner {
  opacity: 1;
}
.page-loading-inner > span {
  display: block;
  /* font-family: "Inter", sans-serif; */
  font-family: 'AtypRegular', sans-serif !important;
  font-size: 1rem;
  font-weight: normal;
  color: #6f788b;
}
.page-spinner {
  display: inline-block;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: .75rem;
  vertical-align: text-bottom;
  background-color: #d7dde2;
  border-radius: 50%;
  opacity: 0;
  -webkit-animation: spinner .75s linear infinite;
  animation: spinner .75s linear infinite;
}
@-webkit-keyframes spinner {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  50% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}
@keyframes spinner {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  50% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}
.container {
  display: flex;
  margin-right: 7px;
  margin-left: 7px;
  margin-top: 7px;
}
.layer-container {
  height: 30px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  margin-bottom: 5px;
  margin-right: 5px;
  background-color: #f0f0f0;
  border-radius: 15px;
  padding: 15px;
  transition: background-color 0.3s ease;
}
.link-container {
  height: 30px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  margin-bottom: 5px;
  background-color: #f0f0f0;
  border-radius: 15px;
  padding: 15px;
  transition: background-color 0.3s ease;
}
.info-container {
  display: flex;
  width: 25%;
  justify-content: center;
  align-items: center;
  margin-bottom: 5px;
  background-color: #f0f0f0;
  border-radius: 15px;
  cursor: pointer;
}
.layer {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.layer i {
  font-size: 1.7em;
  padding-left: 10px;
}
.info i {
  font-size: 1.5em;
}
.layer-container:last-child {
  margin-right: 0px;
}
.layer-container:hover {
  background-color: #dcdcdc;
}
.link-container:hover {
  background-color: #dcdcdc;
}
.info-container:hover {
  background-color: #dcdcdc;
}
.layer-container.clicked {
  background-color: #aa1e80;
  color: white;
}

p.layer-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

leaflet-top leaflet-right {
  display: flex;
}
hr {
  width: 50%;
  margin: 10px auto;
  border: none;
  border-top: 1px solid #c5c5c5;
}
hr.solid {
  border-top: 1px solid #bbb;
  text-align: center;
  width: 100%;
}
h3 {
  font-weight: 250;
}
h2.sidebar-info-description-title {
  background-color: #f9b622;
  border: none;
  border-radius: 15px 15px;
  color: white;
  padding: 12px 16px;
  font-size: 16px;
  max-height: 70px;
  cursor: pointer;
  flex: 1;
  box-sizing: border-box;
  font-size: 16px;
  border: none;
  -webkit-box-shadow: 3px 3px 12px -3px rgba(0,0,0,0.75);
  -moz-box-shadow: 3px 3px 12px -3px rgba(0,0,0,0.75);
  box-shadow: 3px 3px 12px -3px rgba(0,0,0,0.75);
  scroll-margin-top: 10px;
}
.sidebar-info-title {
  margin-top: 5px;
  padding-bottom: 15px;
}
h1.sidebar-info-title {
  font-size: 1.7em;
  margin-top: 5px;
  margin-bottom: 0px;
  padding-bottom: 5px;
}
.sidebar-info-subtitle {
  margin: 0px;
  font-size: 15px;
  font-weight: 200;
}
.sidebar-info-links {
  padding-bottom: 20px;
}
a.sidebar-info-link {
  margin: 0px;
  padding-right: 5px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  color: #aa1e80;
}
.main-title {
  font-size: 40px;
  text-align:center;
  margin-top: 5px;
  margin-bottom: 5px;
}
.sub-title {
  font-size: 20px;
  font-weight: 250;
  margin: 0px;
  text-align:center;
}

/* Toggle slider */

.switch {
  position: relative;
  display: inline-block;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
  width: 40px;
  height: 23px;
  display: inline-block;
}
.slider {
  width: 40px;
  height: 23px;
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
  display: inline-block;
  border-radius: 5px;
  -webkit-box-shadow: 3px 3px 7px -5px rgba(0,0,0,0.75);
  -moz-box-shadow: 3px 3px 7px -5px rgba(0,0,0,0.75);
  box-shadow: 3px 3px 7px -5px rgba(0,0,0,0.75);
}
.slider:before {
  position: absolute;
  content: "";
  height: 15px;
  width: 15px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}
input:checked + .slider {
  background-color: #aa1e80;
}
input:checked + .slider:before {
  -webkit-transform: translateX(17px);
  -ms-transform: translateX(17px);
  transform: translateX(17px);
}


/* ===============
CONTAINER
=============== */

.grid {
  display: flex;
  height: 100%;
  position: relative;
  overflow-x: hidden;
}

/* ===============
SIDEBAR
=============== */

.sidebar {
  width: 400px;
  background-color: white;
  box-shadow: 3px 10px 44px 21px rgba(0,0,0,0.1);
  transition: 0.5s ease;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 555;
}
.sidebar_mobile {
  width: 100%;
  height: 100%;
  background-color: white;
  transition: 0.5s ease;
}
.sidebar_small {
  width: 0%;
}
.sidebar-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.sidebar-content-header {
  /* flex-shrink: 0;
  display: flex;
  text-align: center; */
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  text-align: center;
}
.sidebar-content-layers {
  flex-grow: 1;
  overflow-y: auto;
  padding-bottom: 25px;
  /* overflow-y: scroll; */
  -webkit-box-shadow: 0px -4px 18px -9px rgba(0,0,0,0.75);
  -moz-box-shadow: 0px -4px 18px -9px rgba(0,0,0,0.75);
  box-shadow: 0px -4px 18px -9px rgba(0,0,0,0.75);
}
.sidebar-content-layers-control {
  height: 38px;
  padding-bottom: 5px;
  border-bottom: 1px solid #bbb;
  display: flex;
  align-items: center;
  transition: 0.5s;
}
.sidebar-content-layers-control:hover {
  background-color: #fef8e6;

}
.last {
  border-bottom: 0px;
}
.sidebar-content-layers-control input {
  margin-right: 35px;
}
.sidebar-content-layers-control label.layer_name {
  margin-left: 15px;
  cursor: pointer;
}
.sidebar-content-layers-control label.layer_name:hover {
  font-weight: bold;
}
.sidebar-content-footer {
  padding-top: 10px;
  bottom: 0px;
  margin: auto;
  text-align: center;
  width: 100%;
  color: grey;
  max-width:380px;
  font-size: 13px;
}
.sidebar-content-toggleAll {
  bottom: 70px;
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  /* width: 100%; */
  margin-right: 7px;
  margin-left: 7px;
  margin-top: 7px;
}
.sidebar-content-buttons {
  bottom: 70px;
  padding-top: 10px;
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 5px;
}

@media (max-width: 600px) {
  .sidebar-content-buttons {
    flex-direction: column; /* při malé šířce – tlačítka pod sebe */
  }
}

.sidebar-info {
  height: 100%;
  display: none;
}
.sidebar-info-photo {
  width: 100%;
  height: 250px;
  background: url("../images/no-img.png");
  background-size: contain;
  -webkit-box-shadow: 0px 10px 8px -13px rgba(0,0,0,0.75);
  -moz-box-shadow: 0px 10px 8px -13px rgba(0,0,0,0.75);
  box-shadow: 0px 10px 8px -13px rgba(0,0,0,0.75);
  cursor: pointer;
}
.sidebar-info-photo-delete {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: white;
  font-size: 24px;
  text-align: center;
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 100;
}
.sidebar-info-content {
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 25px;
  padding-bottom: 25px;
  overflow-y: scroll;
  height: calc(100% - 300px);
  -webkit-box-shadow: 0px 10px 8px -13px rgba(0,0,0,0.75);
  -moz-box-shadow: 0px 10px 8px -13px rgba(0,0,0,0.75);
  box-shadow: 0px 10px 8px -13px rgba(0,0,0,0.75);

}
.sidebar-info-basic {

}

.icon {
  text-align: left;

}
.icon i {
  font-size: 1.3em;
  margin-bottom: 5px;
  color: #777;
}
.icon p {
  margin: 5px 0;
}
.sidebar-info-footer {
  bottom: 0px;
  margin: auto;
  text-align: center;
  width: 100%;
  color: grey;
  max-width:380px;
  font-size: 13px;
}
.sidebar-info-description {

}

a .poloha {
  margin-right: 10px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  border-radius: 15px;
  color: white;
  background-color: #aa1e80;
}

/* ===============
MAP
=============== */

.map {
  flex: 1;
  margin-left: 400px;
  transition: 0.5s ease;
  z-index: 1;
  filter: brightness(100%);
}
.map_mobile {
  flex: 1;
  margin-left: 20%;
  transition: 0.5s ease;
  z-index: 1;
  filter: brightness(50%);
}
.map_large {
  filter: brightness(100%);
  margin-left: 0px;
}
.hide-sidebar {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 8px;
  cursor: pointer;
  transition: 0.5s ease;
  z-index: 2;
}
.sidebar_hidden {
  left: -400px;
}
.sidebar_mobile_hidden {
  left: -600px;
}
.map-hidden {
  margin-left: 0;
}

.navBtn {
  position: absolute;
  height: 70px;
  top: 45%;
  width: 20px;
  left: 400px;
  z-index: 9997;
  background-color: var(--navBtn-bg);
  color: var(--navBtn-color);
  padding: 9px 13px 9px 13px;
  cursor: pointer;
  font-size:15px;
  transition: 0.5s ease;
  border-top-right-radius: 15px 15px;
  border-bottom-right-radius: 15px 15px;
  -webkit-box-shadow: 4px 3px 22px -11px rgba(0,0,0,0.75);
  -moz-box-shadow: 4px 3px 22px -11px rgba(0,0,0,0.75);
  box-shadow: 4px 3px 22px -11px rgba(0,0,0,0.75);
}
.navBtn:hover {
  font-size: 18px;
}
.navBtn_small {
  left: 0px;
}
.navBtn_mobile {
  position: absolute;
  height: 70px;
  top: 45%;
  width: 20px;
  left: 100%;
  z-index: 9997;
  color: var(--navBtn-color);
  background-color: var(--navBtn-bg);
  padding: 9px 13px 9px 13px;
  cursor: pointer;
  font-size:15px;
  transition: 0.5s ease;
  border-top-right-radius: 15px 15px;
  border-bottom-right-radius: 15px 15px;
  border-top-left-radius: 0px 0px;
  border-bottom-left-radius: 0px 0px;
  -webkit-box-shadow: 4px 3px 22px -11px rgba(0,0,0,0.75);
  -moz-box-shadow: 4px 3px 22px -11px rgba(0,0,0,0.75);
  box-shadow: 4px 3px 22px -11px rgba(0,0,0,0.75);
}
.navBtn_mobile:hover {
  font-size:18px;
}
.navBtn_mobile_small {
  left: 0px;
  border-top-right-radius: 15px 15px;
  border-bottom-right-radius: 15px 15px;
  border-top-left-radius: 0px 0px;
  border-bottom-left-radius: 0px 0px;
}
.arrow {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  color: var(--navBtn-color);
}

/* Close button */

.close {
  cursor: pointer !important;
  font-size: 40px;
  position: absolute;
  color: var(--closeBtn-color);
  border: none;
  background: none;
  right: 10px;
  top: 10px;
  line-height: 1;
  z-index: 99;
  padding: 0;
}
.close span {
  height: 40px;
  width: 40px;
  background-color: var(--closeBtn-bg);
  border-radius: 50%;
  display: block;
  -webkit-box-shadow: 4px 3px 22px -11px rgba(0,0,0,0.75);
  -moz-box-shadow: 4px 3px 22px -11px rgba(0,0,0,0.75);
  box-shadow: 4px 3px 22px -11px rgba(0,0,0,0.75);
}
.close span:hover {
  background-color: var(--closeBtn-bg-hover);
  color: var(--closeBtn-color-hover);
  transition: 0.2s ease;
}

/* Buttons */

.btn {
  background-color: #aa1e80;
  border: none;
  border-radius: 15px 15px;
  color: white;
  padding: 12px 16px;
  font-size: 16px;
  height: 50px;
  max-height: 70px;
  cursor: pointer;
  flex: 1;
  padding: 10px;
  box-sizing: border-box;
  text-align: center;
  font-size: 16px;
  cursor: pointer;
  border: none;
  -webkit-box-shadow: 3px 3px 12px -3px rgba(0,0,0,0.75);
  -moz-box-shadow: 3px 3px 12px -3px rgba(0,0,0,0.75);
  box-shadow: 3px 3px 12px -3px rgba(0,0,0,0.75);
}
.btn-download {
  background-color: transparent;
  border: none;
  color: #aa1e80;
  padding: 12px 16px;
  font-size: 16px;
  height: 50px;
  max-height: 70px;
  cursor: pointer;
  flex: 1;
  padding: 10px;
  box-sizing: border-box;
  text-align: center;
  font-size: 16px;
  cursor: pointer;
  border: none;
  display: block;
  margin: 0 auto;
}
.btn-top {
  height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.btn:first-child {
  /* margin-right: 5px; */
  margin-bottom: 0px;
}
.btn:hover {
  background-color: #8a1366;
  border-radius: 15px 15px;
  transition: 0.2s ease;
}

@media screen and (max-width: 400px) {
  .btn {
    flex: 100%;
  }
  .btn:first-child {
    /* margin-bottom: 5px; */
    margin-right: 0px;
  }
  .main-title {
    font-size: 35px;
  }
}

@media screen and (max-width: 361px) {
  .sidebar-content-layers {
    /* height: calc(100vh - 345px); */
  }
}

/* Scrollbar */

::-webkit-scrollbar {
  width: 6px;
  color:blue;
  background: #cdd1ce;
}
::-webkit-scrollbar-track {
  -webkit-border-radius: 10px;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb {
  -webkit-border-radius: 10px;
  border-radius: 10px;
  background: var(--scroll);
}
::-webkit-scrollbar-thumb:window-inactive {

}

p.copy-link {
  font-size: 13px;
  margin-top: 0px;
  margin-bottom: 5px;
  padding-top: 10px;
}
p.copy-link-link {
  font-size: 13px;
  margin-top: 0px;
  padding-top: 0px;
}
a.no-link {
  text-decoration: none;
  color: grey;
}
/* #fullscreen-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 99999999;
  cursor: pointer;
}
#fullscreen-image {
  display: block;
  margin: auto;
  max-width: 90%;
  max-height: 90%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 99999999;
}
#close-btn {
  position: fixed;
  top: 15px;
  right: 30px;
  background-color: var(--secondary);

  padding-bottom: 7px;
  padding-right: 15px;
  padding-left: 15px;
  border-radius: 50%;
  line-height: 1;
  color: var(--white);
  font-size: 40px;
  cursor: pointer;
  z-index: 99999999;
  transition: 0.2s ease;

  -webkit-box-shadow: 4px 3px 22px -11px rgba(0,0,0,0.75);
  -moz-box-shadow: 4px 3px 22px -11px rgba(0,0,0,0.75);
  box-shadow: 4px 3px 22px -11px rgba(0,0,0,0.75);
}
#close-btn:hover {
  background-color: var(--white);
  color: var(--secondary);
} */

/* Fullscreen overlay - překrytí celého okna */
#fullscreen-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 99999999;
  cursor: pointer;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/* Obrázek na celou obrazovku */
#fullscreen-image {
  display: block;
  margin: auto;
  max-width: 90%;
  max-height: 75%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 99999999;
}

/* Tlačítko pro zavření fullscreen režimu */
#close-btn {
  position: fixed;
  top: 15px;
  right: 30px;
  background-color: var(--secondary);
  padding-bottom: 7px;
  padding-right: 15px;
  padding-left: 15px;
  border-radius: 50%;
  line-height: 1;
  color: var(--white);
  font-size: 40px;
  cursor: pointer;
  z-index: 99999999;
  transition: 0.2s ease;
  -webkit-box-shadow: 4px 3px 22px -11px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 4px 3px 22px -11px rgba(0, 0, 0, 0.75);
  box-shadow: 4px 3px 22px -11px rgba(0, 0, 0, 0.75);
}

/* Hover efekt pro tlačítko zavření */
#close-btn:hover {
  background-color: var(--white);
  color: var(--secondary);
}

/* Kontejner pro miniatury obrázků */
#thumbnail-container {
  display: flex;
  justify-content: center;
  width: 90%;
  margin-top: 20px;
  gap: 10px;
  flex-wrap: wrap;
  z-index: 99999999;
  position: absolute;
  bottom: 20px;  /* Umístění miniatur na spodní část */
  left: 50%;
  transform: translateX(-50%); /* Centrum miniatur horizontálně */
  padding: 10px;
}

/* Styl pro miniatury obrázků */
.thumbnail {
  width: 60px;
  height: 60px;
  cursor: pointer;
  object-fit: cover;
  border: 2px solid transparent;
  transition: border 0.3s ease, transform 0.2s ease;
  border-radius: 8px;
}

/* Zvýraznění miniatury při najetí myší */
.thumbnail:hover {
  border: 2px solid #aa1e80;
  transform: scale(1.1); /* Trochu zvětší miniaturu při najetí myší */
}


/* Skrytí obrázku, pokud není k dispozici */
#sidebar-info-photo.no-img {
  background-size: contain;
  background-image: url('assets/images/no-img.png');
}


.accordion {
  background: linear-gradient(to right, var(--tertiary), var(--tertiary-dark));
  /* background-color: var(--accordion-bg); */
  color: var(--accordion-color);
  cursor: pointer;
  /* padding: 15px; */

  padding-right: 15px;
  padding-left: 15px;

  width: 100%;
  height: 60px;
  border: none;
  border-bottom: 1px solid #d4d4d4;
  text-align: left;
  outline: none;
  font-size: 15px;
  transition: 0.4s;
  transition: padding-left 0.3s ease; /* Nastavení přechodu na padding */
}
.accordion-survey {
  background: linear-gradient(to right, var(--secondary), var(--secondary-dark));
  /* background-color: var(--accordion-survey-bg); */
  color: var(--accordion-survey-color);
  cursor: pointer;
  padding: 15px;
  width: 100%;
  border: none;
  border-bottom: 1px solid #d4d4d4;
  text-align: left;
  outline: none;
  font-size: 18px;
  transition: 0.4s;
  height: 80px;
  display: flex;
  align-items: center;
  transition: padding 0.3s ease; /* Nastavení přechodu na padding */

}
.accordion-survey:hover {
  padding: 20px;
}
.accordion-survey-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-right: 20px;
}
.accordion-icon {
  font-size: 24px;
}
.text {
  display: flex;
  flex-direction: column;
}
.small-text {
  font-size: 12px;
  color: #fff;
  margin: 0;
}
.large-text {
  font-size: 18px;
  color: #fff;
  margin: 0;
}
.accordion.sub {
  background-color: var(--accordion-sub-bg);
  height: 50px;
  padding-left: 30px;

  line-height: 40px;

  font-size: 14px;
}
.accordion.active, .accordion:hover {
  background: linear-gradient(to right, var(--tertiary-dark), var(--tertiary));
  /* background-color: var(--accordion-bg-hover); */
  color: var(--accordion-color-hover);
  padding-left: 20px;
}
.accordion.sub:hover {
  padding-left: 35px;
}
.accordion.sub.active {
  padding-left: 35px;
}

.accordion:after {
  content: '\002B';
  color: var(--accordion-color);
  font-weight: bold;
  float: right;
  margin-left: 5px;

  line-height: 40px;
  height: 40px;
  display: inline-block;
  vertical-align: middle;
}
.accordion:hover:after {
  color: var(--accordion-color-hover);
}
.active:after {
  content: "\2212";
  color: var(--accordion-color-hover);
}
.accordion-item {
  background-color: var(--accordion-item-bg);
  color: var(--accordion-item-color);
  cursor: pointer;
  padding: 15px;
  width: 100%;
  border: none;
  border-bottom: 1px solid #d4d4d4;
  text-align: left;
  outline: none;
  font-size: 15px;
  font-weight: 600;
  transition: 0.4s;
  transition: padding-left 0.3s ease; /* Nastavení přechodu na padding */
}
.accordion-item.sub {
  padding-left: 35px;
  transition: padding-left 0.3s ease; /* Nastavení přechodu na padding */
}
.accordion-item:hover {
  background-color: var(--accordion-item-bg-hover);
  color: var(--accordion-item-color-hover);
  padding-left: 20px;
}
.accordion-item.sub:hover {
  padding-left: 40px;
}
.panel {
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}
.accordion-icon-box {
  display: inline-block;
  text-align: center;
  width: 40px;

  margin-right: 15px;

  background-color: #b90909;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 42px;

  -webkit-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.75);
  -moz-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.75);
  box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.75);
}
.accordion-icon {
  /* margin-right: 10px; */
  font-size: 18px; /* Puvodne 20 */
  text-shadow: 1px 1px rgba(0, 0, 0, 0.17);

  color: white;
}
.custom-marker {
  background-color: rgba(0, 0, 0, 0);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 18px;
  text-align: center;
  line-height: 40px;
  color: #fff;
}
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}
.custom-marker.bouncing {
  animation: bounce 0.5s infinite;
}
.sidebar-info-icons-box {
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.icons-left, .icons-right {
  display: flex;
}
.href-no-style {
  text-decoration: none;
  color: inherit;

}
.sidebar-info-openHours-box {
  cursor: pointer;
}
.sidebar-info-openHours {
  cursor: pointer;
}

.open {
  color: green;
}
.closed {
  color: red;
}
#sidebar-info-openHours-panel {
  display: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
#sidebar-info-openHours-panel.openAccordion {
  display: block;
  max-height: 400px;
}

.sidebar-report {
  height: 100%;
  display: none;
  overflow-y: scroll;
}

.sidebar-report-photo {
  height: 0px;
}
.sidebar-report-content {
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 25px;
  padding-bottom: 25px;
}
.sidebar-survey-content {
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 25px;
  padding-bottom: 25px;

}
.sidebar-report-subtitle {
  padding-bottom: 15px;
}
.sidebar-report-content label {
  display: block;
  margin-bottom: 1px;
}
.sidebar-report-content select,
.sidebar-report-content input[type="text"],
.sidebar-report-content input[type="email"],
.sidebar-report-content input[type="submit"],
.sidebar-report-content textarea,
.sidebar-report-content button,
.sidebar-report-content select {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #cccccc;
  border-radius: 4px;
  box-sizing: border-box;
}
.sidebar-report-content textarea {
  resize: none;
}
.sidebar-report-content select:focus,
.sidebar-report-content input[type="text"]:focus,
.sidebar-report-content input[type="email"]:focus,
.sidebar-report-content textarea:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.25);
}
.sidebar-report-content button, .sidebar-report-content input[type="submit"] {
  background-color: var(--report-button-bg);
  color: var(--report-button-color);
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}
.sidebar-report-content button[disabled], .sidebar-report-content input[type="submit"]:disabled  {
  background-color: var(--primary);
  color: var(--grey);
  transition: background-color 0.3s ease;
}
.sidebar-survey {
  display: none;
  overflow-y: scroll;
  height: 100%;
}
.sidebar-survey-photo {
  height: 0px;
}
.sidebar-content-survey {
  display: none;
}
.sidebar-survey-subtitle {
  padding-bottom: 15px;
}
.sidebar-survey-done {
  display: none;
}
.sidebar-survey-content label {
  display: block;
  margin-bottom: 1px;
  padding-bottom: 10px;
}
.sidebar-survey-content select,
.sidebar-survey-content input[type="text"],
.sidebar-survey-content input[type="email"],
.sidebar-survey-content input[type="submit"],
.sidebar-survey-content textarea,
.sidebar-survey-content button,
.sidebar-survey-content select {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #cccccc;
  border-radius: 4px;
  box-sizing: border-box;
}
.sidebar-survey-content textarea {
  resize: none;
}
.sidebar-survey-content select:focus,
.sidebar-survey-content input[type="text"]:focus,
.sidebar-survey-content input[type="email"]:focus,
.sidebar-survey-content textarea:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.25);
}
.sidebar-survey-content button, .sidebar-survey-content input[type="submit"] {
  background-color: var(--report-button-bg);
  color: var(--report-button-color);
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}
.sidebar-survey-content button[disabled], .sidebar-survey-content input[type="submit"]:disabled  {
  background-color: var(--primary);
  color: var(--grey);
  transition: background-color 0.3s ease;
}
input[type="text"].other {
  width: 75%;
  border: 0;
  border-bottom: 1px solid #cccccc;
  padding-top: 5px;
  padding-right: 10px;
  padding-bottom: 10px;
  padding-left: 10px;
  font-size: 16px;
  /* font-family: 'Raleway', sans-serif; */
  font-family: 'AtypRegular', sans-serif !important;
}
.other::placeholder {
  color: #cccccc;
}
.other::-webkit-input-placeholder {
  color: #cccccc;
}
.other::-moz-placeholder {
  color: #cccccc;
}
.other:-ms-input-placeholder {
  color: #cccccc;
}
.other::-ms-input-placeholder {
  color: #cccccc;
}
.form-check-label-right {
  margin-left: 10px;
  vertical-align: middle;
  display: inline !important;
}
.form-check {
  margin-bottom: 10px;
}
.question-container {
    margin-bottom: 20px;
}
.question-title {
    margin-bottom: 10px;
}
.add-point-btn, .submit-btn {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
    background-color: #cccccc !important;
    border: 2px solid black;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s;
}
.add-point-btn:hover, .submit-btn:hover {
    background-color: #ddd;
}
.add-point-btn:disabled {
    background-color: #f8d7da;
    cursor: not-allowed;
}
.marker-list {
    list-style-type: none;
    padding: 0;
    flex-grow: 1;
    overflow-y: auto;
}
.marker-list li {
    padding: 5px;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.delete-btn {
    background-color: #cccccc !important;
    margin-left: 10px !important;
    width: 45px !important;
    cursor: pointer !important;
}
.note-input {
    margin-left: 5px;
    flex-grow: 1;
}
.fa-home {
  font-size: 20px;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

i.toggleSidebar {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.5em;
}
.tooltip {
  position: absolute;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #ccc;
  padding: 5px;
  border-radius: 4px;
  pointer-events: none;
  font-size: 12px;
}
svg {
  border: none !important;
}
#layer-elevation svg {
  border: none !important;
}

#layer-elevation svg {
  border: none !important;
}

.slider-wrapper {
  position: relative;
  margin-top: 20px;
  height: 180px;
  overflow: hidden;
}

.image-slider {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 8px;
  padding: 5px 0;
  scrollbar-width: none;

  /* Swipe podpora */
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  scroll-snap-type: x mandatory;
}

.image-slider::-webkit-scrollbar {
  display: none;
}

.image-slider img {
  width: 49%;
  height: 170px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  cursor: pointer;

  /* Snap jednotlivých obrázků */
  scroll-snap-align: start;
}


/* Arrow styles */
.photo-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.4);
  border: none;
  color: white;
  font-size: 22px;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 6px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 30px;
}

.photo-arrow.left {
  left: 5px;
}

.photo-arrow.right {
  right: 5px;
}

#open-map {
  display: none; /* výchozí stav – skryté */
}

@media (max-width: 600px) {
  #open-map {
    display: flex; /* zobrazí se jen při šířce <= 600px */
  }
}

#qr-image {
  display: block;
  margin: 0 auto;
  max-width: 70%;
  height: auto;
  cursor: pointer;
}
