.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: 15px;
	}

#tab_1:checked ~ #txt_1,
#tab_2:checked ~ #txt_2 { 
  display: block; 
  background: rgba(240, 255, 255, 0.79);
  width: 99%;
  height: 560px;
  max-width: 600px;
  border: 2px solid rgb(156, 247, 139);
  text-align: justify;
  margin: 0 auto;
}

 .mycalc {
 
width: 95%;
margin: 0 auto;
padding: 5px;
max-width: 320px;
float: left;

 }

.my-calc-form {
  float: left;
  margin-top: 320px;
  width: 260px;
  margin-left: -10px;
}
#kolotime {
  width: 380px;
}
 
 .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: 160px; 
  margin-top:0px; 
  width: 100%;
}

.primer01 {
   
  height: 100px; 
  width: 100%;
  margin-top:-10px; 
}


.primer02 {
  
  height: 100px; 
  width: 100%;
  margin-top:-10px; 
}

.primer03 {
  
  height: 100px; 
  width: 350px;
  margin-top:-10px; 
}

.primer04 {
   
  height: 100px; 
  width: 350px;
  margin-top: 10px; 
}
.primer05 {
  height: 190px; 
  margin-top:0px; 
  width: 100%;
}

#muhamor {
    font-size: 72px;
    color: red;
    text-align: center;
    margin: 0 auto;
    width: 100%;
    height: 100px;
    margin-top: 15px;

}
#muhcart {
	display: none;
	width: 365px;
    height: 190px;
}
.mycart {
	width: 65px;
	height: 91px;
	float: left;
	margin-right: 10px;
	font-size: 62px;
	text-align: center;
    color: #0a0a77;
    cursor: pointer;
	background: url(/math/countimg/pic/cart-fon.jpg) no-repeat;
}
.item-active {
	border: 3px solid #00ff08;
}
  
   .rslt {
   	height: 50px;
   	width: 254px;
   	margin-bottom: 25px;
   	font-size: 24px;

   }
   .pryklad {
   	font-size: 28px;
   	font-weight: bold;
    margin-bottom: 10px;


   }
   .clf {
    color: #c94c4c;
    font-size: 48px;
    margin: 1px;
   }

   .myh3 {
    width: 100%;
    height: 40px;
    font-size: 26px;
    font-weight: bold;
   }
   .menuradio {
    width: 100%;
    height: 30px;
   }
   .menuknopka {
    width: 100%;
    height: 40px;
   }
   .infomenu {
    width: 100%;
    height: 40px;
   } 

   .virno {
    padding: 5px;
    width: 40px;
    float: right;
    margin-top: -30px;
   }
   .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;
   }

   .daynight {
    float: right;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
   }

   .imgzirka {
    width: 320px;
    height: 177px;
   }
   .zirka {
    position: absolute;
    top: 250px;
   }
 
 #image-layout {
  height: 50px;
  width: 250px;
 }

 .simple-class {
  background: url(/math/countimg/pic/apelsin.png) no-repeat;
  height: 50px;
  width: 50px;
  float: left;
 }


#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 h3 {
  text-align: center;
  color: #555;
}
.content {
  padding: 0 1em;
}

#clock{
  font-family:Tahoma, sans-serif;
  font-size:20px;
  font-weight:bold;
  color:#0000cc;  
}
.daynight img{
  width: 75%;
}
.daytxt {
  display: block;
    margin-top: -50px;
    font-size: 30px;
    background: #ffff00b0;
    z-index: 100;
    position: relative;
}
#apelsin {
  margin-top: 30px;
}

@media only screen and (max-width: 894px) {

.virno img {
width:50px;
}
.myh3 {
  width: 250px;
}

#kolotime {
  width: 380px;
}
.daynight {
  margin-top: 0px;
}
.rslt {
  width: 200px;
}
 #tab_2:checked ~ #txt_2 { 
  width: 490px;
  padding: 10px;
}

}

@media only screen and (max-width: 640px) {
.virno img {
width:50px;
}
.myh3 {
  width: 250px;
}
.my-calc-form {
    margin-left: -40px;
}
#kolotime {
  width: 360px;
}
.daynight {
  margin-top: 0px;
  width: 140px;
}
.rslt {
  width: 200px;
}

 #tab_2:checked ~ #txt_2 { 
  width: 460px;
  padding: 10px;
}

  }

@media only screen and (max-width: 600px) {

.virno img {
width:50px;
}

.primer {
  width:190px;
  }

.my-calc-form {
  margin-top: 5px;
  margin-left: 0px;
}

#tab_2:checked ~ #txt_2 { 
  width: 370px;
  padding: 10px;
}

#tab_1:checked ~ #txt_1 { 
  height: 690px;
}
.primer02 {
  height: 90px;
  margin-top: 0;
}
.daytxt {
  margin-top: 0px;
}

}

@media only screen and (max-width: 480px) {

  .clf {
    font-size: 40px;
}
#tab_2:checked ~ #txt_2 { 
  width: 300px;
  padding: 10px;
  height: 490px;
}
#tab_1:checked ~ #txt_1 { 
  height: 705px;
}
#kolotime {
  width: 310px;
}
#timeCanvas {
  width: 45%;
}
.daynight {
  width: 45%;
  margin-right: 10px;
}
#muhcart {
  width: 100%;
  max-width: 340px;
}
.primer04 {
  width: 100%;
}
}
@media only screen and (max-width: 320px) {
  .infomenu {
    height: 70px;
  }
  .primer02 {
    height: 120px;
    margin-top: 0;
}
.primer03 {
 width: 300px;
}
}