#h2{margin-top: 0;
   
    padding: 0px 30px 10px 10px;
    color: #fff;
    font-size: 25px;
    margin-bottom: 5px;
    font-weight: bold;}
#task-answer {
   display: inline-block;
    text-align: center;
    -webkit-user-select: none;
    padding: 20px;
    line-height: 2;
    color: #fff;
    font-size: 22px;
   
    min-width: 320px;
    margin-bottom: 30px;
    
}
.igra.nepr {
    position: relative;
}
.igra.pr {
    position: relative;
}

.igra.nepr::before {
    content: "";
    position: absolute;
    top: 60px;
    right: 60px;
    width: 75px;
    height: 75px;
    background-image: url("https://kid-mama.ru/wp-content/uploads/2026/01/krestik.png");
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    animation: fadeIn 0.3s ease-in-out forwards;
}
.igra.pr::after {content: "";
    position: absolute;
    top:60px;
    right: 60px;
    background-image: url(https://kid-mama.ru/wp-content/uploads/2026/01/галочка.png);
    display: block;
    width: 85px;
    height: 72px;
    background-size: cover;
    
  }
#pyt{ display: none;}
    details {
    display: block;
    margin-bottom: 25px;
}
.red{outline: solid 2px red;}
.green{outline: solid 2px #08a30c;}
.sum{font-size: 22px;
    color: #555555;
    border-bottom: 1px solid;
    cursor: pointer;}
button {
    text-transform: none;
    box-shadow: none;
    width: 150px;
    font-size: 20px; 
    box-shadow: none;
}

#task-answer {
    margin: auto;
    font-size: 25px;
    position: relative;}	
#task-answer.pr::after {content: "";
    position: absolute;
    top:-50px;
    right: 10px;
    background-image: url(https://kid-mama.ru/wp-content/uploads/2026/01/галочка.png);
    display: block;
    width: 85px;
    height: 72px;
    background-size: cover;
    
  }
#task-answer.nepr::before {
    content: "";
    position: absolute;
    top: -60px;
    right: 20px;
    width: 75px;
    height: 75px;
    background-image: url(https://kid-mama.ru/wp-content/uploads/2026/01/krestik.png);
    background-size: cover;
    opacity: 0; 
  
  /* Привязываем анимацию и ее параметры */
  animation: fadeIn 0.3s ease-in-out forwards;
  
}
    @keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}



#pred,#pred1{color:red;
    display:none;}  
 #d1, #d2, #d3,#d4 {
    font-size: 22px;
    color: #2196f3;
}    
#zag {
    color: #f7f1e5;
    padding: 60px 60px 0;
    line-height: 1.2;
    margin-bottom: 20px;
    font-size: 22px;
}
.solution-line {margin: 20px;}
  
.igra {
    position: relative;
    min-height: 650px;
    max-width: 900px;
    border-color: #5bb672;
    border-style: solid;
    border-width: 10px;
    text-align: center;
    width: auto;
    min-width: 370px;
    margin: 30px 0;
    
    padding-bottom: 35px;
    
    
    background-image: url(https://kid-mama.ru/wp-content/uploads/2026/10/doska2.png);
    background-size: 100% 100%;
    border-color: rgb(158, 158, 158);
    border-style: solid;
    border-width: 5px;
} 
#mal1 {
    position: absolute;
    bottom: 0;
    left: 5px;
    font-size: 10pt;
    line-height: 1.1;
    color: #fff;
    
    padding-left: 0;
    margin-bottom: 0;
}
    #a1,#a2,#a7,#salut,#w2{
    display: none;}
    
#num {
    position: absolute;
    background-image: url(http://kid-mama.ru/wp-content/uploads/2022/04/zvezda6-1-1.png);
    background-repeat: no-repeat;
    top: 0;
    font-size: 18px;
    right: 0;
    width: 60px;
    height: 60px;
    text-align: center;
    padding-top: 15px;
}

    #a1 {
    color: #fff;
    font-size: 25px;
    font-weight: bold;
   
    max-width: 250px;
    margin: auto;
    background-image: radial-gradient(#4caf50, #14bc21, #144a04);
    background-repeat: no-repeat;
    border-color: #fff;
    border-style: solid;
    border-width: 2px;
    padding: 20px;
    margin-bottom: 10px;	
}
#a2 {
        color: Red;
    font-size: 20px;
    }   
    #a4 {
        color: Red;
    font-size: 16px;
    font-style: italic;
    }   
    #a7 {
    color: #fff;
    font-size: 20px;
    background: red;
    max-width: 300px;
    margin: auto;
    background-image: radial-gradient(#e73939, #dc2121, #91100b);
    background-repeat: no-repeat;
    border-color: #fff;
    border-style: solid;
    border-width: 2px;
}
    #protv{font-size:22px;
    line-height: 2;
    font-family: 'Lucida Console', Monaco, monospace;}  

#prav,#dalshe1{
  display: none;
}

input[type="text"]{
    font-size: 45px;
    font-weight: normal;
    
    border: 1px solid #504d4d;
    color: #333;
    height: 60px;
    width: 100px;
    }
#otvet,#otvet2,#otvet3,#otvet4 {
    width: 90px;
    height: 50px;
    font-size: 24px;
    color: #fff;
    margin-left:10px;
    padding-left: 2px;
    padding-right: 0;
    
    background: #373535;
}

    #kolpr {
    font-size: 25px;
    font-weight: normal;
    background-color: #fff;
    border: 1px solid #bcbaba;
    color: #333;
    height: 30px;
    width: 60px;
    padding: 3px 5px;
    margin-bottom: 3px;
}
    .entry-content input[type="checkbox"] {
    zoom: 1.7; cursor:pointer;
}

    #ubr{
        margin-bottom:20px;}
    blockquote {
    
    padding-left: 15px;
}
    #mal {
    position: absolute;
    bottom: 0;
    font-size: 14pt;
    color: #fff;
    margin: auto;
    left: 0;
    right: 0;
}

.MathJax {
    font-size: 100% !important; /* Или 1em, чтобы соответствовать размеру родителя */
}
    #iks{line-height: 1.7em;
    font-style: italic;
    
        font-size: 20px;}
 .kn {
    color: #000;
    -webkit-user-select: none;
    height: 35px;
    cursor: pointer;
    font-size: 22px;
    padding: 0;
    background-image: linear-gradient(#f7f2f2, #f4eeee, #e2e4e7);
    background-repeat: no-repeat;
}

#knopki {
    max-width: 250px;
    margin: auto;
    margin-top:20px;
    table-layout: fixed;
}
#dalshe1 {
    background: none;
    color: #fff;
    position: absolute;
    top: 100px;
    width: 100%;
    
    text-align: center;
}

#finish-title {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 25px;
    line-height: 1.2;
}

#finish-result, #finish-total-result {
    font-size: 20px;
    margin-bottom: 25px;
}
#rezult, #game-fields {display: none;}

#sol {font-weight: bold;}
#play-more {
    width: 280px;
    z-index: 9999;
}
#a8{ width: 250px;
    margin: 10px auto;
    background: #fbfbb9;
    display:none;
}
table td {border-width: 1px;
    padding: 5px;
    border-style: solid;
    border-color: #bdbdbd;
    background-color: #ffffff;}
#task-equation{
    transition:opacity .2s;
}
.otv.empty {
    
    border: dashed 1px #fff;
    
}
table tr:hover {
    background-color: transparent !important;
}
.kn {
    color: #000;
    -webkit-user-select: none;
    height: 35px;
    cursor: pointer;
    font-size: 22px;
    padding: 0;
    background-image: linear-gradient(#f1e0bf, #ebdb98, #e7c33b);
    background-repeat: no-repeat;
    border-radius: 10px;
    line-height: 1.5;
}
.kn:hover {
  background-image: linear-gradient(#fbf4da, #fbf4da, #f1e0bf);
}
table, th, td {
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    border-collapse: collapse !important;
}
.sl1,
.sl2,
.sl3,
.sl4,
.sl5,
.otv {
    font-size: var(--task-size) !important;
}

@media screen and (max-width: 480px) {

    .sl1,
    .sl2,
    .sl3,
    .sl4,
    .sl5,
    .otv {
        font-size: var(--task-mobile-size) !important;
    }
    .igra.nepr {
    position: relative;
}

.igra.nepr::before {
    
    right: 20px;
    
}
.igra.pr::after {
    right: 20px;
    
    
  }

}
input.keyboard-active {
   border: 1px solid #f5f5f7;
    border-radius: 5px;
}

body.postid-17679 #otvet,
body.postid-17679 #otvet2 {
    width: 50px;
    padding: 5px;
    
}
#otvet,
#otvet2,
span {
    vertical-align: middle;
}
