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

:root {
  --color-motor: var(--color-primary);
}

table.motor-option-exhaust-collectors-specs .power-range-chip.power-range-05 { --color-motor: var(--color-power-range-05); }
table.motor-option-exhaust-collectors-specs .power-range-chip.power-range-07 { --color-motor: var(--color-power-range-07); }
table.motor-option-exhaust-collectors-specs .power-range-chip.power-range-08 { --color-motor: var(--color-power-range-08); }
table.motor-option-exhaust-collectors-specs .power-range-chip.power-range-10 { --color-motor: var(--color-power-range-10); }
table.motor-option-exhaust-collectors-specs .power-range-chip.power-range-20 { --color-motor: var(--color-power-range-20); }
table.motor-option-exhaust-collectors-specs .power-range-chip.power-range-25 { --color-motor: var(--color-power-range-25); }
table.motor-option-exhaust-collectors-specs .power-range-chip.power-range-30 { --color-motor: var(--color-power-range-30); }

table.motor-option-exhaust-collectors-specs {
  width: 100%;
  text-align: center;
  font-size: .9em;
  border-spacing: 0;
  max-height: 500px;
  /*display: block !important;*/
}

table.motor-option-exhaust-collectors-specs {
  display: block !important;
  overflow: auto;
}

table.motor-option-exhaust-collectors-specs{
  border-collapse: collapse;
}

table.motor-option-exhaust-collectors-specs th, table.motor-option-exhaust-collectors-specs td {
  border: 1px solid #ccc;
}

table.motor-option-exhaust-collectors-specs thead th {
  margin: 0;
  padding: 4px;
  font-weight: 600;
  vertical-align: center;
  color: var(--color-on-primary);
  background-color: var(--color-motor);
}
table.motor-option-exhaust-collectors-specs thead th:not(:first-child) {
  min-width: 130px;
  /* max-width: 100px; */
  width: 1%;
  color: #374047;
  background-color: #eee;
}
table.motor-option-exhaust-collectors-specs thead th:first-child {
  width: 0%;
  position: sticky;
  left: 0;
  z-index: 100;
  min-width: 200px;
  max-width: 500px;
}

table.motor-option-exhaust-collectors-specs tbody th {
  background: #eee;
  font-weight: 600;
}
table.motor-option-exhaust-collectors-specs tbody th .power-range-chip-container {
  display: flex;
  justify-content: center;
}
table.motor-option-exhaust-collectors-specs tbody th .power-range-chip {
  background: var(--color-motor);
  margin: 2px;
  padding: 4px;
  padding-top: 0;
  padding-bottom: 0;
  border-radius: 2px;
  font-size: 18px;
  font-family: 'AvantGarde Regular';
  text-align: center;
  color: white;
}



table.motor-option-exhaust-collectors-specs thead {
min-width: 130px;
    /* max-width: 100px; */
    width: 1%;
}

table.motor-option-exhaust-collectors-specs thead th{
  position: relative;
}

table.motor-option-exhaust-collectors-specs thead th::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #ccc;
  z-index: -1;
}
table.motor-option-exhaust-collectors-specs thead th::after {
  content: "";
  position: absolute;
  top: 0;
  right: -1px;
  width: 1px;
  height: 100%;
  background-color: #ccc;
  z-index: -1;
}

table.motor-option-exhaust-collectors-specs tbody th .power-range-chip-container,
table.motor-option-exhaust-collectors-specs tbody td .power-range-chip-container {
  display: flex;
  font-family: 'AvantGarde Regular';
  font-weight: 800;
  justify-content: center;
}
table.motor-option-exhaust-collectors-specs tbody th .power-range-chip,
table.motor-option-exhaust-collectors-specs tbody td .power-range-chip {
  background: var(--color-motor);
  margin: 2px;
  padding: 4px;
  padding-top: 0;
  padding-bottom: 0;
  border-radius: 1px;
  font-size: 18px;
  font-family: 'AvantGarde Regular';
  text-align: center;
  color: white;
}

.motor-option-exhaust-collectors-specs-title{
  color: var(--color-primary);
  margin-bottom: 20px;
}