
#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: 90%;
  max-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: 180px;
    float: left;
    font-size: 20px;
    margin-top: 40px;
    margin-left: 20px;
}

#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;
}

.mainblock578 {
   max-width: 578px; 
   height: 465px; 
   margin: 0 auto; 
   border: 2px solid rgb(119, 179, 108);
}
.mainblock578h550 {
  max-width: 578px; 
   height: 550px; 
   margin: 0 auto; 
   border: 2px solid rgb(119, 179, 108);
}
#gameMenu {
  padding-left: 20px;
  padding-top: 2px;
  max-width: 678px;
  height: 115px;
  margin: 0 auto;

}
.gameMenuLeft {
  width: 25%;
  float: left;
  min-width: 120px;
}
.gameMenuRight {
  width: 60%;
  float: right;
  margin-top: 10px;
  min-width: 200px;
}
.gameMenuRight3 {
  width: 60%;
  float: right;
  margin-top: -10px;
  min-width: 200px;
}

#stage {
  width: 100%;
    max-width: 778px;
    margin: 0 auto;
    margin-top: 0px;
    background: rgba(240, 255, 255, 0.79);
    height: 345px;
}

#placeTxt {
  font-size: 40px;
  text-align: center;
  height: 110px;
}

#placeImg, #placeImg50five  {
  float: left;
  width: 38%;
  max-width: 300px;
  padding-top: 5px;
  margin-top: 30px;
  text-align: center;
  font-size: 40px;
  margin-left: 10px;
}

#placeImg02, #placeImgFr {
    width: 470px;
    height: auto;
    margin: 0 auto;
    padding-top: 50px;
}

#placeImgFr {
  padding-top: 30px;
}

#placeImg50five {
  max-width: 300px;
  width: 100%;
}

#placeImg01a, #placeImg02a { 
    width: 200px;
    height: 50px;
    border: 1px solid #6dc557;
    border-radius: 12px;
    cursor: pointer;
    font-size: 30px;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 10px;
    float: left;
    margin-right: 15px;
}

/*кнопки з відповідями*/


#placeImgTop {
    background: url(/math/pre-k/count20missed/img/linearrow.jpg) no-repeat;
    background-size: contain;
    width: 445px;
    height: 30px;
    margin: 0 auto;
}
#placeImgBottom {
    width: 370px;
    margin: 0 auto;
}

#placeBtn, #placeBtn50five {
  float: right;
  width: 60%;
  max-width: 300px;
  height: 320px;
  margin: 0 auto;
  margin-top: 20px;  
}

#placeBtn50five {
  max-width: 260px;
  height: 200px;
}

#placeBtnLeft {
  width: 120px;
  margin-bottom: 20px;
}
#placeBtnRight {
  max-width: 320px;
  margin: 0 auto;
}

#placeBtnCenter {
  width: 440px;
  margin: 0 auto;
  height: 150px;
  margin-top: 50px;
}

#placeBtnCheck {
  width: 165px;
  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;
}
#topBtn {
  background: url(/math/pre-k/img/top.png) no-repeat;
  background-size: contain;
  height: 35px;
  width: 50px;
}

#downBtn {
  background: url(/math/pre-k/img/bottom.png) no-repeat;
  background-size: contain;
  height: 35px;
  width: 50px;
}
.ex {
    display: inline-block;
    padding-top: 0px;
}
#countNumber {
    color: red;
    font-size: 34px;
    height: 65px;
    width: 320px;
    font-weight: 700;
}

button.btclick {
    width: 17%;
    min-width: 40px;
    min-height: 50px;
    max-width: 50px;
    border-radius: 16px;
    border-style: solid;
    border-width: 2px 2px 4px;
    color: #4b4b4b;
    cursor: pointer;
    font-size: 25px;
    font-weight: 500;
    margin: 2px;
    transform: translateZ(0);
    transition: filter .2s;
}
.addDigit {
  width: 100px;
  height: 160px;
  margin: 0 auto;
}
.addDigit01 {
  width: 250px;
  margin: 0 auto;
}
.addsub {
  vertical-align: top;
}

.text_z {
  margin: 0 auto;
  width: 300px;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  line-height: 1.5;
}
.countNumber {
  color: red;
}

#countNumberFraction {
  color: red;
  font-size: 24px;
  padding-top: 30px;
  font-weight: bold;
}
.tablefraction {
  width: 100px;
    margin: 0 auto;
    border: 0px;
    line-height: 0.5;
}
.rslt05 {
    height: 45px;
    width: 84px;
    font-size: 38px;
    text-align: center;
}
/*
.rslt04 {
    height: 24px;
    width: 120px;
    font-size: 24px;
    margin-bottom: 5px;
}
*/
div.post table, div.page table {
  border: 0px;
}
div.post table td, div.page table td {
    border: 0px;
    margin: 0px;
    padding: 0px;
    height: 40px;
}

h1 {
  padding-left: 20px;
  padding-top: 20px;
}

.answer {
  font-size: 20px;
  font-weight: bold;
  display: block;
}

.countImg {
  background: url(/math/img/pre-k/toys.png) no-repeat;
  height: 90px;
  width: 90px;
  float: left;
  margin-left: 15px;
  border: 2px solid #6dc557;
  border-radius: 12px;
 }

 .countImg2, .countImg5, .countImg10 {
  background-size: cover;
  height: 70px;
  width: 80px;
  float: left;
  margin: 0 auto;
}

.countImg2 {
  background: url(/math/klas1/count2510ten/img/duo.png) no-repeat;
 }
.countImg5 {
  background: url(/math/klas1/count2510ten/img/five5.png) no-repeat;
 }
.countImg10 {
  background: url(/math/klas1/count2510ten/img/ten10.png) no-repeat;
 }

 .placeImgFraction {
  width: 90px;
  height: 90px;
  background: url(/math/klas3/fractionpic/img/fraction.jpg) no-repeat;
  float: left;
  margin-left: 15px;
  margin-bottom: 10px; 
  border: 2px solid #6dc557;
  border-radius: 12px;
  cursor: pointer;

}


div#sidebar {
  width: 100%;
  margin-left: 0px;
}
div.page table td {
 vertical-align: middle; 
}
div.page table td.cellframe {
  border: 2px solid #26bb1c;
  border-top: 2px solid #26bb1c;
  height: 50px;
  width: 50px;
}
.padder1 {
  width: 650px;
  margin: 0 auto;
}
.widget {
  float: left;
  width: 200px;
  padding-right: 50px;
}
.widgettitle {
  text-align: center;
}
.myh3 {
  margin: 0px;
  padding-bottom: 10px;
  font-size: 22px;
  text-align: center;
  line-height: 1.2;
}
.sub-button {
  font-size: 20px;
    padding: .46em 1.5em .54em;
    min-width: 135px;
    height: 45px;
    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;
}

.item-active {
  border: 2px solid #00ff08;
}

.btncheck {
  width: 160px;
  margin: 0 auto;
}
.placeTable {
  width: 210px;
}


@media only screen and (max-width: 760px) { 
  .myh3 { 
    font-size: 22px;
  }
}
@media only screen and (max-width: 660px) {


.mainblock578 {
  height: 525px;
}

#stage {
  height: 420px;
}
#placeImg {
    float: none;
    width: 100%;
    max-width: 100%;
    height: auto;
}
#placeImg02 {
  width: 100%;
}

#placeImgFr {
  width: 100%;
  max-width: 230px;
}

#placeImg50five {
  max-width: 350px;
  height: 250px;
  float: none;
  margin: 0 auto;
}

  .placeImgTxt {
    font-size: 60px;
    margin-top: 50px;
    height: 100px;
  }

  #placeImgTop {
    width: 100%;
    max-width: 445px;
  }
  #placeImgBottom {
    width: 100%;
    max-width: 370px;

  }
#placeBtn {
    float: none;
    width: 90%;
    max-width: 300px;
    height: 250px;
    margin-top: 20px;
}

#placeBtn50five {
  float: none;
    width: 260px;
    height: 160px;
    margin: 0 auto;
}

button.btclick {
  width: 17%;
  min-width: 35px;
  min-height: 45px;
  font-size: 18px;
  font-weight: 400;
  }

  #placeBtnLeft {
      margin-bottom: 10px;
  }

  #placeBtnCenter {
    width: 360px;
  }

  #gameMenu { 
    padding-top: 0px;
  }
  #countNumber {
    font-size: 28px;
  }
  #countNumber img {
    width: 30px;
  }
  .myh3 img {
    width: 30px;
  }
    #placeImg01a, #placeImg02a { 
    font-size: 25px;
    width: 150px;
    margin-left: 15px;
    margin-right: 0px;
  }
  #gameMenu {
    
    height: 100px;
  
  
  }

}
@media only screen and (max-width: 480px) { 
  .myh3 { 
    font-size: 18px;
  }
  #placeTxt { 
    font-size: 28px;
  }
  #placeImg01 {
    margin-top: 30px;
  }
  #placeBtnCenter {
    width: 350px;
  }
  #placeImg01a, #placeImg02a {  
    width: 138px;
  }

}
@media (max-width: 385px) { 
.gameMenuRight {
  width: 100%;
}
.countImg2 {
  width: 69px;
}
.countImg5 {
  width: 73px;
}
.countImg10 {
  width: 73px;
}
.menu100 {
  width: 55%;
  min-width: 150px;
}
}
@media (max-width: 350px) { 
  #placeBtnCenter {
    width: 100%;
  }
  #placeImg01a, #placeImg02a {  
    width: 125px;
  }
  .countImg2 {
    width: 66px;
  }
  .countImg5 {
    width: 70px;
  }
  .countImg10 {
    width: 70px;
  }
}