/**
 * All of the CSS for the public-facing CSS source
 * for the MODEC motor model's specs.
 */
 table.motor-accessories-table {
  width: 100%;
  text-align: center;
  font-size: .9em;
  border-spacing: 0;
}

table.motor-accessories-table tbody tr td.single-header, table.motor-accessories-table tbody tr td.multi-header {
  background-color: rgb(245, 245, 245) !important;
  font-weight: 600 !important;
  padding-left: 10px;
  text-align: center;
}

table.motor-accessories-table.with-multi-fields tbody tr td.main.single-header{
    padding-right: 10%;
}

table.motor-accessories-table tbody tr td.sub-header{
    padding-left: 0px;
    width: 80px;
    max-width: 80px;
    min-width: 80px;
}

table.motor-accessories-table{
  border-collapse: collapse;
}


table.motor-accessories-table th,
table.motor-accessories-table td {
  border: 1px solid #ccc;
  font-size: .9em;
  padding: 4px;
}

table.motor-accessories-table td {
  background-color: white;
}

table.motor-accessories-table thead th {
  margin: 0;
  padding: 4px;
  font-size: .9em;
  font-weight: 600;
  vertical-align: center;
  color: white;
  background-color: #187cc3;
}

table.motor-accessories-table thead th {
  /*min-width: 100px;
  width: 100%;*/
}
table.motor-accessories-table thead th:first-child {
    min-width: 200px !important;
    width: 50% !important;
}
table.motor-accessories-table.layout-kit-box thead th {
    min-width: 100px;
    width: auto;
  }

table.motor-accessories-table thead th {
  margin: 0;
  padding: 4px;
  font-size:  1em;
  font-weight: 600;
  vertical-align: center;
  color: #374047;
  min-width: 85px;
  background-color: #eee;
}
table.motor-accessories-table thead th:first-child {
  color: white;
  background-color: var(--color-motor);
}
table.motor-accessories-table tbody th {
  background-color: #eee;
  font-weight: 600 !important;
}

table.motor-accessories-table tbody th a{
  font-weight: 600 !important;
}

@media only screen and (max-width: 600px) {
  .motor-accessories-table {
    max-width: 100%;
    width: 100%;
  }
}

table.motor-accessories-table span.power-range-chip {
  margin-right: 4px;
  padding: 0px 0px 0px 4px;
  border-radius: 1px;
  background: var(--color-motor);
  color: white;
  font-family: 'AvantGarde Regular';
  font-weight: 800;
  font-size: 14px;
}
table.motor-accessories-table a{
  color: #374047 !important;
}
table.motor-accessories-table a:hover  {
  color: var(--color-primary) !important;
}
table.motor-accessories-table a:hover span   {
  color: #ffffff90 !important;
}



/*
table.motor-accessories-table span.power-range-chip.power-range-05 { --color-motor: var(--color-power-range-05); }
table.motor-accessories-table span.power-range-chip.power-range-07 { --color-motor: var(--color-power-range-07); }
table.motor-accessories-table span.power-range-chip.power-range-08 { --color-motor: var(--color-power-range-08); }
table.motor-accessories-table span.power-range-chip.power-range-10 { --color-motor: var(--color-power-range-10); }
table.motor-accessories-table span.power-range-chip.power-range-20 { --color-motor: var(--color-power-range-20); }
table.motor-accessories-table span.power-range-chip.power-range-25 { --color-motor: var(--color-power-range-25); }
table.motor-accessories-table span.power-range-chip.power-range-30 { --color-motor: var(--color-power-range-30); }*/
table.motor-accessories-table.power-range-05{ --color-motor: var(--color-power-range-05); }
table.motor-accessories-table.power-range-07{ --color-motor: var(--color-power-range-07); }
table.motor-accessories-table.power-range-08{ --color-motor: var(--color-power-range-08); }
table.motor-accessories-table.power-range-10{ --color-motor: var(--color-power-range-10); }
table.motor-accessories-table.power-range-20{ --color-motor: var(--color-power-range-20); }
table.motor-accessories-table.power-range-25{ --color-motor: var(--color-power-range-25); }
table.motor-accessories-table.power-range-30{ --color-motor: var(--color-power-range-30); }

.motor-accessories-table-title{
  color: var(--color-primary);
  font-weight: 500;
  margin-bottom: 20px;
}

table.motor-accessories-table + .legend p{
  margin-top: 0;
}

table.motor-accessories-table tbody th {
  padding-left: 5px;
  text-align: left;
}
table.motor-accessories-table tbody th.child {
  padding-left: 25px;
}

table.motor-accessories-table tbody .chip{
  background-color: #fff;
  border: 1px solid var(--color-motor);
  color: var(--color-motor);
  padding: 0px 4px;
  margin: 0px 2px;
  border-radius: 10px;
}

table.motor-accessories-table tbody td a{
  font-weight: 400 !important;
}

table.motor-accessories-table tbody a:hover .chip{
  /*opacity: .8;*/
  color: white !important;
  background-color: var(--color-motor);
}

table.motor-accessories-table tbody .not-link.chip:hover{
  /*opacity: .8;*/
  color: white;
  background-color: var(--color-motor);
  opacity: .8;
}
