/* Legacy ajaxtable extensions, images, device, and action rules. */

table.ajaxtable td.ajaxtable_image div.crop.picture_series {
  height: 100px;
}

div.ajaxtable_mainContainer {
  width: 100%;
  overflow: hidden;
  overflow-x: auto;
  box-sizing: border-box;
}

div.ajaxtable_mainContainer::-webkit-scrollbar {
  display: none;
}

div.ajaxtable_mainContainer {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

div.ajaxtable_subcontainer {
  position: relative;
  left: 0;
  overflow: visible;
  min-width: 100%;
  box-sizing: border-box;
}

div.ajaxtable_subcontainer.dragging {
  cursor: grab;
}

table.ajaxtable td.comment_text p,
table.ajaxtable td.comment_text li {
  margin-bottom: 5px;
  color: #666 !important;
}

table.ajaxtable td.comment_text p:last-child,
table.ajaxtable td.comment_text li:last-child {
  margin-bottom: 0;
}

table.ajaxtable span.donotdrag {
  cursor: auto;
  display: inline-block;
  vertical-align: middle;
}

table.ajaxtable td.ajaxtable_link span[data-doc-id] svg.svg-inline--fa,
table.ajaxtable a svg.svg-inline--fa.likeTableLink,
table.ajaxtable a.link svg.svg-inline--fa {
  font-size: 20px;
}

table.ajaxtable td.ajaxtable_link span[data-doc-id] svg.svg-inline--fa {
  color: var(--lor-color);
}

table.ajaxtable td.ajaxtable_link span[data-doc-id] svg.svg-inline--fa:hover,
table.ajaxtable a svg.svg-inline--fa.likeTableLink:hover,
table.ajaxtable a.link svg.svg-inline--fa:hover {
  color: var(--lor-color-dark);
}

table.ajaxtable a.link div svg.svg-inline--fa:hover {
  color: var(--lor-color-dark);
}

div.ajaxtable_bubble {
  position: absolute;
  top: 3px;
  display: inline-block;
  color: white !important;
  border-radius: 8px;
  background-color: red;
  text-align: center;
  overflow: visible;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.75);
  z-index: 1001;
  font-size: 0.7em;
  line-height: 2em;
  padding: 0 2px;
  min-width: 15px;
}

a:hover div.ajaxtable_bubble {
  background-color: darkred;
}

div.ajaxtable_bubble svg.svg-inline--fa {
  font-size: 1em;
  margin-right: 3px;
  position: relative;
  top: -1px;
}

a[data-filter-options] svg {
  transform: rotate(180deg);
  transition: transform 0.5s;
}

a:not(.filtersExist)[data-filter-options] svg {
  position: relative;
}

a[data-filter-options="0"] svg {
  transform: rotate(0deg);
}

a.linkIcon svg {
  color: var(--lor-color) !important;
  font-size: 1.8em !important;
  margin-left: 3px;
  padding: 0;
}

a.linkedColumn {
  border-bottom: none;
}

body.touchdevice a.linkedColumn,
a.linkedColumn:hover {
  text-decoration: none !important;
}

.APMdiv {
  width: auto;
  float: right;
  min-width: 50px;
  border-radius: 2px;
}

.APMdiv.APMbutton {
  cursor: pointer;
}

.APMdiv svg {
  color: white !important;
  margin-right: 6px !important;
}

div.ajaxtable span.userName {
  display: inline-block;
  font-weight: normal;
  color: #666;
  background-color: #f4f4f4;
  padding: 3px 5px;
  border-radius: 3px;
  width: auto;
  margin-left: 10px;
}

div.ajaxtable svg:has(+ span.userName:not(.noRealName)) {
  margin-left: 6px;
}

div.ajaxtable tr:hover span.userName {
  color: white;
  background: var(--lor-color);
}

textarea.ajaxtableData {
  display: none;
}

i.ajaxtable_columnIcon,
i.copyToClipboard:not(.standAloneButton) {
  visibility: hidden;
  margin-left: 5px;
  position: relative;
  top: 2px;
  color: #ccc !important;
  font-size: 1.1em !important;
}

tr:hover i.ajaxtable_columnIcon,
tr:hover i.copyToClipboard {
  visibility: visible;
}

tr:hover i.ajaxtable_columnIcon:hover,
a tr:hover i.copyToClipboard:hover {
  color: var(--lor-color) !important;
  cursor: pointer;
}

table.ajaxtable td div.pmmRenewCertificate {
  cursor: pointer;
  padding-right: 7px !important;
  width: 100%;
}

table.ajaxtable td div.pmmRenewCertificate:hover {
  background-color: darkred !important;
}

table.ajaxtable td div.pmmCertificate.white {
  background-color: white !important;
  color: #666 !important;
}

div.ajaxtable div.ajaxtable-select div.ajaxtableOptions.dateRange {
  color: var(--lor-color-dark);
}

div.ajaxtable div.ajaxtable-select div.ajaxtableOptions.dateRange svg {
  margin-left: 8px;
  font-size: 1.26em;
  position: relative;
  top: -1px;
}

div.ajaxtable div.ajaxtable-select div.ajaxtableOptions.dateRange:hover {
  color: var(--lor-color);
  cursor: pointer;
}

div.ajaxtable table.ajaxtable td.ajaxtable_link div.dataChangeButton svg {
  color: var(--lor-color);
  font-size: 1.15em;
}

div.ajaxtable table.ajaxtable td.ajaxtable_link div.dataChangeButton i:hover {
  color: var(--lor-color-dark);
}

div.ajaxtable table.ajaxtable td.ajaxtable_link div.dataChangeButton {
  position: relative;
  top: 0;
  left: 0;
  float: none !important;
}

div.ajaxtable table.ajaxtable tr td span.donotdrag div.dataChangeButton {
  width: 100%;
  text-align: center;
  margin-left: 1px;
}

div.ajaxtable table.ajaxtable tr:hover td span.donotdrag div.dataChangeButton {
  background-color: inherit !important;
}

div.ajaxtable table.ajaxtable tr:hover td span.donotdrag div.dataChangeButton:hover {
  background-color: #e8e8e8 !important;
}

div.ajaxtable table.ajaxtable tr:hover td span.donotdrag div.dataChangeButton:hover svg,
div.ajaxtable table.ajaxtable tr:hover td:hover span.donotdrag div.dataChangeButton:hover .afwclass {
  color: var(--lor-color-dark);
}

table.ajaxtable td span.donotdrag div.dataChangeButton svg.dataButtonIcon {
  right: 0;
}

div.ajaxtable table.ajaxtable td.ajaxtable_link.hxasButton {
  padding: 0 10px 0 5px;
}

div.ajaxtable table.ajaxtable td.ajaxtable_link.hasButton span.donotdrag {
  display: none;
}

.marginRight {
  margin-right: 6px;
}

span.ajaxTableTdContent {
  display: block !important;
  position: relative;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  box-sizing: border-box;
  width: 100%;
  min-width: 30px;
}

div.ajaxtable table.ajaxtable td.hasButton span.ajaxTableTdContent {
  text-align: left;
}

div.ajaxtable table.ajaxtable td.ajaxtable_link.hasButton span.ajaxTableTdContent {
  text-align: center;
}

td.ajaxtable_partnerrelation a:last-child {
  font-weight: bold;
}

td.ajaxtable_schemetitle a,
td.ajaxtable_dispensinggroups a {
  white-space: nowrap;
}

div.ajaxtable span.awfClass.copyToClipboard {
  margin-left: 6px;
  color: var(--lor-color);
  cursor: pointer;
}

div.ajaxtable span.awfClass.copyToClipboard:hover {
  color: var(--lor-color-dark);
}

div.ajaxtable div.headerClass.rotate90deg {
  transform: rotate(270deg);
}

p.noEntries,
p.noResultsButton {
  font-weight: normal;
  background-color: var(--lor-color);
  border-radius: 3px;
  display: inline-block;
  padding: 10px 15px 10px 10px;
  margin: 0 3px;
  width: auto !important;
  color: white !important;
}

p.noEntries svg,
p.noResultsButton svg {
  margin-right: 8px !important;
  font-size: 1.1em;
}

p.noResultsButton:hover {
  cursor: pointer;
  background-color: var(--lor-color-dark);
}

p.noEntries {
  background-color: red;
  position: relative;
}

p.noEntries.withOptions {
  margin-right: 10px;
}

p.noEntries.withOptions:after {
  content: " ";
  height: 0px;
  width: 0px;
  border: 10px solid red;
  border-color: transparent transparent transparent red;
  position: absolute;
  top: 10.5px;
  right: -19px;
}

div.ajaxtable-image {
  width: calc(35% - 15px);
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin-bottom: 10px;
}

div.ajaxtable-image.small {
  width: calc(20% - 15px);
}

div.ajaxtable-image div.crop.picture_series {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: auto;
  background-color: transparent;
  background-repeat: no-repeat;
}

div.ajaxtable-following-image {
  width: 65%;
  margin-left: 35% !important;
  display: block;
  margin: 0;
}

div.ajaxtable-following-image.small {
  width: 80%;
  margin-left: 20% !important;
}

@media (max-width: 1500px) {
  div.ajaxtable-image {
    width: calc(45% - 10px);
  }

  div.ajaxtable-image.small {
    width: calc(30% - 10px);
  }

  div.ajaxtable-following-image {
    width: 55%;
    margin-left: 45% !important;
  }

  div.ajaxtable-following-image.small {
    width: 70%;
    margin-left: 30% !important;
  }
}

@media (max-width: 1200px) {

  div.ajaxtable-image,
  div.ajaxtable-image.small {
    width: calc(50% - 10px);
  }

  div.ajaxtable-following-image,
  div.ajaxtable-following-image.small {
    width: 50%;
    margin-left: 50% !important;
  }
}

@media (max-width: 1050px) {

  div.ajaxtable-image,
  div.ajaxtable-image.small {
    width: 100%;
    display: block !important;
    position: relative;
    bottom: auto;
    right: auto;
  }

  div.ajaxtable-image div.crop.picture_series,
  div.ajaxtable-image.small div.crop.picture_series {
    position: relative;
    max-height: 400px;
    width: 100%;
  }

  div.ajaxtable-image div.crop.picture_series img,
  div.ajaxtable-image.small div.crop.picture_series img {
    width: 100%;
    height: auto;
    max-height: 400px;
  }

  div.ajaxtable-following-image,
  div.ajaxtable-following-image.small {
    width: 100%;
    margin-left: 0 !important;
    display: block !important;
  }
}

div.ajaxtable table.ajaxtable tr[data-apm-method="2"] td.apmstatusstring span.ajaxTableTdContent,
div.ajaxtable table.ajaxtable tr[data-apm-method="2"] td.lasttoken span.ajaxTableTdContent,
div.ajaxtable table.ajaxtable tr[data-apm-method="2"] td.lasttoken_date span.ajaxTableTdContent,
div.ajaxtable table.ajaxtable tr[data-apm-method="2"] td.apmdate_start span.ajaxTableTdContent,
div.ajaxtable table.ajaxtable tr[data-apm-method="2"] td.apmtime span.ajaxTableTdContent,
div.ajaxtable table.ajaxtable tr[data-apm-method="2"] td.apmtime_left span.ajaxTableTdContent,
div.ajaxtable table.ajaxtable tr[data-apm-method="2"] td.apmtime_end span.ajaxTableTdContent,
div.ajaxtable table.ajaxtable tr[data-apm-method="2"] td.blankcolumn1 span.ajaxTableTdContent {
  display: none !important;
}

div.APMbutton.blue {
  background-color: var(--lor-color-dark) !important;
  color: white !important;
}

div.openpaygo {
  background-color: orange !important;
}

div.openpaygo_addDevices {
  background-color: red !important;
}

div.openpaygo_addDevices:hover {
  background-color: darkred !important;
  cursor: pointer;
}

div.ajaxtable table.ajaxtable span.deviceSpan {
  font-family:
    Consolas, "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", Monaco,
    "Courier New", "monospace";
  padding: 1px 4px !important;
  color: var(--lor-color);
  background-color: #fafafa;
  border-radius: 4px;
  font-size: 14px;
  position: relative;
}

div.ajaxtable tr td.ajaxtable_devicelist span.deviceSpan {
  margin: 0 0 5px 0;
}

div.ajaxtable table.ajaxtable span.deviceSpan+span.deviceSpan,
div.ajaxtable table.ajaxtable a.linkSpan+a.linkSpan {
  margin-left: 3px;
}

div.ajaxtable tr td.ajaxtable_devicelist {
  padding-bottom: 2px !important;
}

div.ajaxtable table.ajaxtable tr:hover span.deviceSpan {
  background-color: white;
  color: #333;
}

div.ajaxtable table.ajaxtable a:hover span.deviceSpan {
  background-color: var(--lor-color);
  color: white;
}

div.ajaxtable table.ajaxtable span.deviceSpan.lorOnlyItemNo {
  color: red;
}

div.ajaxtable table.ajaxtable tr:hover span.deviceSpan.lorOnlyItemNo {
  background-color: white;
  color: darkred;
}

div.ajaxtable table.ajaxtable a:hover span.deviceSpan.lorOnlyItemNo {
  background-color: red;
  color: white;
}

div.ajaxtable table.ajaxtable td.isBlankColumn.hasButton {
  width: 40px;
}

div.ajaxtable table.ajaxtable td.isBlankColumn.hasButton div.dataChangeButton {
  right: 1px;
}

div.ajaxtable table.ajaxtable td.ajaxtable_link.noContent.hasButton.hasNoLabel div.dataChangeButton {
  margin: 0;
}

div.ajaxtable table.ajaxtable td.isBlankColumn.hasButton div.dataChangeButton span.awfClass {
  color: var(--lor-color);
}

table.ajaxtable td.hasButton:not(.ajaxtable_link) span.ajaxTableTdContent {
  padding: 0 5px;
}

table.ajaxtable td.hasButton:not(.ajaxtable_link):hover span.ajaxTableTdContent {
  background-color: #e8e8e8;
  border-radius: 3px;
}

div.ajaxtable div.ajaxtableSpinnerBox {
  width: 100%;
  min-height: 100px;
  border: 1px solid #f0f0f0;
  visibility: hidden;
}

div.ajaxtable div.ajaxtableSpinnerBox span.note {
  display: inline-block;
  padding: 10px;
  border-radius: 5px;
  margin: 50px calc(50% - 50px);
  background-color: var(--lor-color);
  color: white;
  white-space: nowrap;
  width: 100px;
  text-align: center;
}

div.ajaxtable div.ajaxtableSpinnerBox span.note svg {
  margin-right: 8px;
}

span.donotdrag.ajaxTableCopied {
  color: white !important;
  background-color: var(--lor-color) !important;
  border-radius: 3px;
  padding: 0 1px;
  width: auto !important;
}

span.donotdrag.ajaxTableCopied a {
  color: white !important;
  background-color: var(--lor-color) !important;
}

div.ajaxtable span.ajaxShortenedContent {
  padding: 5px;
  display: inline-block;
  width: auto !important;
  border-radius: 3px;
  text-overflow: ellipsis;
  overflow: hidden;
  /* max-width: 200px; */
  margin-top: 5px;
}

div.ajaxtable tr:hover span.ajaxShortenedContent.tooltip {
  background-color: white;
  cursor: zoom-in;
}

div.ajaxtable tr:hover span.ajaxShortenedContent.tooltip:hover {
  background-color: var(--lor-color);
  color: white;
}

div.ajaxtable td.isBlankColumn.hasButton.hasNoLabel div.dataChangeButton {
  left: 11px;
  right: 7px !important;
}

div.ajaxtable td.isBlankColumn.hasButton.hasNoLabel div.dataChangeButton.hasNoLabel {
  left: 0px;
  right: 0px !important;

  text-align: center;
}

div.ajaxtableImageSubtitle {
  position: absolute;
  bottom: 0;
  font-size: 12px;
  letter-spacing: -0.5px;
}

table.ajaxtable th.enforceLeft,
table.ajaxtable td.enforceLeft {
  text-align: left !important;
}

table.ajaxtable th.enforceLarge,
table.ajaxtable td.enforceLarge {
  width: auto !important;
}

table.ajaxtable svg.fileListIcon {
  vertical-align: -3px !important;
  margin-right: 4px;
  height: 16px;
}

div.ajaxtable table.enforce5050 th,
div.ajaxtable table.enforce5050 td {
  width: 50% !important;
}

div.ajaxtable table.enforce2080 th,
div.ajaxtable table.enforce2080 td {
  width: 80% !important;
}

div.ajaxtable table.enforce2080 th:first-child,
div.ajaxtable table.enforce2080 td:first-child {
  width: 20% !important;
}

td.ajaxtable_tags div[data-toggle-status="1"] {
  background-color: var(--lor-color) !important;
}

td.ajaxtable_tags div[data-toggle-status="1"].toggleTag:hover {
  background-color: var(--lor-color-dark) !important;
  cursor: pointer;
}

td.ajaxtable_tags div[data-toggle-status="0"] {
  background-color: #ddd !important;
}

td.ajaxtable_tags div[data-toggle-status="0"].toggleTag:hover {
  background-color: #999 !important;
  cursor: pointer;
}

.divWithIcon svg {
  margin-right: 5px;
  position: relative;
  top: -2px;
  font-size: 16px;
}

div.ajaxtable div.ajaxtable-buttons {
  margin-bottom: 8px;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 6px;
}

div.ajaxtable div.ajaxtable-buttons div.dataChangeButton {
  margin-left: 0;
  border-radius: 0;
  padding: 5px 10px;
  width: auto;
  display: inline-block;
  background-color: var(--lor-color);
  color: white;
  margin-right: 5px;
}

div.ajaxtable div.ajaxtable-buttons div.dataChangeButton span.awfClass {
  color: white;
}

div.ajaxtable div.ajaxtable-buttons div.dataChangeButton:hover {
  background-color: var(--lor-color-dark);
}

div.ajaxtable div.ajaxtable-buttons div.dataChangeButton:hover span.awfClass {
  color: white !important;
}

div.ajaxtable div.ajaxtable-buttons div.dataChangeButton.hasLabel span.buttonLabel {
  top: -2px;
}

div.popuptable div.mainContent div.tab_container.responsiveTabs {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  bottom: 0 !important;
  right: 0 !important;
}

div.tab_container.responsiveTabs div.tabs {
  display: none !important;
}

div.popuptable div.mainContent div.tab_container.responsiveTabs div.tab_box,
div.tab_container.responsiveTabs div.tab_box {
  display: block !important;
  position: relative !important;
  height: auto !important;
  top: 0 !important;
}

table.ajaxtable span.divSeparator {
  display: inline-block;
  border-left: 1px solid #f4f4f4;
  min-height: 29px;
  vertical-align: middle;
  margin-left: 2px;
  margin-right: 2px !important;
  height: 100%;
  position: relative;
  top: -1px;
}

table.ajaxtable a:hover span.divSeparator {
  border-left: 1px solid #ccc;
}


div.ajaxtable span.percentage {
  width: 35px;
  text-align: right;
  padding-left: 10px;
  padding-right: 1px;
  margin-left: 10px;
  border-left: 1px solid #ccc;
  font-weight: normal !important;
}