/*=========== MODAL START ===========*/
/* Style the Image Used to Trigger the Modal */

#myImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

#myImg:hover {
  opacity: 0.7;
}

.az-green {
  color: #a5d861 !important;
}

.a-hover-theme {
  color: #000;
}

.a-hover-theme.active {
  color: #32a932 !important;
}

.a-hover-theme:hover {
  color: #32a932 !important;
}

.btn-hover-theme {
  color: #000;
}

.d-prepinac-desktop {
  display: show;
}

@media (max-width: 991px) {
  .d-prepinac-desktop {
    display: none !important;
  }
}

.d-prepinac-mobil {
  display: none;
}

@media (max-width: 991px) {
  .d-prepinac-mobil {
    display: block;
  }
}

@media (max-width: 991px) {
  .media-fs22px {
    font-size: 22px !important;
  }
}

@media (max-width: 991px) {
  .media-p-0 {
    padding: 0 !important;
  }
}

.vertikalni-divider {
  width: 3px;
  /* margin: 0 .625rem ; */
  /* overflow: hidden; */
  border-left: 1px solid #32a932;
}

.btn-hover-theme:hover {
  color: #32a932 !important;
  background-color: rgba(165, 216, 97, 0.25) !important;
}

.bg-az-green-soft {
  background-color: rgba(165, 216, 97, 0.25);
}

.bg-az-green {
  background-color: #a5d861 !important;
}

.bg-az-green {
  background-color: #a5d861 !important;
}

.text-az-green {
  color: #a5d861 !important;
}

.a-menu {
  border: 1px solid #ced4da;
  border-radius: 4px;
  display: block;
  color: #262d33;
  text-decoration: none;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.btn-az-green:focus,
.a-menu:focus,
.a-active {
  box-shadow: 0 0 0 0.25rem rgba(40, 155, 55, 0.50) !important;
}

.a-menu:hover {
  background-color: rgba(165, 216, 97, 0.25);
}

@media screen {
  .row-toolbar {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }
}

.btn-az-green {
  color: #000;
  background-color: #a5d861;
  border-color: #9ad34e;
}

.btn-az-green:hover {
  color: #000;
  background-color: #96d145;
  border-color: #9ad34e;
}

.btn-check:focus + .btn-az-green,
.btn-az-green:focus {
  color: #000;
  background-color: #a5d861;
  border-color: #9ad34e;
  box-shadow: 0 0 0 0.25rem rgba(104, 153, 38, 0.5);
}

.modal-txt {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content-txt {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
}

.form-check-input[type="radio"]:focus {
  border-color: #75a952;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(165, 216, 97, 0.5);
}

.form-check-input[type="radio"]:checked {
  background-color: #a5d861;
  border-color: #75a952;
}

.border-bottom-neni {
  border-bottom-right-radius: 6px !important;
  border-bottom-left-radius: 6px !important;
}

.input-ks > input {
  border: 1px solid #ced4da;
  border-radius: 4px;
  margin-top: 0.625rem;
}

@media screen and (max-width: 767px) {
  .input-ks > input {
    display: none;
  }
  .display-ne-on-media {
    display: none !important;
  }
}

.navbar-nav .header-logo img {
  max-height: 40px;
  max-width: 240px;
  display: block;
  margin: 0.625rem 0.235rem;
}

.notify-bg-green {
  background: #deefc9 !important;
  border: 2px solid #6c757d;
}

.notify-bg-red {
  background: #ffcecd !important;
  border: 2px solid #6c757d;
}

.notify-bg-orange {
  background: #fce1ba !important;
  border: 2px solid #6c757d;
}

.bg-ok-green {
  background: #e1ffe1 !important;
}

.bg-nok-red {
  background-color: #ffecec !important;
}

.bg-orange {
  background-color: #f7ac3e;
}

.desktop-w75 {
  width: 75%;
}

@media (max-width: 991px) {
  .desktop-w75 {
    width: 100%;
  }
}


.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  /*position the autocomplete items to be the same width as the container:*/
  top: 100%;
  left: 0;
  right: 0;
}
.autocomplete-items div {
  text-align: left;
  padding: 10px;
  cursor: pointer;
  background-color: #fff;
  border-bottom: 1px solid #d4d4d4;
}
.autocomplete-items div:hover {
  /*when hovering an item:*/
  background-color: #e9e9e9;
}
.autocomplete-active {
  /*when navigating through the items using the arrow keys:*/
  background-color: DodgerBlue !important;
  color: #ffffff;
}

.item.item-thumbnail .item-image .discount-novinka {
  position: absolute;
  bottom: 0;
  line-height: 20px;
  padding: 2px 6px;
  color: #fff;
  background: var(--bs-green);
  font-weight: 600;
  font-size: 12px;
  border-radius: 4px;
  left: 15px
}

.btn-outline-galance-blue {
  color: #4680ff;
  background-color: #fff;
  border-color:  #4680ff;
}

.btn-outline-galance-blue:hover {
  color: #fff;
  background-color: #4680ff;
  border-color:  #4680ff;
}

.vr2 {
  min-height: 2em;
  width: 0.1em;
  background-color: #69d877; /* Světle šedá pro lepší kontrast na bílém pozadí */
  box-shadow: inset 1px 0 1px rgba(0, 0, 0, 0.2), inset -1px 0 1px rgba(255, 255, 255, 0.7);
}

.body-pozadi-top {
  background: linear-gradient(to right, rgba(222, 226, 230, 1),rgba(222, 226, 230, 0.75), rgba(222, 226, 230, 0.50),rgba(222, 226, 230, 0.50), rgba(222, 226, 230, 0.75), rgba(222, 226, 230, 1)),
              #229034 no-repeat center center;
  background-size: cover;
  background-position: center top;
  background-attachment: scroll;
}

.body-pozadi {
  min-height: 100vh;
  background: linear-gradient(to right, rgba(222, 226, 230, 0.75),rgba(222, 226, 230, 0.99), rgba(222, 226, 230, 0.99),rgba(222, 226, 230, 0.99), rgba(222, 226, 230, 0.99), rgba(222, 226, 230, 0.75)),
              url('../img/ChatGPT-velenice-vlajka-low.jpg') no-repeat center center;
  background-size: cover;
  background-position: center top;
  background-attachment: scroll;
}

/* Úprava pro mobilní zařízení */
/* @media (max-width: 768px) { */
  /* .body-pozadi { */
    /* background: linear-gradient(rgba(222, 226, 230, 0.9), rgba(222, 226, 230, 0.9)),  */
                /* url('/img/ChatGPT-velenice-vlajka-low.jpg') no-repeat center center; */
    background-size: contain; Umožní lepší zobrazení
    /* background-attachment: scroll; */
  /* } */
/* } */

.shadow-inset {
  box-shadow: inset 0 .5rem 1rem rgba(0, 0, 0, .15)!important
}

.shadow-sm-inset {
  box-shadow: inset 0 .125rem .25rem rgba(0, 0, 0, .075)!important
}

.shadow-lg-inset {
  box-shadow: inset 0 1rem 3rem rgba(0, 0, 0, .175)!important
}

.foto_lista {
  max-width: 60%;
  margin: 0 auto
}

@media (max-width: 768px) {
  .foto_lista {
    max-width:100%;
    margin: 0
  }
}

.bg-galance {
  background: radial-gradient( rgba(255, 255, 255, 1), rgba(255, 255, 255, 1)),
  url('') no-repeat center center;
  background-size:cover; /* Umožní lepší zobrazení */
  background-attachment:scroll;
}

.z-1020 {
  z-index: 1020!important
}

/* KALENDÁŘ */
/* povolit zalomení toolbaru */
.fc .fc-toolbar.fc-header-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem .5rem; /* mezery mezi skupinami a tlačítky */
}

/* title na vlastní řádek při malé šířce */
@media (max-width: 576px) {
  .fc .fc-toolbar.fc-header-toolbar .fc-toolbar-chunk:nth-child(2) {
    flex-basis: 100%;
    order: 3;              /* title až pod tlačítka */
    text-align: center;
    margin-top: .25rem;
  }
}

/* menší tlačítka, kratší texty */
.fc .fc-button {
  padding: .25rem .5rem;
  font-size: .875rem;
  line-height: 1.2;
}

/* TOP PANEL */
/* společné drobnosti */
.top-hero .search-box { width: 100%; max-width: 520px; }
.top-hero .hero-logo img { width: 100%; height: auto; }

/* VARIANTA A: STACK (default) */
.top-hero.stack-sm .hero-content { padding-left: 0; }

/* VARIANTA B: OVERLAP na mobilech */
.top-hero.overlap-sm .row.position-relative { min-height: 180px; }

@media (max-width: 576px) {
  /* logo se posadí "pod" a přesahuje do pravé půlky */
  .top-hero.overlap-sm .hero-logo {
    position: absolute;
    left: 0; top: .5rem;
    width: 58%;           /* kolik “přesahu” chceš */
    z-index: 1;
  }
  .top-hero.overlap-sm .hero-logo img {
    /* volitelné jemné zmenšení na mobilu */
    transform: translateX(0);
  }
  /* obsah dostane odsazení, aby do něj logo nepřekáželo */
  .top-hero.overlap-sm .hero-content {
    margin-left: auto;
    width: 100%;
    padding-left: 62%;     /* > width loga (58%) + mezera */
  }
  /* úspornější typografie a mezery */
  .top-hero .contact-line .h5 { font-size: 1.09375rem; }
}

/* desktop zůstává klasika: 4/8 */
@media (min-width: 577px) {
  .top-hero.overlap-sm .hero-logo { position: static; width: auto; }
  .top-hero.overlap-sm .hero-content { padding-left: 0; }
}

.top-hero-kontakt {
  margin-top: 0;
  margin-bottom: .625rem;
  font-weight: 600;
  line-height: 1.2;
  margin:0; font-size:
  1.09375rem
}

.top-hero-kon-kontent {
  display: flex!important
}

@media (max-width: 576px) {
  .top-hero-kon-kontent {
    display: grid!important;
    margin-bottom: 1.295rem!important;
  }
}

.img-top-m {
  margin: 1.875rem!important;
}

@media (max-width: 576px) {
  .img-top-m {
    margin: .95rem 0 0 0!important;
  }
}