:root {
  --vh: calc(100vh / 100);
}

html {
  --olg-iframe-height: 100%;
}


body, html {
  /* Disable refresh on scroll down for chrome
  https://stackoverflow.com/questions/36212722/how-to-prevent-pull-down-to-refresh-of-mobile-chrome
  */
  overscroll-behavior-y: contain;
}

body {
  background-color: white;
  color: white;
}
body.fullScreen {
  background-color: black;
  overflow: hidden;
}
.breakFlex {
  flex-basis: 100%;
  height: 0;
}
.bobText {
  position: absolute;
  background-image: url(assets/botb.svg);
  background-repeat: no-repeat;
  background-size: contain;
  height: 2vw;
  width: 16vw;
  bottom: 0.2vw;
  right: 0vw;
}

@media (max-aspect-ratio: 957/983) {
  .bobText {
    height: 5vw;
    width: 40vw;
    bottom: 0.7vw;
  }
}

@font-face {
  font-family: "Gotham";
  src:
    url(0089ae547c84f846fb40.woff2) format("woff2"),
    url(9920166d1f8b53833d4b.woff) format("woff");
  font-style: normal;
  font-weight: 100;
}
@font-face {
  font-family: "Gotham 300";
  src:
    url(587116dc74813c707438.woff2) format("woff2"),
    url(8bc653a01c894702981b.woff) format("woff");
  font-style: normal;
  font-weight: 300;
}
@font-face {
  font-family: "Gotham Book";
  src:
    url(d536a3b5651fdc36b9d7.woff2) format("woff2"),
    url(619523c6e16e7d0caf47.woff) format("woff");
  font-style: normal;
  font-weight: normal;
}
@font-face {
  font-family: "Gotham 500";
  src:
    url(efa3e6218b609ce8e552.woff2) format("woff2"),
    url(54c1237b2f3e4e18a692.woff) format("woff");
  font-style: normal;
  font-weight: 500;
}
@font-face {
  font-family: "DIN Next LT W04 Medium Italic";
  src:
    url(e125cddf1268b0748e97.woff2) format("woff2"),
    url(3c53fb05ff28bd2e4e11.woff) format("woff");
}
.logo {
  width: 100vw;
  padding-top: 36px;
  padding-bottom: 36px;
  padding-right: 1vw;
  text-align: center;
  font-family: "Gotham";
  font-size: 26px;
}
#menue{
  text-align: left;
  padding-top: 0;
  padding-bottom: 0;
  margin: auto;
}

.display {
  position: relative;
  width: 100%;
  text-align: center;
  background-image: url(assets/bg.jpg);
  background-repeat: repeat-x;
  background-size: contain;
  padding-top: 1vh;
  padding-bottom: 3vh;
  height: 56vh;
  min-height: 412px;
  display: flex;
  align-items: center;
}
.symbole {
  height: 72px;
  padding-left: 30px;
  min-width: 201px;
}
.gameButton {
    cursor: pointer;
}
.noHeiglight{
  -webkit-tap-highlight-color: transparent;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.loadingImage {
  position: absolute;
  width: 100%;
  height: 20px;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  cursor: pointer;
  font-family: "DIN Next LT W04 Medium Italic";
  font-size: 20px;
}

#loaderScr {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  background-color: #000000;
}

.infoTxt {
  width: 100%;
  min-height: 3.5vh;
  text-align: center;
  font-family: "Gotham";
  color: #000000;
  font-weight: 800;
  line-height: 3.5vh;
  font-size: 2vh;
  /* display: none; */
  padding-top: 0.5vh;
  background-color: #ffffff;
}

#overlay {
  padding: 9px;
  /* padding-top: 52%; */
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 10;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

#overlay .fullscreen {
  cursor: pointer;
  width: 20px;
  height: 20px;
}

#overlay:not(.hide) {
  background: rgba(0, 0, 0, 0.5);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.5) 15%, rgba(0, 0, 0, 0) 100%);
}

#overlay.hide .line,
#overlay.hide .symbols {
  display: none;
}

#videoCont {
  position: relative;
  width: 100vw;
  height: 56vw;
  max-width: 730px;
  max-height: 411px;
  margin: 0 auto;
  overflow: hidden;
}
#videoCont.showFullscr {
  background: black;
  z-index: 9999;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100vh;
  max-width: 3840px;
  max-height: 2160px;
}

.can-touch #videoCont.showFullscr {
  height: calc(var(--vh, 1vh) * 100);
}

.line {
  height: 3px;
  background: #feed01;
  transform: skew(-10deg, 0);
  border-top-left-radius: 2px;
  border-bottom-right-radius: 2px;
  width: 100%;
}

.symbols {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  margin-top: 9px;
  margin-left: 6px;
  margin-right: 6px;
}

.switchButt {
  margin-left: 50%;
  border-left: 1px solid transparent;
  padding-left: 4px;
}
@media screen and (max-width: 900px) {
  .switchButt {
    margin-left: 0%;
  }
}

.switchButt:hover {
  cursor: pointer;
  border-left: 1px solid #ffffff;
}
.switchButt.selected {
  color: #feed01;
}

.timeTxt {
  color: #000000;
  font-family: "Gotham 500";
  font-weight: 500;
  margin-top: 1px;
}

.maincont,
#viewGames.maincont {
  display: none;
}

.maincont.selected {
  display: block;
}

#viewGames.maincont.selected {
  display: flex;
}

#viewGames {
  width: 100%;
  height: 100%;
  height: calc(100% - 144px);
  box-sizing: border-box;
  position: relative;
  background-image: url(assets/bg.jpg);
  background-repeat: repeat-x;
  background-size: contain;
  display: flex;
  align-items: center;
  justify-content: center;
}
#viewGames.fullscreen {
  height: var(--olg-iframe-height, 100%);
  position: absolute;
  top: 0;
  left: 0;
}

#viewPos {
  width: 100vw;
  height: calc(var(--vh, 1vh) * 100 - 144px);
  position: absolute;
  top: 144px;
  left: 0;
  box-sizing: border-box;
  overflow: hidden;
  background-color: #000000;
  z-index: -10;
  visibility: hidden;
 background: linear-gradient(to bottom,  #949494 0%,#929292 0%,#ababab 1%,#c0c0c0 2%,#cccccc 3%,#cfcfcf 4%,#f1f1f1 97%,#efefef 97%,#e7e7e7 98%,#d6d6d6 99%,#c3c3c3 100%,#c2c2c2 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#viewPos.selected {
  z-index: 10;
  visibility: visible;
}

#gamesFra {
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  background-color: #000000;
  border: none;
}
#posFra {
  width: calc(100% - 20px);
  height: calc(var(--vh, 1vh) * 100 - 164px);
  max-width: calc((var(--vh, 1vh) * 100 - 164px) * 1.7778);
  border: none;
  background-color: #000000;
}

.fullscreen #gamesFra {
  width: 100%;
  height: 100%;
}

#videoWarp{
  width: 100%;
  height: 100%;
  border: none;
  position: absolute;
  z-index: 10;
  left: 0;
  top: 0;
  background-color: #000000;
  display: flex;
  justify-content: center;
  align-items: center;
}

#tvScrFra {
  width: 100%;
  height: 100%;
  max-width: 100vw;
  max-height: calc(100vw*9/16);
  border: none;
  object-fit: cover;
}

@media screen and (min-aspect-ratio: 16/9) {
  .showFullscr #tvScrFra {
    max-width: calc(100vh*16/9);
    max-height: 100vh;
  }
}

.bottomButtons {
  text-align: center;
  display: flex;
  flex-direction: row;
  justify-content: center;
  padding-top: 3vh;
  flex-wrap: wrap;
  background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 70%, rgba(255, 255, 255, 0) 100%);
  margin-bottom: 1vw;
}

.mainBack {
  display: flex;
  background-color: #03163d;
  overflow: hidden;
  max-height: 144px;
}

@media only screen and (max-width: 410px) {
  .switchButt {
    margin-bottom: 5px;
    font-size: 18px;
  }
  .logo>img{
    max-width: 130px;
  }
}

