html {
  height: 100%;
}
body {
  margin: 0;
  padding: 0;
  font-family: "Source Sans Pro", sans-serif;
  font-weight: 600;
  height: 100%;
}
#app {
  margin: 0;
  padding: 0;
  width: 100vh;
}
#avatars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
#cnv {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #65a645;
}
.bg {
  background: url(../img/poker_and_casino_playing_card_black_background-resized.jpg);
  background-size: cover;
}
#ui {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}
#loading_div {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  height: 100%;
  background: linear-gradient(to bottom, #f1b01b 0%, #f8710a 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}
#loading_wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
#logo_loading {
  width: 400px;
  z-index: 4;
  pointer-events: none;
}
.mobile-view.portrait #logo_loading {
  width: 80%;
}
.mobile-view.landscape #logo_loading {
  width: 80%;
}
#loading_bar {
  position: absolute;
  left: 50%;
  margin-left: -150px;
  width: 300px;
  border-radius: 15px;
  top: 50%;
  height: 20px;
  overflow: hidden;
  border: 1px solid #424241;
  background: #050505;
  /* Old browsers */
  background: -moz-linear-gradient(top, #050505 0%, #505050 100%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(top, #050505 0%, #505050 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, #050505 0%, #505050 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#050505', endColorstr='#505050', GradientType=0);
  /* IE6-9 */
  margin-top: 100px;
}
#loading_bar_in {
  position: absolute;
  left: 0px;
  width: 0px;
  border-radius: 15px;
  top: 0px;
  height: 20px;
  overflow: hidden;
  -webkit-box-shadow: inset 0px 0px 5px 0px #ffffff;
  -moz-box-shadow: inset 0px 0px 5px 0px #ffffff;
  box-shadow: inset 0px 0px 5px 0px #ffffff;
  background: #1a799b;
  /* Old browsers */
  background: -moz-linear-gradient(top, #1a799b 0%, #115b93 100%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(top, #1a799b 0%, #115b93 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, #1a799b 0%, #115b93 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#1a799b', endColorstr='#115b93', GradientType=0);
}
.hidden {
  display: none;
}
#loading_bar_in img {
  position: absolute;
  right: -10%;
  height: 160%;
  top: -30%;
}
/*FONTS*/
@font-face {
  font-family: LilitaOne;
  src: url(../fonts/LilitaOne-Regular.ttf);
}
.game_name {
  position: absolute;
  top: 15px;
  right: 15px;
  text-transform: uppercase;
  color: #fff;
  font-size: 20px;
  opacity: 0.6;
}
.icon_info {
  width: 60px;
  height: 60px;
  position: absolute;
  bottom: 75px;
  right: 20px;
}
.mobile-view.portrait .icon_info {
  width: 50px;
  height: 50px;
  bottom: auto;
  top: 40px;
  right: calc(50px + 10px);
}
.mobile-view.landscape .icon_info {
  width: 50px;
  height: 50px;
  bottom: auto;
  top: 40px;
  right: calc(50px + 10px);
}
.next_step,
.penaltydraw {
  position: absolute;
  bottom: 32%;
  left: 50%;
  transform: translate(-50%, 0);
  cursor: pointer;
  display: none;
  pointer-events: all;
  z-index: 131;
}
.next_step img,
.penaltydraw img {
  width: 150px;
}
.next_step img:hover,
.penaltydraw img:hover {
  width: 160px;
}
.penaltydraw img {
  float: left;
  width: 150px;
}
.penaltydraw .sn_cards {
  position: absolute;
  color: #d6e99a;
  font-size: 40px;
  line-height: 40px;
  text-shadow: -3px 2px 0 #0a2303;
  -webkit-text-stroke-width: 2px;
  -webkit-text-stroke-color: #0a2303;
  font-weight: 800;
  padding-left: 15px;
  font-family: "Raleway", sans-serif;
  top: 3px;
  right: 17px;
}
.penaltydraw .sn_cards:before {
  content: '+';
  position: absolute;
  font-size: 40px;
  height: 40px;
  line-height: 40px;
  top: 4px;
  left: 0;
}
.card-counter {
  position: absolute;
  pointer-events: none;
  border-radius: 50px;
  color: #FFF;
  line-height: 20px;
  text-align: center;
  font-size: 20px;
  transition: opacity 0.3s;
  transform: rotate(325deg) translate(0px, 0px) skew(26deg, 0deg);
  text-shadow: 0px 0px 3px #000;
}
.card-counter.not-visible {
  opacity: 0;
}
.mobile-view.portrait .card-counter {
  font-size: 19px;
}
.mobile-view.landscape .card-counter {
  font-size: 14px;
}
.audio_controls {
  position: absolute;
  top: 70px;
  right: 20px;
  width: auto;
  cursor: pointer;
  pointer-events: all;
}
.mobile-view.portrait .audio_controls {
  top: 23px;
  right: 55px;
  bottom: auto;
}
.mobile-view.landscape .audio_controls {
  top: 23px;
  right: 55px;
  bottom: auto;
}
.audio_controls img {
  width: 50px;
}
.mobile-view.portrait .audio_controls img {
  width: 39px;
  height: 39px;
}
.mobile-view.landscape .audio_controls img {
  width: 39px;
  height: 39px;
}
.audio_controls.sound-on img:nth-child(1) {
  display: none;
}
.audio_controls.sound-on img:nth-child(2) {
  display: block;
}
.audio_controls img:nth-child(1) {
  display: block;
}
.audio_controls img:nth-child(2) {
  display: none;
}
.button-lightgreen {
  background-color: #81ac20;
  color: #FFF;
}
