@font-face {
    font-family: 'Avenir';
    src: url('/static/fonts/Avenir-Medium.eot');
    src: url('/static/fonts/Avenir-Medium.eot?#iefix') format('embedded-opentype'),
        url('/static/fonts/Avenir-Medium.woff2') format('woff2'),
        url('/static/fonts/Avenir-Medium.woff') format('woff'),
        url('/static/fonts/Avenir-Medium.ttf') format('truetype'),
        url('/static/fonts/Avenir-Medium.svg#Avenir-Medium') format('svg');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir';
    src: url('/static/fonts/Avenir-Heavy.eot');
    src: url('/static/fonts/Avenir-Heavy.eot?#iefix') format('embedded-opentype'),
        url('/static/fonts/Avenir-Heavy.woff2') format('woff2'),
        url('/static/fonts/Avenir-Heavy.woff') format('woff'),
        url('/static/fonts/Avenir-Heavy.ttf') format('truetype'),
        url('/static/fonts/Avenir-Heavy.svg#Avenir-Heavy') format('svg');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir';
    src: url('/static/fonts/Avenir-Roman.eot');
    src: url('/static/fonts/Avenir-Roman.eot?#iefix') format('embedded-opentype'),
        url('/static/fonts/Avenir-Roman.woff2') format('woff2'),
        url('/static/fonts/Avenir-Roman.woff') format('woff'),
        url('/static/fonts/Avenir-Roman.ttf') format('truetype'),
        url('/static/fonts/Avenir-Roman.svg#Avenir-Roman') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body,
html {
    font-size: 20px;
    font-family: 'Avenir', Arial, Helvetica, sans-serif;
    font-style: normal;
    line-height: 1.6em;
    margin: 0rem;
    padding: 0rem;
    color: #000000;
    width: 100%;
    overflow-wrap: break-word;
}

body {
    margin: 0rem 0rem 3rem 0rem;
    text-align: center;
    background-color: #FFF;
}

body>div {
    max-width: 40rem;
    background-color: #fff;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    position: relative;
}

.keynav a:focus,
.keynav button:focus,
.keynav summary:focus,
.keynav textarea:focus {
    outline: 0.25rem solid #0EAD1B;

}

a,
input,
button,
label,
details,
summary {
    -webkit-tap-highlight-color: transparent;
}

#header-nav {
    background-color: #001CCC;
    height: 2.3rem;
}

a,
a:visited,
a:active {
    color: #001CCC;
}

button,
#header-nav>a {
    font-size: 1.1rem;
    font-family: 't26-carbon';
    padding: 0.6rem 0.2rem 0.6rem 0.2rem;
}

#header-nav>a {
    color: #fff;
    display: inline-block;
    text-decoration: none;
    line-height: 1rem;
    padding-left: 1rem;
}

#language-select {
    position: absolute;
    top: 0;
    right: 0;

    height: 2.15rem;
    z-index: 999;
}

#language-select.active {
    height: auto;
}

#language-select>button {
    background-image: url("/static/images/white_arrow.svg");
    background-repeat: no-repeat;
    background-position: center right 0.75rem;
    background-size: 1.15rem 1.15rem;
    font-size: 1.1rem;
    background-color: #001CCC;
    border: none;
    color: #FFF;
    width: 9rem;
    height: 2.3rem;
    margin: 0;
    padding: 0.6rem 0rem 0.6rem 0rem;
    text-align: center;
    cursor: pointer;
    font-family: 't26-carbon';
    display: block;
}

#language-select ul {
    margin: 0;
    padding: 0.6rem 0 0.6rem 0;
    background-color: #F1F2FC;
    display: none;
}

#language-select.active ul {
    display: block;
}

#language-select li {
    list-style: none;
    margin: -0.1rem 0 0 0;
    padding: 0;
}

#language-select li>button {
    color: #001CCC;
    cursor: pointer;
    background-color: transparent;
    border: none;
    text-decoration: underline;
    font-size: 1.1rem;
    font-family: 't26-carbon';
    padding: 0.6rem 0.2rem 0.6rem 0.2rem;
    width: 9rem;
    margin: 0;
}

h1 {
    font-size: 1.6rem;
    line-height: 1.9rem;
}

.intro-panel h1,
.outro-panel h1 {
    font-family: 't26-carbon';
}

.page-style-about h1 {
    font-size: 1.3rem;
}

.page-style-survey-complete-2 #language-select , .page-style-survey-complete-3 #language-select{
    display: none;
}

summary {
    color: #001CCC;
    font-size: 1.1rem;
    list-style-type: none;
    font-weight: bold;
    padding: 0 0 0 1.5rem;
    background-image: url('/static/images/blue_arrow.svg');
    background-repeat: no-repeat;
    background-position: left 0.15rem;
    background-size: 1.2rem 1.2rem;
    cursor: pointer;
}

details>summary::-webkit-details-marker {
    display: none;
}

details[open] summary {
    background-image: url('/static/images/blue_arrow_open.svg');
}

details {
    margin: 1rem 0 1rem 0;
}

details>div {
    border-left: solid 0.3333rem #B7BECA;
    margin: 0 0 0 0.425rem;
    padding: 0 0rem 0 0.7rem;
}



a.action-link,
.action-button {
    font-family: 't26-carbon', 'Courier New', Courier, monospace;
    background-color: #001AC4;
    color: #fff !important;
    border-radius: 0.25rem;
    padding: 0.5rem 0.25rem 0.5rem 0.25rem;
    display: inline-block;
    width: calc(100% - 0.5rem);
    border: none;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1.4rem;
}

.link-button {
    color: #717E95 !important;
    background-color: transparent;
    font-family: 'Avenir', Arial, Helvetica, sans-serif;
    padding: 0.5rem 0rem 0.5rem 0rem;
    margin-top: 0.5rem;
    display: inline-block;
    width: 100%;
    border: none;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1.4rem;
}

.action-button[disabled] {
    background-color: #C5CBD4;

}


a.action-link.active:not([disabled]),
.action-button.active:not([disabled]),
#map-done.active:not([disabled]),
a.action-link.tapped,
.action-button.tapped {
    background-color: #717E95 !important;
}

#skip {
    position: absolute;
    bottom: 0;
    left: 0;
    text-align: left;
    font-family: 't26-carbon', 'Courier New', Courier, monospace;
    text-decoration: none;

    display: none;
}

#skip.active {
    color: #001AC4 !important;
    text-decoration: underline;

}

#survey-nav {
    padding-bottom: 3rem;
}

blockquote {
    border-left: 0.3rem solid #B7BECA;
    margin: 0;
    padding: 0 1rem 0 1rem;
    font-weight: 500;
    color: #000000;
}

.full-width-panel>*:first-child {
    padding-top: 0;
    margin-top: 0;
}

.full-width-panel>p:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
}

.full-width-panel h1 {
    font-size: 1.3rem;
}
.full-width-panel h2 {
    font-size: 1rem;
}
.page-style-info h2{
    font-size: 1.3rem;
    margin-left:0 !important;
}
.page-style-info h3{
    font-size: 1rem;
    margin-left:0 !important;
}

.full-width-panel a {
    color: #001CCC;
}

.full-width-panel ul {
    padding-left: 1.1rem;
}

a.tapped,
.link-button.tapped {
    text-decoration: none !important;
}

.full-width-panel {
    margin: 0;
    padding: 1rem 1rem 1rem 1rem;
    display: block;

}


.full-width-panel.intro-panel {
    background-color: #001CCC;
    color: #FFF;
    text-align: center;
}

.full-width-panel.outro-panel {
    background-color: #717E95;
    color: #FFF;
    text-align: center;
}

.intro-panel h1,
.intro-panel h2 {
    max-width: 20rem;
    margin-left: auto;
    margin-right: auto;
}

.intro-panel h1,
.outro-panel h1 {
    font-size: 1.8rem;
}

.intro-panel h2 {
    font-weight: normal;
    margin: 1.2rem auto 1.2rem auto;
}

.outro-panel p,
.outro-panel div,
.outro-panel ul {
    text-align: left;
}

.intro-panel,
.outro-panel {
    padding: 3rem 1rem 2.2rem 1rem;
    min-height: 10rem;
}

.intro-panel a,
.outro-panel>a {
    color: #FFF;
    font-size: 1.8rem;
    font-family: 't26-carbon';
}

.outro-panel>div {
    margin-bottom: 2rem;
}

.outro-panel>div>a {
    color: #FFF;
    font-weight: 900;
}

.branding-panel {
    text-align: center;
    overflow: hidden;
    position: relative;
    height: 12rem;
}

.branding-panel img {
    width: 34rem;
    position: absolute;
    left: 50%;
    top: 1.5rem;
    margin-left: -17rem;
}

.branding-panel h3:first-of-type {
    top: 01rem;
}

.branding-panel h3 {
    position: absolute;
    bottom: 0;
    left: 0rem;
    right: 0rem;
    text-align: center;
    font-weight: normal;
    color: #5E6A7E;
    font-size: 0.9rem;
    margin: 0;
    padding: 0;
    display: block;
}

.sponsor-panel {
    text-align: center;
    padding: 0 1rem 2rem 1rem;
    position: relative;
    height: 4rem;
    margin: 1rem auto 1rem auto;
    max-width: 20rem;
}

.sponsor-panel>div>div {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;

}

.sponsor-panel img {
    width: 100%;
}

.sponsor-panel>div {
    max-width: 24rem;
    margin: 0 auto 0 auto;
    position: relative;
}

.sponsor-panel>div>div:first-of-type {
    width: 62%;
    left: 0;
}

.sponsor-panel>div>div:last-of-type {
    width: 32%;
    right: 0;
}

.heading-panel {
    background-color: #F0F2F4;
}

#header-progress,
#header-complete {
    height: 1.9rem;
    background-color: #717E95;
    color: #fff;
    line-height: 1.9rem;
    padding: 0 1rem 0 1rem;
    font-size: 0.8rem;
}

#header-complete {
    display: none;
}

fieldset {
    border: 0;
    padding: 0;
    margin: 0;
}

legend {
    font-size: 1.3rem;
    font-weight: 900;
    margin: 0 0 1rem 0;
    padding: 0;
}

legend>sub {
    display: block;
    font-weight: 500;
    font-size: 1rem;
    color: #5E6A7E;
    margin: 1rem 0 0 0;
    line-height: 1.3rem;
}

fieldset {
    margin-bottom: 1rem;
}

/* Radio buttons */
.radio__item,
.checkbox__item {
    clear: left;
    display: block;
    margin-bottom: 1rem;
    min-height: 2rem;
    padding: 0 0 0 0;
    position: relative;

}


.checkbox__item input,
.checkbox__item label {
    cursor: pointer;
}

.radio,
.checkbox {
    margin-top: 0.5rem;
}

.radio__item:last-child,
.radio__item:last-of-type {
    margin-bottom: 0;
}

.radio__input {
    cursor: pointer;
    height: 1.8rem;
    left: 0;
    margin: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    width: 1.8rem;
    z-index: 1;
}

.radio__label {
    cursor: pointer;
    display: inline-block;
    padding: 0.2rem 0 0 0.6rem;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    margin-left: 2rem;

}

.radio__hint {
    display: block;
    padding-left: 0.6rem;
    padding-right: 0.6rem;
}

.radio__input+.radio__label::before {
    background: #fff;
    border: 0.1rem solid #000000;
    border-radius: 50%;
    box-sizing: border-box;
    content: "";
    height: 1.8rem;
    left: 0;
    position: absolute;
    top: 0;
    width: 1.8rem;
}

.radio__input+.radio__label::after {
    background: #000000;
    border: 0.45rem solid #0EAD1B;
    border-radius: 50%;
    content: "";
    height: 0;
    left: 0.45rem;
    opacity: 0;
    position: absolute;
    top: 0.45rem;
    width: 0;
}

.radio__input:focus+.radio__label::before {
    border: 0.1rem solid #000000;

}

.keynav .radio__input:focus+.radio__label::before {

    box-shadow: 0 0 0 0.2rem #0EAD1B;
}


.radio__input:checked+.radio__label::after {
    opacity: 1;
}

.radio__input:disabled,
.radio__input:disabled+.radio__label {
    cursor: default;
}

.radio__input:disabled+.radio__label {
    opacity: .5;
}

.radio--inline.radio--conditional .radio__item {
    float: none;
    margin-right: 0;
}

/* checkboxes*/
.checkbox {
    position: relative;
}

input[type="checkbox"] {
    opacity: 0;
    position: absolute;
    left: -9999rem;
}

input[type="checkbox"]+label {
    margin: 0 0 0 0;
    padding: 0 0 0 2.5rem;
    display: block;
}

input[type="checkbox"]+label::before {
    background: #fff;
    border: 0.1rem solid #000000;
    box-sizing: border-box;
    content: '';
    height: 1.6rem;
    left: 0.2rem;
    position: absolute;
    top: -0.15rem;
    width: 1.6rem;
}

input[type="checkbox"]+label::after {
    background: transparent;
    content: '';
    height: 0.8rem;
    left: 0.6rem;
    opacity: 0;
    position: absolute;
    top: 0.25rem;
    width: 0.8rem;
    /*background-image: url("/static/images/white_cross.svg");*/
    background-image: url('data:image/svg+xml,<%3Fxml version="1.0" encoding="utf-8"%3F><!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="20px" height="20px" viewBox="0 0 20 20" enable-background="new 0 0 20 20" xml:space="preserve"><line fill="none" stroke="%23FFFFFF" stroke-width="3" stroke-miterlimit="10" x1="0" y1="0" x2="20" y2="20"/><line fill="none" stroke="%23FFFFFF" stroke-width="3" stroke-miterlimit="10" x1="0" y1="20" x2="20" y2="0"/></svg>');
    background-repeat: no-repeat;
    background-size: cover;

}

input[type="checkbox"]:focus+label::before {
    border: 0.15rem solid #000000;
    box-shadow: 0 0 0 0.15rem #0EAD1B;
    outline: 0.15rem solid transparent;
    outline-offset: 0.15rem;
}

input[type="checkbox"]:checked+label::before {
    background-color: #0EAD1B;
}

input[type="checkbox"]:checked+label::after {
    opacity: 1;
}

/*
*/
#survey-complete {
    display: none;
    background-color: #F0F2F4;
    margin-bottom: 1.5rem;
}

#submit {
    display: none;
    background-color: #0EAD1B;
}

.dynamic-question {
    display: none;
}

.dynamic-question textarea {
    display: none;
    width: calc(100% - 1.3rem);
    height: 5rem;
    margin-top: 0.5rem;
    padding: 0.5rem;
    font-size: 1rem;
    font-family: 'Avenir', Arial, Helvetica, sans-serif;
    border: 0.15rem solid #000000;
}

.nav-bar {
    margin: 0 1rem 0 1rem;
    position: relative;
}

.nav-bar .action-button {
    width: 40%;
    max-width: 10rem;
}

.nav-bar .link-button {
    width: 50%;
}

#next,
#submit,
#map-done {
    position: absolute;
    right: 0;
}

#map-done:not([disabled]) {
    background-color: #0EAD1B;
}

#map-clear:not([disabled]),
#map-add:not([disabled]) {
    color: #001AC4 !important;
    text-decoration: underline;
}

.nav-bar .link-button:last-of-type {
    position: absolute;
    right: 0;
    text-align: right;
}

#map-dialog {
    width: 100%;
    position: absolute;
    top: 2.3rem;
    left: 0;
    right: 0;
    background-color: #FFF;
    min-height: 100vh;
    display: none;
}
#map-wrapper {
    background-color: #F0F2F4;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 9rem;
}

#map-nav {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    height: 8rem;

}

.safari #map-dialog {
    min-height: -webkit-fill-available;
}

.safari #map-nav {
    height: 5rem;
}
.safari #map-wrapper {
    bottom: 6rem;
}

#map-warning {
    text-align: center;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    display: none;
    width: 100%;
    height: 100%;
    color: #717E95;
    font-family: 't26-carbon', 'Courier New', Courier, monospace;

}

.offline #map-warning {
    display: flex;
}

#map-warning h3,
#map-warning p {
    padding: 0;
    margin: 0.5rem;
}

.custom-marker {
    height: 1.5rem;
    width: 1.5rem;

    background-image: url("/static/images/map_icon.svg");
    background-repeat: no-repeat;
    background-size: contain;
}

.custom-marker.inactive {
    background-image: url("/static/images/map_icon_inactive.svg");
}

.mapboxgl-popup-close-button {
    outline: none;
}

.mapboxgl-popup-content {
    padding-right: 40px;
}

.mapboxgl-popup-close-button {
    font-size: 40px;
    padding: 0px 10px 10px 10px;
}

.mapboxgl-popup-close-button:hover {
    background-color: transparent;
}

/* cookie stuff */
.dialog {
    position: fixed;
    display: none;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1000;
}

.dialog>div {
    background-color: #FFF;
    border-radius: 0.5rem;
    padding: 1rem 1rem 1rem 1rem;
    max-width: 14em;
    margin: 6rem auto 0 auto;
    font-weight: 500;
}

.dialog h1 {
    margin: 0;
    padding: 0;
    font-size: 1rem;
    font-weight: 900;
}

.dialog>div>p {
    margin-top: 0;
    font-weight: 500;
}

.dialog>div>p>a {
    display: block;
    text-align: center;
    margin: 0 auto 0 auto;
}

#exit-dialog button,
#quit-dialog button {
    background-color: #E62A2A;
}

#offline h3 {
    font-size: 1rem;
    margin: 0 0 0.75rem 0;
    padding: 0;
    font-weight: 900;

}

.offline #offline {
    display: block;
}

#submit-dialog {
    text-align: center;
}

#submit-dialog h2 {
    font-size: 1.3rem;
}

#retry {
    display: none;
    margin-top: 1rem;
}

#submit-dialog>div>p {
    display: none;
}

#submit-dialog.error #retry,
#submit-dialog.error>div>p {
    display: block;
}

#submit-dialog img {
    width: 4rem;
    padding: 1rem 0 2rem 0;
}

#submit-dialog.error img {
    display: none;
}

@media (min-width:800px) {
    body {
        background-color: #DEDFE1;
    }

    .full-width-panel:not(.branding-panel, #container-panel) {

        text-align: center;
    }

    .full-width-panel:not(.outro-panel, .branding-panel, #container-panel, .intro-panel)>* {
        max-width: 36rem;
        text-align: left;
        margin-left: auto;
        margin-right: auto;
    }

    .outro-panel h1 {
        text-align: center;
    }

    #survey-complete.full-width-panel>* {
        margin: 0;
    }

    .radio__item,
    .checkbox__item {
        margin-bottom: 1.5rem;
    }

    .centered a.action-link,
    .centered .action-button {
        max-width: 12rem;
        margin-left: auto;
        margin-right: auto;
    }

    .centered {
        text-align: center !important;
    }

    #map-wrapper {

        bottom: 7rem;
    }

    #map-nav {

        height: 6rem;

    }
    #map-dialog {
        min-height: calc(100vh - 2.3rem);
    }
}