/*@font-face {*/
/*  font-family: wf_7acd5e611cd245899b30980e0;*/
/*  src: url("https://static.wixstatic.com/ufonts/2a7a2a_7acd5e611cd245899b30980e0723e0ca/woff2/file.woff2") format("woff2"),*/
/*  url("https://static.wixstatic.com/ufonts/2a7a2a_7acd5e611cd245899b30980e0723e0ca/woff/file.woff") format("woff"),*/
/*  url("https://static.wixstatic.com/ufonts/2a7a2a_7acd5e611cd245899b30980e0723e0ca/ttf/file.ttf") format("ttf");*/
/*}*/

@font-face {
  font-family: wf_d3c3b94e587545a9a5ac52010;
  src: url("data/fonts/3.woff2") format("woff2"),
  url("data/fonts/3.woff") format("woff"),
  url("data/fonts/3.ttf") format("ttf");
}

/*@font-face {*/
/*  font-family: wf_93180f097c7646b4a44af916d;*/
/*  src: url("https://static.wixstatic.com/ufonts/137460_93180f097c7646b4a44af916d0a1d9b5/woff2/file.woff2") format("woff2"),*/
/*  url("https://static.wixstatic.com/ufonts/137460_93180f097c7646b4a44af916d0a1d9b5/woff/file.woff") format("woff"),*/
/*  url("https://static.wixstatic.com/ufonts/137460_93180f097c7646b4a44af916d0a1d9b5/ttf/file.ttf") format("ttf");*/
/*}*/
/*@font-face {*/
/*  font-family: wf_b7af3c9e1bce4794bd6314fc8;*/
/*  src: url("https://static.wixstatic.com/ufonts/2a7a2a_b7af3c9e1bce4794bd6314fc876e5fe2/woff2/file.woff2") format("woff2"),*/
/*  url("https://static.wixstatic.com/ufonts/2a7a2a_b7af3c9e1bce4794bd6314fc876e5fe2/woff/file.woff") format("woff"),*/
/*  url("https://static.wixstatic.com/ufonts/2a7a2a_b7af3c9e1bce4794bd6314fc876e5fe2/ttf/file.ttf") format("ttf");*/
/*}*/
@font-face {
  font-family: wf_6bae34dd397f49ea9baa70819;
  src: url("data/fonts/1.woff2") format("woff2"),
  url("data/fonts/1.woff") format("woff"),
  url("data/fonts/1.ttf") format("ttf");
}

@font-face {
  font-family: wf_38fd0cc0427749e5b4936519d;
  src: url("data/fonts/2.woff2") format("woff2"),
  url("data/fonts/2.woff") format("woff"),
  url("data/fonts/2.ttf") format("ttf");
}

/*@font-face {*/
/*  font-family: wf_0b2cb22f137b4bd2a093def6a;*/
/*  src: url("https://static.wixstatic.com/ufonts/a3c153_0b2cb22f137b4bd2a093def6a2e99f45/woff2/file.woff2") format("woff2"),*/
/*  url("https://static.wixstatic.com/ufonts/a3c153_0b2cb22f137b4bd2a093def6a2e99f45/woff/file.woff") format("woff"),*/
/*  url("https://static.wixstatic.com/ufonts/a3c153_0b2cb22f137b4bd2a093def6a2e99f45/ttf/file.ttf") format("ttf");*/
/*}*/

/*
normal normal normal 16px/1.4em wfont_c93d43_6bae34dd397f49ea9baa708195f36d99,wf_6bae34dd397f49ea9baa70819,orig_red_stag_regular
*/

html, body {
  overflow: hidden;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font: normal normal normal 16px/1.4em wf_6bae34dd397f49ea9baa70819, Verdana, Arial;
}

body.modal-open {
  overflow: hidden;
}

.center {
  text-align: center;
}

#wrapper {
  width: 100%;
  height: 100%;
}

#renderCanvas {
  width: 100%;
  height: 100%;
  touch-action: none;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  z-index: 100;
}

.modal .modal-dialog {
  margin: 1.75rem auto;
  display: flex;
  align-items: center;
  max-width: 800px;
  min-height: calc(100% - 1.75rem * 2);
  position: relative;
  width: auto;
}

.modal .modal-dialog .modal-content {
  position: relative;
  display: flex;
  flex-direction: row;
  width: 100%;
  background-color: white;
}

#modal-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: none;
  background-color: black;
  opacity: 20%;
}

#modal-overlay.active {
  display: block;
}

.modal.active {
  display: block;
}

.modal .picture {
  position: relative;
  width: 50%;
}

.modal .picture .img {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-origin: content-box;
  width: 100%;
  height: 100%;
}

.modal .picture .center {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  transform: translateY(-50%);
}

.modal .content {
  position: relative;
  padding-top: 60px;
  line-height: 1.5em;
  display: flex;
  flex-direction: column;
  font-size: 1.2rem;
  /*width: 50%;*/
  flex-basis: 50%;
  flex-grow: 1;
}

.modal .content .text {
  overflow-y: auto;
  padding: 0 10%;
  margin-bottom: 10px;
  font-family: wf_d3c3b94e587545a9a5ac52010; /*wf_38fd0cc0427749e5b4936519d;*/
  font-size: 16px;
  text-align: justify;
}

a.red {
  background-color: #c00000;
  padding: 10px 15px;
  color: white;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  font-family: wf_6bae34dd397f49ea9baa70819;
  font-weight: bold;
  font-size: 1.5rem;
}

.modal .content .text a.red {
  margin-bottom: 20px;
}

.modal .content .title {
  font-size: 1.5rem;
  margin-bottom: 30px;
  padding: 0 10%;
  flex-shrink: 0;
  color: #c80000;
  text-transform: uppercase;
}

.modal.slideshow .picture .selector {
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
  padding: 5% 0;
}

.modal.slideshow .picture .selector > div {
  background-color: #d6d6d6;
  border-radius: 10px;
  width: 20px;
  height: 20px;
  display: inline-block;
  margin: 0 2px;
  opacity: 0.5;
  cursor: pointer;
}

.modal.slideshow .picture .selector > div:hover {
  opacity: 0.75;
}

.modal.slideshow .picture .selector > div.active {
  opacity: 1;
}

.modal .close {
  color: white;
  cursor: pointer;
  display: inline-block;
  position: absolute;
  top: 20px;
  right: 20px;
  width: 20px;
  height: 20px;
  line-height: 20px;
  font-size: 2rem;
  text-align: center;
  vertical-align: middle;
  text-shadow: 0px 0px 4px black;
}

/* small screen */
@media all and (max-width: 800px) {
  .modal .modal-dialog .modal-content {
    flex-direction: column;
  }

  .hide-on-small {
    display: none !important;
  }

  .show-on-small {
    display: block !important;
  }

  .modal .content, .modal .picture {
    width: 100%;
  }

  .modal .content .center {
    margin-bottom: 40px;
  }

  @media (orientation: portrait) {
    .modal .picture {
      height: 80vh;
    }
  }

  @media (orientation: landscape) {
    .modal .picture {
      height: calc(80vh * 2);
    }
  }

  .modal .title {
    text-align: center;
  }

  .modal .close {
    color: black;
  }
}

@media all and (max-width: 900px) {
  .modal .modal-dialog {
    max-width: 90vw;
  }
}

#loadingScreen {
  display: none;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: black;
  z-index: 9999;
  background-image: url('data/C_JELEN_vypln_obrys-01.webp');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100px;
}

#loadingScreen .volke-logo {
  position: absolute;
  bottom: 15%;
  height: 3em;
  width: 100%;
  text-align: center;
}

.loader {
  top: 50%;
  color: #c02026;
  font-size: 90px;
  text-indent: -9999em;
  overflow: hidden;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  margin: -40px auto;
  position: relative;
  animation: load6 1.7s infinite ease, round 1.7s infinite ease;
}
@-webkit-keyframes load6 {
  0% {
    box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
  5%,
  95% {
    box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
  10%,
  59% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.087em -0.825em 0 -0.42em, -0.173em -0.812em 0 -0.44em, -0.256em -0.789em 0 -0.46em, -0.297em -0.775em 0 -0.477em;
  }
  20% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.338em -0.758em 0 -0.42em, -0.555em -0.617em 0 -0.44em, -0.671em -0.488em 0 -0.46em, -0.749em -0.34em 0 -0.477em;
  }
  38% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.377em -0.74em 0 -0.42em, -0.645em -0.522em 0 -0.44em, -0.775em -0.297em 0 -0.46em, -0.82em -0.09em 0 -0.477em;
  }
  100% {
    box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
}
@keyframes load6 {
  0% {
    box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
  5%,
  95% {
    box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
  10%,
  59% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.087em -0.825em 0 -0.42em, -0.173em -0.812em 0 -0.44em, -0.256em -0.789em 0 -0.46em, -0.297em -0.775em 0 -0.477em;
  }
  20% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.338em -0.758em 0 -0.42em, -0.555em -0.617em 0 -0.44em, -0.671em -0.488em 0 -0.46em, -0.749em -0.34em 0 -0.477em;
  }
  38% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.377em -0.74em 0 -0.42em, -0.645em -0.522em 0 -0.44em, -0.775em -0.297em 0 -0.46em, -0.82em -0.09em 0 -0.477em;
  }
  100% {
    box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
}
@-webkit-keyframes round {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes round {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

#fullscreen-btn {
  width: 24px;
  height: 24px;
  position: absolute;
  bottom: 10px;
  right: 10px;
  cursor: pointer;
}

#fullscreen-btn img {
  width: 100%;
  height: 100%;
}

#volke-brand {
  position: absolute;
  bottom: 10px;
  left: 10px;
  cursor: pointer;
  height: 48px;
}

#volke-brand img {
  width: 48px;
  height: 48px;
}

#volke-brand > div {
  height: 100%;
}

#volke-brand .first {
  float: left;
}

#volke-brand .second {
  display: inline-block;
  margin-left: 10px;
  color: white;
  overflow: hidden;
  font-family: wf_d3c3b94e587545a9a5ac52010;
  letter-spacing: 0.1rem;
}

#volke-brand .second > div {
  transition: margin-left 500ms ease-out 200ms;
  padding-left: 2px;
  margin-left: -100%;
}

#volke-brand .second > div:first-child {
  transition-delay: 0s;
  padding-left: 0;
  font-family: "Times New Roman";
  font-size: 2rem;
  letter-spacing: 0.05rem;
  font-weight: bold;
}

#volke-brand.show .second > div {
  margin-left: 0;
}
