body {
  overflow-x: hidden;
  font-family: "Philosopher", sans-serif;
  background-color: #282828;
  min-height: 100%;
  margin: 0;
  padding: 0;
}
input {
  font-family: "Philosopher", sans-serif;
}

.onestep {
  font-size: 24px;
  color: white;
  margin-left: 10px;
  float: left;
  margin-top: 15px;
}
.row {
  clear: both;
}

#language-switcher {
  margin-top: 30px;
  margin-left: 15px;
  position: absolute;

}
#language-switcher a{
  color: #fff;
}

.gameCanvas {
  z-index: 2;
  width: 1024px;
  margin-left: auto;
  margin-right: auto;
  background-repeat: no-repeat;
  overflow:hidden;
}

.mclip {
  position: absolute;
}
.mclip2 {
  cursor: pointer;
  position: absolute;
}

/* START PAGE*/
#reg {
  background-image: url(../images/start.jpg);
}
#reg .welcome{
    font-size: 27px;
    text-align: center;
    color: white;
    
    padding: 20px 10px 10px 10px;
}

#reg .regform {
  width: 600px;
  margin: 510px auto 10px auto;
  background:rgb(0, 0, 0, 0.4);
  display: flex;

}

#reg .regform .regcell {
    width: 50%;
    margin: 10px 30px;
    overflow: hidden;

}
#reg .regform div{
    color: #fff;
    text-align: center;
    margin:  15px 0px;
}

#reg .regform input {
    background-color: transparent;
    border: 1px solid white;
    margin: 5px;
    padding: 5px 10px;
    color: white;
}

#reg .credits {
    margin-top: 0px;
    font-size: 11px;
    text-align: center;
    color: white;
    padding: 5px 30px;
}


#reg .credits a {
  color: white;
}

.buta {
    cursor: pointer;
    background-color: transparent;
    border: 1px solid #fff;
    color: #ffffff;
    font-family: "Philosopher", sans-serif;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    padding: 5px 10px;
}

.chser {
  position: absolute;
  margin-left: 20px;
  width: 1024px;
  height: 400px;
  top: 95px;
}

#countdown_dashboard {
  width: 169px;
  background: url("../images/flag3.png");
  position: absolute;
  top: 461px;
  left: 279px;
  display: block;
  height: 180px;
  background-size: 180px 180px;
  padding-left: 15px;
}

.dash {
  width: 110px;
  height: 114px;
  background: transparent url("../images/dash.png") 0 0 no-repeat;
  float: left;
  margin-left: 20px;
  position: relative;
}
.resul {
  font-size: 45pt;
  top: 270px;
  visibility: hidden;
}
.dash .digit {
  font-size: 55pt;
  font-weight: bold;
  float: left;
  width: 55px;
  text-align: center;
  color: #555;
  position: relative;
}

.dash_title {
  position: absolute;
  display: block;
  bottom: 0px;
  right: -7px;
  font-size: 18pt;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.qimg {
  position: absolute;
  left: -15px;
  top: -3px;
  pointer-events: none;
}

/* Shared dialog position */
.resul,
.qtext,
#teh,
#pts{
  position: absolute;
  width: 400px;
  left: 167px;
  text-align: center;
}

.qtext {
  cursor: pointer;
  height: 95px;
  color: white;
  top: 146px;
  font-size: 19px;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 1);
}

#dialog_descr {
  margin-top: 132px; 
  font-size: 20px;
}


#endbut {
  position: absolute;
  visibility: hidden;
  left: 267px;
  top: 444px;
  cursor: pointer;
  background-image: url('../images/botton.png');
  color: #fff;
  padding-top: 15px;
  width: 200px;
  height: 45px;
  font-size: 27px;
}

#pts {
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 1);
  top: 350px;
  font-size: 36px;
  color: rgb(255, 184, 0);
}

#teh {
  top: 398px;
}

.rightAns {
  visibility: visible;
  color: rgb(6, 144, 6);
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 1);
}
.wrongAns {
  visibility: visible;
  color: rgb(144, 6, 6);
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 1);
}
.timeAns {
  font-size: 40px;
  visibility: visible;
  color: rgb(144, 6, 6);
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 1);
}

#cmess {
  top: 268px;
}

.answers {
  cursor: pointer;
  padding-left: 20px;
  height: 64px;
  width: 367px;
  text-align: left;
  color: white;
  position: absolute;
  top: 268px;
  left: 177px;
  font-size: 19px;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 1);
}

#mypts {
  text-align: right;
  position: absolute;
  left: 83px;
  color: white;
  top: 23px;
}

.bottle {
  position: absolute;
  transition: all 1s linear;
  z-index: 23;
}
.mirror {
  display: block;
  transform: matrix(-1, 0, 0, 1, 0, 0);
  /* -moz-transform: matrix(-1, 0, 0, 1, 0, 0);
  -webkit-transform: matrix(-1, 0, 0, 1, 0, 0);
  -o-transform: matrix(-1, 0, 0, 1, 0, 0); */
}
.drop-shadow {
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);

}
#avatar {
  width: 87px;
  position: absolute;
  left: -6px;
  top: -16px;
}
.fixedzar {
  position: fixed;
  float: right;
  bottom: 0px;
  margin-left: 30px;
  z-index: 1000;
  display: none;
}

.fixedzar2 {
  position: fixed;
  float: right;
  bottom: 0px;
  margin-left: 30px;
  z-index: 1000;
}
.helpa {
  position: fixed;
  float: right;
  top: 15px;
  right: 0px;
  z-index: 1000;
}

.fixedgui {
  position: fixed;
  float: left;
  z-index: 1000;
  top: 45px;
}
.gscreen {
  left: 0px;
  width: 1024px;
  height: 2276px;
  top: 0px;
}

.shadow {
    box-shadow: 0px 6px 8px #000;
  }

/* LOBBY SCREEEN */
.loby {
    display: none;
    width: 1024px;

    margin: 180px auto 50px auto;
    top: 83px;
    overflow:hidden;
    width: 50%;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 30px;

}

/* GAME LIST */
.loby .hlddescr{
    font-size: 28px;
    margin-bottom: 30px;
}

.loby .hldto {
    min-height: 250px;
    margin-bottom: 30px;
}

.loby .hldbuta {
    float: right;
}

.gaming {
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    padding: 7px;
    font-size: 25px;
    color: #fff;
}

.gaming:hover {
    background-color: rgba(0,0,0,0.3);
}

.inntitle2 {
    width: 50%;
}

.innstatus {
    width: 30%;
    font-style: italic;
    color: #bbb;
}

.mysimpbut {
    width: 10%;
}

.inntitle {
  font-size: 34px;
  top: 12px;
  color: rgb(43, 40, 40);
  position: absolute;
  left: -25px;
  width: 150px;
  overflow: hidden;
}

/* SELECT HERO STYLES*/
#tehtfnt {
  display:none;
  pointer-events: none; 
  top: 562px;
  left: 426px;
}

#teht {
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 1); 
  color:rgb(245, 231, 152);
  top: 160px;
  width: 600px;
  left: 170px;
  text-align: center;
}

#tehtQuote {
  color: white;
  top: 240px;
  width: 600px;
  left: 170px;
  text-align: center;
  font-size: 16px;
  font-style: italic;
}

#tehtDesc {
  top: 310px;
  width: 600px;
  left: 170px;
  text-align: center;
  color: white;
  font-size: 16px;
}

#game-ranking-title{
  color: rgb(39, 32, 19);
  position: absolute;
  top: 68px;
  font-size: 34px;
  left: 70px;
  width: 280px;
  text-align: center;
}

#end-game-final-ranking{
  position: absolute; 
  left: 220px; 
  top: 255px

}
#end-game-buttons{
  color: #fff;
  cursor: pointer;
  position: absolute;
  top: 485px;
  left: 320px;
  font-size: 24px;
}