table {
  text-align: center;
}
table td {
  background-color: #fff !important;
}
table th {
  background-color: #333 !important;
  color: #fff;
}
table th,
table td {
  font-size: 10px;
  padding: 5px;
  vertical-align: middle;
  border: 1px solid #333;
}
table th {
  border: 1px solid #333;
}
table img {
  height: 100px !important;
  width: auto;
  object-fit: contain;
}
table.pdf input[type="text"],
table.pdf select {
  width: 80px;
  padding: 0;
  text-align: center;
  font-size: 10px;
  border: 1px solid #333;
  color: #333;
}
table.pdf textarea {
  width: 200px;
  padding: 5px;
  min-height: 100px;
  text-align: left;
  font-size: 10px;
  border: 1px solid #333;
  color: #333;
}

table.pdf input[type="text"]::placeholder {
  color: #333;
}

table.pdf input[type="text"][readonly]:focus {
  outline: none;
}
table.pdf input[type="text"][readonly] {
  border: 0;
  padding: 0;
}
table td.no-border {
  border: 0;
}
table tr.total-row {
  border: 1px solid #333;
}
table[data-type="igiena"] th:nth-child(3) {
  width: 400px;
}
.pdf-buttons label,
.pdf-wrapper label {
  display: flex;
  max-width: 250px;
  width: 100%;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.pdf-buttons button:disabled {
  opacity: 0.3;
  pointer-events: none;
}
.pdf-buttons {
  margin-top: 1rem;
  padding-bottom: 5rem;
}
.pdf-buttons > div {
  display: flex;
  flex-direction: column;
  width: fit-content;
  gap: 1rem;
  margin-top: 2rem;
}
.pdf-buttons > * + * {
  margin-top: 1rem;
}
.email-message {
  display: none;
  font-weight: bold;
}
.email-message.visible {
  display: block;
}

.email-message span.success {
  color: #4d7740;
}
.email-message span.error {
  color: #892525;
}

.bold {
  font-weight: bold;
}
.accordion {
  user-select: none;
  -webkit-user-select: none;
}
.accordion-head {
  padding: 0.25rem 0rem;
  margin: 0;
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  align-items: center;
  transition: 0.3s ease all;
}
.accordion-head:hover {
  /* background-color: rgba(0, 0, 0, 0.1); */
}
.accordion-head label {
  margin: 0;
  cursor: pointer;
}
input[type="checkbox"] {
  accent-color: #333;
  flex-shrink: 0;
}
.accordion-head h3 {
  margin: 0;
  font-size: 1rem;
  padding-left: 0rem;
}
.accordion-content .accordion-head {
  padding-left: 1rem;
}
.accordion-content .accordion-content .accordion-head {
  padding-left: 2rem;
}
.accordion-content .accordion-content .accordion-content .accordion-head {
  padding-left: 3rem;
}
.accordion-head.has-terms {
  cursor: pointer;
}
.accordion-content {
  display: none;
}
.accordion-head .accordion-icon {
  position: relative;
  width: 11.5px;
  height: 11.5px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.accordion-head .accordion-icon::before,
.accordion-head .accordion-icon::after {
  content: "";
  background-color: #333;
  position: absolute;
}
.accordion-head .accordion-icon::before {
  width: 100%;
  height: 2px;
}
.accordion-head .accordion-icon::after {
  height: 100%;
  width: 2px;
}
.accordion-head.active .accordion-icon::after {
  display: none;
}
.accordion-content.active {
  display: block;
}

.pdf-main {
  display: flex;
  gap: 10px;
  margin-bottom: 3rem;
}
.pdf-sidebar {
  flex-basis: 25%;
  max-width: 25%;
  flex-shrink: 0;
}
.pdf-content {
  flex: 1;
}
.pdf-content table,
.pdf-content .downloads-grid {
  display: none;
}
.pdf-content .downloads-grid {
  margin-top: 3rem;
}
.pdf-content table.active {
  display: table;
}
.pdf-content table th:last-child,
.pdf-content table td:last-child {
  display: none;
}

.pdf-content .downloads-grid.active {
  display: grid;
}

.pdf-content .downloads-grid a.button {
  position: absolute;
  color: #fff;
  margin-top: -3rem;
}
.row-categories {
  font-weight: bold;
  margin: 0;
}
#content button.delete:focus {
  outline: none;
}
#content button.delete:hover {
  background-color: #333;
}
#content button.delete {
  background-color: #892525;
  border-radius: 50%;
  padding: 0;
  width: 15px;
  height: 15px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
#content button.delete span {
  display: block;
  margin: -1px 0 0 1px;
}

/* body.logged-in img {
  filter: blur(50px);
} */

.ui-state-highlight {
  height: 120px;
}
.ui-state-highlight td {
  background-color: #eee !important;
}

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.downloads-grid div {
  border: 1px solid #ddd;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
}

.downloads-grid-image-wrapper {
  background-color: #eee;
}
.downloads-grid div img {
  height: 75px;
  width: 75px;
  object-fit: contain;
}
.downloads-grid a {
  color: #000;
  text-decoration: none;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.downloads-grid div img.download_icon {
  height: 16px;
  width: 16px;
  flex-shrink: 0;
}

.cell-icons {
  width: 40px;
  margin: 0 auto;
}
.cell-icons::after {
  clear: both;
  display: block;
  content: "";
}
.cell-icons img {
  width: 30px !important;
  height: 30px !important;
  padding: 1px;
  display: block;
  margin: 0 auto;
}
.cell-icons-2 {
  width: 70px;
}
.cell-icons-2 img {
  display: inline-block;
}

@media (max-width: 768px) {
  .downloads-grid {
    grid-template-columns: 1fr;
  }
  .pdf-main {
    flex-direction: column;
  }
  .pdf-sidebar {
    max-width: 100%;
    flex-basis: 100%;
  }
  #main-header {
    flex-direction: column;
    padding: 1rem 0rem !important;
  }
  #main-header .custom-logo-link {
    flex-basis: initial !important;
  }
  #main-header .menu {
    padding: 1rem 0;
  }
  .menu li span:first-child {
    flex-basis: 15px;
    max-width: 15px;
  }
  .menu li span:first-child img {
    height: 20px;
    width: 20px;
  }
  .menu li a {
    font-size: 12px;
  }
  .pdf-content,
  .pdf-wrapper {
    width: 100%;
    overflow-x: scroll;
  }
}
