@page {
  margin: 0;
}

/** Paper sizes **/
/** Padding area **/
/** For screen preview **/
/** Fix for Chrome issue #273306 **/
body {
  margin: 0;
}

* {
  font-weight: bold;
}

.sheet {
  margin: 0;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
  page-break-after: always;
}

body .id-card .sheet {
  width: 2.13in;
  height: 3.38in;
}

body.A3 .sheet {
  width: 297mm;
  height: 419mm;
}

body.A3.landscape .sheet {
  width: 420mm;
  height: 296mm;
}

body.A4 .sheet {
  width: 210mm;
  height: 296mm;
}

body.A4.landscape .sheet {
  width: 297mm;
  height: 209mm;
}

body.A5 .sheet {
  width: 148mm;
  height: 209mm;
}

body.A5.landscape .sheet {
  width: 210mm;
  height: 147mm;
}

body.letter .sheet {
  width: 216mm;
  height: 279mm;
}

body.letter.landscape .sheet {
  width: 280mm;
  height: 215mm;
}

body.legal .sheet {
  width: 216mm;
  height: 356mm;
}

body.legal.landscape .sheet {
  width: 357mm;
  height: 215mm;
}

.sheet.padding-5mm {
  padding: 5mm;
}

.sheet.padding-10mm {
  padding: 10mm;
}

.sheet.padding-15mm {
  padding: 15mm;
}

.sheet.padding-20mm {
  padding: 20mm;
}

.sheet.padding-25mm {
  padding: 25mm;
}

@media screen {
  body {
  }

  .sheet {
    background: white;
    box-shadow: 0 0.5mm 2mm rgba(0, 0, 0, 0.3);
    margin: 5mm auto;
  }
}

@media print {
  body.A3.landscape {
    width: 420mm;
  }

  body.A3 {
    width: 297mm;
  }

  body.A4.landscape {
    width: 297mm;
  }

  body.A4 {
    width: 210mm;
  }

  body.A5.landscape {
    width: 210mm;
  }

  body.A5 {
    width: 148mm;
  }

  body.letter {
    width: 216mm;
  }

  body.legal {
    width: 216mm;
  }

  body.letter.landscape {
    width: 280mm;
  }

  body.legal.landscape {
    width: 357mm;
  }
}

.certificate {
  font-family: Arial, Helvetica, sans-serif;
}

.certificate .result-body {
  border: 1px solid black;
  padding: 3mm;
  height: 97.5%;
  position: relative;
}

.certificate .result-body .head .qr {
  position: absolute;
  right: 2mm;
  top: 2mm;
  height: 80px;
}

.certificate .result-body .head .head-logo {
  position: absolute;
  left: 5mm;
  top: 5mm;
}

.certificate .result-body .head .head-logo img {
  height: 100px;
}

.certificate .result-body .head .head-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.certificate .result-body .head .head-content * {
  margin: 0;
}

.certificate .result-body .head .head-content .quote {
  font-style: italic;
}

.certificate .result-body .head .head-content .school-name {
  text-transform: uppercase;
  margin-top: 5px;
  margin-bottom: 5px;
  font-weight: bold;
  max-width: 80%;
  font-size: 2rem;
}

.certificate .result-body .head .head-content .exam-name {
  font-size: 2rem;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 20px;
}

.certificate .result-body .head .head-content .progress {
  text-transform: uppercase;
  font-weight: bold;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.certificate .result-body .student-details {
  display: flex;
  justify-content: space-between;
  border: 1px solid black;
  padding: 2mm;
}

.certificate .result-body .student-details * {
  text-transform: uppercase;
}

.certificate .result-body .result-table {
  margin-top: 5mm;
}

.certificate .result-body .result-table .table {
  width: 100%;
  border-collapse: collapse;
}

.certificate .result-body .result-table .table td,
.certificate .result-body .result-table .table th {
  height: 30px;
}

.certificate .result-body .result-table .table * {
  font-size: 0.8rem;
}

.certificate .result-body .result-table .table th {
  text-transform: uppercase;
}

.certificate .result-body .result-table .table .subject {
  width: 170px;
}

.certificate .result-body .result-table .table .subject-marks td {
  text-align: center;
  text-transform: uppercase;
}

.certificate .eca-marks {
  display: grid;
  gap: 0 10px;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 5px;
}

.certificate .eca-marks .marks-single {
  border: 1px solid black;
  display: grid;
  grid-template-columns: 10fr 1fr;
  padding: 0 10px;
}

.certificate .eca-marks .marks-single .value {
  border-left: 1px solid black;
  padding-left: 5px;
}

.certificate .result-body .grade-info-table {
  margin-top: 1mm;
}

.certificate .result-body .grade-info-table table {
  width: 100%;
  border: 1px solid black;
  border-collapse: collapse;
}

.certificate .result-body .grade-info-table table td {
  text-align: center;
}

.certificate .result-body .grade-info-table table .grade-info.title {
  text-align: left;
}

.certificate .result-body .grade-info-table table .obtained-marks {
  width: 50%;
  text-align: left;
  padding: 1mm;
}

.certificate .result-body .grade-info-table table .obtained-marks .marks-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2mm;
}

.certificate
  .result-body
  .grade-info-table
  table
  .obtained-marks
  .marks-info
  .title {
  border: 1px solid black;
  margin-right: 1mm;
  text-transform: uppercase;
  font-size: 0.8rem;
  padding: 2px;
}

.certificate .result-body .result-info {
  display: grid;
  gap: 5mm;
  grid-template-columns: repeat(2, 1fr);
}

.certificate .result-body .result-info table {
  border-collapse: collapse;
  width: 100%;
}

.certificate .remarks {
  word-break: break-all;
  line-height: 2rem;
}

.certificate .result-body .signatures {
  position: absolute;
  bottom: 5mm;
  display: flex;
  left: 5mm;
  right: 5mm;
  justify-content: space-between;
}

.certificate .result-body .signatures .sign-single {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-transform: uppercase;
}

.certificate .result-body .signatures .sign-single .title {
  font-size: 0.9rem;
  padding-top: 3px;
}

/*# sourceMappingURL=main.css.map */
