@font-face {
  font-family: "Dodger";
  src: url("/static/assets/fonts/dodger3_2.ttf");
}

html {
  position: relative;

  background-image: linear-gradient(to bottom, #daece7, #d9ebe6);

  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}

body {
  position: relative;
  margin: 0;
  padding: 0;

  display: flex;
  flex-direction: column;
  align-content: center;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;

  min-width: 21cm;
  min-height: 29cm;
  max-width: 21cm;
  max-height: 29cm;
}

.paper {
  position: relative;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  align-items: center;
  justify-content: space-between;

  min-width: 20cm;
  min-height: 28.7cm;

  max-width: 20cm;
  max-height: 28.7cm;

  padding: 1vh;
  border-radius: 16px;

  background: #fff;

  margin: 1vh;
}

.background-overly {
  position: absolute;
  object-position: center;
  object-fit: contain;

  width: 48rem;
  height: 61.5rem;

  background-position: bottom;
  background-size: contain;
  background-repeat: no-repeat;

  opacity: 50%;

  transition: opacity 0.3s ease;
  z-index: 1;
}

.background-overly.hidden {
  opacity: 0;
  pointer-events: none;
}

.header {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  align-items: center;
  justify-content: flex-start;

  width: 100%;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  align-content: center;
  flex-wrap: nowrap;
  flex-direction: row;

  width: 100%;
}

.header-flex .item-infos {
  width: 100%;
}

.header .company-info {
  display: flex;
  flex-direction: row-reverse;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: flex-end;
  align-items: center;

  font-family: sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
}

.header .item-title {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  align-content: center;
  flex-direction: column;
  flex-wrap: nowrap;
}

.header .item-title .title {
  font-family: Arial Narrow;
  font-size: 1.5rem;
  font-weight: 500;

  margin-left: 1vh;
  margin-right: 1vh;
  margin-bottom: 0.5vh;
}

.header .header-border {
  width: 100%;
}

.header .item-model {
  display: flex;
  align-items: center;
}

.header .item-model .model {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: Arial Narrow;
}

.header .item-model .series {
  font-size: 1rem;
  font-weight: 700;
  font-family: Arial Narrow;
}

.header .company-info .texts {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.header .company-info .logo {
  max-height: 3rem;
  margin-right: 1vh;
  margin-left: 1vh;
}

.header .company-info .name {
  font-family: "Dodger";
  text-align: center;
  font-size: 1.5rem;
}

.header .company-info .website-url {
  color: #283894;
}

.body {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;

  width: 100rem;
  height: 100rem;

  max-width: 100%;
  max-height: 100%;
}

.body .first-information {
  position: relative;

  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
  flex-direction: row;
  align-items: center;
  align-content: center;

  width: 100%;
}

.body .first-information .qr-codes {
  position: absolute;
  right: 1rem;
  top: 0.5rem;

  display: flex;
  flex-direction: row-reverse;
  height: 6.3rem;
}

.body .first-information .qr-code {
  margin-left: 2vh;

  border: 2px solid #000;
  border-radius: 4px;

  display: flex;
  flex-direction: column-reverse;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.body .first-information .qr-code .url {
  margin-top: 0.5vh;

  font-family: Arial;
  font-weight: 700;
  font-size: 0.75rem;
}

.body .first-information .qr-code img {
  height: 4rem;
}

.body .first-information .dimension {
  position: relative;

  padding: 1vh;

  border: 2px solid #000;
  border-radius: 4px;
}

.body .first-information .dimension .title {
  position: absolute;

  font-family: sans-serif;
  font-weight: 300;
  font-size: 2vh;

  background: #fff;
  padding: 1vh;

  top: -2vh;
  left: 2vh;
}

.body .first-information .dimension div {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.body .first-information .dimension div span {
  text-align: center;

  font-family: sans-serif;
  font-size: 1.5vh;
}

.body .imgs {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  align-items: center;
  justify-content: space-evenly;
}

.body .imgs .main img {
  max-width: 18rem;
  max-height: 18rem;
  padding: 1rem;
  object-fit: contain;
}

.body .imgs .others {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.body .imgs .others img {
  padding: 1vh;
  max-width: 13rem;
  max-height: 13rem;
}

.body .standards {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.body .standards img {
  height: 2rem;

  margin-left: 0.3rem;
  margin-right: 0.3rem;
}

.body .two-flex .features,
.body .two-flex .applications {
  min-width: 40%;
  width: fit-content;
  max-width: 100%;
}

.row {
  width: 100%;
  margin-top: 0.6rem;
  margin-bottom: 0.6rem;
}

.body .imgs,
.two-flex {
  margin: 0;
}

.row .title {
  display: flex;
  align-content: center;
  align-items: center;
  flex-direction: row;
  flex-wrap: nowrap;

  font-family: sans-serif;
  font-weight: 700;
  font-size: 1rem;

  height: 1.2vh;
}

.row .title span {
  margin-left: 1vh;
  margin-right: 1vh;
}

.row .content {
  font-size: 1rem;
  font-family: sans-serif;
  font-weight: 300;
  line-height: 1.2rem;
}

.additional .additional-image {
  display: flex;
  justify-content: center;

  margin-top: 1rem;
}

.additional .small img {
  max-width: 15rem;
  max-height: 15rem;
}

.additional .medium img {
  max-width: 18rem;
  max-height: 18rem;
}

.additional .large img {
  max-width: 45rem;
  max-height: 20rem;
}

.additional .additional-text {
  margin-top: 0.6rem;
  margin-bottom: 0.6rem;
}

.description .content {
  margin-top: 0.5rem;
}

.row .title .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  align-content: center;
  flex-direction: column;
  flex-wrap: nowrap;

  font-size: 1.5rem;
  margin-bottom: 0.7vh;
}

.two-flex {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: nowrap;
}

.body .model-encoding .content .model {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;

  font-family: sans-serif;
  font-weight: 700;
  font-size: 1.2rem;

  margin-left: 1rem;
  margin-top: 1rem;
}

.body .model-encoding .content .model .part {
  position: relative;
}

.body .model-encoding .content .model .part .name {
  border-bottom: 1px solid #000;
}

.body .model-encoding .content .model .box {
  font-weight: 300;

  border-left: 1px solid #000;
  border-bottom: 1px solid #000;

  position: absolute;

  left: 50%;

  top: 1.35rem;
}

.body .model-encoding .content .model .box .encode {
  font-size: 1.2rem;

  position: absolute;
  text-align: left;

  bottom: -0.9vh;

  width: 50vw;
}

.body .model-encoding .content .model .box1 {
  height: 7rem;
  width: 10.5rem;
}

.body .model-encoding .content .model .box1 .encode {
  left: 11rem;
}

.body .model-encoding .content .model .box2 {
  height: 5.5rem;
  width: 7.5rem;
}

.body .model-encoding .content .model .box2 .encode {
  left: 8rem;
}

.body .model-encoding .content .model .box3 {
  height: 3.9rem;
  width: 4.5rem;
}

.body .model-encoding .content .model .box3 .encode {
  left: 5rem;
}

.body .model-encoding .content .model .box4 {
  height: 2.5rem;
  width: 2.5rem;
}

.body .model-encoding .content .model .box4 .encode {
  left: 3rem;
}

.body .model-encoding .content .model .model-space {
  margin-right: 1vh;
  margin-left: 1vh;
}

.footer {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: flex-end;
  align-items: flex-end;
  justify-content: space-between;

  width: 100%;

  position: absolute;
  bottom: 0;
}

.footer .qr-code-container {
  display: flex;
  align-items: flex-end;

  position: relative;
  height: 5rem;
  width: 5rem;
}

.footer .qr-code-container img {
  height: 4.5rem;
  position: absolute;
}

.footer .file-info {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: flex-end;
  align-items: flex-end;

  width: 16rem;

  bottom: 0;
  right: 0;
}

.footer .file-info .info {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;

  font-style: italic;
  font-weight: 500;
  font-size: 0.65rem;
  color: #b2b2b2;
  line-height: 0.7rem;

  margin: 0.3rem;
}

.footer .page-number {
  font-weight: 300;
  font-size: 0.65rem;
  font-style: italic;
  color: #b2b2b2;

  margin: 0.3rem;
}

.footer .barcodes {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: flex-start;
  align-items: center;

  width: 80%;

  margin-right: 1rem;
  margin-left: 1rem;
}

.footer .barcode-item {
  display: flex;
  flex-direction: column;
  text-align: center;
  margin: 0.3rem;

  color: #b2b2b2;
}

.footer .barcode-title {
  font-size: 0.5rem;
  font-weight: bold;
}

.footer .barcode-image {
  max-height: 1.5rem;
}

.footer .barcode-code {
  font-size: 0.5rem;
}

.specification .content {
  display: flex;
  justify-content: center;

  margin-top: 0.75rem;
}

.mainTable {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;

  min-width: 95%;
  max-width: 95%;
}

.mainTable .tcolumn {
  display: flex;
  align-items: stretch;
  flex-direction: row;
  flex-wrap: nowrap;
  width: 100%;
}

.mainTable .tcell {
  display: flex;
  flex-direction: row;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  position: relative;
  border: 1px solid #000;
  background: #fff;
}

.mainTable .tcell span {
  display: flex;
  height: 100%;
  align-items: center;

  text-align: center;

  font-feature-settings: "ss01";

  justify-content: center;
  font-size: 0.8rem;

  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.mainTable .tcellbold {
  font-weight: 700;
}

.mainTable .tcellColerd {
  background-color: #e5e5e5;
  justify-content: center;
}

.mainTable .baseF {
  display: flex;
  justify-content: space-between;
  height: 100%;
  padding: 0;
}

.mainTable .baseF span {
  text-align: center;
  width: 90%;
}

.mainTable .features {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  height: 100%;
  width: 100%;
}

.mainTable .features span {
  width: 100%;
}

.mainTable .features .tcell {
  position: relative;

  display: flex;
  justify-content: center;

  text-align: center;

  width: 100%;
  height: 100%;
  border-top: 0;
  border-right: 0;
}
.mainTable .tcellNoRight {
  border-right: 0;
}

.mainTable .tcellNoLeft {
  border-left: 0;
}

.mainTable .tcellNoTop {
  border-top: 0;
}

.mainTable .tcellNoBottom {
  border-bottom: 0;
}

.mainTable .same-value {
  position: absolute;
  left: 0;
  top: 0;

  background: #fff;
  box-sizing: border-box;
  z-index: 1;

  border-color: #fff;
}

.tools {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;

  width: 100%;
}

.tools .logo,
.tools .logo:hover {
  display: flex;
  justify-content: center;
  align-items: center;

  text-decoration: none;
  background: unset;
  border: none;
  box-shadow: unset;

  width: 100%;
}

.tools .logo img {
  height: 4vh;
}

.tools .buttons {
  width: 100%;

  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.tools a,
.tools button {
  display: flex;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;

  text-decoration: none;
  padding: 1vh;
  background-color: #505050;
  border: 1px solid #505050;
  border-radius: 8px;
  box-shadow: 0px 0px 8px 0px #505050;
  color: #fff;

  font-family: "Signika", Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.5vh;

  transition: all 0.5s;

  padding: 1vh;
  margin: 0.7vh;
}

.tools button:hover,
.tools a:hover {
  cursor: pointer;

  background: #000;

  transition: all 0.5s;
}

.tools button img,
.tools a img {
  margin: 0;
  height: 2.5vh;
}

.tools button span,
.tools a span {
  margin-left: 0.25rem;
  margin-right: 0.25rem;
}

.language-switcher {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row-reverse;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.language-switcher .language-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-decoration: none;

  color: #000;
  font-size: 1.5vh;

  background: #d9fdd3;
  border-color: #50a846;
  border-radius: 8px;

  padding: 1vh;
  min-width: 8vh;

  box-shadow: 0px 0px 8px 0px #4fff006b;

  transition: all 0.3s ease;
}

.language-switcher .language-item:hover {
  background: #e0ffe8;
  border-color: #008f88;
  transform: translateY(-2px);
  cursor: pointer;
}

.language-switcher .language-item span {
  font-family: "Vazirmatn";
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

.document {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}

footer .copyright {
  color: #878787;
  font-weight: 500;
  font-size: 1.3vh;
  margin: 1rem;
}

@media print {
  * {
    -webkit-print-color-adjust: exact !important;
    color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  @page {
    size: A4;
    margin: 6mm;
  }

  html {
    background: #fff;
  }

  .paper {
    margin: 0;
  }

  .tools,
  footer,
  .language-switcher {
    display: none;
  }
}
