/* Base table cell style */

.ajaxtable_cell {
  color: #666 !important;
  font-size: 13.4px;
  letter-spacing: -0.5px;
}

/* Table cell style for specific formats */

.ajaxtable_cell.ajaxtable_number,
.ajaxtable_cell.ajaxtable_datetime,
.ajaxtable_cell.ajaxtable_onoff,
.ajaxtable_cell.ajaxtable_small,
div.ajaxtable_container table tr td.ajaxtable_onoff,
div.ajaxtable_container table thead th.ajaxtable_number,
div.ajaxtable_container table thead th.ajaxtable_datetime,
div.ajaxtable_container table thead th.ajaxtable_onoff,
div.ajaxtable_container table thead th.ajaxtable_small {
  width: 1px;
}

.ajaxtable_cell.ajaxtable_div {
  width: 1px;
}

.ajaxtable_cell.ajaxtable_images {
  min-width: 180px;
}

.ajaxtable_cell.ajaxtable_number,
.ajaxtable_cell.ajaxtable_datetime,
.ajaxtable_cell.ajaxtable_onoff,
.ajaxtable_cell.ajaxtable_small,
div.ajaxtable_container table tr td.ajaxtable_onoff,
div.ajaxtable_container table thead th.ajaxtable_number,
div.ajaxtable_container table thead th.ajaxtable_datetime,
div.ajaxtable_container table thead th.ajaxtable_onoff,
div.ajaxtable_container table thead th.ajaxtable_small {
  white-space: nowrap;
}

.ajaxtable_cell.ajaxtable_nowrap {
  white-space: nowrap;
}

div.ajaxtable_container table tr td.ajaxtable_onoff > span.ajaxtable_onoff > i,
div.ajaxtable_container table tr td.ajaxtable_onoff > span.ajaxtable_onoff > svg {
  display: inline-block;
  font-size: 1.6em !important;
  line-height: 1;
  vertical-align: middle;
}

span.ajaxtable_number_separator {
  display: inline-block;
  white-space: pre;
}

span.ajaxtable_nobreak,
span.ajaxtable_dot,
span.ajaxtable_comma {
  width: 4px;
}

span.ajaxtable_dot,
span.ajaxtable_comma,
span.ajaxtable_nobreak {
  text-align: center;
}

span.ajaxtable_number_separator::before {
  content: attr(data-separator);
}

span.ajaxtable_nobreak::before {
  content: ' ';
}

span.ajaxtable_dot::before {
  content: '.';
}

span.ajaxtable_comma::before {
  content: ',';
}

/* Icons */

.ajaxtable_cell.ajaxtables_cell_with_icon span.ajaxtable_icon {
  margin-right: 8px;
}

.ajaxtable_cell.ajaxtables_cell_with_icon.ajaxtable_partnerid span.ajaxtable_icon {
  display: none;
}

/* Link */

.ajaxtable_cell.ajaxtable_link a.ajaxtable_internalLink {
  display: inline-block;
  width: auto;
  max-width: 100%;
  text-decoration: none !important;
}

.ajaxtable_cell.ajaxtable_link a.ajaxtable_internalLink .ajaxtable_cell_content {
  border-top: 1px solid transparent;
  color: var(--ajaxtable-color-text-link);
  border-radius: 0;
  transition: color 0.18s ease;
}

.ajaxtable_cell.ajaxtable_link a.ajaxtable_internalLink:hover .ajaxtable_cell_content {
  color: var(--ajaxtable-color-text-link-hover);
}

.ajaxtable_cell.ajaxtable_link a.ajaxtable_internalLink:not(:has(> .ajaxtable_cell_content)) {
  border-top: 1px solid transparent;
  transition: color 0.18s ease;
}

.ajaxtable_cell.ajaxtable_link a.ajaxtable_internalLink:not(:has(> .ajaxtable_cell_content)):hover {
  color: var(--ajaxtable-color-text-link-hover);
}

.ajaxtable_cell.ajaxtable_link.ajaxtable_div a.ajaxtable_internalLink,
.ajaxtable_cell.ajaxtable_link.ajaxtable_div a.ajaxtable_internalLink:hover {
  color: inherit;
  text-decoration: none;
}

div.ajaxtable_container a:hover {
  text-decoration: none !important;
}

.ajaxtable_cell.ajaxtable_link a.ajaxtable_internalLink span.linkSpan {
  color: var(--ajaxtable-color-text-link);
  cursor: pointer;
  border-bottom: 1px solid transparent;
  transition: border-bottom-color 0.18s ease, color 0.18s ease;
}

.ajaxtable_cell.ajaxtable_link a.ajaxtable_internalLink span.linkSpan:hover {
  color: var(--ajaxtable-color-text-link-hover);
  border-bottom: 1px solid var(--ajaxtable-color-text-link-hover);
}

.ajaxtable_cell.ajaxtable_link.ajaxtable_div a.ajaxtable_internalLink .ajaxtable_divElement {
  transition: background-color 0.18s ease, color 0.18s ease;
}

.ajaxtable_cell.ajaxtable_link.ajaxtable_div a.ajaxtable_internalLink:hover .ajaxtable_divElement {
  background-color: var(--lor-color-dark);
}

div.ajaxtable_container table tr td.ajaxtable_div {
  padding: 6px;
}

.ajaxtable_divElement {
  display: inline-block;
  min-width: 80px;
  padding: 8px 4px;
  margin: 1px 2px 1px 0;
  border-radius: 4px;
  background-color: var(--ajaxtable-color-text-link);
  color: #fff;
  font-size: 13px;
  line-height: 16px;
  text-align: center;
}

.ajaxtable_imageGallery {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.ajaxtable_imageGallery[data-ajaxtable-sortable-gallery="1"] {
  position: relative;
  align-items: flex-start;
  padding: 10px 10px 10px 24px;
  margin: -10px -10px -10px -24px;
}

.ajaxtable_imageGallery[data-ajaxtable-sortable-gallery="1"] .ajaxtable_imageItem[data-ajaxtable-sortable-item="1"] {
  cursor: move;
}

.ajaxtable_imageGallery img.ajaxtable_image {
  display: block;
  max-width: none;
  border-radius: 8px;
  cursor: pointer;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16), 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease;
}

.ajaxtable_imageGallery[data-ajaxtable-sortable-gallery="1"] img.ajaxtable_image {
  cursor: move;
}

.ajaxtable_imageGallery[data-ajaxtable-sortable-gallery="1"].ajaxtable_isSorting .ajaxtable_imageItem[data-ajaxtable-sortable-item="1"] .ajaxtable_image {
  box-shadow: 0 0 0 1px var(--lor-color-dark-08);
}

.ajaxtable_imageGallery[data-ajaxtable-sortable-gallery="1"] .ajaxtable_imageItem.ui-sortable-helper {
  display: inline-flex;
  align-items: flex-start;
}

.ajaxtable_imageGallery[data-ajaxtable-sortable-gallery="1"] .ajaxtable_imageItem.ui-sortable-helper .ajaxtable_image {
  transform: scale(1.03);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  opacity: 0.96;
}

.ajaxtable_imageGallery[data-ajaxtable-sortable-gallery="1"] .ajaxtable_imagePlaceholder {
  position: relative;
  display: inline-flex;
  min-width: 90px;
  min-height: 90px;
  border: 1px solid rgba(90, 90, 90, 0.24);
  border-radius: 8px;
  background: linear-gradient(
    135deg,
    rgba(120, 120, 120, 0.18) 0%,
    rgba(170, 170, 170, 0.3) 100%
  );
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  box-sizing: border-box;
}

.ajaxtable_imageGallery[data-ajaxtable-sortable-gallery="1"] .ajaxtable_imagePlaceholder::before {
  content: 'drop here';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 6px 10px;
  border-radius: 999px;
  background-color: var(--lor-color);
  box-shadow: 0 0 0 3px var(--lor-color-12);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.ajaxtable_imageGallery[data-ajaxtable-sortable-gallery="1"] .ajaxtable_imagePlaceholder::after {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 6px;
  border: 2px dashed var(--lor-color);
  box-shadow: inset 0 0 0 1px var(--lor-color-08);
}

.ajaxtable_uppercase {
  text-transform: uppercase;
}

.ajaxtable_lowercase {
  text-transform: lowercase;
}

.ajaxtable_bold {
  font-weight: bold;
}

.ajaxtable_sn {
  width: 150px;
  font-family: Consolas, 'Andale Mono', 'Lucida Console', 'Lucida Sans Typewriter', Monaco, 'Courier New', monospace;
}