table.epi-tlarecord-countryrows thead tr th select,
table.epi-countryrecord-componentrows select {
    font-size: 0.94118em;
    font-weight: 700;
    height: 1.75em;
    padding-left: 1em;
    padding-right: 1em;
    margin-left: .5em;
    border: 1px solid #dddddd;
    font-variant: all-small-caps;
    -moz-font-feature-settings: "smcp" 1;
    -moz-font-feature-settings: "smcp=1";
    -ms-font-feature-settings: "smcp" 1;
    -o-font-feature-settings: "smcp" 1;
    -webkit-font-feature-settings: "smcp" 1;
    font-feature-settings: "smcp" 1;
}
table.epi-countryrecord-componentrows tr.epi-tla--EPI td,
table.epi-countryrecord-componentrows tr.epi-tla-epi td {
    background-color: #3ea1da;
}

table.epi-countryrecord-componentrows tr.epi-tla--EPI td a,
table.epi-countryrecord-componentrows tr.epi-tla-epi td a {
   color: white;
   font-size: larger;
   font-weight: 600;
}

table.epi-countryrecord-componentrows tr.epi-tla--PolicyObjective td,
table.epi-countryrecord-componentrows tr.epi-tla-policy-objective td {
    background-color: rgba(89, 92, 86, 1);
    color: white;
}

table.epi-countryrecord-componentrows tr.epi-tla--PolicyObjective td a,
table.epi-countryrecord-componentrows tr.epi-tla-policy-objective td a {
    color: white;
    font-size: larger;
    font-weight: 600;
}
table.epi-countryrecord-componentrows tr.epi-tla--IssueCategory td,
table.epi-countryrecord-componentrows tr.epi-tla-issue-category td {
    border-top: 2px solid rgba(89, 92, 86, 1);
}

table.epi-countryrecord-componentrows tr.epi-tla--IssueCategory td a,
table.epi-countryrecord-componentrows tr.epi-tla-issue-category td a {
    /* font-size: larger; */
    font-weight: bold;
}

.epi-tlarecord-countryrows  th:not(:last-child),
.epi-tlarecord-countryrows  td:not(:last-child),
.epi-countryrecord-componentrows th:not(:last-child),
.epi-countryrecord-componentrows td:not(:last-child),
.epi-countryrecord-compgrid div th:not(:last-child),
.epi-countryrecord-compgrid div td:not(:last-child) {
    border-right: none;
}



table.epi-countryrecord-componentrows tr.epi-tla--IssueCategory td[data-filter="Heavy Metals"] ~ td,
table.epi-countryrecord-componentrows tr.epi-tla--IssueCategory td[data-filter="Waste Management"] ~ td,
table.epi-countryrecord-componentrows tr.epi-tla--IssueCategory td[data-filter="Agriculture"] ~ td,
table.epi-countryrecord-componentrows tr.epi-tla--IssueCategory td[data-filter="Water Resources"] ~ td,
table.epi-countryrecord-componentrows tr.epi-tla-issue-category td[data-filter="Heavy Metals"] ~ td,
table.epi-countryrecord-componentrows tr.epi-tla-issue-category td[data-filter="Waste Management"] ~ td,
table.epi-countryrecord-componentrows tr.epi-tla-issue-category td[data-filter="Agriculture"] ~ td,
table.epi-countryrecord-componentrows tr.epi-tla-issue-category td[data-filter="Water Resources"] ~ td {
    color: white;
}

.epi-countryrecord-scorecard td {
    border-right: solid 1px #ccc !important;
}

.epi-countryrow td,
.epi-tla--Indicator td, .epi-tla--EPI td, .epi-tla--IssueCategory td, .epi-tla--PolicyObjective td,
.epi-tla-indicator td, .epi-tla-epi td, .epi-tla-issue-category td, .epi-tla-policy-objective td {
    border-top: solid 1px #ddd;
}

/* FIX FOR TLA TITLE BELOW DESCRIPTION */

.node-type-epi-tla-data-markup #page-title {
    display: inline-block !important;
    position: absolute;
    top: 260px;
    color: #f99c1c !important;
    font-size: 2em;
    z-index: 10;
}

.node-type-epi-tla-data-markup .epi-tlarecord-name {
    display: none;
}

.node-type-epi-tla-data-markup .field-name-field-component-description {
    margin-top: 70px;
}

.node-type-epi-tla-data-markup .epi-tlarecord-stats {
    display: none;
}

td.epi-scorechange, .epi-countryrecord-componentrows th, .epi-tlarecord-countryrows th {
    border-right: 0 none !important;
    white-space: nowrap;
}

.page-node-37589 #page-title {
    display: none !important;
}

.page-node-37589 .field-name-field-component-description {
    margin-top: 0 !important;
}

/*
.epi-countryrecord-compgrid {
    margin-top: 4em;
    display: grid;
    row-gap: 6em;
    column-gap: 4%;
    grid-template-columns: repeat(auto-fill, minmax(280px, 30%));
}
*/

.epi-countryrecord-compgrid div {
    width: 300px;
    display: inline-block;
    margin-right: 30px;
    margin-bottom: 60px;
    vertical-align: top;
}

.epi-countryrecord-compgrid div,
.epi-countryrecord-compgrid div:nth-child(1) {
     margin-top: 0;
}


table.epi-tlarecord-countryrows tr.odd, table.epi-tlarecord-countryrows tr:nth-child(2n+1) {
    background-color: inherit;
}
table.epi-tlarecord-countryrows tr.odd, table.epi-tlarecord-countryrows tr:nth-child(odd) {
    background-color: inherit;
}

table.epi-countryrecord-componentrows tr.odd, table.epi-countryrecord-componentrows tr:nth-child(2n+1) {
    background-color: inherit;
}
table.epi-countryrecord-componentrows tr.odd, table.epi-countryrecord-componentrows tr:nth-child(odd) {
    background-color: inherit;
}

table.epi-tlarecord-countryrows th:not(:first-child), table.epi-tlarecord-countryrows td:not(:first-child),
table.epi-countryrecord-componentrows th:not(:first-child), table.epi-countryrecord-componentrows td:not(:first-child) {
    width: 6em;
}



.view.view-epi-measurement-table {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.view-epi-measurement-table > .view-header {
    width: 100%;
    flex-grow: 2;
}

.view-epi-measurement-table > .view-content {
    padding: 12px 14px 0 0;
    max-width: 440px;
    flex: 1;
}

.view-epi-measurement-table > .view-footer {
    min-width: 400px;
    flex: 1;
}

#block-system-main {
    width: 100%;
    max-width: unset;
}

.epi-tla--EPI,
.epi-tla--PolicyObjective,
.epi-tla--IssueCategory,
.epi-tla--Indicator {
    font-size: .85em;
    line-height: 1;
}

.breadcrumb > span {
    display: none;
}
