#gelform-title {
  text-transform: uppercase;
  font-size: 22pt;
}

#plusmark-wrapper {
  position: absolute;
  top: 0;
  right: 12px;
  padding: 12px;
}

#plusmark-wrapper button {
  padding: 12px;
  background: transparent;
}

#plusmark-wrapper i {
  font-size: 24px;
  color: #fdce31;
  transition: color 0.4s ease;
}

#plusmark-wrapper button:hover i {
  color: white;
  transition: color 0.4s ease;
}

input.qty {
  width: 80px !important;
}

.thwepo-image-box {
  width: 999px !important;
}

.thwepo-inline {
  margin-right: 4px !important;
}

div#gelform_header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

div#gelform_header h3 {
  padding-top: 0 !important;
}

div#gelform_header p {
  margin-bottom: 0 !important;
}

tr[class*="gelform_"] .thwepo-image-label,
tr[class*="gelform_"] td.label {
  display: none !important;
}

tr[class*="gelform_scansize_"] td.label {
  display: table-cell !important;
}

tr[class*="gelform_"] .thwepo-image-group-item {
  margin-right: 0 !important;
  width: 19% !important;
}

@media (max-width: 768px) {
  tr[class*="gelform_"] td.value {
    margin-top: 0;
    width: calc(100vw);
  }
  tr[class*="gelform_"] .thwepo-image-group-item {
    margin-right: 0 !important;
    width: 19% !important;
  }
}

#gelform_header_wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

#gelform-preview-image {
  border: 2px gray solid;
  border-radius: 12px;
}

@media (min-width: 1280px) {
  #gelform-preview-image {
    margin-top: -100px;
  }
  #plusmark-wrapper {
    margin-top: -100px;
  }
}

@media (max-width: 768px) {
  #gelform_header_wrapper {
    grid-template-columns: 1fr;
  }
  div#gelform-preview-image-wrapper-div {
    order: 1;
    width: 95%;
  }
  div#gelform-selected-form {
    order: 2;
    width: 95%;
  }
}

#gelform_header_wrapper img {
  /* width: 100%;
  height: 100%; */
  /* object-fit: cover; */
}

/* Gelform photographer overlay */

#photographer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

#sample-image-credits-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5); /* semi-transparent black */
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#sample-image-credits-modal {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  max-width: 90%;
  max-height: 90%;
  overflow: auto;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

#photographer-credit {
  color: transparent;
}
