table tbody tr.financially-secure th:first-child,
table tbody th.financially-secure {
    background-color: #2eb0c5;
    color: #000;
}

table tbody tr.healthy-and-well th:first-child,
table tbody th.healthy-and-well {
    background-color: #7e5fa8;
    color: #fff;
}

table tbody tr.healthy-sub th:first-child,
table tbody th.healthy-healthy-sub {
    background-color: #cbbfdc;
    color: #000;
}

table tbody tr.connected-to-jobs th:first-child,
table tbody th.connected-to-jobs {
    background-color: #cc4a9b;
    color: #000;
}

table tbody tr.part-of-strong-communities th:first-child,
table tbody th.part-of-strong-communities {
    background-color: #f68c37;
    color: #000;
}

table tbody tr.targeting-support th:first-child:last-child,
table tbody th.targeting-support {
    background-color: #efbc2f !important; /* WILL FIX! */
    color: #000;
}

/* HIGHLIGHT */

.highlight {
    display: block;
    overflow: hidden;
    padding: 2em;
    margin: 4em 0;
    background-color: #EEE;
}

.dark-mode .highlight {
    background-color: #111;
}

.highlight>*:first-child {
    margin-top: 0 !important;
}

.highlight>*:last-child {
    margin-bottom: 0 !important;
}

/* AMBITION HIGHLIGHT */

.highlight.financially-secure,
.highlight.healthy-and-well,
.highlight.connected-to-jobs,
.highlight.part-of-strong-communities,
.highlight.targeting-support {
    padding-left: 10em;
    position: relative;
}

.highlight.financially-secure.h3,
.highlight.healthy-and-well.h3,
.highlight.connected-to-jobs.h3,
.highlight.part-of-strong-communities.h3,
.highlight.targeting-support.h3 {
    padding-left: 8em;
}

.highlight.financially-secure::before,
.highlight.healthy-and-well::before,
.highlight.connected-to-jobs::before,
.highlight.part-of-strong-communities::before,
.highlight.targeting-support::before {
    content: '';
    font-size: 3em;
    height: 2em;
    width: 2em;
    line-height: 2em;
    position: absolute;
    top: 0.666em;
    left: 0.666em;
    display: block;
    overflow: hidden;
    background-color: #FFF;
    color: #000;
    border-radius: 50%;
    font-family: 'FontAwesome';
    font-weight: 300;
    text-align: center;
}


.highlight.financially-secure::before {
    content: '\f0e9';
    color: #2eb0c5;
}

.highlight.healthy-and-well::before {
    content: '\f809';
    color: #7e5fa8;
}

.highlight.connected-to-jobs::before {
    content: '\f2c1';
    color: #cc4a9b;
}

.highlight.part-of-strong-communities::before {
    content: '\f0c0';
    color: #f68c37;
}

.highlight.targeting-support::before {
    content: '\f52c';
    color: #efbc2f;
}


.highlight.financially-secure,
.dark-mode .highlight.financially-secure {
    background-color: #2eb0c5;
}

.highlight.financially-secure *,
.dark-mode .highlight.financially-secure * {
    color: #000
}

.highlight.healthy-and-well,
.dark-mode .highlight.healthy-and-well {
    background-color: #7e5fa8;
}

.highlight.healthy-and-well *,
.dark-mode .highlight.healthy-and-well * {
    color: #FFF;
}

.highlight.connected-to-jobs,
.dark-mode .highlight.connected-to-jobs {
    background-color: #cc4a9b;
}

.highlight.connected-to-jobs *,
.dark-mode .highlight.connected-to-jobs * {
    color: #000;
}

.highlight.part-of-strong-communities,
.dark-mode .highlight.part-of-strong-communities {
    background-color: #f68c37;
}

.highlight.part-of-strong-communities *,
.dark-mode .highlight.part-of-strong-communities * {
    color: #000;
}

.highlight.targeting-support,
.dark-mode .highlight.targeting-support {
    background-color: #efbc2f;
}

.highlight.targeting-support *,
.dark-mode .highlight.targeting-support * {
    color: #000;
}

.performance-key
.performance-key li {
    list-style-type: none;
}

.performance-key span {
    display: block;
}

.performance-key,
.performance-key li,
.performance-list,
.performance-list li {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.performance-key {
    border-left: 0.313em solid #CCC;
    padding: 2em;
    background: #eee;
}

.dark-mode .performance-key {
    background-color: #111;
}

.performance-list {
    margin: 0;
    padding: 0;
}

.performance-key li,
.performance-list li {
    padding-left: 4em;
    position: relative;
}

.performance-key li:not(:last-of-type) {
    margin-bottom: 2em;
}

.performance-key li:before,
.performance-list li:before {
    content: '';
    font-size: 1.5em;
    height: 2em;
    width: 2em;
    line-height: 2em;
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    overflow: hidden;
    background-color: #eee;
    color: #fff;
    border-radius: 50%;
    font-weight: 600;
    text-align: center;
}

.performance-key li:first-of-type::before,
.performance-list li.strong-performance::before {
    background-color: green;
    font-family: 'FontAwesome';
    content: '\f00c';
}

.performance-key li:nth-child(3n+2)::before,
.performance-list li.some-concern::before {
    background-color: orange;
    content: '\21';
}

.performance-key li:nth-child(3n+3)::before,
.performance-list li.concern::before {
    background-color: red;
    content: '\21';
}

/* NEW KEY */
.performance-key li:nth-child(3n+4)::before,
.performance-list li.neutral::before {
    background-color: grey;
    content: '\3D';
}

/* NEW DIRECTION OF TRAVEL KEY */
.direction-travel-key
.direction-travel-key li {
    list-style-type: none;
}

.direction-travel-key span {
    display: block;
}

.direction-travel-key,
.direction-travel-key li,
.direction-travel-list,
.direction-travel-list li {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.direction-travel-key {
    border-left: 0.313em solid #CCC;
    padding: 2em;
    background: #eee;
}

.dark-mode .direction-travel-key {
    background-color: #111;
}

.direction-travel-list {
    margin: 0;
    padding: 0;
}

.direction-travel-key li,
.direction-travel-list li {
    padding-left: 4em;
    position: relative;
}

.direction-travel-key li:not(:last-of-type) {
    margin-bottom: 2em;
}

.direction-travel-key li:before,
.direction-travel-list li:before {
    content: '';
    font-size: 1.5em;
    height: 2em;
    width: 2em;
    line-height: 2em;
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    overflow: hidden;
    background-color: #eee;
    font-weight: 600;
    text-align: center;
}

.direction-travel-key li:first-of-type::before,
.direction-travel-list li.increase-positive::before {
    color: green;
    font-family: 'FontAwesome';
    content: '\f062';
}

.direction-travel-key li:nth-child(3n+2)::before,
.direction-travel-list li.increase-negative::before {
    color: red;
    font-family: 'FontAwesome';
    content: '\f062';
}

.direction-travel-key li:nth-child(3n+3)::before,
.direction-travel-list li.no-change::before {
    color: orange;
    font-family: 'FontAwesome';
    content: '\f061';
}

.direction-travel-key li:nth-child(3n+4)::before,
.direction-travel-list li.decrease-positive::before {
    color: green;
    font-family: 'FontAwesome';
    content: '\f063';
}

.direction-travel-key li:nth-child(3n+5)::before,
.direction-travel-list li.decrease-negative::before {
    color: red;
    font-family: 'FontAwesome';
    content: '\f063';
}

/* NOTICE */

p.notice,
span.notice,
div.notice {
    border-left: 0.313em solid #CCC;
    background-color: #EEE;
    display: block;
    padding: 1.25em;
    position: relative;
}

span.notice,
div.notice {
    margin: 1.25rem 0;
}

@media all and (min-width: 720px) {

    p.notice,
    span.notice,
    div.notice {
        padding: 1em;
        border-width: 0.25em;
    }

    p.notice::before,
    span.notice::before,
    div.notice::before {
        font-size: 1.2em;
    }
}

p.notice::before,
span.notice::before,
div.notice::before {
    content: attr(data-title);
    font-size: 1.25em;
    font-weight: 600;
    line-height: 1.5em;
    font-family: 'canada-type-gibson', sans-serif;
    display: block;
    margin-bottom: 0.625rem;
}

p.notice.no-title::before,
span.notice.no-title::before,
div.notice.no-title::before {
    content: none;
}

.dark-mode p.notice,
.dark-mode span.notice,
.dark-mode div.notice {
    background-color: #111;
}

/* KEY FACTS */

.key-facts,
.key-facts > li {
    display: block;
    overflow: hidden;
    font-size: 1em;
    padding: 0;
    margin: 0;
    list-style: none;
}

.key-facts {
    margin-bottom: 4em;
}

.key-facts > li:not(:first-child) {
    margin-top: 0.625em;
}

.key-facts > li {
    font-size: 1.6em;
    padding: 0.625em;
    background-color: #EEE;
}

.key-facts > li.major {
    font-size: 2em;
    padding: 0.5em;
    font-family: 'canada-type-gibson', sans-serif;
    font-weight: 600;
    text-transform: none;
}

.key-facts > li strong {
    font-family: 'canada-type-gibson', sans-serif;
    font-weight: 600;
    text-transform: none;
}

.dark-mode .key-facts  > li {
    background-color: #111;
}

.key-facts > li.icon {
    padding-left: 2.5rem;
    position: relative;
}

.key-facts > li.icon::before {
    content: '';
    font-family: 'FontAwesome';
    font-weight: 300;
    font-size: 1.25rem;
    position: absolute;
    top: 0.5em;
    left: 0.5em;
}

.key-facts li.icon.people::before {
    content: '\f0c0';
}

.key-facts li.icon.gender::before {
    content: '\f228';
}

.key-facts li.icon.scales::before {
    content: '\f496';
}

.key-facts li.icon.cog::before {
    content: '\f085';
}

.key-facts li.icon.marker::before {
    content: '\f3c5';
}

.key-facts li.icon.coins::before {
    content: '\f51e';
}

.key-facts li.icon.nationality::before {
    content: '\f024';
}

.key-facts > li > ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.key-facts p:first-of-type {
    margin-top: 0;
}

.key-facts p:last-of-type {
    margin-bottom: 0;
}

.smaller {
    font-size: 0.8em;
}

main > header .montage li:nth-child(1) {
    background-position: center;
}

main > header .montage li:nth-child(2) {
    background-position: left 15% center;
}

main > header .montage li:nth-child(3) {
    background-position: right 25% center;
}

main > header .montage li:nth-child(4) {
    background-position: left 35% top;
}

/* FEATURE FIGURE */

section > figure {
    width: 100%;
    margin: 4em auto;
    padding: 0;
    max-width: 960px;
}

figure img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
}

figure figcaption {
    font-size: 1.6em;
    line-height: 1.25em;
    padding: 1.25em;
}

figure figcaption p {
    font-size: 1em;
    margin: 0;
    display: inline;
}