

html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
        

}

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1.2em;
    line-height: 1.5em;
    color: #333;
}


a, #menu a.active {
    text-decoration: none;
    color: #d9091c
}


#menu {
    position: fixed;
    left: 0;
    top: 0;
    width: 250px;
    padding: 0px;
    background: white;
    height: 100vh;
    overflow: auto
}

#menu ul {
    list-style-type: none;
    padding: 0 30px
}

#menu li { border-bottom: 1px solid silver;}



#menu a {
    text-decoration: none;
    color: #666;
    padding: 12px 0;

    display: block;
}

#menu a:last-child {border: none}


#menu .small li { border-bottom: none}
#menu .small a { font-size: 90%; 
        
          color: silver; padding: 2px 0}

#logo {
    display: block;
    width: 66%;
    margin: 40px auto;
}

h1, h2, h3 {
    font-family: 'Fjalla One', sans-serif;
    font-weight: normal;
    line-height: 1.5
}

#content {
    width: calc(100% - 251px);
    min-height: calc(99vh - 35%);
    margin-left: 250px;
    padding-top: 230px;

    background-image: url(images/bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #f5f5f5;
    background-position: center -60px;
    background-attachment: fixed;

}

.wrapper {
    width: 75%;
    padding: 5%;
    background: white;
    margin: 0 auto ;
    min-height: 400px
}



h1 {margin-top: 0}



.boxblank {
    display: block; 
    clear: both;
    margin: 30px 0; 
    padding-bottom: 30px;
    border-bottom: 1px dotted silver

}

.boxblank:after, hr {clear: both; display: block;  height: 0}

.box2 {
    padding: 25px; 
    background: #eee;
    margin: 20px auto;
} 

.box3 {
    padding: 25px; 
    border: 1px solid #ddd
}


#content .boxblank img {
    float: right; 
    margin-left: 40px;
    max-width: 300px
}


.corona {
    position: absolute;
    left: 500px;
    top: 60px;
    width: 580px;
    font-size: 15px;
    line-height: 1.1em;
    background-image: url(images/note.png);
    background-size: contain;
    background-repeat: no-repeat;
    transform: rotate(-3deg);
    padding: 50px 30px 30px 30px;    
}

.teaser {
    position: absolute;
    right: 6.5%;
    top: 30px;
    width: 40%;
    height: 40%;
    max-width: 400px;
    max-height: 400px;
    font-size: 15px;
    line-height: 1.1em;
    background-image: url(images/Corona_Schnelltest.jpg);
    background-size: contain;
    background-repeat: no-repeat;
  
}


.flex {
    display: flex;
    flex-wrap: wrap
}

.flex>div {
    flex: 1 1 200px
}

.mediHr {
    margin: 20px 0 40px 0;
    height: 1px; 
    border: none;
    border-bottom: 1px dotted silver
}

.floatLeft {
    float: left; margin: 0 40px 120px 0;
}

#mobileBgImg {
    display: none;
}


.leftcol {
    width: 40%; float: left; margin-right: 30px;
}

.rightcol {
    float: right; width: 40%; background: white; padding: 20px;
}






fieldset {
    border: none; outline: none;
    padding: 0;
    margin: 0 -15px;
    

}

.fieldset-wrapper>div {
    float: left;
    width: 50%;
    padding: 0 15px;
    margin: 0 0 15px;
}

.row-full .fieldset-wrapper>div {   width: 100%; }

.msg {
    padding: 10px 15px;
    margin: 10px 0;
    background: ivory;
    color: #035aa2; 
    border: 1px solid #035aa2;
    border-radius: 4px
}

label {
    display: block;
    margin-bottom: 7px;
    font-weight: 400;
}

input, select, textarea {
    width: 100%;
    font-size: 16px;
    padding: 6px 10px;
    border: 1px solid #d3d3d4;
    background: #eee;
    margin: 0 20px 10px 0
}

textarea {height: 50px}

.fieldset-wrapper .row-4zip{width: 17%}
.fieldset-wrapper .row-4city {width: 33%}
label.datenschutz {
    position: relative;
    margin-left: 1.95em;
    cursor: pointer;
}

input[type=checkbox] {
    zoom: 2;
    float: left;
    width: 15px;
    margin-right: 10px;
        margin-bottom: 40px;
        
}


table {border-collapse: collapse;
}


button {font-size: 110%; border: none; padding: 5px 15px; color: white; background: #d9091c}

.invalid {border: 1px solid #d9091c}
input[type=checkbox].invalid {outline: 1px solid #d9091c;     outline-offset: 2px;}



/* /////////////////////////////////////////////////////////////////////////////////  */
/* MOBILE */

@media only screen 
and (max-height : 800px) {
     #menu a {
        padding: 4px 0
    }
    
    #logo {    margin: 20px auto;}
    
}





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

    body, html {
        width: 100%;
        min-height: 100%;
        font-size: 1em;
    }

    body {
    }

    h1 {font-size: 1.5em; margin-top: 1em}
    h2 {font-size: 1.3em}
    h3 {font-size: 1.1em}

    #mobileBgImg {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-image: url(images/bg.jpg);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center -60px;
        background-attachment: fixed;
    }


    #menu {
        position: fixed;
        width: 125px;
        height: 100%;
        z-index: 2;
      
    }

    #menu ul {
        padding: 0 10px
    }

    #menu a {
        padding: 4px 0
    }
    
    #logo {    margin: 20px auto;}
    

    #content {
        position: absolute;
        width: calc(99% - 125px);
        padding: 0;
        margin: 0 0 40px 0;
        left: 128px;;
        top: 25%;
        background: white;
        font-size: 0.9em;
        line-height: 1.3em;
        text-align: justify;
        z-index: 2;

    }

    .wrapper {
        width: 90%;
        padding: 3%
    }

    img {max-width: 100%!important}


    #content .boxblank img {
        float: none; 
        clear: both;
        margin: 15px 0px;
        max-width: 100%
    }

    #content ul {margin: 3px 0; padding: 0 2em}



    .floatLeft {
        display: block; 
        margin: 3px 0;
    }

    .leftcol, .rightcol {
        float: none; 
        clear: both; 
        display: block;
        width: 100%;
        padding: 0
    }

    td {float: left;}

    .medi td:nth-child(2) {display: none;}

    .medi td {text-align: left}

    td:last-child {padding-bottom: 20px; border-bottom: 1px solid silver}

}

.clearfix {
      overflow: auto;
}

.clearfix::after {
  content: "";
  clear: both;
  display: table;
}