
.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_2:checked ~ #txt_2 {
  padding: 20px;
  max-width: 600px;
}

#tab_1:checked ~ #txt_1 {
  padding: 5px 20px;
  max-width: 400px;
}

#tab_1:checked ~ #txt_1,
#tab_2:checked ~ #txt_2 { 
  display: block; 
  background: rgba(240, 255, 255, 0.79);
  min-height: 616px;
  border: 2px solid rgb(156, 247, 139);
  text-align: justify;
  margin: 0 auto;
}

#txt_2 h3 {
  font-size: 18px;
  width: 100%;
}
 .mycalc {
 
width: 95%;
margin: 0 auto;
padding: 5px;
float: left;

 }
  
.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;
}

.primer {
  height: 40px; 
  width: 100%;
  margin-top: 15px;
  margin-bottom: 15px;
}

.pryklad {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 10px;
}

.clf {
  color: #c94c4c;
  font-size: 40px;
  margin: 1px;
  text-align: center;
}

   h3 {
    font-size: 26px;
    font-weight: bold;
    width: 250px;
   } 

   .myh3 {
    width: 100%;
    height: 30px;
    font-size: 26px;
    font-weight: bold;
    text-align: left;
   }
  
   .text_z {
    height:20px;  
    font-weight: bold; 
    font-size:  18px;
    }

   .virno {
    padding: 5px;
    width: 50px;
    float: right;
    margin-top: -30px;
   }
   .godyna{
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;

   }
   #score, #pomylky {
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
   }
   .score {
    margin-bottom: 5px;
   }

   #dobre, #nedobre, #zirkagood {
    display:none;
   }

   .imgzirka {
    width: 320px;
    height: 177px;
   }
   .zirka {
    position: absolute;
    top: 100px;
    margin-left: 30px;
   }
 
#win {
  display: none;
  width: 300px;
}
#skoroch {
  width: 310px;
}
 .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;
  padding: 20px;
  border-radius: 25px;
}
#win, #skoroch  button {
  float: right;
  line-height: 20px;
  margin: 1.2em;
  background: transparent;
  color: #040404;
}
#win button[type="button"]:hover {
  cursor: pointer;
}
#win, #skoroch span {
  text-align: center;
  color: #555;
  font-size: 22px;
  font-weight: bold;
}
.content {
  padding: 0 1em;
}

#raduga {
  width: 280px;
  height: 45px;
  margin: 0 auto;
  margin-top: 20px;
  overflow: hidden;
}

#raduga img {
  margin-left: 280px;
}

#myvidpovid {
  width: 200px;
  min-height: 110px;
  float: left;
}

#bt_ok {
  display: block;
    width: 105px;
    float: right;
}

#bt_stepin, #bt_backspace {
  width: 105px;
  float: right;
}

.bttn {
  width: 45px;
  height: 44px;
  border-radius: 16px !important;
  border-style: solid !important;
  border-width: 2px 2px 4px;
  color: #4b4b4b;
  cursor: pointer;
  font-size: 17px;
  font-weight: 500;
  margin: 2px;
  padding: 12px 16px;
  transform: translateZ(0);
  transition: filter .2s;
}

#rezvidpovid {
  width: 380px;
  height: 60px;
}

button.btrezclick {
   border-radius: 10px;
    border-style: solid;
    border-width: 2px 2px 4px;
    color: #4b4b4b;
    cursor: pointer;
    font-size: 20px;
    font-weight: 500;
    margin: 1px;
    padding: 12px 10px;
    transform: translateZ(0);
    transition: filter .2s;
    background: #fff;
    background: -moz-linear-gradient(top, #ffffff 0%, #83ffa3 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#ededed));
    background: -webkit-linear-gradient(top, #ffffff 0%,#83ffa3 100%);
    background: -o-linear-gradient(top, #ffffff 0%,#83ffa3 100%);
    background: -ms-linear-gradient(top, #ffffff 0%,#83ffa3 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#83ffa3',GradientType=0 );
    background: linear-gradient(top, #ffffff 0%,#83ffa3 100%);
}
button.btrezclick sup {
  font-size: 16px;
}

button.cl_bt_ok {
  width: 98px;
  height: 44px;
  border-radius: 10px;
    border-style: solid;
    border-width: 2px 2px 4px;
    color: #4b4b4b;
    cursor: pointer;
    font-size: 20px;
    font-weight: 500;
    margin: 1px;
    
    transform: translateZ(0);
    transition: filter .2s;
    background: #fff;
    background: -moz-linear-gradient(top, #ffffff 0%, #8bff83 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#ededed));
    background: -webkit-linear-gradient(top, #ffffff 0%,#8bff83 100%);
    background: -o-linear-gradient(top, #ffffff 0%,#8bff83 100%);
    background: -ms-linear-gradient(top, #ffffff 0%,#8bff83 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#8bff83',GradientType=0 );
    background: linear-gradient(top, #ffffff 0%,#8bff83 100%);
}

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;
    padding: 12px 16px;
    transform: translateZ(0);
    transition: filter .2s;
}

#bt_stepin.btstepin_off button, #bt_backspace.btstepin_off button  {
  width: 98px;
  border-radius: 10px;
    border-style: solid;
    border-width: 2px 2px 4px;
    color: #4b4b4b;
    cursor: pointer;
    font-size: 17px;
    font-weight: 500;
    margin: 2px;
    padding: 12px 16px;
    transform: translateZ(0);
    transition: filter .2s;
}


#bt_stepin.btstepin_on button {
  width: 98px;
  border-radius: 10px;
    border-style: solid;
    border-width: 2px 2px 4px;
    color: #0a0a0a;
    cursor: pointer;
    font-size: 18px;
    margin: 2px;
    padding: 12px 16px;
    transform: translateZ(0);
    transition: filter .2s;
    background: #ff4646;
}

@media only screen and (max-width: 840px) {

.virno img {
width:50px;
}
 #tab_2:checked ~ #txt_2 { 
  width: 440px;
  padding: 10px;
}
 .clf {
    font-size: 34px;
}
}
@media only screen and (max-width: 540px) {

.virno img {
width:50px;
}

#tab_2:checked ~ #txt_2 { 
  width: 340px;
  padding: 10px;
  height: 490px;
}
}
@media only screen and (max-width: 480px) {

.virno img {
width:50px;
}

#tab_2:checked ~ #txt_2 { 
  width: 350px;
  padding: 10px;
  height: 490px;
}

 .clf {
    font-size: 32px;
}

}

@media only screen and (max-width: 390px) {
  .clf {
    font-size: 30px;
}
#tab_2:checked ~ #txt_2 { 
  width: 300px;
  padding: 10px;
  height: 520px;
}
#rezvidpovid {
  width: 100%;
  height: 60px;
}

}