/*
 * Application: data-button; Author: Michael Stoyke; Version: 1.1.3; Updated: 2026-11-10.
 * Shared button presentation, legacy table controls and narrow-screen labels.
 * Keep declaration order: table states and important overrides intentionally build on the base.
 * Application-specific table/branding adaptations remain with their owning stylesheets.
 */

.dataChangeButton span.awfClass {
  position: relative;
  color: #bbb;
  font-size: 19px !important;
}

div.ajaxtable .dataChangeButton.hasLabel span.buttonLabel {
  position: relative;
  top: 4px;
}

.dataChangeButton span.awfClass+span.buttonLabel {
  margin-left: 8px;
}

table p>.dataChangeButton {
  float: right;
}

div.ajaxtable .dataChangeButton span.awfClass {
  color: #f4f4f4;
}

div.ajaxtable .dataChangeButton.hasLabel span.awfClass {
  color: #e0e0e0;
}

div.ajaxtable tr:hover td .dataChangeButton span.awfClass {
  color: var(--lor-color);
}

div.ajaxtable tr:hover td .dataChangeButton:hover span.awfClass {
  color: var(--lor-color-dark);
  cursor: pointer;
}

div.dataChangeButton {
  padding: 10px 13px;
  position: relative;
  top: 0;
  color: var(--lor-color-dark);
  background-color: #fcfcfc;
  font-weight: normal;
  font-size: 14px;
  margin: 2px 4px 2px 0;
  line-height: 2.2em;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
}

div.ajaxtable div.dataChangeButton {
  float: none;
}

div.dataChangeButton.left {
  float: left !important;
  margin-left: 0 !important;
  margin-right: 4px !important;
}

div.customerNET_landingDIV h3 div.dataChangeButton {
  background-color: #f8f8f8;
}

div.customerNET_landingDIV h3 div.dataChangeButton:hover {
  background-color: var(--lor-color);
}

div.dataChangeButton:hover span.awfClass {
  color: white;
}

div.dataChangeButton span {
  display: inline-block;
}

div.dataChangeButton svg+span,
div.dataChangeButton span.awfClass+span {
  margin-left: 8px;
}

div.ajaxtable table.ajaxtable td div.dataChangeButton,
table.standard_table td .dataChangeButton {
  background-color: #fafafa !important;
  line-height: 10px;
  padding: 6px;
  position: relative;
  font-size: 13px;
  display: inline-block;
  vertical-align: middle;
  border-radius: 4px;
}

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

div.ajaxtable table.ajaxtable tr:hover td div.dataChangeButton:hover {
  background-color: var(--lor-color) !important;
  color: white !important;
}

div.ajaxtable table.ajaxtable td.hasButton div.dataChangeButton,
div.ajaxtable table.ajaxtable td.ajaxtable_apmrights div.dataChangeButton,
div.ajaxtable table.ajaxtable td.ajaxtable_partnerlevel div.dataChangeButton,
table.standard_table td .dataChangeButton {
  padding: 5px;
  background-color: transparent !important;
  display: inline-block;
  vertical-align: middle;
}

table.standard_table tr td .dataChangeButton {
  top: calc(50% - 20px);
  right: 10px;
  color: #f4f4f4;
}

table.standard_table tr:hover td .dataChangeButton {
  color: var(--lor-color);
}

table.standard_table tr td .dataChangeButton:hover {
  color: var(--lor-color-dark);
  cursor: pointer;
}

div.ajaxtable table.ajaxtable td.ajaxtable_apmrights div.dataChangeButton,
div.ajaxtable table.ajaxtable td.ajaxtable_partnerlevel div.dataChangeButton {
  left: 0px;
}

div.ajaxtable table.ajaxtable tr:hover td.ajaxtable_apmrights div.dataChangeButton:hover,
div.ajaxtable table.ajaxtable tr:hover td.ajaxtable_partnerlevel div.dataChangeButton:hover {
  color: var(--lor-color-dark);
}

div.ajaxtable table.ajaxtable td.hasButton div.dataChangeButton span.awfClass {
  color: #f4f4f4;
  right: 5px;
}

div.ajaxtable table.ajaxtable td.hasButton div.dataChangeButton.hasNoLabel span.awfClass {
  right: 0;
}

div.ajaxtable table.ajaxtable td.hasButton.noContent div.dataChangeButton.hasNoLabel span.awfClass {
  right: 5px;
}

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

div.ajaxtable table.ajaxtable td.hasButton:hover div.dataChangeButton:hover span.awfClass {
  color: var(--lor-color-dark) !important;
}

div.dataChangeButton i {
  margin-right: 10px;
  font-size: 1.6em;
  top: 2px;
  position: relative;
  color: var(--lor-color);
}

div.ajaxtable table.ajaxtable div.dataChangeButton i {
  color: #ddd;
}

div.ajaxtable table.ajaxtable tr:hover td div.dataChangeButton {
  background-color: white;
}

div.ajaxtable table.ajaxtable tr:hover td.hasButton div.dataChangeButton {
  background-color: transparent !important;
}

div.ajaxtable table.ajaxtable tr:hover td div.dataChangeButton span.awfClass {
  color: var(--lor-color) !important;
}

div.ajaxtable table.ajaxtable tr:hover td:hover div.dataChangeButton:hover span.awfClass {
  color: var(--lor-color-dark) !important;
}

div.ajaxtable table.ajaxtable tr:hover td:hover div.dataChangeButton.hasLabel span.awfClass:hover,
div.ajaxtable table.ajaxtable tr:hover td:hover div.dataChangeButton.hasNoLabel span.awfClass:hover {
  color: var(--lor-color-dark) !important;
}

div.ajaxtable table.ajaxtable tr:hover td.hasButton:hover div.dataChangeButton span.awfClass {
  color: var(--lor-color) !important;
}

div.dataChangeButton:hover,
span.dataChangeButton:hover {
  background-color: var(--lor-color);
  color: white;
  cursor: pointer;
}

div.dataChangeButton:hover i {
  color: white;
}

div.ajaxtable table.ajaxtable tr td:hover div.dataChangeButton:hover i {
  color: white;
}

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

/* Shared legacy table controls, collected in their original relative order. */

div.ajaxtable table td.hasButton.hasNoLabel.noContent div.dataChangeButton {
  position: relative;
  width: 100%;
  text-align: center;
}

div.ajaxtable table td.hasButton.hasNoLabel.noContent.ajaxtable_onoff div.dataChangeButton {
  text-align: right;
}

table.ajaxtable td svg.dataButtonIcon {
  font-size: 20px !important;
}

table.ajaxtable td.hasButton.hasNoLabel.noContent svg.dataButtonIcon {
  right: 1px;
  top: 0.5px;
}

table.ajaxtable td.ajaxtable_partnerlevel div.dataChangeButton {
  position: relative;
  top: 0;
  float: left;
}

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;
}

/* Historical .afwclass spelling retained pending confirmation of legacy markup. */
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.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);
}

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.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;
}

@media (max-width: 900px) {
  div.dataChangeButton span {
    display: none;
  }
}