/* eigene Styles -> für Print und Screen */

/* hier können Schriftarten, größen usw. festgelegt werden */

@font-face {
    /* font-family:"Arial Narrow MT W01 Regular"; */
    font-family: 'Arial Narrow';
    src: url('../fonts/2efa47ee-a5b2-48b4-bf5d-34bd3b20c7c2.woff2')
            format('woff2'),
        url('../fonts/df6ec43e-1e7d-4321-b7d9-c641e09a85e3.woff') format('woff'),
        url('../fonts/2efa47ee-a5b2-48b4-bf5d-34bd3b20c7c2.ttf')
            format('truetype');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    /* font-family:"Arial Narrow MT W01 Bold"; */
    font-family: 'Arial Narrow';
    src: url('../fonts/c6352ed7-dc94-4f89-bb0e-191bcb55ae9c.woff2')
            format('woff2'),
        url('../fonts/be8d2a32-550a-4871-8752-ae0ee886f9f0.woff') format('woff'),
        url('../fonts/c6352ed7-dc94-4f89-bb0e-191bcb55ae9c.ttf')
            format('truetype');
    font-weight: 700;
    font-display: swap;
}

:root {
    --primary: rgba(0, 58, 101, 1);
    --secondary: rgba(240, 129, 0, 1);
    --textcolor: rgba(14, 15, 14, 1);
    --grey: #eee;
    --white: #fff;
    --h1: 3em;
    --h2: 2.25em;
    --h3: calc(2rem / 24 * 40);
    --h4: calc(2rem / 24 * 40);
    --h5: 0.83em;
    --h6: 0.67em;
    --gap: 2rem;
}

html {
    font-size: 10px;
    font-family: 'Arial Narrow', sans-serif;
}

body {
    /* font-family: 'Roboto', sans-serif; */
    color: var(--textcolor);
    font-size: 2rem;
    line-height: 1.2;
}

body.custom-background:not(.home) {
    background: none;
}

h1,
.h1 {
    font-size: var(--h1);
    color: var(--primary);
    font-weight: lighter;
}

h2,
.h2 {
    font-size: var(--h2);
    color: var(--primary);
    font-weight: lighter;
}

h3,
.h3 {
    font-size: var(--h3);
    color: var(--primary);
    font-weight: lighter;
}

h4,
.h4 {
    font-size: var(--h4);
    color: var(--primary);
    font-weight: lighter;
}

h5,
.h5 {
    font-size: var(--h5);
    color: var(--primary);
    font-weight: lighter;
}

h6,
.h6 {
    font-size: var(--h6);
    color: var(--primary);
    font-weight: lighter;
}

img {
    max-width: 100%;
    max-width: 100%;
    height: auto;
    width: auto;
    vertical-align: bottom;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--secondary);
}

a:focus {
    outline: 0;
}

a:hover,
a:active {
    outline: 0;
}

h1:not(.custom_headline),
h2:not(.custom_headline),
h3:not(.custom_headline),
.h1,
.h2,
.h3 {
    /* text-transform: uppercase; */
    color: var(--primary);
    font-weight: lighter;
    /* font-family: 'Oswald', sans-serif; */
}

h1:not(.custom_headline) strong,
h1:not(.custom_headline) b,
h2:not(.custom_headline) strong,
h2:not(.custom_headline) b,
h3:not(.custom_headline) strong,
h3:not(.custom_headline) b,
h4:not(.custom_headline) strong,
h4:not(.custom_headline) b,
.h1 strong,
.h1 b,
.h2 strong,
.h2 b,
.h3 strong,
.h3 b,
.h4 strong,
.h4 b {
    font-weight: bold;
}

p + p {
    margin-top: 1em;
}

ol,
ul {
    margin: 0.8rem 0 1.6rem 1.5rem;
}

li {
    list-style: none;
}

ol {
    counter-reset: ol;
}

main ol,
main ul {
    /* margin: 1rem 0 1rem 1em */
    margin: 1rem 0 1rem 1.2em;
}

main li {
    position: relative;
}

main ul.children > li:before,
main ul:not([class]) > li:before {
    content: '';
    background-color: var(--primary);
    height: 0.4em;
    width: 0.4em;
    -webkit-transform: translate(-100%, -50%) skewY(-30deg);
    -ms-transform: translate(-100%, -50%) skewY(-30deg);
    transform: translate(-100%, -50%) skewY(-30deg);
    display: inline-block;
    position: absolute;
    top: 0.6em;
    left: -0.75em;
}

main ol:not([class]) > li:before {
    counter-increment: ol;
    content: counter(ol) '.';
    -webkit-transform: translate(-100%, -50%);
    -ms-transform: translate(-100%, -50%);
    transform: translate(-100%, -50%);
    display: inline-block;
    position: absolute;
    top: 0.6em;
    left: -0.5em;
    min-width: 0.7em;
    /* text-align: right; */
    color: var(--primary);
    font-weight: bold;
}

main ol ul,
main ol ol,
main ul ul,
main ul ol {
    margin-bottom: 1.5rem;
}

li:not(:last-child) {
    margin-bottom: 0.8rem;
}

.sidebar > ul > li:not(:last-child) {
    margin-bottom: 2.4rem;
}

h2:not(.custom_headline),
h3:not(.custom_headline),
h4:not(.custom_headline),
h5:not(.custom_headline),
h6:not(.custom_headline) {
    /* margin-top: 5rem; */
    /* margin-bottom: 1.6rem; */
}

.wrapper > * {
    width: 100%;
    display: inline-block;
}

/* 404 */
.errorpage {
    align-items: stretch;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.errorpage h1 strong {
    font-size: 5em;
}

.errorpage img {
    width: 100%;
    max-width: 20rem;
    height: auto;
}

.errorpage .lg_6 {
    width: calc(100% / 12 * 6);
}

.errorpage_img {
    position: relative;
    background: radial-gradient(
        circle,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(255, 255, 255, 0) 60%
    );
    min-height: 20rem;
    max-width: 35rem;
}

.errorpage_img .mond {
    position: absolute;
    left: 12.5%;
    top: 0%;
    z-index: 1;
    width: 40%;
    height: auto;
}

.errorpage_img .astronaut {
    position: absolute;
    right: 12.5%;
    bottom: 0%;
    z-index: 2;
    width: 40%;
    height: auto;
    transform: rotate(0deg);
    animation-duration: 10s;
    animation-name: rotate;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-360deg);
    }
}

@media only screen and (max-width: 768px) {
    .errorpage .md_12 {
        width: 100%;
    }

    .errorpage {
        flex-direction: column-reverse;
        align-items: center;
    }
}

/* ENDE 404 */

.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--gap);
    padding-top: 5rem;
    align-items: stretch;
}

.application_form .col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: 800px;
    gap: 2rem;
}

.application_form .fileupload {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
    min-height: 4.2rem;
    /* background-color: red; */
    padding: 0.5rem 5rem 0.5rem 1rem;
    padding: 0.5rem 1rem 0.5rem 1rem;
    position: relative;
    z-index: 2;
}

.application_form .fileupload:not(:empty) {
    background-color: #f2f2f2;
}

.application_form .upload input {
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
}

.application_form .upload {
    background-color: #fff;
    border: none;
    padding: 0;
    margin-top: 0.5rem;
    font-size: inherit;
    line-height: normal;
    width: 100%;
    position: relative;
    display: block;
}

.grey_background .application_form .fileupload:not(:empty),
.grey_background .application_form .upload {
    background-color: #ffffff;
}

.application_form .upload:before {
    content: attr(name);
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
}

.application_form .upload:after {
    content: url(https://www.wassermann-group.com/wp-content/themes/wassermann/images/upload.svg);
    padding: 0.75rem;
    background-color: var(--secondary);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 4rem;
    display: inline-table;
    box-sizing: border-box;
    height: 100%;
}

.application_form button {
    display: flex;
    padding: 0.8rem 2rem;
    justify-content: center;
    align-items: center;
    background-color: var(--secondary);
    color: #fff;
    border: none;
    margin-left: auto;
    width: auto;
}

.application_form .dz-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.application_form .dz-details {
    display: flex;
    flex-direction: row-reverse;
    gap: 1rem;
    width: 100%;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.application_form .dz-remove,
.application_form .dz-size {
    margin-left: auto;
}

.application_form .dz-remove {
    display: flex;
    padding: 0.8rem 2rem;
    justify-content: center;
    align-items: center;
    background-color: var(--secondary);
    color: #fff;
    border: none;
    margin-left: auto;
    width: auto;
}

.application_form .dz-error .dz-image,
.application_form .dz-preview:not(.dz-image-preview) .dz-image {
    display: none;
}

.application_form .dz-error-message {
    color: red;
}

.application_form .dz-progress {
    width: 100%;
    height: 0.5rem;
}

.application_form .dz-upload {
    height: 100%;
    display: block;
    background-color: var(--secondary);
}

.application_form .dz-success-mark,
.application_form .dz-error-mark {
    height: 5rem;
    width: 5rem;
    display: none !important;
}

.application_form .dz-success-mark svg,
.application_form .dz-error-mark svg {
    max-width: 100%;
    max-height: 100%;
}

label.invalid {
    color: red;
}
.upload.invalid,
input.invalid,
select.invalid {
    border: 1px solid red;
}

.application_form fieldset .col > .lg_12 {
    padding-right: 25px;
}
.btn-small:hover,
.btn-small {
    background-color: var(--secondary);
    color: #fff;
    padding: 0.2rem 1rem;
    font-size: 1.4rem;
}
