
#win {
  display: none;
  width: 380px;
  margin: 0 auto;
}
 .overlay {
  
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 1000;
  opacity: .5;
}
.visible {
  background: #fff;
  position: fixed;
  top: 50%;
  margin-top: -100px;
  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 {
    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 {
  -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;
}

button.btclick {
  width: 45px;
  height: 44px;
    border-radius: 16px;
    border-style: solid;
    border-width: 2px 2px 4px;
    color: #4b4b4b;
    cursor: pointer;
    font-size: 17px;
    font-weight: 500;
    margin: 2px;
    transform: translateZ(0);
    transition: filter .2s;
}

#gameMenu {

  width: 100%;
  max-width: 578px;
  height: 110px;
    margin: 0 auto;
    border: 2px solid rgb(119, 179, 108); 
   border-bottom: 0px; 
}
.gameMenuLeft {
  width: 35%;
    float: left;
    margin-top: 10px;
    margin-left: 10px;
    max-width: 120px;
}
.gameMenuRight {
  width: 55%;
  float: right;
  margin-top: 10px;
}

#stage {
    max-width: 578px;
    width: 100%;
    position: relative;
    margin: 0 auto;
    margin-top: 0px;
    background: rgba(240, 255, 255, 0.79);
    height: 450px;
    border: 2px solid rgb(119, 179, 108);
    border-top: 0px;
}
.place {
  height: 450px;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}
#placeImg {
  width: 100%;
  max-width: 440px;
  height: 390px;
  padding-top: 15px;
}

.placeTable {
  width: 100%;
  max-width: 440px;
}
#placeBtnLeft {
  width: 120px;
    float: left;
    margin-bottom: 20px;
}
#placeBtnRight {
  width: 240px;
    float: right;
}

#placeBtn {
  width: 140px;
  height: 100px;
  margin: 0 auto;
}
#placeAnswerLeft {
  width: 120px;
  float: left;
  padding-top: 30px;
}
#placeInputCenter {
  width: 90px;
  float: left;
  margin-right: 10px;
}
#placeTopDownRight {
  width: 140px;
  float: right;
  padding-top: 20px;
  margin: 0 auto
}

#topdown {
  width: 50px;
  float: left;
  margin-top: -5px;
}

#placeBtnCheck {
  width: 140px;
  margin: 0 auto;
}

.text_z {
  margin: 0 auto;
  width: 300px;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  line-height: 1.5;
}
.countNumber {
  color: red;
}

.rslt01 {
    height: 30px;
    width: 40px;
    font-size: 18px;
    text-align: center;
    background-color: yellow;
}

div.container table td, div.page table td  {
 vertical-align: middle; 
}

div.container table td.cellframe, div.page table td.cellframe {
  border: 1px solid #26bb1c;
  border-top: 1px solid #26bb1c;
  height: 37px;
  width: 42px;
  padding: 0px;
  text-align: center;
}

h1 {
  padding-left: 20px;
  padding-top: 20px;
  line-height: 1;
}

.answer {
  font-size: 20px;
  font-weight: bold;
}

.countImg {
  height: 20px;
  width: 20px;
  margin: 0 auto;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
 }

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;
  text-align: center;
}
.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;
}



@media only screen and (max-width: 640px) {
  
  .rslt01 {
      height: 30px;
      width: 35px;
      font-size: 16px;
      
  }
}