/* CWP Market Focus Table */

.amplify-cwp-market-focus {
  overflow-x: auto;
}

.amplify-cwp-market-focus__wrapper {
  width: 100%;
  overflow-x: auto;
}

.amplify-cwp-market-focus__table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 0;
  table-layout: fixed;
}

/* Remove all borders */
.amplify-cwp-market-focus__table,
.amplify-cwp-market-focus__table th,
.amplify-cwp-market-focus__table td {
  border: 0 !important;
}

/* Header */
.amplify-cwp-market-focus__table thead tr {
  background-color: #f5f5f5;
}

.amplify-cwp-market-focus__table thead th {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.3em;
  padding: 16px 14px;
  text-align: left;
  vertical-align: middle;
  color: #333333;
  text-transform: uppercase;
}

.amplify-cwp-market-focus__table thead th sup {
  font-size: 9px;
  vertical-align: super;
}

/* Column widths */
.amplify-cwp-market-focus__table thead th:nth-child(1),
.amplify-cwp-market-focus__table tbody td:nth-child(1) {
  width: 8%;
}

.amplify-cwp-market-focus__table thead th:nth-child(2),
.amplify-cwp-market-focus__table tbody td:nth-child(2) {
  width: 22%;
}

.amplify-cwp-market-focus__table thead th:nth-child(3),
.amplify-cwp-market-focus__table tbody td:nth-child(3) {
  width: 14%;
}

.amplify-cwp-market-focus__table thead th:nth-child(4),
.amplify-cwp-market-focus__table tbody td:nth-child(4) {
  width: 12%;
}

.amplify-cwp-market-focus__table thead th:nth-child(5),
.amplify-cwp-market-focus__table tbody td:nth-child(5) {
  width: 16%;
}

.amplify-cwp-market-focus__table thead th:nth-child(6),
.amplify-cwp-market-focus__table tbody td:nth-child(6) {
  width: 14%;
}

.amplify-cwp-market-focus__table thead th:nth-child(7),
.amplify-cwp-market-focus__table tbody td:nth-child(7) {
  width: 14%;
}

/* Rows */
.amplify-cwp-market-focus__table tbody tr {
  border-bottom: 1px solid #e0e0e0 !important;
}

/* Cells */
.amplify-cwp-market-focus__table tbody td {
  padding: 18px 14px;
  background-color: #ffffff !important;
  font-size: 16px;
  line-height: 1.3em;
  color: #333333;
}

/* Fund ticker link */
.amplify-cwp-market-focus__fund-cell a {
  color: #1a3f6b;
  text-decoration: none;
  font-weight: 600;
}

.amplify-cwp-market-focus__fund-cell a:hover {
  text-decoration: underline;
}

/* Mobile horizontal scroll */
@media screen and (max-width: 767px) {
  .amplify-cwp-market-focus__wrapper {
    overflow-x: auto;
  }

  .amplify-cwp-market-focus__table {
    min-width: 800px;
  }
}
