/**
 * All of the CSS for the public-facing CSS source
 * for the MODEC actuator's specs.
 */

:root {
  --color-actuator: var(--color-primary);
  --color-on-actuator: var(--color-on-primary);
}

div#actuator-options-specs {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}


div#actuator-options-specs table.actuator-options-specs-table {
  width: 100%;
  text-align: center;
  font-size: .9em;
  border-spacing: 0;
  white-space: nowrap;
}

div#actuator-options-specs table.actuator-options-specs-table, table.actuator-options-specs-table th, table.actuator-options-specs-table td {
  border-collapse: collapse;
  border: 1px solid #ccc;

}

div#actuator-options-specs table.actuator-options-specs-table th {
  margin: 0;
  padding: 0 8px;
  background-color: #cc651e;
  color: white;
  font-weight: 600;
}

div#actuator-options-specs table.actuator-options-specs-table tbody th {
  color: #374047;
  background-color: #eee;
  font-weight: 600;
}

div#actuator-options-specs table.actuator-options-specs-table thead > tr:first-child > th:first-child {
  width: 250px;
}
div#actuator-options-specs table.actuator-options-specs-table tbody > tr > th:first-child {
  width: 250px;
}
div#actuator-options-specs table.actuator-options-specs-table thead tr:first-child > th:first-child, table.actuator-options-specs-table td.merged-cells {
  color: var(--color-on-actuator);
  background-color:#cc651e;
  font-weight: 700;
}

div#actuator-options-specs table.actuator-options-specs-table tbody > tr > td:has(span.actuator-option-code-chip) {
  text-align: left;
  padding: 4px;
}
div#actuator-options-specs table.actuator-options-specs-table tbody > tr > td > span.actuator-option-code-chip {
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--color-on-actuator);
  background-color: #cc651e;
}

div#actuator-options-specs div#legend {
  font-style: italic;
}

div#actuator-options-specs div#notice {
  color: var(--color-actuator);
  border: 1px solid var(--color-actuator);
  padding: 5px 30px;
}
