/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

:root {
    --map-scale: 1;
    --stroke-width: 0px;
    --stroke-width-hover: 2px;
    --primary-color: #D80000;
	--dark-color: #2C2B2A;
}

.max-width-wide {
    max-width: 900px;
}


.viz-map-container {
    height: 100%;
    min-height: 300px;
    position: relative;
}

@media (min-width: 800px) {
    .viz-map-container {
        min-height: 800px;
    }
}


#svg-container {
    position: absolute;
}

#map-projects circle {
    stroke-width: calc(1 / var(--map-scale) * var(--stroke-width));
    -webkit-transition: stroke-width .3s ease-out;
    -o-transition: stroke-width .3s ease-out;
    transition: stroke-width .3s ease-out;
}

#map-projects circle[data-status="Failed"] {
    stroke-width: calc(1 / var(--map-scale) * .5px);
}

#map-projects circle:not(.exploded) {
    -webkit-filter: opacity(0.4);
            filter: opacity(0.4);
}

#map-projects circle.hovered {
    stroke-width: calc(1 / var(--map-scale) * var(--stroke-width-hover));
}

#map-projects circle:hover {
    stroke-width: calc(1 / var(--map-scale) * var(--stroke-width-hover));
}

#map-projects circle.ignore {
    -webkit-filter: saturate(.3) blur(.25px);
            filter: saturate(.3) blur(.25px);
    pointer-events: none;
}

#clusters .ignore {
    pointer-events: none;
}

path[data-country] {
    -webkit-transition: opacity .4s ease-out;
    -o-transition: opacity .4s ease-out;
    transition: opacity .4s ease-out;
}

path[data-country].selected {
    opacity: 1;
}

path[data-country].unselected {
    opacity: .3;
}

.details-container {
    position: fixed;
    display: none;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 0px;
    right: 0px;
    top: 0px;
    width: 500px;
    height: 100vh;
    -webkit-filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.589));
            filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.589));
    z-index: 100;
    font-size: 16px;
}

@media (max-width: 600px) {
    .details-container {

        width: 90%;
        -ms-flex-item-align: center;
            -ms-grid-row-align: center;
            align-self: center;
        margin-top: auto;
        top: 20px;
        left: 5%;
    }
}

.details-container.active {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.details-tabs {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    list-style: none;
    -webkit-margin-after: 0px;
            margin-block-end: 0px;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

.details-tab-button {
    width: 100%;
    padding: 1em 1em .6em 1em;
    z-index: -1;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
}

.details-tab-button[data-tab-for="main"] {
    background-color: rgb(54, 0, 0);
}

.details-tab-button[data-tab-for="main"]:hover {
    background-color: rgb(95, 1, 1)
}

.details-tab-button[data-tab-for="technical"] {
    background-color: rgb(63, 11, 11);
}

.details-tab-button[data-tab-for="technical"]:hover {
    background-color: rgb(117, 23, 23)
}

.details-tab-button[data-tab-for="derisking"] {
    background-color: rgb(51, 19, 19);
}

.details-tab-button[data-tab-for="derisking"]:hover {
    background-color: rgb(109, 40, 40);
}

.details-tab-button[data-tab-for="financing"] {
    background-color: rgb(65, 39, 39);
}

.details-tab-button[data-tab-for="financing"]:hover {
    background-color: rgb(105, 64, 64);
}

.details-tabs li:has(.active) {
    z-index: 10;
}

.details-tab-button.active {
    border-bottom: 2px solid white;
    background: var(--primary-color);
}

.details-tabs-pages {
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    padding: 2em 0px 2em 0px;
}

#details-container-close {
    display: block;
    position: absolute;
    width: 1.5em;
    height: 1.5em;
    background-color: #555e7a66;
    border-radius: 50%;
    left: -8px;
    top: 30px;
    border: none;
    -webkit-transition: all .06s ease-in-out;
    -o-transition: all .06s ease-in-out;
    transition: all .06s ease-in-out;
    background-image: url('close.svg');
    background-repeat: no-repeat;
    background-size: 60%;
    background-position: center;
    padding: 3px;
}

#details-container-close:hover {
    background-color: #555e7add;
}

.details-tab-page {
    width: 100%;
    background-color: #fff;
    -webkit-box-align: baseline;
        -ms-flex-align: baseline;
            align-items: baseline;
    -ms-flex-line-pack: baseline;
        align-content: baseline;
    -webkit-column-gap: 1em;
       -moz-column-gap: 1em;
            column-gap: 1em;
    -webkit-transition: all .1s linear;
    -o-transition: all .1s linear;
    transition: all .1s linear;
    max-height: calc(100vh - 135px);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}

.details-tab-page header {
    -ms-grid-column-span: 2;
    grid-column: span 2;
    width: 100%;
}

.details-tab-page .content {
    display: -ms-grid;
    display: grid;
    width: 100%;
    -ms-grid-columns: 1fr .5em 1fr;
    grid-template-columns: 1fr 1fr;
    gap: .5em;
    height: 0px;
    overflow: hidden;
    opacity: 0;
    -webkit-transition: all .1s ease-in-out, padding 0s linear;
    -o-transition: all .1s ease-in-out, padding 0s linear;
    transition: all .1s ease-in-out, padding 0s linear;
}

@media (max-width: 600px) {
    .details-tab-page .content {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    }
}

.details-tab-page.active {
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
}

.details-tab-page.active .content {
    height: auto;
    opacity: 1;
    padding: 1em;
    overflow-y: auto;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}

.details-tab-group {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    max-width: calc(100% - .5em);
}

.details-tab-group.wide {
    -ms-grid-column: 1;
    -ms-grid-column-span: 2;
    grid-column: 1 / span 2;
}

@media (max-width: 600px) {
    .details-tab-group.wide {
        -ms-grid-column: 1;
        -ms-grid-column-span: 1;
        grid-column: 1 / span 1;
    }
}

.details-tab-group-header {
    position: absolute;
    right: -32px;
    top: -1em;
    color: #afafaf;
    z-index: 2;
    background-color: #fff6ea;
    padding: 2px 4px;
    border-radius: 2px;
}

.details-title {
    line-height: 1em;
    font-size: 1.5em;
    font-weight: 600;
    color: #888888
}

.details-status {
    position: absolute;
    right: 10px;
    color: #ffcdcd;
    font-size: 2em;
    top: 1em;
    line-height: 1em;
}

.details-tab-group-value {
    --tech-color: var(--dark-color);
    color: var(--tech-color);
}

.details-unit {
    font-size: .8em;
    font-style: italic;
    font-weight: 200;
    margin-left: 4px;
}

.details-tab-group.list div {
    margin-left: 1em;
}

.details-tab-group.list:not(#owners) div:last-of-type {
    margin-top:auto;
}

.details-tab-group.list .list-head {
    margin-left: 0px;
    margin-bottom: .5em;
    font-size: 1.2em;
    color: #888888;
    font-weight: 300;
    position: relative;
}

.details-tab-group.list .list-head::after {
    content: "";
    display: inline-block;
    height: 1px;
    width: 60px;
    background-color: #888888;
    position: absolute;
    bottom: 0%;
    left: 0%;
}

p:empty {
    display: none;
}

.viz-map-filter-container .filter-group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}

.viz-map-filter-container .filter-group br {
    display: none;
}

.viz-map-filter-container {
    z-index: 100;
    top: 45px;
}

.viz-map-filter-container label {
    font-size: .6em;
    color: #555e7a;
}

#legend text {
    cursor: pointer;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}

#capacity-legend-text {
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    pointer-events: none;
}

#legend-status text {
    cursor: default;
}

#legend text.active {
    background-color: var(--color);
    border-radius: 4px;
    fill: var(--color);
    font-weight: 600;
}

#bid-svg-container {
    position: relative;
    z-index: 2;    
}

#bid-window-container {
    margin-top:6px;
    margin-bottom: 6px;
    margin-right: -26px;
}

#bid-window-container::after {
    content: "";
    position: absolute;
    background-color: #fff6ea;
    width: 120%;
    height: 100%;
    left: -30px;
    top: 0;
    z-index: 1;
}

.hidden {
    display: none;
}

.smaller {
    font-size: small;
}

.smaller {
    font-size: smaller;
}

.details-tab-group:not(.wide):has(.hidden) {
    display: none;
}

.details-technology,
.details-capacity {
    display: inline-block;
    font-size: 1.1em;
}


.viz-map-container .filter-group.hidden {
    visibility: hidden;
    height: 0px;
}

.floating-right {
    z-index: 100;
}

@media (min-width: 1201px){
    .floating-right {
        position: absolute;
        right: 10%;
        top: 18%;
    }   
}

@media (max-width: 1200px) {
    .floating-right.is-vertical {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: .4rem;
    }
    
    .floating-right.is-vertical a {
        word-break: auto-phrase;
        font-size: 0.8em;
    }
}

.dashboard-wrapper {
        --dashboard-offset: -470px;
        position: relative;
        left: var(--dashboard-offset);
}


.dashboard-background {
    position: absolute;
    height: 100%;
    width: 100vw;
    max-width: 100%;
    background-color: #edeae4;
    top: 0px;
    left: 0px;
    margin: 0px;
}

.front-page-navigation {
    gap: 5px;
    max-width: var(--wp--style--global--wide-size);
}


.front-page-navigation .wp-block-column {
        border-top: 1px solid var(--primary-color);
        border-bottom: 1px solid var(--primary-color);
    }

    .front-page-navigation .wp-block-column:first-child {
        border-top: none;
    }
    
    .front-page-navigation .wp-block-column:last-child {
        border-bottom: none;
    }

@media (min-width:780px) {
    
    .front-page-navigation .wp-block-column {
        border-top: none;
        border-bottom: none;
        border-left: 1px solid var(--primary-color);
        border-right: 1px solid var(--primary-color);
    }

    .front-page-navigation .wp-block-column:first-child {
        border-left: none;
    }
    
    .front-page-navigation .wp-block-column:last-child {
        border-right: none;
    }
}


.wp-block-buttons.link-buttons {
    display: flex;
    justify-content: start;
    align-items: start;
    font-weight: 200;
}

.front-page-navigation .wp-block-button {
    border-radius: 8px;
    background-color: var(--dark-color);
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: relative;
    gap: 5px;
    padding: .4rem .4rem;
}

.front-page-navigation .wp-block-button:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.front-page-navigation .wp-block-button a {
    background-color: transparent;
    box-shadow: none;
    padding: 0px;
}

.front-page-navigation .wp-block-button a.wp-block-button__link {
    font-size: 16px;
}

.front-page-navigation .wp-block-button a:hover {
    background-color: transparent;
}


.front-page-navigation .wp-block-button::before {
    content: "";
    display: block;
    height: 24px;
    width: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.front-page-navigation .wp-block-button.derisking-ico::before {
    background-image: url('../icons/derisking-white.svg');
}

.front-page-navigation .wp-block-button.case-studies-ico::before {
    background-image: url('../icons/case_white.svg');
}

.front-page-navigation .wp-block-button.derisking-ico::before {
    background-image: url('../icons/derisking-white.svg');
}

.front-page-navigation .wp-block-button.about-us-ico::before {
    background-image: url('../icons/lightbulb_white.svg');
}

.front-page-navigation .wp-block-button.resources-ico::before {
    background-image: url('../icons/resources_white.svg');
}

.front-page-navigation .wp-block-button.events-ico::before {
    background-image: url('../icons/events_white.svg');
}

.front-page-navigation .wp-block-button.publications-ico::before {
    background-image: url('../icons/pub_white.svg');
}

.front-page-navigation .wp-block-button.derisking-dash-ico::before {
    background-image: url('../icons/derisking_dash_white.svg');
}

.wp-block-navigation {
}

.wp-block-navigation .wp-block-navigation-item {
    background-color: #efefefff;
    padding: .4rem .4rem;
    font-weight: 500;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.wp-block-navigation .wp-block-navigation-item:hover {
    background-color: var(--primary-color);
    color: white;
}

.wp-block-navigation .wp-block-navigation-item::before {
    content: "";
    display: block;
    height: 20px;
    width: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}


.wp-block-navigation .wp-block-navigation-item.case-studies-ico::before {
    background-image: url('../icons/case_red.svg');
}

.wp-block-navigation .wp-block-navigation-item.derisking-ico::before {
    background-image: url('../icons/derisking_red.svg');
}

.wp-block-navigation .wp-block-navigation-item.about-us-ico::before {
    background-image: url('../icons/lightbulb_red.svg');
}

.wp-block-navigation .wp-block-navigation-item.resources-ico::before {
    background-image: url('../icons/resources_red.svg');
}

.wp-block-navigation .wp-block-navigation-item.events-ico::before {
    background-image: url('../icons/events_red.svg');
}

.wp-block-navigation .wp-block-navigation-item.publications-ico::before {
    background-image: url('../icons/pub_red.svg');
}

.wp-block-navigation .wp-block-navigation-item.derisking-dash-ico::before {
    background-image: url('../icons/derisking_dash_red.svg');
}

/**/

.wp-block-navigation .wp-block-navigation-item:hover.case-studies-ico::before {
    background-image: url('../icons/case_white.svg');
}

.wp-block-navigation .wp-block-navigation-item:hover.derisking-ico::before {
    background-image: url('../icons/derisking-white.svg');
}

.wp-block-navigation .wp-block-navigation-item:hover.about-us-ico::before {
    background-image: url('../icons/lightbulb_white.svg');
}

.wp-block-navigation .wp-block-navigation-item:hover.resources-ico::before {
    background-image: url('../icons/resources_white.svg');
}

.wp-block-navigation .wp-block-navigation-item:hover.events-ico::before {
    background-image: url('../icons/events_white.svg');
}

.wp-block-navigation .wp-block-navigation-item:hover.publications-ico::before {
    background-image: url('../icons/pub_white.svg');
}

.wp-block-navigation .wp-block-navigation-item:hover.derisking-dash-ico::before {
    background-image: url('../icons/derisking_dash_white.svg');
}

.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 14px;
}

.footer p {
    margin-block-start: 0px;
}

.footer a {
    color: white;
}

.card {
    border-radius: 8px;
    padding: 1rem;
    background-color: #fff;
    box-shadow: 0px 0px 16px 0 rgba(0, 0, 0, 0.1);
}

.viz-map-wrapper {
    max-width: var(--wp--style--global--wide-size);
    position: relative;
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 1rem;
}

@media (max-width:800px) {
    .viz-map-wrapper {
        grid-template-columns: 1fr;
    }
}

.viz-map-indicia {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
}

.viz-map-legend-container {
    margin-bottom: -35px;
}

@media (max-width:800px) {
    .viz-map-legend-container {
        position: absolute;
        bottom: 0px;
        left: 0px;
        width: max(15%, 180px);
        z-index: 100;
    }

    .viz-map-legend-container.card {
        background-color: transparent;
        box-shadow: none;
    }
}

.viz-map-filter-container .filter-group.hidden {
    display: none;
}

.dropdown-button {
    background-color: white;
    border: 1px solid var(--primary-color);
    padding: 8px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    text-align: left;
    border-radius: 20px;
}

.dropdown-button::after {
    content: "";
    float: right;
    height: 20px;
    width: 20px;
    background-image: url("'../icons/arrow_down.svg'");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.dropdown-button.active::after {
    -webkit-transform: rotate(180deg);
            transform: rotate(180deg);
}

.dropdown-content {
    margin-block-start: -.5em;
    padding-inline-start: 1em;
    padding-block-start: 1em;
    border: 1px solid var(--primary-color);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.dropdown-item {
    font-size: 14px;
    padding: 2px;
    cursor: pointer;
}

li.dropdown-item {
    list-style: none;
}

.dropdown-item:hover {
    background-color: #f1f1f1;
}

.title-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.2em;
    font-weight: 400;
    text-transform: uppercase;
}

.title-card::before {
    content: "";
    display: inline-block;
    height: 50px;
    width: 50px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.title-card.about-us-ico::before {
    background-image: url('../icons/lightbulb_red.svg');
}

details {
    border: 1px solid var(--primary-color);
    border-radius: 24px;
    padding: 1rem;
}

details summary {
    font-weight: 600;
    cursor: pointer;
}

details[open] summary {
    font-style: italic;
}

details summary::-webkit-details-marker,
details summary::marker {
    content: "";
    display: none;
}

details summary::after {
    content: "";
    display: inline-block;
    height: 1.5rem;
    width: 1.5rem;
    background-image: url('../icons/arrow_down.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    float: right;
    margin-left: 1rem;
    -webkit-transition: -webkit-transform .3s ease-out;
    transition: -webkit-transform .3s ease-out;
    transition: transform .3s ease-out;
    transition: transform .3s ease-out, -webkit-transform .3s ease-out;
}

details[open] summary::after {
    -webkit-transform: rotate(180deg);
            transform: rotate(180deg);
}

.block-filled-dark {
    background-color: var(--dark-color);
    color: white;
    padding: 1rem;
    border-radius: 16px;
}

.block-filled-red {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem;
    border-radius: 16px;
}

.block-filled-dark *,
.block-filled-red * {
    color: white;
}

div.border-red {
    border: 1px solid var(--primary-color);
    border-radius: 17px;
    padding-bottom: 1rem;
}

div.border-red .wp-block-column:not(:last-child) {
    border-right: 1px solid var(--primary-color);
}

.the-team strong {
    font-weight: 600;
}

.the-team::before {
    content: "";
    display: inline-block;
    height: 100px;
    width: 100px;
    background-image: url('../icons/the_team.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 1rem;

}

.title-card.derisking-ico::before {
    background-image: url('../icons/derisking_red.svg');
}

@media (max-width: 800px) {
    .wp-block-buttons.reveal-buttons {
        flex-direction: row;   
    }    
}

.reveal-button a {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: 400;
    padding-left: .6rem;
    padding-right: .6rem;
    border-radius: 4px;
}

.reveal-button a:hover,
.reveal-button a.active {
    background-color: var(--primary-color);
    color: white;
}

.reveal-button a::before {
    content: "";
    display: inline-block;
    height: 22px;
    width: 22px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 8px;
}

.reveal-button.tool-ico a::before {
    background-image: url('../icons/tool_white.svg');
}


.reveal-button.how-to-ico a::before {
    background-image: url('../icons/how_to_white.svg');
}


.reveal-button.content-ico a::before {
    background-image: url('../icons/the_content_white.svg');
}

@media (min-width:780px) {
    
    .reveal-panel {
        gap: 6px;
    }

    .reveal-panel .wp-block-column {
        border-top: none;
        border-bottom: none;
        border-left: 1px solid var(--primary-color);
        border-right: 1px solid var(--primary-color);
    }

    .reveal-panel .wp-block-column:first-child {
        border-left: none;
        padding-right: 4rem;
    }
    
    .reveal-panel .wp-block-column:last-child {
        border-right: none;
    }
}

.title-card.publications-ico::before {
    background-image: url('../icons/pub_red.svg');
}


.title-card.case-studies-ico::before {
    background-image: url('../icons/case_red.svg');
}

.is-layout-flex .margin-left-auto {
    margin-left: auto;
}

.country-detail div { 
    background: white;
    color: var(--dark-color);
    border-radius: 16px;
    margin-top: 12px;
}

.download-button {
    position: relative;
    width: 100%;
    max-width: 300px;
}

.download-button a {
    width: 100%;
    display: inline-block;
}

.download-button a::before {
    content:"";
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-right: 6px;
    margin-left: -6px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url("./../icons/pdf-icon.svg");
}

.download-button.excel a::before {
    background-image: url("./../icons/excel-file-icon.svg");
}

.button-grid {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: .5rem;
    max-width: 180px;
}

details.case-study-details-inner {
    border: none;
}

details.case-study-details-inner summary::after {
    display: none;
}

details.case-study-details-inner summary::before {
    content: "";
    height: 16px;
    width: 16px;
    display: inline-block;
    margin-right: 16px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url('../icons/drop-down-arrow-red.svg');
}

details.case-study-details-inner[open] summary::before {
    -webkit-transform: rotate(90deg);
            transform: rotate(90deg);
}