*:first-child {
    margin-top: 0;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: Roboto, sans-serif;
    height: 100%;
    width: 100%;
    line-height: 1.4;
    font-size: 1.1em;
    color: #1A1A1A;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 1em;
    margin-bottom: 0.2em;
}
h3 {
    font-size: 1.33em;
}
h4 {
    font-size: 1.1em;
}

p {
    margin-top: 0;
}

a, a:visited {
    color: #407883;
    text-decoration: none;
    font-weight: 500;
}

a:hover {
    text-decoration: underline;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

i {
    line-height: 1.4 !important;
}

p img {
    width: 80%;
    height: auto;
    margin: 0 10%;
}

p iframe {
    width: 100%;
}

#content {
    flex-grow: 1;
    padding-top: 6.2em;
    padding-bottom: 2em;
    max-width: 1440px;
    width: 80%;
}

.full-width {
    max-width: 1440px;
    width: 80%;
}

@media only screen and (max-width: 750px) {
    #content {
        width: 90%;
    }
    .full-width {
        width: 90%;
    }
}

@media only screen and (max-width: 500px) {
    #content {
        width: 95%;
    }
    .full-width {
        width: 95%;
    }
}

#main-header {
    display: flex;
    flex-direction: row;
    justify-content: center;
    /*background-color: #ffdf16;*/
    line-height: 1;
    position: fixed;
    width: 100%;
    box-shadow: 0 1px 2px #dddddd;
    background-color: white;
    height: 5em;
    overflow-y: hidden;
    z-index: 100;
}

#main-header li {
    margin: 0 0.5em;
}

#header-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#home-logo {
    height: 4em;
    margin: 0.5em 0;
}

.menu-links {
    display: flex;
    flex-direction: row;
    list-style-type: none;
    margin: 0;
    padding: 0;
    height: 100%;
    justify-content: flex-end;
}

.header-item, .header-item:visited {
    display: inline-block;
    color: #1A1A1A;
    line-height: 1em;
    padding: 3.5em 0 0.4em 1em;
    font-weight: 500;
}

.header-item:hover {
    color: #1A1A1A;
    text-decoration: none;
}

.header-item i {
    line-height: 1 !important;
}

#footer {
    background-color: #5cadbc;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.footer-item, .footer-item:visited {
    display: inline-block;
    color: #1A1A1A;
    padding: 2em 0em 2em 2em;
    font-weight: 500;
}

.text-sized {
    font-size: 1.1em;
}

.fine-print {
    font-size: 0.7em;
    font-weight: 100;
}

.signup-links-wrapper {
    background-color: #5cadbc;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 400px;
    padding: 20px 32px
}

.signup-links-wrapper a {
    display: block;
    background-color: #ffdf16;
    color: #1A1A1A;
    text-decoration: none;
    padding: 4px 16px;
    margin-bottom: 10px;
}

.prog-list-wrapper {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin-bottom: 1em;
}

.prog-icon {
    max-width: 200px;
}

.prog-info {
    padding-left: 40px;
}

.auto-form form ul {
    list-style-type: none;
    margin: 0;
    /*padding: 0;*/
}

.unbullet-list {
    list-style-type: none;
    padding: 0;
}

.noformat-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.sub-menu {
    position: fixed;
    list-style-type: none;
    padding: 0;
    background-color: white;
    margin-top: 0.1em;
}

.sub-menu a {
    padding: 0.5em 2em 0.5em 0.5em;
    border-bottom: 1px solid #999999;
    text-decoration: none;
    width: 200px;
    box-sizing: border-box;
    color: #1A1A1A;
}

nav > ul li:hover .sub-menu li {
    display: flex;
}

nav > ul li       ul { display: none; }
nav > ul li:hover ul { display: block;}

.open .sub-menu {
    display: block;
}

.open .sub-menu li {
    display: flex;
}

.partner-wrapper {
    display: flex;
    flex-direction: row;
    margin: 1em 0;
}

.partner-logo-wrapper {
    width: 30%;
    max-width: 400px;
    flex-shrink: 0;
    flex-grow: 1;
}

@media only screen and (max-width: 500px) {
    .partner-wrapper {
        display: flex;
        flex-direction: column;
    }
    .partner-logo-wrapper {
        width: 100%;
    }
}

.partner-logo-wrapper img {
    width: 100%;
    height: auto;
}

.element-property {
    display: inline-block;
    font-size: 0.8em;
    margin-bottom: 1.25em;
}

.element-property i {
    margin-right: 0.2em;
}

.list-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    align-items: center;
}

.partner-link {
    box-sizing: border-box;
    padding: 0 1em;
}
.partner-link img {
    width: auto;
    height: 5em;
}

.auto-form form {
    border: #666 solid 1px;
    border-radius: 4px;
    padding: 1em;
}

.auto-form form .checkbox_p {
    display: flex;
    flex-direction: row;
}

.auto-form form .checkbox_p input {
    margin-top: 3px;
}

.auto-form-response {
    /*background-color: #dde8da;;*/
    /*color: #3B8624;*/
    /*border: solid #3B8624 1px;*/
    background-color: #ddf3d5;
    color: #607056;
    border: solid #607056 1px;
    font-weight: 500;
    border-radius: 4px;
    /*line-height: 0;*/
    /* transition: line-height 0.5s, padding 1s; */
    overflow: hidden;
    padding: 0.5em;
}

.neutral-notification {
    font-weight: 500;
    border: solid #666 1px;
    background-color: #ddd;
    border-radius: 4px;
    /* line-height: 0; */
    /* transition: line-height 0.5s, padding 1s; */
    overflow: hidden;
    padding: 0.5em;
}

.auto-form-response p,
.neutral-notification p {
    margin: 0;
}

.partner-content-wrapper {
    padding-right: 1em;
    box-sizing: border-box;
    flex-grow: 1;
}

.partner-link:first-of-type {
    padding-left: 0;
}

.errorlist {
    /*background-color: #dde8da;;*/
    /*color: #3B8624;*/
    /*border: solid #3B8624 1px;*/
    background-color: #ebc7c3;
    color: #be2f3b;
    border: solid #be2f3b 1px;
    font-weight: 500;
    border-radius: 4px;
    /*line-height: 0;*/
    /* transition: line-height 0.5s, padding 1s; */
    overflow: hidden;
    padding: 0.5em;
}

.form-field {
    margin-bottom: 1em;
    display: flex;
    flex-direction: column;
}

.help-text {
    margin-top: 0.2em;
    color: #595959;
    font-size: 0.6em;
}

.auto-form textarea {
    max-width: 100%;
    min-width: 100%;
    min-height: 50px;
    box-sizing: border-box;
}

.error-page-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.html-error-code {
    font-size: 8em;
}

a {
    cursor: pointer;
}

.footer-menu-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 1em;
}

.funded-by-label {
    font-weight: 500;
    margin-bottom: 0.5em;
}

.footer-links {
    align-items: center;
}

:target::before {
    content: '';
    display: block;
    height: 70pt;
    margin-top: -70pt;
}

#data-deletion-form {
    margin: 5pt 0 0 0;
    font-size: 0.7em;
}

.overlay {
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 200;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

#cookies-opt-in {
    box-sizing: border-box;
    width: 500px;
    max-width: 90%;
    background-color: white;
    height: 100%;
    padding: 1em;
    overflow: scroll;
    box-shadow: 1px 0px 6px #222;
}

.cookies-buttons-container {
    display: flex;
    flex-direction: row;
}

.cookies-buttons-container input {
    margin-right: 0.5em;
}

.cookie-consent-button {
    font-size: 0.86em;
    padding: 0.2em 0.5em;
}

.attributes-container {
    display: flex;
    flex-direction: row;
    padding-bottom: 1em;
}

.attribute-value {
    font-size: 0.7em;
    margin-right: 24px;
    color: #444;
    text-decoration: none !important;
}
.blog-list-element:hover {
    text-decoration: none;
}

.blog-list-element:hover h2 {
    text-decoration: underline;
}

.blog-list-element .attributes-container {
    flex-direction: column;
}

.blog-list-element .attribute-value {
    margin-bottom: 0;
}

.cover-image {
    width: 80%;
    height: auto;
    padding-bottom: 1em;
    margin: 0 10%;
}

.blog-list-element > .cover-image {
    width: 100%;
    margin: 0;
}

.blog-list-element {
    display: flex;
    flex-direction: column;
    /*justify-content: center;*/
    align-items: center;
    margin: 0 4% 4% 0;
    width: 29%;
    max-width: 500px;
}

@media only all and (max-width: 1100px) {
    .blog-list-element {
        width: 46%;
    }
}

@media only all and (max-width: 600px) {
    .blog-list-element {
        width: 96%;
    }
}

.blog-list-element h2 {
    margin-top: 0;
    text-align: center;
}

.blog-list-element .cover-image {
    padding: 0;
}

.tiled-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.video-container {
    height: 0;
    width: 80%;
    padding-bottom: 45%;
    margin: 0 10% 1em 10%;
    position: relative;
}

.video-container iframe {
    height: 100%;
    width: 100%;
    position: absolute;
}

/*#hamburger {*/
/*    display: none;*/
/*}*/

/*@media screen and (max-width: 800px) {*/
/*    #main-header li:not(#hamburger) {*/
/*        display: none;*/
/*    }*/

/*    #hamburger {*/
/*        display: unset;*/
/*        position: absolute;*/
/*        right: 0;*/
/*        top: 0;*/
/*    }*/

/*    #main-header.responsive li:not(#hamburger) {*/
/*        float: none;*/
/*        display: block !important;*/
/*        text-align: left;*/
/*    }*/

/*    #main-header.responsive ul {*/
/*        flex-direction: column;*/
/*        position: relative;*/
/*    }*/

/*    #main-header.responsive {*/
/*        overflow-y: visible;*/
/*    }*/
/*}*/