/* Element Style */

a[download] {
    color: var(--text);
}

br {
    display: block;
    content: " ";
}

label br {
  display: block;
}

/* rule specific for Firefox */
@-moz-document url-prefix() {
    label br {
        display: initial;
    }    
}

form.submit, form.submit p, form.submit input[type="file"] {
    font-size: 14px;
}

form.submit input[type="submit"], form.submit input[type="checkbox"] {
    cursor: pointer;
}

form.submit input, form.submit textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    font-size: 12px;
    box-shadow: 1px 1px 0px 0px var(--second);
}

form.submit input[type="checkbox"] {
    width: 20px;
    height: 20px;
}

form.submit input[type="file"] {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
    box-shadow: unset;
}

form.submit input[type="submit"] {
    font-size: 16px;
    width: unset;
    font-weight: 700;
    color: var(--red);
    background-color: white;
    margin-top: 10px;
}

/*form.submit input[type="checkbox"].inline{
    display: inline;
}*/

form.submit .inline {
    width: unset;
    display: inline;
}

form.submit textarea {
    height: 3em;
}

form.submit label {
    display: inline-block;
    vertical-align: middle;
    margin: 0 15px 10px;
    max-width: 80%;
}

form.submit input[name = "dsgvo"] + label {
    vertical-align: top;
}

form.submit .label-file {
    border: 1px solid black;
    background: white;
    cursor: pointer;
    margin-left: 0;
    padding: 7px;
    /*    color: var(--red);*/
    font-weight: 700;
    box-shadow: 1px 1px 0px 0px var(--second);
}

form.submit .label-file + .inline {
    position: relative;
    top: -8px;
}

form.submit p {
    margin-bottom: 20px;
    margin-block-start: 0;
}

h1 + p {
    margin-top: 6px;
}

ul {
    margin-left: 1em;

}

section ul li {
    /*    line-height: 150%;*/
    margin-top: 10px;
}

ul li::before {
    margin-left: -1em;
}

nav .menu {
    display: grid;
    justify-items: center;
    width: 100%;
    grid-auto-flow: column;
    margin-left: 0;

}

nav .menu ul {
    margin-left: 0;
}

nav .menu li{
  margin: 0 10px;
}

.blog hr{
  margin-top: 20px;
  width: 80%;
}

.blog-post-preview p {
    margin-top: 0px;
}

.footer a:hover {
    color: black;
}

.footer a.active {
    color: black;
}

.reference-child p {
    margin-top: 0;
    margin-bottom: 22px;
}

.tasty{
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  width: 0;
  z-index: -1;
  cursor: default;
}

#datenschutz h1 {
    font-size: 28px;
}

#datenschutz h2 {
    font-size: 26px;
}

#datenschutz h3 {
    font-size: 22px;
    margin: 10px 0;
}

#datenschutz p, #datenschutz a, #datenschutz ul {
    font-size: 16px;
}

#datenschutz a{
    font-size: unset;
    color: black;
    font-weight: 500;
}

#employees {
    margin: 0px 5% 30px 4%;
}

/*
#employees .grid{
    justify-content: space-between;
}
*/

#employees .grid {
    text-align: left;
    color: var(--headline);
    justify-content: center;
}

#employees .grid > div {
    margin-top: 20px;
}

#employees .grid.h-2 {
    grid-template-columns: 300px 300px;
}

#employees .grid.h-3 {
    grid-template-columns: 200px 200px 200px;
}

#employees .grid img {
    width: 100%;
    height: 270px;
    object-fit: cover;
}

#mobile-nav{
    display: none;
}

#first-part {
    grid-column-gap: 30px;
}

#second-part {
    grid-column-gap: 15px;
}

@media only screen and (max-width: 1400px) {
    #employees .grid.h-2 {
        grid-template-columns: 225px 225px;
    }

    #employees .grid.h-3 {
        grid-template-columns: 150px 150px 150px;
    }


}

#right-slider {
    display: none;
    height: 300px;
    width: 100%;
    background-size: cover;
    margin-top: 16px;
}

@media screen and (max-width: 600px) {
    #right-slider {
        display: block;
    }
/*    #site-wrapper {
        background-image: none;
    }*/


}

@media screen and (max-width: 500px) {
    p, .submit {
        margin-top: 6px;
    }
    
    #site-wrapper > nav{
        border-bottom: solid 1px var(--second);
    }

    nav{
        background: white;

    }

    nav a {
        color: var(--second);
    }

    #employees .grid {
        display: block;
    }

    #employees .grid img {
        object-position: 0 0; /* default value: image is centered*/
    }

    #mobile-nav{
        display: inline;
    }

    #mobile-nav img{
        position: absolute;
        left: 0px;
        height: 45px;
        top: 2px;
        width: auto;
        margin-left: 40px;
    }

    #mobile-nav a{
        position: relative;
        top: -4px;
        right: 20px;
    }

    h1,h1 > a, #open-popup.link{
        font-size: 22px;
    }

    .left-wrapper .main-btn {
        background: #e4e4e4;
        color: var(--headline);
    }

    #open-popup.link{
        font-weight: 600;
    }

    h2,h2 > a{
        font-size: 20px;
    }

    .left-wrapper .main-btn {
        font-size: 18px;
        padding-top: 15px;
        padding-left: 10px;
        padding-right: 10px;
        line-height: 130%;
    }

    h3,h3 > a{
        font-size: 18px;
    }

    p,a,.main-wrapper ul {
        font-size: 18px;
    }


    header{
        display: none;
    }

    .main-wrapper {
        display: block;
    }

    header .h_2 p, header a {
        font-size: 14px;
    }

    footer a{
        font-size: 11px;
    }

    header .v_1 form input {
        width: 86px;
    }


}

/* Mixed Style */

/* Structure, Property, Name Style */

/* ID Style */

/* Screen Style */
/* @media only screen and (max-width: 1000 px) {}*/
