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 {
    background-color: #3ea1da;
}

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-policy-objective td {
    background-color: rgba(89, 92, 86, 1);
    color: white;
}

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-issue-category td {
    border-top: 2px solid rgba(89, 92, 86, 1);
}

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-countryrecord-componentrows 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-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-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;
}

.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;
}
