#block-budova3d-block
{
  height: 100%;
  /*display: flex;
  flex-direction: column;*/
}


@font-face {
  font-family: "Ema";
  src: url("/themes/contrib/flexi_remix/fonts/Ema-SemiBold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
}

html, body {
  overflow: hidden;
}


body
{
  font-family: Ema, Sans-Serif;
  display: flex;
  flex-direction: column;
}



#qrcode
{
  position: absolute;
  bottom: 26px;
  left: 10px;
  padding: 10px;
  background: white;
  display: none;
  border-radius: 5px;

}

.select2-container--default .select2-selection--single
{
  height: 32px;
  border: 1px solid #d1d1d1;
  border-radius: 10px;
}
.hlavicka-full .select2-container--default .select2-selection--single
{
  border-radius: 20px;
}


#loading
{
  position: absolute;
  z-index: 9999;
  left: 50%;
  translate: 50%;
  color: white;
  backdrop-filter: blur(6px) brightness(0.8);
  padding: 23px;
  border-radius: 29px;
  border: 1px solid #7c7c7c;
  top: 50%;
  display: none;
  transform: translate(-100%, -50%);
  animation: loadingAnim 1s infinite;
}
#loading h1
{
  margin-bottom: 0px;
}
@keyframes loadingAnim {
  0% {
    transform: translate(-100%, -50%) scale(1);
  }
  50% {
    transform: translate(-100%, -50%) scale(1.05);
  }
  100% {
    transform: translate(-100%, -50%) scale(1);
  }
}

#floorSelector {
  width: 200px;
  font-size: 20px;
  position: absolute;
  right: 20px;
  bottom: 40px;
  z-index: 9999;
  padding: 3px;
  display: none;
}
.patro-buttons {
  /*width: 100px;*/
  font-size: 20px;
  position: absolute;
  right: 20px;
  bottom: 40px;
  z-index: 90;
  padding: 3px;
  /*background-color: #3e3e3e;*/
  backdrop-filter: blur(6px) brightness(0.7);
  /*border: 1px solid #a1a1a1;*/
  border-radius: 14px;
  text-align: center;
  font-weight: 700;
  padding: 10px;
  color: white;
}
.patro-buttons button {
  width: 50px;
  height: 40px;
  font-size: 20px;
  padding: 3px;
  margin: 2px;
  border:1px solid #ffffff;
  background-color: white;
  border-radius: 5px;
  /*border-radius: 10px;*/
}
/*Button animation*/
@keyframes buttonAnim {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}
.aktivni {
  background-color: #13a538 !important;
  color: white;
  font-weight: bold;
  border:1px solid #13a538 !important;
  animation: buttonAnim 0.3s;
}

.animbtn-active
{
  animation: buttonAnim 1s infinite;
}

/*#id_lide-box
{
    position: absolute;
    z-index: 999;

    background: white;
    padding: 10px;
    display: flex;
    left: 50%;
    transform: translateX(-50%);
}*/

/* průhlednost a šířka popupu */
.esri-popup__main-container {

  max-width: 300px; /* nebo třeba 400px */
}
.esri-popup *
{
  background-color: rgba(255, 255, 255, 0.30) !important; /* průhlednost */
  background: rgba(255, 255, 255, 0.30) !important; /* průhlednost */
}

.hlavicka
{
  display: flex;
  align-content: space-around;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background-color: #13a538;
  padding: 5px;
  flex-direction: row;
  flex-wrap: nowrap;
  z-index: 100;
  overflow: hidden;
}
.hlavicka-full
{
  position: fixed;
  top: 0px;
  width: 100%;
  height: 100%;
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
  background-color: #13a538c7;
  backdrop-filter: blur(5px);
  flex-direction: column;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hlavicka-full.hlavicka-full-clicked
{
  justify-content: flex-start;
  align-items: center;
}

.hlavicka-full .logo
{
  margin-top: 0px;

}

.hlavicka-full.hlavicka-full-clicked .logo
{
  margin-top: 90px;
}


.napoveda
{
  display: none;
}
.hlavicka-full .napoveda
{
  color: white;
  font-size: 1.2rem;
  display: block;
  text-align: center;
}



.logo
{
  width: 347px;
}

.ovladani-container
{
  overflow: hidden;
  position: absolute;
  z-index: 9999;
  width: 100%;

  top: 82px;



}
.odsazeni
{
  width: 42px;
}
.ovladani
{
  display: flex;
  width: 100%;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-content: flex-start;
  align-items: flex-start;
}
.hlavicka-full .ovladani
{
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-content: flex-start;
  align-items: center;
  transition: all 0.5s ease;
}
.hlavicka-full .ovladani-container
{
  left: unset;
  transition: all 0.5s ease;
  position: unset;
  top: unset;
  display: flex;
  justify-content: center;
}
.zobraz-mapa
{
  display: none !important;
  color: white;
}
#zobrazMapuBtn
{
  color: white;
  font-size: 20px;
}

.hlavicka-full .zobraz-mapa
{
  display: flex !important;
}

.pravy-sloupec
{
  display: flex
;
  flex-direction: column;
  align-items: flex-start;
  padding-right: 22px;
}

.hlavicka-full .pravy-sloupec
{
  display: none;
}
#id_lide-box, #id_start-box
{
  display: flex;
  /* gap: 10px;*/
  /*width: 62%;*/
  align-items: center;
  color: white;
  /*font-weight: 700;*/
  font-size: 20px;
  justify-content: center;

}

.hlavicka-full #id_start-box
{
  display: none;
}

.hlavicka-full .selects
{
  display: flex;

  justify-content: center;
}

.hlavicka-full #id_lide-box, .hlavicka-full #id_start-box
{
  margin: 5px;
}
#animbtn
{

  /* height: 40px; */
  font-size: 14px;
  padding: 3px;
  /* margin: 5px; */
  border: 2px solid white;
  background: #13a538;
  color: white;
  font-size: 15px;
  padding: 3px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 3px;
  justify-content: space-between;
}

.form-check
{
  display: flex;
}

.form-check-input
{
  width: 43px !important;
  height: 23px !important;
  background-color: #8c8c8c;
  border: 2px solid white;
}

.fa-wheelchair
{
  font-size: 26px;
  margin-left: 5px;
  margin-top: 3px;
}

.select2-selection
{

}

.pata
{
  position: absolute;
  bottom: 20px;
  /*z-index: 700;*/
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  color: white;

}
.pata img
{
  filter: invert(1);

  border-left: 1px solid #000000;
  padding: 5px;
  max-width: 50px;
  max-height: 40px;
}
.pata img:first-child
{
  border-left: none;
}

.title h1
{
  color: white;
}
.title
{
  text-wrap-mode: nowrap;
}
.selects
{
  width: 40%;
}
/*mobile css*/
@media (min-width: 768px) {

}

@media (max-width: 405px) {
  .pata img
  {

    max-width: 40px;
    max-height: 40px;

  }
  .pata
  {
    font-size: 12px;
    gap: 2px;
    bottom: 2px;
  }
}
/*mobile css*/
@media (max-width: 768px) {
  .patro-buttons {
    /*width: 100px;*/
    font-size: 20px;
    position: absolute;
    right: 5px;
    bottom: 72px;
    z-index: 90;
    padding: 3px;
    backdrop-filter: blur(6px) brightness(0.7);
    text-align: center;
    font-weight: 700;
    padding: 10px;
    color: white;
    border-radius: 14px;
  }

  .odsazeni {
    width: 68px;
    min-width: 38px;
  }

  .selects
  {
    flex: 80%;
  }
  .hlavicka-full .selects
  {
    width: 70%;
    display: block;
  }
  .hlavicka
  {
    height: 48px;
  }
  .hlavicka-full{
    height: 100%;

  }

  .mouse
  {
    display: none;
  }

  .pata
  {
    width: 100%;
  }

  .title h1
  {
    font-size: 1rem;
  }

  .ovladani-container
  {
    top:62px;
    /*width: calc(100% - 58px);*/
  }

  .hlavicka-full .ovladani-container
  {
    width: 100%;
    top: unset;
  }

  #qrcode
  {
    visibility: hidden;
  }
  .select2-container
  {

    /*max-width: 246px;*/
    font-size: 13px;
  }



  .logo {
    width: 51%;
    max-width: 220px;
  }
  /* #id_lide-box, #id_start-box {
       display: flex  ;
       gap: 10px;
       width: 95%;
       align-items: center;
       color: white;

       font-size: 20px;
   }*/

  .esri-popup__main-container
  {
    top:-41px;
  }
}

.select2-container--open .select2-dropdown--below {
  z-index: 9999;
}

.esri-navigation-toggle, .esri-widget--button, .esri-zoom, .esri-home
{
  border-radius: 6px;
}
.esri-popup__main-container
{
  border-radius: 14px;
}



