:root {
    --box-shadow: rgb(0, 0, 0, 0.4);
    --box-shadow-hover: rgb(0, 0, 0, 0.6);
    --box-shadow-img: rgb(0, 0, 0, 0.2);
    --color-hover: rgb(1, 1, 164);
    --background-image: rgb(255, 255, 255);
    --headline: rgb(9, 9, 9);
    --color-h2: rgb(1, 1, 164);

    --gruppe-color: rgb(255, 255, 255);
    --gruppe-background-color: rgba(9, 9, 9, 0.4);

    --box-color1: rgb(9, 9, 9);
    --box-background-color1: rgba(255, 255, 255, 0.9);
    --box-background-color1_2: rgba(255, 255, 255, 0.8);

    --box-color2: rgb(9, 9, 9);
    --box-background-color2: rgba(255, 255, 255, 0.9);
    --box-background-color2_2: rgba(255, 255, 255, 0.8);

}


#logo {
    width: 70px;
    height: 50px;
    position: absolute;
    left: 290px;

    cursor: pointer;
}

.textform {
    background-color: rgb(255, 253, 119, 1.0);
    height: 100%;
    height: auto;
    box-shadow: 8px 8px 8px rgb(0, 0, 0, 0.0);
    border-radius: 0px;

    display: flex;
    flex-direction: column;

    width: 100%;

    background-color: rgba(255, 255, 255, 0.8);
    padding-left: 0px;
    padding-right: 8px;
    padding-bottom: 2px;
    position: relative;
    margin-top: 0.0rem;
    margin-left: 0px;
    margin-bottom: 0px;

}






.wrapper_flex .input{
    /* Anzeige der Labels in jedem Feld
    position: relative;
    
    */
    display: inline;
   
}

.wrapper_flex .input2{
    /* Anzeige der Labels in jedem Feld
    position: relative;
    
    */
    display: inline;
    min-width: 400px;
   
}

.wrapper_flex  .listbox {
     height: 1rem; 
    max-height: 8rem;
     
}

.wrapper_flex  .listbox1 {
     height: 1rem; 
    max-height: 1rem;
     
}




.wrapper_flex label {
    /* Anzeige der Labels in jedem Feld*/
    display: block;
    
}


.wrapper_flex label .input {

    width: 96%;
    padding: 4px 8px 16px 8px;

    font-size: 1em;
    border: 1px solid rgba(105, 105, 105, 0.397);
    border-radius: 8px;
    box-shadow: 4px 4px 4px var(--box-shadow-img);
    margin-bottom: 8px;

    height: 1em;
  
    /* 
      outline: 10px;
     */

}


.wrapper_flex label .input+span {
    position: absolute;
    left: 8px;

    top: 20px;
    color: rgba(7, 7, 7, 0.8);
    font-size: 0.8em;
    cursor: text;
    transition: 0.2s ease;
  
    /* 
      top: 20px;
      */
}


.wrapper_flex label .input:placeholder-shown+span {
    top: 16px;
    font-size: 1.0em;
}

.wrapper_flex label .input:focus+span,
.wrapper_flex label .input:invalid+span {
    top: 16px;
    font-size: 0.8em;
    font-weight: 500;
    color: rgb(250, 3, 3);
}

.wrapper_flex label .input:valid+span {
    color: rgb(4, 14, 67);
     
   
}

.wrapper_flex label .input:invalid+span {
    color: rgb(250, 3, 3);
}

.wrapper_flex label .input:empty:invalid {
    color: rgb(255, 0, 208);
}


.wrapper_flex label .listbox {
    width: 100%;
    min-width: 300px;
    padding: 8px 8px 8px 8px;
    outline: 0;
    font-size: 1em;
    border: 1px solid rgba(105, 105, 105, 0.397);
    border-radius: 8px;
    box-shadow: 4px 4px 4px rgb(0, 0, 0, 0.3);
    margin-bottom: -4px;
    height: 23em;
    size: 2em;
    overflow-x: scroll;
    


}

.wrapper_flex label .listbox:valid+span {
    color: rgba(7, 7, 7, 0.8);
    font-size: 0.8em;
  
}



.wrapper_flex label .listbox+span {
    position: relativ;
    left: 8px;
    top: 8px;
    color: rgba(7, 7, 7, 0.8);
    font-size: 1em;
    cursor: text;
    transition: 0.2s ease;

}



.wrapper_flex label .listbox :hover {
    cursor: pointer;
      
}









.img_kopf {
    position: static;
    margin-top: -16px;
    display: flex;
    flex-direction: flex;

    width: 99%;
    max-height: 100px;
    padding-left: 8px;
    padding-right: 8px;
    flex-direction: row;

    justify-content: flex;



    /*
justify-content: flex;
   
   
    gap: 0px;
    min-width: 80em;
    max-height: 45em;
    position: relative;

*/

}


.clipwrap {
    position: absolute;
    width: 800px;
    height: 180px;
    object-fit: contain;


}

.clipped {
    position: absolute;
    clip: rect(50px 550px 300px 100px)
}



.img-fit {

    object-fit: cover;
    aspect-ratio: 1/1;
}


#comboxbox {
    background-color: rgb(249, 248, 248);
    font-size: 14px;
    height: 2em;
    cursor: pointer;
    color: rgba(54, 93, 170, 1.0);
    border: 1px solid black;
    margin-bottom: 8px;
   

}


#comboxbox:hover {
    background-color: rgba(0, 0, 0, 0.0);
    color: rgb(0, 0, 0);
    cursor: pointer;

}



#comboxboxlabel {

    color: rgb(0, 0, 0);


}














a:link,
a:visited {
    text-decoration: none;
}


h2 {
    color: var(--color-h2);
    margin-left: -8px;
}


.headline {

    font-size: 2rem;

    text-align: center;
    color: var(--headline);
    margin: 0px;
    margin-top: 8px;
    padding: 8px;
    padding-top: 8px;
    /* 
    margin-bottom: 1px;
    margin: 0px;
    margin-top: 0px;
    margin-bottom: 1px;
    padding-top: 0px;
   
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0px 1px 1px rgb(10, 9, 144, 0.1);

    
     border-bottom: 2px;
     background-image: url('../img/calc.png');
    background-size: 2.6rem;
    background-repeat: no-repeat;
 
     
      */

}


.wrapper_std1,
.wrapper_std2,
.wrapper_std3,
.wrapper_std4,
.wrapper_info .wrapper_flex .wrapper_flex_right .wrapper_flex_left {

    position: relative;
    flex-direction: row;
    height: auto;
    gap: 0px;
    min-width: 96%;

    max-height: 45em;
    min-height: 2rem;

    margin-left: 0px;
    margin-top: 0px;
    margin-bottom: 8px;

    padding-top: 0rem;
    padding-left: 2px;
    padding-right: 8px;
    padding-bottom: 2px;


    /*
     height: 100%;
     border-radius: 20px;
    box-shadow: 8px 8px 8px rgb(0, 0, 0, 0.6);
    margin-left: calc(50% - 190px);
     overflow: scroll;
    margin-top: 0.51rem;
    Bereiche freihalten 
     padding-left: 8px;
    padding-right: 8px;
    padding-bottom: 8px;
     gap: 16px;
    margin-left: calc(50% - 190px);
   */
}


.wrapper_std1 {
    justify-content: flex;
    display: flex;
    overflow: scroll;

}

.wrapper_std2 {

    justify-content: left;
    display: block;
}

.wrapper_std3 {
    display: contents;
    flex-direction: column;


}

.wrapper_std4 {
    justify-content: flex;
    display: inline;

}


.wrapper_info {

    display: block;
    flex-direction: row;

    box-shadow: 8px 8px 8px rgb(0, 0, 0, 0.6);
    background-color: rgb(200, 255, 0);

    /*
    Bereiche freihalten 
    margin-left: calc(100% - 480px);
    margin-left: calc(50% - 190px);
   */
}




.wrapper_flex_left {
    height: auto;
    margin-right: 8px;
  

    background-color: rgba(2, 209, 255, 0);

    /*
     height: 100%;
     border-radius: 20px;
    box-shadow: 8px 8px 8px rgb(0, 0, 0, 0.6);
    margin-left: calc(50% - 190px);
     overflow: scroll;
    margin-top: 0.51rem;
    Bereiche freihalten 
     padding-left: 8px;
    padding-right: 8px;
    padding-bottom: 8px;
     gap: 16px;
    margin-left: calc(50% - 190px);
   */
}

.wrapper_flex_right {
    height: 100%;
    margin-left: 8px;
    min-width: 40%;
    background-color: rgba(251, 2, 255, 0.0);

    /*
     height: 100%;
     border-radius: 20px;
    box-shadow: 8px 8px 8px rgb(0, 0, 0, 0.6);
    margin-left: calc(50% - 190px);
     overflow: scroll;
    margin-top: 0.51rem;
    Bereiche freihalten 
     padding-left: 8px;
    padding-right: 8px;
    padding-bottom: 8px;
     gap: 16px;
    margin-left: calc(50% - 190px);
   */
}



.wrapper_block {
    display: block;
    justify-content: left;
}

.wrapper_flex {
    display: flex;
    gap: 16px;
    justify-content: left;
    margin-top: 8px
}


.gruppe {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--gruppe-color);
    background-color: var(--gruppe-background-color);
    display: block;
    margin-left: 0px;
    padding: 1px;
    padding-right: 1px;
    word-wrap: break-word;
    height: 1.6rem;
    padding-left: 16px;
    width: 240px;
    margin-top: 1rem;
    margin-bottom: 0.2rem;

    /* 
     border-radius: 8px;
     background-image: url('../img/meer.jpg');
    background-size: 50%;
    background-repeat:no-repeat;
    background-position-x: right;
     height:calc(100% - 110px);
      top: 51px;  
      position: fixed;
       z-index: 110;         Menü immer mit 100 px Höhe aneigen 
      */
}


.wbox1,
.wbox2,
.wbox3,
.wbox4,
.box1,
.box2,
.box3,
.box4 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.8rem;
    display: flexbox;

    height: auto;
    width: 99%;
    min-height: 190px;



    justify-content: left;
    left: 1px;
    text-align: left;
    margin-left: 6px;
    margin-right: 16px;
    margin-bottom: 8px;

    padding-bottom: 1px;
    padding-left: 8px;
    padding-right: 1px;

    word-wrap: break-word;


    border-radius: 4px;
    text-align: left;

    -moz-hyphens: auto;
    -o-hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;

    color: var(--box-color2);
    background-color: var(--box-background-color2);
    word-wrap: break-word;



    /* 
    justify-content: space-between;    Blocksatz
     border-radius: 8px;
     background-image: url('../img/meer.jpg');
    background-size: 50%;
    background-repeat:no-repeat;
    background-position-x: right;
     height:calc(100% - 110px);
      top: 51px;  
      position: fixed;
       z-index: 110;         Menü immer mit 100 px Höhe aneigen 
      */
}

.wbox1,
.box1 {

    color: var(--box-color1);
    background-color: var(--box-background-color1);


}



.wbox1:last-child,
.wbox2:last-child,
.box1:last-child,
.box2:last-child {
    margin-right: 8px;
    /* 
     .box1:nth-last-child(3)
     
      */
}

.wbox1:nth-child(2n),
.wbox2:nth-child(2n),
.box1:nth-child(2n),
.box2:nth-child(2n) {
    background-color: var(--box-background-color1_2);

    /* 
     .box1:nth-last-child(3)
     
      */
}

.wbox1 img,
.box1 img {
    margin-top: -215px;
    margin: 0px;
    display: block;
    justify-content: center;
    align-items: center;
    width: 160px;
    max-height: 90px;



    /* 
    object-fit: contain;
      width: 100%;
     height: 8rem;
      */


}




.wbox1 p,
.wbox2 p,
.box1 p,
.box2 p {
    margin-top: 0px;
    position: relative;
    color: var(--box-color1);

    font-size: 1rem;
    font-weight: normal;
    padding-top: 4px;
}


.wbox1:hover,
.wbox2:hover,
.wbox3:hover,
.box1:hover,
.box2:hover {
    border-radius: 8px;
    box-shadow: 8px 10px 8px var(--box-shadow-hover);
}

.wbox1:hover p,
.wbox2:hover p,
.wbox3:hover p,
.box1:hover p,
.box2:hover p {
    color: var(--color-hover);
}

.wbox1 headline,
.wbox2 headline,
.wbox3 headline,
.box1 headline,
.box2 headline,
.box3 headline {
    font-size: 1.5em;
    font-weight: bold;
    text-align: right;
}

.wbox1:hover headline,
.wbox2:hover headline,
.wbox3:hover headline,
.box1:hover headline,
.box2:hover headline,
.box3:hover headline {
    color: var(--color-hover);
}






.wbox2,
.box2 {
    color: var(--box-color2);
    background-color: var(--box-background-color2);
    min-width: 400px;

}



.wbox2 img,
.box2 img {
    margin-right: 8px;
    margin-top: 8px;
    margin-bottom: 0px;
    display: flexbox;

    align-items: start;
    height: 90px;
    width: 120px;
    float: left;

}


.wbox2 p,
.box2 p {
    color: var(--box-color2);
}


.wbox2 headline,
.box2 headline {
    font-size: 0.8rem;
    position: relative;
    display: inline-flex;
    padding-top: .6em;

}


.wbox3,
.box3 {

    color: var(--box-color1);
    background-color: var(--box-background-color1);


}


.wbox3 img,
.box3 img {

    padding: 8px;
    margin-right: 8px;
    margin-top: 8px;
    margin-bottom: 8px;
    align-items: start;
    width: 270px;
    height: 160px;
    display: flexbox;
    float: left;


    /* 
   


    
display: flexbox;
    float: left;
   
     float: left;

      box-shadow: 4px 4px 4px var(--box-shadow-img);
    object-fit: contain;
      width: 100%;
     height: 8rem;
      */


}








.wbox3 p,
.wbox4 p,
.box3 p,
.box4 p {
    margin-top: 0px;
    position: relative;
    color: var(--box-color1);

    font-size: 1rem;
    font-weight: normal;
    padding-top: 8px;
}

.wbox3:hover,
.wbox4:hover,
.box3:hover,
.box4:hover {
    border-radius: 8px;

    /* 
       box-shadow: 8px 10px 8px var(--box-shadow-hover);
     */

}


.wbox3:hover p,
.wbox4:hover p,
.box3:hover p,
.box4:hover p {
    color: var(--color-hover);

}

.wbox3 headline,
.box3 headline {
    font-size: 0.9rem;

    text-align: right;

    font-size: 0.9rem;
    position: relative;
    display: inline-flex;
    padding-top: .6em;



}

.wbox3:hover headline,
.box3:hover headline {
    color: var(--color-hover);

}




.wbox4 headline,
.box4 headline {
    margin-left: 1px;
    font-size: 1.6em;
    font-weight: bold;
    text-align: start;
    position: relative;
    display: inline-flex;
    padding-top: .6em;
}


.wbox4 img,
.box4 img
{
    width: 60%;
    max-width: 240px;
    display: block;
    float: right;
    padding-left: 8px;
    padding-right: 8px;
    padding-top: 8px;





    /* 
          margin-top: -215px;
        margin: -2px;
        display: block;
        justify-content: center;
        align-items: center;
        width: 100%;
        max-height: 100px;
    
        object-fit: contain;
          width: 100%;
         height: 8rem;
          */

}



.normtext {
    height: 4rem;
    width: 98%;
    font-size: 1.0rem;

}



.textform .artbild {
    width: 320px;
    height: 180px;
    padding-right: 1px;

    border: 1px solid rgba(105, 105, 105, 0.397);
    border-radius: 8px;
    box-shadow: 4px 4px 4px rgb(0, 0, 0, 0.3);


}

.textform .artbild:hover {
    background-color: rgba(10, 24, 116, 0.6);
    cursor: pointer;
    box-shadow: 8px 8px 8px rgb(0, 0, 0, 0.3);
}







@media only screen and (max-width: 1200px) {


    #btedit {
        cursor: pointer;
        /*  
         display: none;
         */
    }


    .main {
        background-image: var(--background-image);
        background-repeat: no-repeat;
        background-color: rgb(255, 255, 255);

    }


    .wrapper_flex {
        display: block;
     

    }
    .wrapper_flex_left {
        display: block;
        margin-left: -1px;
       
      

    }





    .wrapper_std1 {

        display: flex;
        overflow: scroll;
        max-width: 98%;


    }


    .wrapper_std2,
    .wrapper_info {

        display: block;
        max-width: 99%;


    }


    .wbox1,
    .wbox2,
    .wbox3,
    .wbox4,
    .box1,
    .box2,
    .box3,
    .box4 {

        min-width: 240px;
        max-width: 96%;
        height: 100%;

        margin-bottom: 8px;
        margin-right: 16px;
        margin-left: -4px;
        padding-top: 8px;
        padding-right: 8px;
        word-wrap: break-word;


    }







    .wbox1 h2,
    .wbox2 h2,
    .wbox3 h2,
    .wbox4 h2,
    .box1 h2,
    .box2 h2,
    .box3 h2,
    .box4 h2 {

        margin-bottom: -2px;

    }



    .wbox1 img,
    .box1 img {
        margin-top: 0px;
        min-width: 160px;
    }





    .box1,
    .box2,
    .box3,
    .box4 {
        width: 98%;
        height: 100%;
        /* 
        height: auto füllt in der Flex-Anzeige nicht gleichmäßig hoch aus;
        */

    }



    .wbox1,
    .wbox2,
    .wbox3,
    .wbox4 {
        width: 98%;
        height: auto;
    }





    .wbox3 img,
    .box3 img {
        margin-left: -2px;
        padding-left: 0px;
        width: 99%;
        height: 180px;


    }

    .wbox3 headline,
    .box3 headline {
        font-weight: bold;
        text-align: center;
    }



 

}