@font-face {
    font-family: 'Museo';
    src: url('fonts/329336_0_0.eot');
    src: url('fonts/329336_0_0.eot?#iefix') format('embedded-opentype'),
		 url('fonts/329336_0_0.woff') format('woff'),
		 url('fonts/329336_0_0.ttf') format('truetype'),
		 url('fonts/329336_0_0.svg#wf') format('svg');
    font-weight: 700;
}
@font-face {
    font-family: 'Museo';
    src: url('fonts/329336_1_0.eot');
    src: url('fonts/329336_1_0.eot?#iefix') format('embedded-opentype'),
		 url('fonts/329336_1_0.woff') format('woff'),
		 url('fonts/329336_1_0.ttf') format('truetype'),
		 url('fonts/329336_1_0.svg#wf') format('svg');
    font-weight: 300;
}

*, :before, :after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background: #FFF;
    color: #383E45;
    font-size: 1rem;
    font-family: "Museo", sans-serif, Arial;
}

text {
    font-family: "Museo", sans-serif, Arial; 
}

h2 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #383E45;
    font-size: 1.4rem;
    font-weight: 700;
}

h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #383E45;
    font-size: 1.125rem;
    font-weight: 700;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

ol, ul {
    font-size: 1rem;
}

input, select {
    font-size: 1.125rem;
    font-family: inherit;
}

select {
    padding: .1rem .5rem;
    border: none;
    font-weight: 700;
}

header {
    background: #F7F8FA;
}

.chart-selection {
    width: 66%;
}


.header-wrapper {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 1520px;
    padding: 24px 40px 24px 40px;
    margin: 0 auto;
}

.header-wrapper:after {
    content: "";
    position: absolute;
    bottom: -61px;
    left: 300px;
    z-index: 1;
    display: block;
    width: 110px;
    height: 61px;
    background: url("images/textballoon.png") no-repeat top;
    background-size: auto 61px;
}

.header-wrapper img {
    max-width: 148px;
    min-width: 148px;
}

.menu {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
}

#pull {
    display: none;
}

.menu li a {
    display: inline-block;
    color: #009AD5;
    padding: 0.625rem 0.925rem;
    font-size: 1.125rem;
    -webkit-transition: .2s;
    transition: .2s;
    text-decoration: none;
    font-weight: 700;
}

.menu li a:hover, .menu li a.active {
    color: #fff;
    background-color: #009AD5;
}

.banner {
    height: 240px;
    margin-bottom: -100px;
    background: #009EE0;
}

.content {
    max-width: 1440px;
    width: 100%;
    padding: 2rem;
    margin: 0 auto;
    min-height: 100vh;
    background: #F7F8FA;
}



.page-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.page-section.filters-section {
    margin-top: 18px;
}

.filters h3 {
    margin: 0;
    cursor: pointer;
}

.filters h4 {
    margin: 0;
}

#barchart svg {
    margin-top: 68px;
}

body:not(.no2-active) .page-section:first-child {
    page-break-after: always;
}

.selection {
    width: 33%;
}

.charts {
    width: 65.5%;
}

g.legend circle { stroke: black }

#selected-area {
    font-size: 2rem;
    color: #0079A8;
}

.print-btn {
    display: flex;
    padding: 0;
    margin-left: auto;
    align-items: center;
    gap: 1rem;
    border: none;
    margin-bottom: .5rem;
    background: transparent;
    cursor: pointer;
    color: #000000;
    font-size: 1rem;
    font-weight: bold;
    justify-content: right;
    font-family: inherit;
}

.print-btn svg, .background-info svg {
    width: 30px;
    height: 30px;
    fill: #000000;
}

.action-btns {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    text-align: right;
    max-width: 1440px;
    padding: 36px 2rem;
    margin: 0px auto;
}

.background-info {
    display: flex;
    justify-content: right;
    gap: 1rem;
    align-items: center;
    margin-left: auto;
    text-decoration: none;
    color: #000000;
    font-weight: bold;
    font-size: 1rem;
}

.charts-container {
    display: flex;
    gap: 1rem;
    width: 100%;
    margin-top: 3px;
    position: sticky;
    top: 0;
}



.chart-wrapper h3 {
    max-width: calc(100% - 40px);
    height: 21px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chart.area {
    height: 618px;
}


.filters[data-expanded="false"] + .f-chart > .chart.bar {
    padding-top: 15px;
    height: 100%;
}

.filters[data-expanded="true"] {
    padding-bottom: 40px;
}

.filters[data-expanded="true"] + .f-chart {
    padding-top: 145px;
    height: calc(100% - 148px);
    height: 100%;
}

.filters[data-expanded="true"] + .f-chart > .chart.bar {
    height: 100%;
}

.charts-container .chart:not(.stacked) {
    height: 1063px;
}

.charts-container .chart.stacked {
    height: 695px;
}

.chart-tooltip {
    padding: 10px;
    border-radius: 5px;
    background: white;
}

.filters {position: relative;/* padding-bottom: 19px; */}

.f-header {
    padding: 3rem 2rem;
    background: #FFF;
    cursor: pointer;
}

.f-content {
    padding: 1px 2rem 30px 2rem;
    background: #FFF;
}

.filters p {
    margin-bottom: 0;
}

.filters .title-with-info {
    margin: 15px 0 0 0;
}


.filters[data-expanded="false"] > .column-title, .filters[data-expanded="false"] > .filter, .filters[data-expanded="false"] > .title-with-info, .filters[data-expanded="false"] > .filter-dropdown {
    display: none;
}

button.expandToggle {
    position: absolute;
    right: 0.5em;
    top: 2.95rem;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 25px;
    height: 25px;
    font-size: 16px;
}

.column-title {
    display: block;
    width: 100%;
    margin-top: 1rem;
    text-align: right;
    font-size: 0.9rem;
}

.small-screen-text {
    display: none;
    font-weight: bold;
}

.filters input[type=range] {
    flex: 2;
    -webkit-appearance: none;
    appearance: none;
    height: 3px;
    width: 100%;
    background-color: #EAE8E4;
    pointer-events: none;
    accent-color: #0079A8;
}

.filters input[type=range]::-webkit-slider-thumb {
    background-color: #FFF;
}

.filters input[type=range]::-moz-range-thumb {
    background-color: #FFF;
}

.filters input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    pointer-events: all;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    border: 4px solid #0079A8;
    box-shadow: 0 0 1px #727272b3;
    cursor: pointer;
}

.filters input[type=range]::-moz-range-thumb {
    -webkit-appearance: none;
    pointer-events: all;
    width: .8rem;
    height: .8rem;
    border-radius: 50%;
    border: 3px solid #0079A8;
    box-shadow: 0 0 1px #727272b3;
    cursor: pointer;
}

.filters input[type=range]::-webkit-slider-thumb:hover {
    background: #f7f7f7;
}

.filters input[type=range]::-webkit-slider-thumb:active {
    box-shadow: inset 0 0 2px #0079A8,0 0 9px #0079A829;
    -webkit-box-shadow: inset 0 0 2px #0079A8,0 0 9px #0079A829;
}

.filters input::-webkit-outer-spin-button, .filters input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.filters h4 {
    max-width: calc(100% - 40px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 0.25rem;
    font-size: 1rem;
    font-weight: 100;
}

.title-with-info {
    display: flex;
    align-items: center;
    margin-bottom: 1.2rem;
}

.title-with-info h3 {
    margin-bottom: 0;
}

.unit {
    color: #0079A8;
    font-weight: 700;
}

.grid {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 20px;
    margin-top: 20px;
}

.grid.title {
    /* margin-top: -1.4rem; */
}

.grid.title span {
    pointer-events: none;
}


.filter {
    display: flex;
    align-items: center;
}

.slider {
    width: calc(100% - 40px);
    margin-right: 1rem;
}

.number {
    width: 40px;
    text-align: right;
    border: none;
    background: none;
    font-weight: 700;
}

input.number::-webkit-outer-spin-button, input.number::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input.number[type=number] {
    -moz-appearance: textfield;
}

/* Start Geo Selection */
.toggle-switch {
    display: block;
    width: 320px;
    padding: 0;
    border: none;
    margin: 1rem auto;
}

.radio-switch {
    display: flex;
    border-radius: 50em;
    background-color: #edeff2;
    padding: 5px 7px 5px 7px;
    margin: 0;
}

.radio-switch__item {
    display: inline-block;
    width: 50%;
}

.radio-switch__label {
    display: block;
    padding: 0.5rem .5rem;
    border-radius: 50em;
    text-align: center;
    cursor: pointer;
    font-size: 0.8rem;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    font-weight: 600;
    user-select: none;
    transition: all 0.1s;
    color: #094350;
}

.radio-switch__input:checked~.radio-switch__label {
    background-color: #0079A8;
    color: hsl(0, 0%, 100%);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

.radio-switch__input:focus-visible + label {
    border: 2px solid #000;
    height: 31px;
    line-height: 12px;
}

.radio-switch__marker {
    position: absolute;
    z-index: 1;
    top: 0;
    left: -100%;
    border-radius: 50em;
    background-color: #227b3c;
    height: 40px;
    width: 110px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, .1), 0 8px 24px rgba(0, 0, 0, .15);
    transition: -webkit-transform 0.3s;
    transition: transform 0.3s;
    transition: transform 0.3s, -webkit-transform 0.3s;
}

.radio-switch__input:checked~.radio-switch__marker {
    -webkit-transform: translateX(100%);
    -ms-transform: translateX(100%);
    transform: translateX(100%)
}

.emission-switch {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.emission-block .toggle-switch {
    width: 150px;
    margin: 0;
}

#geoitem-search {
    position: relative;
}

.search-wrapper {
    margin-bottom: 1rem;
}

.geoitem-search input {
    width: 100%;
    padding: 1rem 1rem 1rem 3.5rem;
    border: none;
    font-size: 1.125rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: #FFF url("images/search-regular.svg") no-repeat center left 1rem;
    background-size: auto 1.5rem;
}

#result_List {
    position: absolute;
    width: 100%;
    background: #FFF;
    z-index: 10;
    box-shadow: 2px 2px 20px -14px #595959;
    max-height: 500px;
    overflow: auto;
    overflow-x: hidden;
    margin: 0 !important;
    padding: 0 !important;
}

#result_List .autoComplete_result {
    max-width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    border-bottom: thin solid #e3e3e3;
    font-size: 17px;
}

#result_List .autoComplete_result:last-child {
    border-radius: 0;
}

#result_List .autoComplete_highlighted {
    opacity: 1;
    color: #094350;
    font-weight: bold;
}

#result_List a {
    color: #313131;
    text-decoration: none;
    width: 100%;
    padding: 10px;
    display: inline-block;
}

#result_List .autoComplete_result:hover {
    cursor: pointer;
    border: none;
    border-bottom: thin solid #e3e3e3;
    background-color: #094350;
}

#result_List .autoComplete_result:hover a {
    color: #fff;
}

#result_List .autoComplete_result:hover .autoComplete_highlighted {
    color: rgb(231 201 222);
}

#mapContainer {
    float: none;
    width: 100%;
    padding: 0;
    background: #FFF;
    border-radius: 0;
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    height: auto !important;
}

#map {
    height: 350px;
}

.target, .emission-block {
    padding: 1.5rem 1.5rem 0.5rem 1.5rem;
    margin: 1rem 0 1rem 0;
    background: #FFF;
}

.emission-block {
    padding-top: .5rem;
}

.target .row {
    margin-bottom: 1rem;
}

.select-wrapper {
    position: relative;
    overflow: hidden;
}

.select-wrapper:after{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0px;
    content: "\f078";
    font-family: "Font Awesome 6 Pro";
    color: #0079A8;
    font-weight: 600;
    pointer-events: none;
}

.geoselect .select-wrapper {
    background: #FFF;
    margin-bottom: 1rem;
}

.geoselect .select-wrapper select {
    padding: 1rem 3rem 1rem 1rem;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 1px;
    text-overflow: '';
}

.geoselect .select-wrapper:after {
    right: 1rem;
}

.target .select-wrapper, .number-wrapper {
    width: 84px;
    border-bottom: 2px solid #EAE8E4;
}

.select-wrapper select {
    width: 100%;
    background: none;
}

.filter-dropdown {
    margin-bottom: .8rem;
}

.filter-dropdown .select-wrapper {
    width: 100%;
}

.filter-dropdown select {
    width: 100%;
    padding-left: 0;
}

.number-wrapper {
    display: flex;
    justify-content: right;
}

.number-wrapper .unit {
    margin-left: 0.75rem;
}

.target label {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.filters-header, .title-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 50%;
}

.filters-header h2 {
    margin: 0;
}

.more-info-btn {
    position: relative;
    display: flex;
    height: auto;
    border: none;
    margin-left: 0.25rem;
    background: none;
    font-size: 1.125rem;
    cursor: pointer;
}

.more-info-btn svg {
    min-width: 17px;
    width: 17px;
    fill: #0079A8;
}

.info-popup {
    display: none;
    position: absolute;
    bottom: 16px;
    left: -24px;
    padding-bottom: 20px;
    cursor: auto;
}

.info-popup-inner {
    width: 380px;
    padding: 1.5rem 1.5rem 0.5rem 1.5rem;
    box-shadow: 0 3px 6px rgb(0 0 0 / 15%);
    background: #FFF;
    color: black;
    text-align: left;
}

.charts .info-popup-inner {
    width: 700px;
}

.info-popup-inner:after {
    position: absolute;
    left: 27px;
    content: "";
    display: block;
    border-width: 22px 13px 0 13px;
    border-style: solid;
    border-color: #FFF transparent transparent transparent;
}

.info-popup-inner p {
    margin-top: 0;
}

.reset-filters {
    border: none;
    margin-left: auto;
    background: transparent;
    font-weight: 600;
    font-size: 1rem;
    color: #383E45;
    cursor: pointer;
}

.reset-inactive {
    color: #B4BEC9;
    cursor: default;
}


#popup, #popup-shadow {
    display: none;
}

#popup-shadow {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,.55);
    z-index: 10;
}

#popup {
    position: fixed;
    top: 50%;
    left:  50%;
    transform: translate(-50%, -50%);
    width: 800px;
    padding: 2rem;
    background: #FFF;
    z-index: 11;
}

.popup-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.popup-header {
    flex: 0 1 auto;
    display: flex;
    justify-content: space-between;
}

#popup-title {
    margin: 0;
}

.popup-header button {
    width: 25px;
    border: none;
    background: none;
}

.popup-body {
    flex: 1 1 auto;
    margin: 2rem 0;
    overflow: auto;
} 

.popup-footer {
    display: flex;
    justify-content: right;
    flex: 0 1 38px;
}

.popup-footer .btn {
    padding: .7rem 1.2rem;
    border: none;
    background: #0079A8;
    color: #FFF;
}

.close-popup {
    cursor: pointer;
}


footer {
    .footer_content {
        padding: 9px 0;
        /* margin-top: 3rem; */
        text-align: center;
        background-color: #0079A8;
        color: #fff;
    }
}

footer a {
    text-decoration: none;
    color: #fff;
    white-space: nowrap
}

footer a:hover {
    text-decoration: underline
}

footer {
    background-color: #FFFFFF;
    .footer-wrapper {
        max-width: 1520px;
        padding: 24px 40px 24px 40px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(auto-fit, calc(33.3333% - 1.75rem));
        grid-gap: 2.5rem;
    }

	.column {
        align-items: center;
		display: flex;
    	flex-direction: column;
    	gap: 2rem;
    }

	.column {
		.f-logo {
            height: 80px;
            display: flex;
            align-items: center;
        }

		img {
            max-height: 80px;
            min-width: 80px;
            max-width: 148px;
        }
	}
}

.grid.titlem .filters-header {
    width: 100%;
}

.grid.title .filters-header {
    width: 100%;
}

.grid.title h3 {
    margin: 0;
}

.u-hidden {
    display: none;
}

/* skiplinks */
.a-skiplink {
    background-color: #fff;
    border: 2px solid #999;
    display: block;
    left: -1000em;
    padding: .5em;
    position: absolute;
    z-index: 10;
}

.a-skiplink:focus {
    left: 1em;
    top: 126px;
    z-index: 1000;
}

@media screen and (max-width: 1440px) {
    .menu li a {
        font-size: 1rem;
    }
}

@media screen and (max-width: 1340px) {
    .header-wrapper img {
        width: 185px;
    }

    .page-section, .chart-selection {
        width: 100%;
    }

    .page-section.filters-section {
        margin-top: 4rem;
    }
}

@media screen and (max-width: 1280px) {
    .content {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    h2 {
        font-size: 1.125rem;
    }

    h3 {
        font-size: 1rem;
    }

    .charts-container .chart:not(.stacked).charts-container .chart:not(.stacked) {
        height: 755px;
    }

    #pull {
        display: flex;
        align-items: center;
        text-decoration: none;
        color: #094350;
        text-transform: uppercase;
        font-weight: 700;
    }

    #pull:before {
        content: "\f0c9";
        font-family: "Font Awesome 6 Pro";
        display: inline-block;
        margin-right: 1rem;
        color: #0079A8;
        font-size: 1.75rem;
    }
    
    .menu {
        display: none;
        position: absolute;
        right: 0;
        width: 100%;
        padding: 2rem;
        margin-top: 32px;
        background: white;
        z-index: 9;
        box-shadow: 0px 0px 10px -3px rgba(0,0,0,0.4);
    }

    .menu.menu-open {
        display: block;
    }
    
    .menu li {
        display: block;
        width: 100%;
        max-width: 400px;
        margin: 0 auto 1rem auto;
    }

    .menu li a {
        width: 100%;
        text-align: center;
    }
}

@media screen and (max-width: 1150px) {
    .target label, select, input, .geoitem-search input {
        font-size: 1rem;
    }

    .toggle-switch {
        width: 100%;
    }
}

@media screen and (max-width: 1060px) {
    .large-title {
        display: none;
    }

    .filters-header h2 {
        text-transform: capitalize;
    }

    .target label {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .select-wrapper, .number-wrapper {
        margin-top: 1rem;
        margin-left: auto;
    }

    #popup {
        width: 90%;
        height: 90%;
    }
}

@media screen and (max-width: 890px) {
    h3 {
        font-size: 1.125rem;
    }

    .page-section {
        margin-bottom: 2rem;
    }
    
    .selection, .charts {
        width: 100%;
    }

    .filters {
        padding: 1.5rem 1rem;
    }

    button.expandToggle {
        top: 1.45rem;
    }

    .grid {
        grid-template-columns: 100%;
        gap: 10px;
    }

    .f-chart {
        height: 300px;
    }

    .title-wrapper {
        margin-bottom: 1rem;
    }
    
    #selected-area {
        font-size: 1.5rem;
    }

    .chart-wrapper h3 {
        height: auto;
        overflow: visible;
        white-space: inherit;
    }

    .more-info-btn svg {
        min-width: 22px;
    }
    
    .select-wrapper, .number-wrapper {
        margin-top: 0;
    }
    
    .large-title {
        display: inline;
    }
    
    .filters-header h2 {
        text-transform: initial
    }
    
    .small-screen-text {
        display: block;
    }
}

@media screen and (max-width: 580px) {
    .charts-container {
        flex-wrap: wrap;    
    }
    
    .charts-container .chart-wrapper {
        width: 100%;
    }
    
    .header-wrapper:after {
        left: 100px;
    }
}

@media screen and (max-width: 400px) {
    footer {  
        .column {
            img {
                transform: scale(0.7);
            }
        }
    }
}

@media print {
    body.swingreport {
        padding: 20px;
    }

    .header-wrapper img {
        width: 158px;
    }

    .hide-on-print, .more-info-btn, .select-wrapper:after, .header-wrapper:after, .slider, .no2-active .filters-section, .no2-active .target, .expandToggle {
        display: none!important;
    }
    
    .content, header {
        min-height: auto;
        background: transparent;
    }
    
    .content, .header-wrapper {
        padding-top: 0;
        padding-right: 0;
        padding-left: 0;
    }
    
    .charts-container {
        page-break-before: always;
    }

    .charts, .selection, .chart-selection, .page-section {
        width: 100%;
    }

    .f-header {
        padding: 40px 0;
    }

    .title-long .f-header {
        padding: 28px 0;
    }

    .filters[data-expanded="true"] .f-header, .filters[data-expanded="true"] .f-content {
        padding-top: 0;
        padding-bottom: 0;
    }

    .filters-section .chart-wrapper {
        width: 60%;
        margin: 0 auto;
    }

    .column-title {
        margin-top: 5px;
    }

	.filters[data-expanded="true"] {
		padding-bottom: 53px;
	}
	
	.filters[data-expanded="true"] + .f-chart {
		padding-top: 35px;
	}

    .filters.title-long[data-expanded="true"] + .f-chart {
        padding-top: 60px;
    }
	
	.filters[data-expanded="true"] .f-content {
		display: flex;
		flex-wrap: wrap;
		row-gap: 22px;
		padding-bottom: 0px;
	}
	
    .filters .title-with-info {
        width: 80%;
        height: 20px;
        margin: 0;
    }

    .title-with-info {
        margin-bottom: .5rem;
    }

    .filter {
        display: flex;
        justify-content: right;
        width: 20%;
        height: 20px;
        margin-bottom: 5px;
    }

    .selection {
        margin-top: 1rem;
    }

    .filters h4, input, select {
        font-size: .9rem;
    }

    .select-wrapper, .number-wrapper {
        min-width: 55px;
    }

    .large-title {
        display: none;
    }

    .filters-header h2 {
        font-size: 1.2rem;
        text-transform: capitalize;
    }
    
    .selection {
        page-break-before: always;
    }
    
    .chart-wrapper h3 {
        height: auto;
        overflow: auto;
        font-size: .8rem;;
        white-space: initial;
    }

    .charts-container .chart:not(.stacked) {
        height: 500px;
    }

    .charts-container .chart.stacked {
        height: 450px;
    }
    
    .filter-dropdown {
        display: flex;
        width: 20%;
        height: 20px;
        margin: 0 0 5px 0;
        align-items: center;
    }
    
    .filter-dropdown .select-wrapper {
        width: 100%;
    }
    
    .filter-select {
        padding-right: 0;
        text-align: right;
    }
}
