@font-face {
    font-family: 'Neo Sans Pro Black';
    src: url('font/NeoSansPro-Black.otf') format('opentype');
}

@font-face {
    font-family: 'Neo Sans Pro Bold';
    src: url('font/NeoSansPro-Bold.otf') format('opentype');
}

@font-face {
    font-family: 'Neo Sans Pro Regular';
    src: url('font/NeoSansPro-Regular.otf') format('opentype');
}

@font-face {
    font-family: 'Neo Sans Pro Light';
    src: url('font/NeoSansPro-Light.otf') format('opentype');
}

h1 {
    background-color: #00508D;
    color: #fff;
}

h2 {
    background-color: #fff;
    color: #00508D;
}

h1,
h2 {
    font-size: 54px;
    padding: 24px 40px 16px 40px;
    text-align: center;
    margin: 0;
    display: inline-block;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    font-weight: 700;
}

h4 {
    font-size: 40px;
    font-weight: 400;
    color: #00508E;
    margin: 0;
}

p {
    line-height: 150%;
}

a {
    color: #7A7A7A;
    padding: 0 12px 0 12px;
    font-size: 12px;
}

html,
body {
    height: 100%;
    background-color: #fff;
}

.background-newsletter {
    background-image: url(images/3D-Hintergrund-Tablet-full2.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center 0;
}

body {
    font-family: 'Neo Sans Pro', Arial, sans-serif;
    text-align: center;
    margin: 0;
    display: flex;
    flex-direction: column;
}

header {
    padding: 100px 0 50px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    margin-bottom: 40px;
    height: 60px;
}

.content {
    flex: 1 0 auto;
    /* max-width: 750px;
    display: flex;
    flex-direction: column;
    justify-content: center;*/
}

/*_____________ Unterseite __________*/

.subsite-inner {
    /*display: flex;
    flex-direction: column;*/
    text-align: left;
    padding: 0 24px;
    /*width: 700px;*/
}

.subsite h1 {
    text-align: left;
    display: table-caption;
}

.subsite {
    text-align: left;
    display: flex;
    flex-direction: column;
    padding: 50px 0 0 0;
    max-width: 750px;
    margin: 0 auto;
}

.subsite p {
    text-align: left;
    margin: 2.5rem 0;
    line-height: 150%;
}

.datenschutz-text a {
    color: #00508E;
    font-size: 1em;
    padding: 0;
}


.datenschutz-text li {
    line-height: 150%;
    padding-left: 8px;
}

/*______________________ Footer ________________________*/

footer {
    background-color: #F9F9F9;
    display: flex;
    flex-direction: row;
    padding: 16px 0;
    justify-content: center;
    flex-shrink: 0;
}

a.footer-text {
    text-decoration: none;
    font-size: 16px;
}

/*__________________ Formular _________________________*/

.rapidmail-form {
    display: flex;
    justify-content: center;
    width: 100%;
}

#rmOrganism .rmLayout--vertical.rmBase {
    max-width: 750px !important;
}

.rmBase__container {
    font-family: 'Neo Sans Pro', Arial, sans-serif !important;
}

#rmOrganism .rmBase__el .comp__input,
#rmOrganism .rmBase__el .comp__select {
    box-shadow: none !important;
    border-radius: unset !important;
    background-color: #F9F9F9 !important;
    color: #7A7A7A !important;
    font-size: 20px!important;
}

.vFormCheckbox__label,
.rmBase__el.rmBase__el--birthdate.rmBase__el--label-pos-none {
    text-align: left !important;
}

#rmOrganism .rmSubscription .rmBase__el .rmBase__compLabel {
    margin: 24px 0 16px 0 !important;
    font-size: 20px!important;
}

.vFormCheckbox__label {
    font-size: 12px!important;
}


/*__________________ Media Query _________________________*/

@media (max-width: 823px) and (min-width:601px) {

    h1,
    h2 {
        font-size: 40px;
        padding: 20px;
    }

    h4 {
        font-size: 32px;
    }

    header {
        padding: 32px 0 50px 0;
    }
}

@media only screen and (max-width: 600px) {

    h1,
    h2 {
        font-size: 32px;
        padding: 20px;
    }

    h4 {
        font-size: 24px;
    }

    .background-newsletter {
        background-image: url(images/3D-Hintergrund-Mobile.png);
    }

    header {
        padding: 32px 0 50px 0;
    }

    .logo {
        margin-bottom: 40px;
        height: 100px;
    }
}