html, body {
  font-size: 16px;
  font-family: 'Roboto', sans-serif;
  margin: 0;
  box-sizing: border-box;
}

.page {
  padding: 2rem;
  background: #fff;
  display: block;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.page[size="A4"] {
  width: 21cm;
  min-height: 29.7cm;
}

.page[size="A4"][layout="landscape"] {
  width: 29.7cm;
  height: 21cm;
}

h1 {
  padding: 8px 0;
  font-weight: 400;
}

h2 {
  padding: 8px 0;
  font-weight: 300;
}

table {
  border-collapse: collapse;
  width: 100%;
}

th {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .225px;
}

td {
  font-size: 14px;
}

th, td {
  text-align: left;
  padding: 8px;
}

tr.attr-grp-row th {
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, .12);
}

td.attr-label {
  width: 50%;
}

td.attr-value {
  width: 50%;
}

ul.bullet-pnts {
  font-size: 14px;
}

li.bullet-pnt {
  padding: 8px;
}

header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

header .header-details {
  flex: 50%;
}

header .image-picker {
  flex: 50%;
}

.header-details pre {
  font: inherit;
}

.image-picker-primary {
  width: 328px;
  height: 328px;
  max-width: 328px;
  max-height: 328px;
  margin: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid #cccccc;
  object-fit: contain;
}

.image-picker-primary-img {
  overflow: hidden;
  object-fit: contain;
  max-height: 280px !important;
  width: auto;
  height: auto;
}

.image-picker-slider {
  padding: 8px;
  align-items: center;
  justify-content: flex-start;
  width: 328px;
}

.image-picker-slider > img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  transition: border-color .14s ease-out;
  border: 2px solid #cccccc;
  overflow: hidden;
  margin-right: .4rem;
  cursor: pointer;
  object-fit: contain;
}

.image-picker-slider > img:hover {
  border: 2px solid #2196F3;
}

.file-list {
  list-style: none;
  margin: .8rem 0;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  padding: 0 8px;
}

.file-list .file-list-item {
  padding: 4px;
  display: flex;
  align-items: center;
}

.file-list-item .file-list-item-link {
  margin-left: .4rem;
}

.custom-scroll::-webkit-scrollbar {
  width: 18px;
  height: 18px;
}

.custom-scroll::-webkit-scrollbar-corner {
  background: transparent;
}

.custom-scroll::-webkit-scrollbar-thumb {
  border: 6px solid transparent;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  background-clip: padding-box;
}

.description {
    white-space: pre-wrap;
}

.download-buttons {
  display: flex;
  flex-direction: row-reverse;
  
  a {
    margin: 0 16px;
  }
}

.mat-button {
  margin-top: -30px;
  position: relative;
  overflow: hidden;
  -webkit-transition: background 400ms;
  transition: background 400ms;
  color: #fff;
  background-color: #2196f3;
  padding: 1em 1.5rem;
  font-family: 'Arial', sans-serif;
  font-size: 14px;
  font-weight: 600;
  outline: 0;
  border: 0;
  border-radius: 0.25rem;
  cursor: pointer;
}

.mat-button:hover {
  background-color: #51abf6 ;
}

/* The Modal (background) */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
}

/* Modal Content (the image) */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

/* Caption of Modal Image (Image Title) */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
}

/* Add Animation - Zoom in the Modal */
.modal-content, #caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
}

    .close:hover,
    .close:focus {
        color: #bbb;
        text-decoration: none;
        cursor: pointer;
    }

/* Fullscreen Icon on Images */
.fullscreen-icon {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 12px;
    color: white;
    background: rgba(0,0,0,0.5);
    padding: 5px;
    border-radius: 50%;
    cursor: pointer;
    display: none;
}

.primary-image-container {
    position: relative;
    display: inline-block;
    margin: 10px;
    width: fit-content;
    height: fit-content;
}

.image-container {
    position: relative;
    display: inline-block;
    width: 102px;
    height: 102px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

    .image-container:hover .fullscreen-icon {
        display: block;
    }

    .image-container:hover {
        border: 1px solid #007BFF !important; /* Blue border on hover */
    }

.primary-image-container:hover .fullscreen-icon {
    display: block;
}

.image-picker-primary-img,
.image-picker-img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    transition: 0.3s;
    height: auto;
    width: auto;
    margin: auto;
}

.image-picker-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}