.tabs { width: 100%; padding: 0px; margin: 0 auto; }
.tabs>input { display:none; }
.tabs>div { display: none;
}
.tabs>label {
    display: inline-block;
    padding: 7px;
    margin: 0 -5px -1px 0;
    text-align: center;
    color: #666666;
    border: 1px solid #C0C0C0;
    border-radius:20px 20px 0 0;
    background: #daf9f2;
    cursor: pointer;
}
.tabs>input:checked + label {
    color: #000000;
    border: 1px solid #C0C0C0;
    margin-right: 2px;
    background: #9cf78b;;
}

#tab_1:checked ~ #txt_1,
#tab_2:checked ~ #txt_2 { 
  display: block; 
  background: rgba(240, 255, 255, 0.79);
  width: 99%;
  height: 460px;
  margin: 0 auto;
  max-width: 550px;
  border: 2px solid rgb(156, 247, 139);
  text-align: justify;
}
#tab_2:checked ~ #txt_2 {
  padding: 20px;
  height: 640px;
  width: 570px;
  overflow: auto;
}
 .mycalc {
 
width: 95%;
max-width: 320px;
margin: 0 auto;
padding: 5px;
float: left;
 }
 
 .my-calc-form {
  float: left;
    width: 260px;
    margin-top: 235px;
    margin-left: -40px;
 }

 .bttn, input[type=button] { 
    font-size: 22px; /* Размер шрифта */
    font-family: Verdana, Arial, Helvetica, sans-serif; 
    color: #000; /* Цвет текста */
    width: 60px;
    height: 44px;
    text-align: center;
    background-color: #ffffff;
    margin-bottom: 5px;
    margin-left: 2px;
    padding: 0;
    border: 1px solid green;
   }
   
   input.bttnok.bttn {
    width: 60px;
    height: 142px;
    position: absolute;
     }
  
   .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;
}

.pr {
  height: 55px;
  margin-bottom: 15px;
  margin-top: -15px; 
  width: 70px; 
  float: left;
}

.primer {
  
  height: 125px; 
  width: 300px;
  text-align: center;
}

   .rslt {
   	height: 50px;
   	width: 234px;
   	margin-top: 15px;
   	font-size: 24px;

   }
   .pryklad {
   	font-weight: bold;
    margin-bottom: 10px;
    font-family: "Times New Roman", serif;
   color: #c94c4c;
    margin: 1px;
    width: 270px;
   }
   
   .clf {
    font-size: 68px;
   }

    .clf01 {
    font-size: 18px;
   }

   .myh3 {
    width: 100%;
    height: 30px;
    font-size: 26px;
    font-weight: bold;
    margin-left: 10px;
   }

   .virno {
    padding: 5px;
    width: 50px;
    float: right;
    margin-top: -30px;
    margin-right: 60px;
   }
   .godyna{
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
   }
   #score, #riven, #pomylky {
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
   }

   #dobre, #nedobre, #zirkagood {
    display:none;
   }

   .imgzirka {
    width: 320px;
    height: 177px;
   }
   .zirka {
    position: absolute;
    top: 300px;
   }

   #win {
  display: none;
}
 .overlay {
  background: #000;
  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: 260px;
  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: 26px;
  font-weight: bold;
}

#text_zavdannya {
  margin-bottom: 1px;
}
.text_z {
  height:20px;  
  font-weight: bold; 
  font-size:  18px;
}
#div_number {
 font-size:  24px; 
 color: #181888;
}

.chislo {
  color: red;
  font-size: 22px;
}

.fraction01, .top01, .bottom01 {
    padding: 0 5px;
    font-size: 50px;
}

.fraction01 {
    display: inline-block;
    text-align: center;    
}

.bottom01{
    border-top: 1px solid #000;
    display: block;
}

.first {
    font-size: 30px;
    margin: 0 auto;
    width: 200px;
    line-height: 1; 
}
.frac {
    display: inline-block;
    position: relative;
    vertical-align: middle;
    letter-spacing: 0.001em;
    text-align: center;
}
.frac > span {
    display: block;
    padding: 0.1em;
}
.frac span.bottom {
    border-top: thin solid black;
}
.frac span.symbol {
    display: none;
} 


@media only screen and (max-width: 840px) {

  .virno img {
  width:50px;
  }
  #tab_1:checked ~ #txt_1,
  #tab_2:checked ~ #txt_2 { 
  max-width: 560px;
  }

   #tab_2:checked ~ #txt_2 { 
    width: 550px;
    padding: 10px;
    height: 650px;
    overflow: auto;
  }

  .myh3 {
    width: 290px;
  }
  .my-calc-form {
    margin-top: 170px;
    margin-left: -30px;
  }
  .padder {
    width: 99%;
  }
  div#sidebar {
    margin-left: 0px;
  }


}

@media only screen and (max-width: 640px) {
.virno img {
width:40px;
}
.myh3 {
  width: 280px;
}
.my-calc-form {
  margin-top: 170px;
  margin-left: -30px;
}
.rslt {
  width: 200px;
  margin-left: 10px;
}

 #tab_2:checked ~ #txt_2 { 
  width: 500px;
  padding: 10px;
  height: 640px;
}

  }

@media only screen and (max-width: 600px) {
.virno img {
width:40px;
}

.primer {
  width:290px;
  }

.my-calc-form {
  margin-top: 5px;
  margin-left: 10px;
}

#tab_2:checked ~ #txt_2 { 
  width: 370px;
  padding: 10px;
  height: 750px;
}

#tab_1:checked ~ #txt_1 { 
  height: 630px;
}

.myh3 {
  width: 300px;
}


}

@media only screen and (max-width: 480px) {
.virno img {
width:40px;
}

.primer {
  width:190px;
  }
#tab_2:checked ~ #txt_2 { 
  width: 90%;
  padding: 10px;
  height: 890px;
  overflow: auto;
}

}

@media only screen and (max-width: 360px) {
  .clf {
    font-size: 40px;
}
.virno img {
width:40px;
}
}