@charset "UTF-8";

/* variables */

:root {
    --keycolor: rgb(39, 50, 111);
    --keycolorsecond: rgb(42, 79, 0);
    --keybackground: rgb(102, 102, 102);
    --bodybackground: rgb(204, 204, 204);
    --lightgrey: rgb(248,248,255);
}

/* structure */

body {
    background-color: var(--bodybackground);
}
div#container {
    background-color: white;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto
}
header {
    background-color: white;
    position: relative
}
header #upperheader { 
    display: flex;
    justify-content: space-around;
    padding: 1em 2em; 
}
header img.logo {
    width: 40%;
    max-width: 400px;
}
header #lowerheader {
    position: relative;
}
header #lowerheader img.header {
    /* aspect-ratio: 3/1; */
    object-fit: cover;
    width: 100%;
}
header #lowerheader h1.title {
    color: white;
    left: 1em;
    padding-right: 1em;
    position: absolute;
    text-shadow: 1px 3px 12px rgba(0,0,0,0.5);
    top: 0.75em;
}
#teaser {
    position: absolute;
    top: 82%;
    right: 6%;
    width: 22%;
}
section#intro {
    background-color: white;
    color: black;
    padding: 2.5em 0 1em 0
}
section#intro > *,
#headercontent,
footer > div,
.marginbox {
    box-sizing: border-box;
    width: 100%;
    max-width: 780px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 24px;
    padding-left: 24px
}
section > p,
div#main > p {
    margin-bottom: 1em
}
section#intro > h3 {
    margin-bottom: 1em;
}
div#main {
    background-color: white;
    color: black;
    padding-bottom: 2em
}
.jobcontainer {
    box-shadow: 0 0 12px rgba(0,0,0,0.25);
    margin-bottom: 1em;
    padding: 1em;
    transition: all 0.25s;
}
.jobcontainer:hover {
    transform: scale(105%);
}

div#antwort {
    background-color: var(--keycolor);
    color: white;
    margin: -0.5em 0 2.5em 0;
    padding-bottom: 2em;
}
div#kontakt {
    position: relative
}
div.winprint {
    display: none;
}
div.flex-elements {
    display: flex
}
div.flex-elements.small {
    display: flex!important;
    margin-bottom: 1em;
}
div.flex-elements > div {
    flex-basis: 50%;
}
div.flex-elements.small > div {
    flex-basis: 25%;
}
div.flex-elements.small > div label {
    color: var(--keycolor);
    font-size: 1em;
    line-height: 1.5;
}
div.w150 {
    width: 150px
}
div.flex-elements.small div p {
    color: var(--keycolor);
}
form#bewerbung div#formfields.clearfix label input.files {
    border: solid 1px;
    margin-bottom: 1em;
    padding: 2em;
    width: 100%;
}
div#formfields div.error {
    position: absolute;
    margin-top: -3em;
    color: red;
    margin-left: 10em;
    font-size: 0.85em;
}
div#formfields div.error#dseconfirm-error {
    position: relative;
    margin-top: 0;
    margin-left: 0;
}
div#formfields div.radioitem div.error,
div#formfields div#title-error.error {
    position: relative;
    margin-top: 0;
    color: red;
    margin-bottom: 0.5em;
    margin-left: 0;
    font-size: 0.85em;
}
div#antwort div.error {
    position: relative;
    margin-top: 0;
    color: red;
    margin-left: 0;
    font-size: 0.85em;
}
footer {
    background-color: var(--lightgrey);
    border-top: solid 4px var(--keycolor);
    color: black;
    font-size: 0.75em;
    padding: 2em 0!important;
}
footer > div {
    display: flex;
    justify-content: space-between
}
footer > div > div {
    flex-basis: 40%
}
footer .sm-icons {
    display: flex;
}
footer .sm-icons img {
    width: 40px;
    margin-right: 0.5em;
}
footer .sm-icons img:hover {
    opacity: 0.9;
}

/* showmenu pure css */

#menu-btn {
    align-items: center;
    height: 40px;
    cursor: pointer;
    right: 1em;
    position: absolute;
    text-align: left;
    top: 1em;
    transition: all .25s ease-in-out;
    z-index: 999;
    /* border: 3px solid #fff; */
}  
.menu-btn__burger {
    width: 50px;
    height: 4px;
    background: transparent;
}
.menu-btn__burger::before,
.menu-btn__burger::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 4px;
    background: white;
    transition: all .25s ease-in-out;
}
.menu-btn__burger::before {
    transform: rotate(45deg) translate(12px, 12px);
}
.menu-btn__burger::after {
    transform: rotate(-45deg) translate(-12px, 12px);
}
#footerlogo img.footerlogo {
    margin-bottom: 2em;
    max-width: 160px;
    width: 100%
}
/*
#result-content {
    display: flex;
    justify-content: space-between
}
#result-content > * {
    flex-basis: 48%
}
*/
#result-content div img {
    margin-bottom: 1em;
    width: 100%
}
#result-content p {
    vertical-align: top
}

/* fonts */
* {
    font-family: "Open Sans", Helvetica, Arial, Lucida, sans-serif;
}
strong {
    color: var(--keycolor);
    font-weight: 700;
}
h1 {
    color: var(--keycolor);
    font-size: 3em;
    hyphens: auto;
    line-height: 1.2em;
    margin-top: 0;
    margin-bottom: 0.5em;
}
h2 {
    color: var(--keycolor);
    font-size: 1.75em;
}
h3 {
    color: var(--keycolor);
    font-size: 1em;
    margin-bottom: 0;
}
.jobcontainer h3 {
    margin-top: 0;
}
div#datum h3 {
    margin-top: 0
}
footer h3 {
    margin: 0.5em 0 0;
    line-height: 1.5em
}
#formfields h4 {
    margin-bottom: 0.5em;
}
p {
    line-height: 1.4em;
    margin-bottom: 1em
}
p,
ol,
ul {
    line-height: 1.4em;
    margin-top: 0;
    margin-bottom: 1em
}
section#intro > ol {
    padding-left: 2.3em;
}
section#intro > ol li {
    padding-left: 0.5em;
}
#result.content p,
p.bigger {
    font-size: 1.25em
}
.small {
    font-size: 0.875rem;
    line-height: 1.4em
}
.smaller {
    font-size: 0.75rem
}
.italic {
    font-style: italic
}
label a {
    text-decoration: underline;
}

/* tables */

td {
    padding-right: 1em
}
#informationen tr td:first-child {
    padding-top: 7px
}
footer table {
    font-size: 0.9em
}
footer td {
    line-height: 1.6em
}

/* forms */

#submit {
    padding-top: 1em;
}
#datum {
    margin-top: 1em;
    margin-bottom: 3em
}
#informationen {
    float: left
}
#buttons {
    margin-bottom: 2em
}
div.fieldset.clearfix input,
div.fieldset.clearfix + input {
    margin-top: 0
}
div#kontakt input[name='strasse'] {
    float: left;
    width: 70%!important
}
div#kontakt input[name='nr'] {
    float: right;
    width: 28%!important
}
div#kontakt input[name='plz'] {
    float: left;
    width: 28%!important
}
div#kontakt input[name='ort'] {
    float: right;
    width: 70%!important
}
div#informationen input[name='strasse'] {
    float: left;
    width: calc(100% - 3.5em)!important
}
div#informationen input[name='nr'] {
    float: right;
    width: 3em!important
}
div#informationen input[name='plz'] {
    float: left;
    width: 3em!important
}
div#informationen input[name='ort'] {
    float: right;
    width: calc(100% - 3.5em)!important
}
#informationen input.editable,
#informationen input#dat,
#informationen input#fz {
    border: solid 1px rgb(39, 50, 111);
    color: rgb(255, 255, 255)
}
input#kontrolle,
input#dat,
input#modell {
    display: none
}
input[type='text'],
input[type='email'] {
    border: solid 1px var(--keycolor);
    display: block;
    width: 100%;
    color: var(--keycolor);
    margin: 0.75em 0;
    padding: 0.4em 0.6em 0.6em
}
input[type='submit'],
a.button,
button#print {
    background-color: var(--keycolor);
    border: none;
    color: white;
    display: inline-block;
    font-weight: 700;
    margin: 1em 0 2em;
    padding: 0.4em 1.2em 0.6em;
    text-transform: uppercase;
    transition: box-shadow 0.15s, background-color 0.25s
}
a.button.back {
    background-color: transparent;
    border: none;
    color: var(--keycolor);
    font-weight: 400;
    padding: 0;
    text-transform: none;
}
button#print:hover {
    background-color: lightgrey;
}
select {
    border: solid 1px;
    margin-bottom: 0.5em;
    padding: 0.35em 0.5em;
    width: 100%
}
#buttons input[type='submit'] {
    padding-top: 0.3em;
    padding-bottom: 0.4em
}
input[type='submit']:hover,
#bearbeiten:hover,
a.button:hover {
    box-shadow: 0 7px 3px -4px rgb(0, 0, 0, 0.5);
}
a.button.back:hover {
    background-color: transparent;
    box-shadow: none;
    color: var(--keycolor);
    font-weight: 400;
    padding: 0;
    text-decoration: underline;
}
input[type='checkbox'] {
    margin-right: 1.25em;
    appearance: none
}
td input[type='text'],
td input[type='email'] {
    background-color: transparent;
    display: inline-block;
    margin: 0;
    padding: 0.25em 0.6em
}
::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    color: var(--keycolor);
    font-size: 0.8571428571428571em;
    opacity: 1
}
::-moz-placeholder {
    /* Firefox 19+ */
    color: var(--keycolor);
    font-size: 0.8571428571428571em;
    opacity: 1
}
:-ms-input-placeholder {
    /* IE 10+ */
    color: var(--keycolor);
    font-size: 0.8571428571428571em;
    opacity: 1
}
:-moz-placeholder {
    /* Firefox 18- */
    color: var(--keycolor);
    font-size: 0.8571428571428571em;
    opacity: 1
}
#antwort div label.css-radio-label:first-of-type {
    margin-bottom: 0.75em
}
div.radioitem {
    margin-bottom: 0.25em;
}
input[type=checkbox].css-checkbox + label.css-label {
    padding-left: 2.25em;
    /* height: 20px; */
    display: inline-block;
    line-height: 24px;
    background-repeat: no-repeat;
    background-image: url(../images/buttons/checkbox-off.png);
    background-size: 24px;
    vertical-align: middle;
    cursor: pointer;
}
input[type=checkbox].css-checkbox + label.css-label.small {
    padding-left: 3.125em;
}
input[type=checkbox].css-checkbox:checked + label.css-label {
    background-image: url(../images/buttons/checkbox-on.png);
    background-position: 0 0;
}
label.css-label {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
label[for="newsletter"] {
    margin: 1em 0
}
input[type=radio] {
    /* display: none */
    visibility: hidden;
    height: 0;
    width: 0;
}
input[type=radio] + label.css-radio-label {
    background-image: url(../images/buttons/radio.png);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    line-height: 1.5em;
    padding-left: 2.5em;
    display: inline-block;
    min-height: 32px;
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: 32px;
    vertical-align: middle;
    cursor: pointer;
}
input[type=radio]:checked + label.css-radio-label {
    background-position: 0 -150px
}

/* overlay */

#overlay {
    display: none;
    position: absolute;
    background-color: rgba(0,0,0,0.8);
    top: 0;
    left: 0;
    width: 100%;
    max-height: 0;
    opacity: 0;
    transition: all 0.5s;
}
#overlay.visible {
    display: block;
    max-height: unset;
    min-height: 100vh;
    opacity: 1;
}
#dse,
#imp {
    display: none;
    max-width: 800px;
    margin: 6em auto 3em auto;
    background-color: white;
    padding: 2em 1em;
    font-size: 0.75em;
    width: 95%;
}
#dse.visible,
#imp.visible {
    display: block;
}
#dse a {
    text-decoration: underline;
}
#implink,
#dselink {
    text-decoration: underline;
}

/* showmenu pure css */

#menu-btn {
    align-items: center;
    height: 40px;
    cursor: pointer;
    right: 1em;
    position: absolute;
    text-align: left;
    top: 1em;
    transition: all .25s ease-in-out;
    z-index: 999;
    /* border: 3px solid #fff; */
}  
.menu-btn__burger {
    width: 50px;
    height: 4px;
    background: transparent;
}
.menu-btn__burger::before,
.menu-btn__burger::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 4px;
    background: white;
    transition: all .25s ease-in-out;
}
.menu-btn__burger::before {
    transform: rotate(45deg) translate(12px, 12px);
}
.menu-btn__burger::after {
    transform: rotate(-45deg) translate(-12px, 12px);
}
#logo img {
    width: 100%
}
#note {
    margin-top: 1em
}
#result {
    background-color: var(--gzu-blue);
    color: white;
    margin-bottom: 3em;
    padding: 1em 0 2em;
}