:root {
    --maincolor: #00C800;
    --maincolorlight: #00C80030;
    --sidecolor: #FFFFFF;
}

*  {
    margin: 0;
    padding: 0;
    color: var(--maincolor);
    border-color: var(--maincolor);
}

html, body
{
   height: 100%;
   width: 100%;

}

input {
    width: calc(100% - 16px);
    padding: 4px 8px;
    border: 1px solid;
    border-radius: 3px;
    margin-bottom: 5px;
}

button {
    font-size: 1.3rem;
    border: 1px solid var(--maincolor);
    border-radius: 3px;
    padding: 2px 8px;
    background-color:  var(--sidecolor);
    font-weight: normal;
    box-shadow: 0 2px 2px 0 #BBBBBB; 
    cursor: pointer;
}

button:hover {
    transform: translate(2px, 2px);
    box-shadow: none;
}

video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}



table.Bestellungen {
    float: left;
    font-size: 0.9rem;
    border: 1px solid var(--maincolor);
    background-color: var(--sidecolor);
    width: 100% !important;
    margin-top: 5px;
    text-align: left;
    border-collapse: collapse;
    border-style: none;
}
table.Bestellungen th{
    padding: 3px 2px;    
} 
table.Bestellungen td{
    border: 1px solid #CCCCCC;
    padding: 3px 2px;
}
table.Bestellungen td:first-child{
    border-left: none;
}
table.Bestellungen td:last-child, table.Bestellungen th:last-child{
    border-right: none;
}
table.Bestellungen tr:nth-child(even) {
    background: var(--maincolorlight);
}
table.Bestellungen thead {
  background: var(--maincolor);
  border-bottom: 2px solid #666666;
  background: -moz-linear-gradient(top, #00E800 0%, #00D300 66%, #00C800 100%);
  background: -webkit-linear-gradient(top, #00E800 0%, #00D300 66%, #00C800 100%);
  background: linear-gradient(to bottom, #00E800 0%, #00D300 66%, #00C800 100%);
}
table.Bestellungen thead th {
  color: #FFFFFF;
  border-left: 2px solid var(--sidecolor);
}
table.Bestellungen thead th:first-child {
  border-left: none;
}

table.Bestellungen tbody tr:last-child td{
    border-bottom: none;
    background-color: var(--sidecolor);
}

table.Bestellungen tbody tr:last-child td:last-child{
  background: var(--maincolor);
  background: -moz-linear-gradient(top, #00E800 0%, #00D300 66%, #00C800 100%);
  background: -webkit-linear-gradient(top, #00E800 0%, #00D300 66%, #00C800 100%);
  background: linear-gradient(to bottom, #DDDDDD 0%, #BBBBBB 66%, #999999 100%);
  color: var(--sidecolor);    
}


a {
  color: inherit; 
  text-decoration: inherit; 
  font-size: inherit;
  font-weight: inherit;
}

a:hover {
    color: #BBBBBB;
    text-decoration: underline;
}

h1 {
    font-size: 1.5rem;
    font-weight: normal;
    text-decoration: underline;
    margin-top: 7px;
    margin-left: 10px;
    width: 100%;
}

.h1 {
    font-size: 1.5rem;
    font-weight: normal;
    text-decoration: underline;
    margin-top: 4px;
    margin-left: 8px;
}

h2 {
    overflow: hidden;
    font-size: 1.3rem;
    font-weight: normal;
    text-decoration: underline;
    height: 3.1rem;
}

UE2 {
    overflow: hidden;
    font-size: 1.3rem;
    font-weight: normal;
    text-decoration: underline;
}

#website  {
    min-height: 100%;
    height: auto !important;       
    height: 100%;
    width: 100%;
    background-color:  var(--sidecolor);
}

#header {
    position: sticky;
    top: 0px;
    width: 100%;
    background-color: var(--maincolor);
    height: 4rem;
    font-size: 1.3rem;
    display: table;
    z-index: 3;
}

    .header {
        display: table-cell;
        vertical-align: middle;
        text-align: center;
        color:  var(--sidecolor);
    }
    
    .logout {
        position: absolute; 
        right: 5px;
        bottom: 5px;
        font-size: 1.3rem;
        border: 1.5px solid  var(--sidecolor);
        border-radius: 3px;
        padding: 2px 8px;
        background-color: var(--maincolor);
        color:  var(--sidecolor);        
    }

#content {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1px;
}   

    .content {
        margin-bottom: 7px;
        margin-right: 10px;
    }

        .content_inhalt {
            margin-top: 7px;
            margin-left: 10px;
            border: 1.5px solid var(--maincolor);
            padding: 2px 8px;
            border-radius: 8px;  
        }       
        
            .floatbereich {
                margin-right: 8px;
                margin-bottom: 8px;
                overflow: auto;
                padding-bottom: 2px;
                display: flex;
                flex-direction: row;
                flex-wrap: wrap;
            }   
            
                .float_content {
                    margin-top: 8px;
                    margin-left: 8px;
                    float: left;                   
                } 
                
                .act_filter {
                    box-shadow: none;
                    transform: translate(2px, 2px);
                    z-index: 0;
                    color: #BBBBBB;
                    border-color: #BBBBBB;
                }   
                
                .video_floats {
                    border: 1px solid var(--maincolor);
                    border-radius: 3px;
                    padding: 2px 8px;
                    background-color:  var(--sidecolor);
                    font-weight: normal;
                    font-size: 1.3rem;
                    width: calc(calc(100% / 5) - 26px);            
                }   
                
                @media screen and (max-width: 1800px) and (min-width: 1441px) {
                    .video_floats {
                        width: calc(calc(100% / 4) - 26px);
                    }
                }
                @media screen and (max-width: 1440px) and (min-width: 1081px) {
                    .video_floats {
                        width: calc(calc(100% / 3) - 26px);
                    }
                }
                @media screen and (max-width: 1080px) and (min-width: 811px) {
                    .video_floats {
                        width: calc(calc(100% / 2) - 26px);
                    }
                }
                @media screen and (max-width: 810px) {
                    .video_floats {
                        width: calc(100% - 26px);
                    }
                }                
                    .video_preview {
                        margin-top: 5px;
                        width: 100% !important;                        
                        height: auto;
                    }
                    
                    .date_signature {
                        font-size: .8rem;
                        float: right;
                        padding-left: 5px;
                    }
                    
    .Impressum {
        min-height: 0px !important;
    }
    
    .Login {
        width: 40%;
        min-width: 250px;
        max-width: 400px;
        margin: auto;
        margin-top: 15%;
        padding: 10px;
        border-style: solid;
        border-width: 2px;
        border-radius: 8px;    
    }
        
        .Login_button {
            float: right;
            margin-right: 10%;
        }

#footer {
    background-color: var(--maincolor);
    position: fixed;
    bottom: 0px;
    width: 100%;
    font-size: 0.8rem;
    line-height: 1.5rem;
    height: 1.5rem;    
}

    .footer  {
         text-align: center;
         color: var(--sidecolor);        
    }

#video_popup {
    background-color: #000000;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

#close_popup {
    font-size: 2rem;
    position: fixed;
    right: 2%;
    top: 1%;
    text-decoration: none;
    color: var(--maincolor);
}

#close_popup:hover {
    text-decoration: none;
    color: var(--sidecolor);
    cursor: pointer;
}