/* Looker API header */
body .tables-header {
    text-align: center;
}

/* CSV header */
body .custom-table-header h2 {
    text-align: center;
}

body .tables {
    width: 100%;
}

body .tables th {
    cursor: pointer;
    position: sticky;
    top: 0;
    z-index: 2;
}

body .tables th,
body .tables td {
    padding: 0.75em 0.75em;
    vertical-align: middle;
}

body .tables th p,
body .tables td p {
    margin: 0;
}

body .tables tr:nth-child(even) {
    background-color: #f1f1f2;
}

body .tables .active td,
body .tables .active td * {
    font-weight: 700;
}

body .table-align-left th,
body .table-align-left td {
    text-align: left;
}

body .table-align-center th,
body .table-align-center td {
    text-align: center;
}

body .table-align-right th,
body .table-align-right td {
    text-align: right;
}

/* Blue Top */
body .tables-design-blue_top th {
    background: #170047;
    color: white;
}

body .tables-design-blue_top th * {
    color: white;
}

/* Red Top */
body .tables-design-red_top th {
    background: #CD2026;
    color: white;
}

body .tables-design-red_top th * {
    color: white;
}

/* White Top */
body .tables-design-white_top th {
    background: #fff;
    font-weight: 700;
}

body .tables-design-white_top tr:nth-child(even) {
    background-color: #fff;
}

body .tables-design-white_top tr:not(:last-child) {
    border-bottom: 1px solid #f1f1f2;
}

/* Grey Top */
body .tables-design-grey_top th {
    background: #f1f1f2;
    font-weight: 700;
}

/* Blue Left */
body .tables-design-blue_side th {
    background: #f1f1f2;
    font-weight: 700;
}

/* Red Underline*/
body .tables-design-red_underline {
  thead th {
    border-bottom: none;   
    top: 0;
    z-index: 10;
    background: var(--color-white);
  }

  tr.active * {
    background: var(--color-red);
    color: var(--color-white);
  }
}
body .tables-design-red_underline {
  thead th::before {
    content: "";
    position: absolute;
    left: 0;
    bottom:0;
    width:100%;
    height: 100%;
    border: 1px solid var(--color-devider);
    box-sizing: border-box;
    z-index: -1;

  }
  thead th::after {
    content: "";
    position: absolute;
    left: 0;
    bottom:0;
    width:100%;
    height:3px;
    z-index: -1;
    background: var(--color-red);
  }
}

body .tables-design-blue_side th:first-child,
body .tables-design-blue_side td:first-child,
body .tables-design-blue_side th:first-child *,
body .tables-design-blue_side td:first-child * {
    background: #170047;
    color: white;
    text-align: left;
}
body .tables-design-blue_side tr {
    border-bottom: 1px solid #f6f6f6;
}

/* Red Left */
body .tables-design-red_side th {
    background: #f1f1f2;
    font-weight: 700;
}

body .tables-design-red_side th:first-child,
body .tables-design-red_side td:first-child,
body .tables-design-red_side th:first-child *,
body .tables-design-red_side td:first-child * {
    background: #CD2026;
    color: white;
    text-align: left;
}
body .tables-design-red_side tr {
    border-bottom: 1px solid #f6f6f6;
}
.tables-summary {
    background: #f1f1f2;
    margin: 2em 0 3em;
    padding: 1.5em;
}
.tables-summary p:not(:last-child) {
    margin-bottom: 1em;
}
@media (max-width: 1140px) {
    body .tables {
        padding: 0 1em;
        overflow-x: auto;
    }
}

.graph-info {
    margin-bottom: 2em;
}

.graph-info p {
    text-align: center;
    color: #333 !important;
}