
#win {
  display: none;
  width: 380px;
    margin: 0 auto;
}
 .overlay {
  background: #0000003b;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 1000;
  opacity: .5;
}
.visible {
  background: #fff;
  position: fixed;
  top: 50%;
  margin-top: -200px;
  overflow: hidden;
  z-index: 2000;
  width: 360px;
  padding: 20px;
  border-radius: 25px;
}
#win button {
  float: right;
  line-height: 20px;
  margin: 1.2em;
  color: #040404;
}
#win button[type="button"]:hover {
  cursor: pointer;
}
#win span {
  text-align: center;
  color: #555;
  font-size: 22px;
  font-weight: bold;
}
.content {
  padding: 0 1em;
}

#winImg {
  width: 100px;
  float: left;
}

#winTxt {
  width: 200px;
    float: left;
    font-size: 20px;
    margin-top: 40px;
    margin-left: 20px;
}

#raduga {
  width: 280px;
  height: 45px;
  margin: 0 auto;
  margin-top: 20px;
  overflow: hidden;
}

#raduga img {
  margin-left: 280px;
}

#dobre, #nedobre, #zirkagood {
    display:none;
   }

#dobre, #nedobre {
  width: 150px;
  margin: 0 auto;
}

.visibleDobre {
  background: #fff;
  position: fixed;
  top: 50%;
  margin-top: -100px;
  overflow: hidden;
  z-index: 2000;
  width: 170px;
  padding: 20px;
  border-radius: 25px;
}
.winImgDobre {
  width: 100px;
  height: 100px;
  float: left;
}
.winImgOk {
  float: right;
  margin-top: 20px; 
}

  .bstart {
    display: none;
  -webkit-border-radius: 28;
  -moz-border-radius: 28;
  border-radius: 28px;
  font-family: Arial;
  color: #ffffff;
  font-size: 16px;
  background: #4eba3d;
  padding: 5px 10px 5px 10px;
  text-decoration: none;

}

.bstart:hover {
  background: #4eba3d;
  text-decoration: none;
  color: #ffffff;
}

.bend {
  -webkit-border-radius: 28;
  -moz-border-radius: 28;
  border-radius: 28px;
  font-family: Arial;
  color: #ffffff;
  font-size: 16px;
  background: rgb(251, 168, 0);
  padding: 5px 10px 5px 10px;
  text-decoration: none;
  float: left;
}

.bend:hover {
  background: rgb(251, 168, 0);
  text-decoration: none;
  color: #ffffff;
}

#gamebackground {
      
      width: 628px;
      height: 175px;
      position: absolute;
      display: none;
}
#stage {
    width: 628px;
    position: relative;
    margin: 0 auto;
    margin-top: 0px;
    background: rgba(240, 255, 255, 0.79);
    height: 265px;
    border: 2px solid rgb(119, 179, 108);
    border-top: 0px;
}
canvas { position: relative; }
#canvas { z-index: 3; }
#gamebackground { z-index: 2; }
#tabs { z-index: 1; }

h1 {
  padding-left: 20px;
  padding-top: 20px;
}
#gameMenu {
  width: 628px;
  height: 110px;
    margin: 0 auto;
    border: 2px solid rgb(119, 179, 108); 
   border-bottom: 0px; 
}
.gameMenuLeft {
  width: 25%;
    float: left;
    margin-top: 10px;
    margin-left: 10px;
}
.gameMenuRight {
  width: 70%;
  float: right;
  margin-top: 30px;
}

div#sidebar {
  width: 100%;
  margin-left: 0px;
}
.padder1 {
  width: 650px;
  margin: 0 auto;
}
.widget {
  float: left;
  width: 200px;
  padding-right: 50px;
}
.widgettitle {
  text-align: center;
}
.myh3 {
  margin: 0px;
  padding-bottom: 10px;
  margin-top: -10px;
}
.sub-button {
  font-size: 15px;
    padding: .46em 1.5em .54em;
    min-width: 135px;
    height: 30px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    color: #fff;
    border: 0 solid #999;
    border: none transparent;
    background: -webkit-linear-gradient(top, #4aca5f 0%,#0e9c3a 100%);
    text-decoration: none;
    border-radius: 5px;
    -webkit-font-smoothing: antialiased;
    -webkit-transition: .1s linear -webkit-box-shadow;
    -moz-transition: .1s linear -moz-box-shadow;
    -ms-transition: .1s linear box-shadow;
    -o-transition: .1s linear box-shadow;
    transition: .1s linear box-shadow;
}
.sub-button:hover{
  color:#fff;
  background-image:-webkit-gradient(linear,0 0,0 100%,from(transparent),
    color-stop(40%,rgba(0,0,0,.05)),to(rgba(0,0,0,.1))); 
  background-color: #9de20e;
}
#gamebtn {
    width: 130px;
    margin: 0 auto;
    padding-top: 10px;
}
#countNumber {
  color: red;
  font-weight: bold;
  font-size: 22px; 
}

@media only screen and (max-height: 400px) {

    
  }