@media print {
    .kim-new-page, .answersHeader {
      page-break-before: always;
    }
    .allkims, .allAnswers{
      min-width: 100%;
      max-width: 100%;
    }

    .kim-full__task, .avoid, .kim-full__text15{
      page-break-inside: avoid;
    }

    .copyright, .fracBackground, .coordLine{
      -webkit-print-color-adjust: exact;
      color-adjust: exact;
    }

    .kim-settings{
      display: none;
    }
}


.allkims{
  width: 800px;
  margin: 0 auto;
}

.kim-full{
  position: relative;
}

.kim-full__task{
  /*margin: 5px;
  padding: 5px;*/
  vertical-align: top;
  /*border-top: 1px solid #000000;*/
  margin-bottom: 20px;
  margin-top: 20px;
}

.kim-full__taskNumber{
  width: 50px;
  height: 25px;
  border: 1px solid #000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: top;
  margin-right: 10px;
  margin-top: 1px;

}

.kim-full__taskText{
  display: inline-block;
  width: calc(100% - 70px);
}

.kim-full__part{
  width: 100%;
  text-align: center;
  font-weight: bold;
  font-style: italic;
  border: 1px solid #000;
  padding: 5px;
  margin: 10px 0;
}

.kim-full__task15header{
  text-align: center;
  font-weight: bold;
  font-style: italic;
}

.kim-full__title{
  text-align: center;
  padding: 5px;
  font-weight: bold;
  font-size: 20px;
}

.allAnswers{
  width: 800px;
  margin: 0 auto;
}

.answer-full{
  display: inline-block;
  padding: 10px;
  border: 1px solid #000;
  width: max-content;
  margin: 0px;
  vertical-align: top;
  border-collapse: collapse;
}

.answer-full__title{
  padding: 5px;
  font-weight: bold;
}

.kim-answer katex-element{
  display: inline-block;
}

.answersHeader{
  text-align: center;
  font-size: 18px;
  margin-bottom: 10px;
}

.kim-settings{
  width: 800px;
  margin: 0 auto;
  padding: 15px;
  background-color: #eaeaea;
  font-family: Arial;
  text-align: center;
  font-size: 18px;
  line-height: 2;
}

.kim-empty-page{
  display: block;
}

.for-button{
  text-align: right;
}

.btn-generate-kim{
  display: inline-block;
  margin-right: 7px;
}

.kim-copyright{
  position: absolute;
  font-size: 70px;
  font-family: Arial;
  font-weight: bold;
  opacity: 0.11;
  transform: rotate(-90deg);
  top: 270px;
  right: -200px;
}
