main .calc-nav {
  display: flex;
  gap: 11px;
  margin-bottom: 20px;
  margin-top: 15px;
}
@media only screen and (max-width: 991px) {
  main .calc-nav {
    flex-direction: row;
    text-align: center;
    margin-top: 23px;
    margin-bottom: 23px;
  }
}
main .calc-nav li a {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0px;
  border-radius: 0px;
  font-size: 10px;
  padding: 5px 5px;
  background-image: url("../img/secondary-btn.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 27px;
  width: 132px;
  text-align: center;
}
main .calc-nav li a.active {
  background: transparent;
  color: #fff6f3;
  background-image: url("../img/main-btn.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 27px;
}

main .calc-nav li a.sumistnist {
  width: 158px;
}
.h1 {
  font-family: Enthalpy;
  font-weight: 400;
  font-size: 26px;
  color: #383838;
}
main .form {
  margin-top: 10px;
  font-weight: 400;
  color: #383838;
}
main .form label {
  font-size: 12px;
  display: block;
  margin-bottom: 14px;
}
main .form input {
  border: 0px;
  border-radius: 0px;
  background-color: transparent;
  display: block;
  font-size: 10px;
  padding: 4.5px 12px;
  color: #000;
  text-align: center;
  width: 112px;
  min-height: 26px;
  background-image: url("../img/input.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

input:focus-visible {
  outline-offset: 0px;
  outline-color: transparent;
}

main .form button {
  background-color: #0000;
  border: 0px;
  border-radius: 0px;

  font-weight: 400;
  font-size: 10px;
  text-align: center;
  color: #fff;
  margin-top: 10px;
  width: 112px;
  min-height: 26px;

  background-image: url("../img/calc-btn.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

main .form.form2 {
  display: flex;
  max-width: 229.4px;
  flex-wrap: wrap;
  gap: 0px 5px;
  justify-content: space-between;
}
main .form.form2 input {
  margin-bottom: 5px;
  max-width: 112px;
}

main h3 {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 9px;
}
main .row {
  display: flex;
  align-items: flex-start;
}
@media only screen and (max-width: 991px) {
  main .row {
    display: block;
  }
}
main .row .col-scheme {
  flex: 1;
  max-width: 665px;
  padding-top: 28px;
  margin-right: 34px;
}
@media only screen and (max-width: 991px) {
  main .row .col-scheme {
    margin-right: 0px;
  }

  main .form button {
    margin-top: 4px;
  }
}
main .row .col-scheme svg {
  display: block;
  width: 100%;
  height: 100%;
}
main .row .col-tables {
  flex: 1;
  max-width: none;
  padding-top: 27px;
}
.m-width-300 {
  max-width: 300px;
}
main .row .col-tables .date,
main .row .col-tables .age,
main .row .col-tables .date1,
main .row .col-tables .date2 {
  font-size: 12px;
}
main .row .col-tables .age,
main .row .col-tables .date2 {
  margin-bottom: 27px;
}
main .row .col-tables table {
  max-width: 300px;
}
main table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  text-align: center;
  border-collapse: collapse;
  border-radius: 5px;
  color: #383838;
  border-style: hidden; /* hide standard table (collapsed) border */
  box-shadow: inset 0 0 0 1px #8b0000; /* this draws the table border  */
}
.matricya-sumisnosti {
  margin-bottom: 12px;
  max-width: 170px !important;
}

.date2 {
  margin-top: 7px;
}
main thead {
  background-color: #0000;
  color: white;
  text-align: left;
  background-image: url("../img/table.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
main thead th {
  padding: 13px 10px;
  font-size: 9px;
  text-align: center;
  font-weight: 400;
}
main thead th:first-child {
  text-align: left;
}
main tbody tr {
  border-bottom: 1px solid #8b0016;
}
main tbody tr td {
  padding: 8px 9px;
  font-size: 11px;
  font-weight: 500;
}
main tbody tr td:first-child {
  font-weight: 500;
  font-size: 12px;
  text-align: left;
}
main tbody tr td:first-child span {
  display: block;
  font-weight: 500;
  font-size: 9px;
  color: #000;
}
main .big-table {
  margin-bottom: 50px;
}
main .table-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 20px;
}
main .table-row table {
  max-width: 140px;
}
main .table-row table thead th {
  padding: 9px 10px;
}
main .table-row table tbody tr td {
  font-size: 9px;
}
main .table-row table tbody tr td:first-child {
  font-size: 9px;
}
main .table-row.table-bottom {
  max-width: 414px;
  padding-top: 57px;
  gap: 46px;
}
@media only screen and (max-width: 991px) {
  main .table-row.table-bottom {
    display: block;
    padding-top: 38px;
  }
}
@media only screen and (max-width: 991px) {
  main .table-row.table-bottom > div:first-child {
    margin-bottom: 40px;
  }
}
main .table-row.table-bottom table {
  width: 190px;
  max-width: 190px;
}
main .table-row.table-bottom table td {
  height: 39px;
}