/* Huge devices (desktops, less than 1600px)*/
@media all and (max-width: 1599.98px) {
    .footer {
        padding-top: 4rem;
    }
    
    .footer__inside {
        padding-left: 24rem;
    }

    .footer .ape_illustration {
        left: 1.5rem;
        width: 440px;
        height: 360px;
    }

    .newsletter__cta {
        top: 14%;
        right: 7%;
    }

}


/* Extra large devices (desktops, less than 1440px)*/
@media all and (max-width: 1439.98px) {

    .site_cover--full .site_cover__bottom {
        bottom: 3rem;
    }
    
    .footer {
        padding-top: 3.5rem;
    }
    
    .newsletter__cta {
        top: 11%;
        right: 5%;
    }

    main .newsletter__cta.animate {
        opacity: 1;
        -webkit-transition-delay: .75s;
             -o-transition-delay: .75s;
                transition-delay: .75s;
    }

    .event:nth-child(2n) {
        margin-left: 4rem;
    }

}

@media all and (max-width: 1365.98px) {

    .site_cover__headline__content, .site_cover--full .site_cover__bottom .arrow_container {
        padding-left: calc(1.5rem + 45px);
    }

    .site_cover__headline__special {
        left: -45px;
    }

}


/* Large devices (desktops, less than 1280px) */
@media all and (max-width: 1279.98px) {

    header.header--no-media + main .section:first-child {
        padding-top: 4.5rem;
    }

    h4 {
        margin-bottom: .15rem;
    }

    .site_cover--full .site_cover__bottom {
        bottom: 2.5rem;
    }

    .site_nav__main li + li {
        margin-left: 1.1rem;
    }

    .site_nav__main li a {
        font-size: .95rem;
    }

    .section:first-child {
        padding-top: 4.5rem;
    }

    .newsletter__content {
        padding-top: 3.5rem;
    }

    #newsletter .newsletter__content {
        padding-top: 0;
    }

    .newsletter__cta {
        top: 8%;
        right: calc(1.5rem + 5px);
    }

    .event + .event {
        margin-top: 3rem;
    }

    .event:nth-child(2n) {
        margin-left: 0;
    }

    .event__container {
        margin-right: 0;
        min-height: 230px;
    }

    .media {
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
        max-width: 100%;
    }

    .media__container {
        min-height: unset;
    }

    .quote__row {
        -webkit-box-align: initial;
        -ms-flex-align: initial;
        align-items: initial;
    }

    .quote {
        padding-right: 0;
    }

    .quote:nth-child(2n) {
        padding-left: 0;
    }

    .quote__content {
        padding-top: 1rem;
    }

    .footer {
        padding-top: 2rem;
    }
    
    .footer__inside {
        padding-left: 20rem;
    }

    .footer__top .col-m-6 {
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
        max-width: 100%;
    }

    .footer__top .col-m-6 + .col-m-6, .footer__bottom {
        margin-top: 1.5rem
    }

    .footer__legal {
        padding-left: 0;
    }
      
    .site_nav__footer li + li, .footer .wpml-ls-legacy-list-horizontal {
        margin-left: .8rem;
    }

    .footer .ape_illustration {
        left: .5rem;
        width: 370px;
        height: 303px;
    }

    .section__argument + .section__argument {
        margin-top: 1.5rem;
    }

    .section__argument--indented .argument {
        margin-left: 0;
    }

    section > .section__newsletter--cta {
        margin-top: 2rem;
    }

}



/* Medium devices (tablets, less than 1024px) */
@media all and (max-width: 1023.98px) {
    html {
        font-size: 18px;
    }

    .section {
        padding-top: calc(5rem + 11.75vw);
        padding-bottom: 4rem;
    }

    .section:first-child {
        padding-top: 4rem;
    }

    header.header--no-media + main .section:first-child {
        padding-top: 3.5rem;
    }

    .section:last-child {
        padding-bottom: calc(5rem + 11.75vw);
    }

    .section > div, .section__row > .row > div > div {
        padding-top: 1rem;
    }

    .section--no-padding {
        padding-bottom: 1rem;
    }

    .site_cover__headline h1 {
        font-size: 3.5rem;
    }

    h1, h2 {
        font-size: 2.4rem;
    }

    h1 br, h2 br, h3 br {
        content: "";
    }
    
    h1 br::after, h2 br::after, h3 br::after {
        content: " ";
    }

    h3, .site_cover__headline__subtitle {
        font-size: 1.5rem;
    }

    h4 {
        font-size: 1.2rem;
    }

    header.header--has-media {
        padding-top: 74px;
        background: #ffee03;
    }

    .site_cover {
        height: 400px;
        min-height: unset;
    }

    .site_cover.site_cover--full {
        height: 600px;
        min-height: unset;
    }

    header.header--has-media::before {
        display: none;
    }

    .site_cover__headline {
        top: 44%;
    }

    .site_cover__headline__special {
        top: 6px;
    }

    .site_cover__headline__special svg {
        width: 100px;
        height: 95px;
    }

    .site_cover--full .site_cover__bottom {
        bottom: 2.5rem;
    }

    .site_cover .newsletter__cta {
        top: 1rem;
        right: 1rem;
    }

    .newsletter__cta a > svg {
        width: 215px;
        height: 201px;
    }

    .newsletter__cta span::after {
        -webkit-transform: translateX(-50%) scale(.8);
        -ms-transform: translateX(-50%) scale(.8);
        transform: translateX(-50%) scale(.8);
    }

    main ul li::before {
        top: 10px;
    }

    .document--pdf a::before {
        top: -1px;
        -webkit-transform: scale(.9);
            -ms-transform: scale(.9);
                transform: scale(.9);
    }

    .quote {
        padding-right: 0;
    }

    .quote:nth-child(2n) {
        padding-left: 0;
    }

    .quote__content {
        padding-left: .5rem;
    }

    .quote__content__author h4 span {
        font-size: 1.1rem;
    }

    .argument__icon .icon {
        height: 141px;
    }

    .argument__icon .icon svg {
        width: 140px;
        height: 141px;
    }

    .argument__icon .icon.icon--3 {
        left: -3px;
        width: 146px;
    }

    .argument__icon .icon.icon--3 svg {
        width: 146px;
        height: 147px;
    }

    .argument__icon .dots {
        left: 155px;
        top: 44%;
    }

    .newsletter__content {
        padding-top: 9rem;
    }

    .newsletter__content br {
        display: none;
    }

    .event__container {
        min-height: unset;
    }

    .event + .event {
        margin-top: 1.5rem;
    }

    .event__date::before, .event__date::after, .event__place::before, .event__place::after {
        -webkit-transform: scale(.9);
            -ms-transform: scale(.9);
                transform: scale(.9);
    }

    .event__date::before, .event__date::after {
        top: 3px;
    }

    .event__place::before, .event__place::after {
        top: 1px;
    }

    .single-event .section:not(.section--no-padding) {
        padding-top: 0;
    }

    .yikes-easy-mc-checkbox-label::before {
        top: 6px;
    }
    
    input[type="text"], input[type="email"], .quform-input-select > .select2-container, textarea {
        height: 44px !important;
    }

    .yikes-easy-mc-form {
        max-width: 620px;
    }

    .yikes-easy-mc-form label.FNAME-label, .yikes-easy-mc-form label.LNAME-label {
        width: 299px;
    }

    .quform-spacer {
        padding: 0 0 16px 0;
    }

    .quform-element-group + .quform-element-html {
        margin-top: .5rem;
    }

    .footer .ape_illustration {
        left: -1.25rem;
    }

    .footer__inside {
        padding-left: 22rem;
    }

    .footer__legal {
        margin-top: 1rem;
        padding-left: 1.02rem;
    }

    .site_nav__footer li + li, .footer .wpml-ls-legacy-list-horizontal {
        margin-left: 1rem;
    }

    .footer .wpml-ls-native {
        padding-left: 1.35rem;
    }

    .footer .wpml-ls-native::before {
        top: 2px;
        transform: scale(.9);
    }

    .footer .ape_illustration {
        left: .5rem;
        width: 370px;
        height: 303px;
    }

    .quform-option {
        padding-left: 30px;
    }

    .yikes-easy-mc-checkbox-label {
        padding-left: 28px;
    }

    form:not(.yikes-easy-mc-form) input[type="radio"], form:not(.yikes-easy-mc-form) input[type="checkbox"] {
        width: 20px;
        height: 20px;
    }

    form:not(.yikes-easy-mc-form) input[type="radio"]::before {
        width: 10px;
        height: 10px;
        left: 3px;
    }

    form:not(.yikes-easy-mc-form) input[type="checkbox"]::before, .yikes-easy-mc-checkbox-label::before {
        -webkit-transform: scale(.9);
            -ms-transform: scale(.9);
                transform: scale(.9);
    }

    form:not(.yikes-easy-mc-form) input[type="checkbox"]::before {
        top: 0px;
        left: 0px;
    }

    .yikes-easy-mc-checkbox-label::before {
        left: 2px;
    }

    .yikes-easy-mc-checkbox-label::after {
        top: 4px;
        width: 16px;
        height: 16px;
    }

    p.quform-description, .quform-element-html em, p em {
        font-size: 15px;
    }

    p.quform-description:last-child {
        margin-bottom: 0;
    }

    section > .section__newsletter--cta {
        margin-top: 5rem;
    }


    /* Header */
    header {
        min-height: 74px;
    }

    .site_header {
        background-color: #FFEE03;
        z-index: 15;
    }

    .site_header__row, .page-scrolled .site_header__row {
        padding: .5rem 0;
    }

    .site_logo {
        height: 56px;   
    }

    .site_logo svg {
        height: 56px;   
        width: 112px;
    }

    .site_logo svg g .color--dark, header.header .site_logo g.logo__text .color--dark, 
    header.header .site_logo svg g.logo__yes .color--dark {
        fill: #3D3D3C;
    }

    .site_logo svg g .color--white, header.header .site_logo g.logo__text .color--white, 
    header.header .site_logo svg g.logo__yes .color--white {
        fill: #ffffff;
    }

    body.nav-active {
        overflow: hidden;
    }

    .site_nav__container {
        position: fixed;
        top: 0;
        left: 0;
        height: calc(100% - 74px);
        width: 100%;
        top: 74px;
        background: #3d3d3c;
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
        opacity: 0;
        visibility: hidden;
        z-index: -1;
        padding-bottom: 2rem;
    }

    body.nav-active .site_nav__container{
        opacity: 1;
        visibility: visible;
        z-index: 110;
    }

    .site_nav__icon {
        cursor: pointer;
        position: absolute;
        background: #3d3d3c;
        top: 0;
        right: 0;
        width: 74px;
        height: 74px;
    }

    .site_nav__icon .hamburger {
        position: absolute;
        top: 50%;
        left: 50%;
        -webkit-transform: translate(-50%, -50%);
            -ms-transform: translate(-50%, -50%);
                transform: translate(-50%, -50%);
    }

    .site_nav__icon .line {
        width: 36px;
        height: 2px;
        background-color: #ffffff;
        display: block;
        margin: 6px auto;
        -webkit-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }

    .nav-active .site_nav__icon .line:nth-child(1) {
        -webkit-transform: translateY(8px) rotate(45deg);
        -ms-transform: translateY(8px) rotate(45deg);
        transform: translateY(8px) rotate(45deg);
    }

    .nav-active .site_nav__icon .line:nth-child(2) {
        opacity: 0;
    }

    .nav-active .site_nav__icon .line:nth-child(3) {
        -webkit-transform: translateY(-8px) rotate(-45deg);
        -ms-transform: translateY(-8px) rotate(-45deg);
        transform: translateY(-8px) rotate(-45deg);
    }

    .teaser__media img {
        width: 100%;
        height: auto;
    }

    .site_nav__main {
        margin-top: 0;
    }

    .site_nav ul li {
        position: relative;
    }

    .site_nav__main li + li {
        margin-left: 0;
    }

    .site_nav ul:not(.sub-menu) > li {
        display: block;
    }

    .header .site_nav ul li a {
        color: #ffffff;
    }

    .site_nav > div > ul > li > a {
        font-size: 1.5rem;
        padding: .75rem 1.5rem;
        display: block;
        border-bottom: 2px solid rgba(255, 255, 255, .1);
    }

    .site_nav > div > ul > li.current-menu-parent > a, .site_nav > div > ul > li.current-menu-item > a {
        color: rgba(255, 255, 255, .5);
    }

    .site_nav__meta li.menu-item-has-children.current-menu-ancestor > a::after, .single-event .header--no-media .site_nav__main li.events a {
        opacity: .65;
    }

    .site_nav__main > li, .site_nav__meta > li {
        padding-bottom: 0;
        margin-right: 0;
    }
    
    .site_nav ul.site_nav__meta li a {
        font-size: 16px;
        padding: 5px 15px;
    }

    .site_nav__main li.current-menu-item a::after, .single-event .header--no-media .site_nav__main li.events a::after {
        display: none;
    }

    .iframe_container {
        padding-top: 1.5rem;
    }

    .iframe_container iframe#payrexx-embed {
        height: 1600px;
    }
      
}


@media all and (min-width: 768px) {
    .event__content > br {
        display: none;
    }
}


/* Small devices (landscape phones, less than 768px) */
@media all and (max-width: 767.98px) {

    .site_header__row, .page-scrolled .site_header__row {
        padding: .25rem 0;
    }

    .footer__border.border svg {
        bottom: -4px;
    }

    header {
        min-height: 65px;
    }

    header.header--has-media {
        padding-top: 65px;
    }

    .site_nav__icon {
        width: 65px;
        height: 65px;
    }

    .site_nav__container {
        height: calc(100% - 65px);
        top: 65px;
    }

    .site_nav > div > ul > li > a {
        font-size: 1.333rem;
        padding: .55rem 1.5rem;
    }

    .section > div, .section__row > .row > div > div {
        padding-top: .5rem;
    }

    .section__text + .section__button, .section__text + .section__buttons, .section > .section__text + .section__document, .section > .section__text + .section__media_articles {
        padding-top: .25rem;
    }

    .section > .section__button {
        padding-top: 1rem;
    }

    header.header--no-media + main .section:first-child {
        padding-top: 3rem;
    }

    .section:first-child {
        padding-top: 3rem;
    }

    .section__buttons .button {
        width: 100%;
    }

    .section__buttons .button + .button {
        margin-left: 0;
        margin-top: .5rem;
    }

    .site_cover.site_cover--full {
        height: 550px;
        min-height: unset;
    }

    .site_cover__headline {
        top: auto;
        bottom: 0;
    }

    .site_cover {
        height: 325px;
        min-height: unset;
    }

    .site_cover--full .site_cover__bottom {
        display: none;
    }

    .site_cover__headline__content h1, .site_cover__headline__content .site_cover__headline__subtitle{
        margin-left: 35px;
    }

    .animation--fade-left {
        -webkit-transform: translate3d(0, 40px, 0);
                transform: translate3d(0, 40px, 0);
    }

    .site_cover .newsletter__cta {
        top: auto;
        bottom: 75px;
        right: 15px;
    }

    .newsletter__cta a > svg {
        width: 180px;
        height: 168px;
    }

    .newsletter__cta span {
        font-size: 15px;
        top: calc(50% - 11px);
        padding: 10px 10px 15px;
    }

    .newsletter__cta span::after {
        -webkit-transform: translateX(-50%) scale(.7);
        -ms-transform: translateX(-50%) scale(.7);
        transform: translateX(-50%) scale(.7);
    }

    .newsletter__content h2 {
        max-width: inherit;
    }

    .quote + .quote {
        margin-top: 2rem;
    }
    
    .quote__portrait, .event__image {
        max-width: 400px;
    }

    .quote__content {
        padding-top: .75rem;
        padding-left: 1.02rem;
    }

    .quote {
        position: relative;
        max-width: 1055px;
        padding: 1.1rem 1.4rem 1.2rem !important;
        text-align: center;
        border-radius: 5px;
        background: #FFFFFF;
        -webkit-box-shadow: 0 0 25px 0 rgba(61, 61, 60, .15);
        box-shadow: 0 0 25px 0 rgba(61, 61, 60, .15);
    }

    .quote__portrait, .event__image, .contact_person__portrait {
        margin: 0 auto;
    }

    .quform-spacer {
        padding: 0 0 16px 0;
    }

    .quform-element-group + .quform-element-html {
        margin-top: 1rem;
    }

    p.quform-description br {
        display: none;
    }

    .event .event__content {
        text-align: center;
        padding-left: 1.02rem;
        padding-top: .75rem;
    }

    .event__date, .event__place {
        display: inline-block;
        padding-left: 1.4rem;
    }

    .event__date::before, .event__date::after, .event__place::before, .event__place::after {
        -webkit-transform: scale(.85);
            -ms-transform: scale(.85);
                transform: scale(.85);
    }

    .event__place::before, .event__place::after {
        top: 0;
    }

    .newsletter__mailchimp .yikes-mailchimp-container + p {
        margin-top: .5rem;
    }

    .media__container {
        min-height: auto;
    }

    .googlemaps {
        height: 300px;
    }

    .footer__donation {
        margin-top: 1.5rem;
    }

    .organisation {
        max-width: 400px;
    }

    .footer {
        padding-top: 3rem;
        padding-bottom: 313px;
    }

    .footer__inside {
        padding-left: 1.5rem;
    }
    
    footer .row {
        margin: 0;
    }

    footer .row > div {
        padding-left: 0;
        padding-right: 0;
    }

    .footer__donation  {
        margin-top: 1rem;
    }

    .footer__bottom {
        margin-left: -1.02rem;
        margin-top: 1rem;
    }

    .footer__legal {
        margin-bottom: 1.5rem;
    }

    .footer .ape_illustration {
        left: 12px;
    }

    .iframe_container iframe#payrexx-embed {
        height: 1650px;
    }

    .yikes-easy-mc-form label.EMAIL-label, .yikes-easy-mc-form label.FNAME-label, .yikes-easy-mc-form label.LNAME-label {
        width: 100%;
    }

    .yikes-easy-mc-form label.FNAME-label {
        margin-right: 0;
    }

    .yikes-easy-mc-form label.EMAIL-label input, .yikes-easy-mc-form label.FNAME-label input, .yikes-easy-mc-form label.LNAME-label input {
        max-width: 450px;
    }

    .yikes-easy-mc-form label.EMAIL-label {
        margin-bottom: 15px;
    }

    button.yikes-easy-mc-submit-button {
        margin-bottom: 20px;
    }

    .argument__icon {
        position: relative;
        height: 100%;
        padding-bottom: 54px;
    }

    .argument__icon .icon {
        height: 136px;
    }

    .argument__icon .dots {
        left: 65px;
        bottom: 0;
        top: auto;
        height: 42px;
        width: 8px;
    }

    .argument__icon .dots span {
        margin: 3px 0;
    }

    .section__argument .argument__content {
        padding-top: .75rem;
        padding-left: 0;
        -webkit-transform: translate3d(0, -15px, 0);
                transform: translate3d(0, -15px, 0);
    }

    .cookie_box {
        width: 100%;
        left: 0;
        right: 0;
        border-radius: 0;
    }

    .cookie_box.is-active {
        bottom: 0;
    }

    .cookie_box p {
        padding-right: 140px;
        margin-bottom: 0;
    }

    .cookie_box button {
        position: absolute;
        top: 50%;
        right: 15px;
        transform: translateY(-50%);
    }

    .footer__social_media a + a {
        margin-left: 1px;
    }

    .footer__social_media svg {
        height: 32px;
        width: 32px;
    }

}


/* Extra small devices (portrait phones, less than 576px) */
@media all and (max-width: 575.98px) {
    h1, h2 {
        font-size: 1.889rem;
        word-break: break-word;
    }

    h3, .site_cover__headline__subtitle {
        font-size: 1.3rem;
    }

    .button--normal a, .button--special a, .toggle__buttons a {
        font-size: .8rem;
    }

    .section {
        padding-top: calc(4rem + 11.75vw);
        padding-bottom: 3rem;
    }

    .section:first-child {
        padding-top: 3rem;
    }

    .section:last-child {
        padding-bottom: calc(4rem + 11.75vw);
    }

    .section--no-padding {
        padding-bottom: 1rem;
    }

    .section > div, .inside, .site_cover__headline__content, 
    .site_cover--full .site_cover__bottom .arrow_container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .site_nav > div > ul > li > a {
        padding: 10px 15px;
    }
    
    .site_cover__headline__special {
        left: 0;
        top: 4px;
    }

    .site_cover__headline__special svg {
        width: 85px;
        height: 81px;
    }

    .site_cover__headline h1 {
        font-size: 2.9rem;
    }

    .site_cover--full .site_cover__bottom {
        bottom: 4.5rem;
    }

    .site_cover .newsletter__cta {
        bottom: 55px;
    }

    .newsletter__cta {
        top: 2rem;
        right: 1rem;
    }

    main .newsletter__cta.animate {
        -webkit-transition-delay: .5s;
             -o-transition-delay: .5s;
                transition-delay: .5s;
    }

    .quote__portrait, .event__image, .contact_person__portrait {
        max-width: 300px;
    }

    .media_articles .media {
        margin-bottom: 15px;
    }

    .contact_person_container {
        max-width: 310px;
    }

    .contact_person__content {
        text-align: center;
        margin-top: .75rem;
        margin-bottom: .25rem;
    }

    .section > .section__organisations {
        padding-top: 0;
    }

    .quform-element-group > .quform-spacer > .quform-child-elements > div {
        width: 100%;
    }

    .quform-element-group > .quform-spacer {
        padding-bottom: 0;
    }

    .iframe_container iframe#payrexx-embed {
        height: 1900px;
    }

    .cookie_box__container {
        padding: 15px 15px 20px;
    }

    .cookie_box p, .cookie_box p a {
        font-size: 16px;
    }

    .cookie_box p {
        padding-right: 0;
        margin-bottom: .75rem;
    }

    .cookie_box button {
        font-size: 14px;
        position: relative;
        top: 0;
        right: 0;
        transform: none;
    }

}


/* Old phones (less than 360px) */
@media all and (max-width: 413px) {
    h1, h2 {
        font-size: 1.85rem;
    }
    
    .site_cover__headline h1 {
        font-size: 2.6rem;
    }
    
}


@media all and (max-width: 374px) {
    
    .site_cover__headline__content h1, .site_cover__headline__content .site_cover__headline__subtitle {
        margin-left: 0;
    }

}