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

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

div#actuator-heads-specs {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
/*
div#actuator-heads-specs.actuator-motorization-electric {
  --color-actuator: var(--color-actuator-electric);
  --color-on-actuator: var(--color-on-primary);
}
div#actuator-heads-specs.actuator-motorization-gas {
  --color-actuator: var(--color-actuator-gas);
  --color-on-actuator: var(--color-on-primary);
}
div#actuator-heads-specs.actuator-motorization-pneumatic {
  --color-actuator: var(--color-actuator-pneumatic);
  --color-on-actuator: var(--color-on-primary);
}*/

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

div#actuator-heads-specs table.actuator-heads-specs-table {
  border-collapse: collapse;
}
table.actuator-heads-specs-table th, table.actuator-heads-specs-table td {
  border: 1px solid #ccc;
}
table.actuator-heads-specs-table td {
  background-color: white;
}

div#actuator-heads-specs table.actuator-heads-specs-table th {
  margin: 0;
  padding: 0 8px;
  font-weight: 600;
  color: white;
  background-color: var(--color-actuator);
  width: 35%;
}


div#actuator-heads-specs table.actuator-heads-specs-table th:not(:first-child) {
  color: #374047;
  background-color: #eee;
}

div#actuator-heads-specs table.actuator-heads-specs-table thead > tr:first-child > th:first-child {
  max-width: 250px;
  width: 30%!important;
}
div#actuator-heads-specs table.actuator-heads-specs-table tbody > tr > th:first-child {
  width: 250px;
}
div#actuator-heads-specs table.actuator-heads-specs-table tbody > tr > td:first-child {
  width: 250px;
  color: #374047;
  background-color: #eee;
  font-weight: 600;
}
div#actuator-heads-specs table.actuator-heads-specs-table thead tr:first-child > th:first-child, table.actuator-heads-specs-table td.merged-cells {
  color: var(--color-on-actuator);
  background-color: var(--color-actuator);
  font-weight: 700;
}

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

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

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


.actuator-heads-specs-title{
  font-weight: 400;
  color: var(--color-primary)
}