body, html {
    margin: 0;
    padding: 0;

    font-family: "Open Sans", sans-serif;

    user-select: none;
    display: block;
}

html{
    background-color: #ebebeb;
    background-image: repeating-linear-gradient(-12deg, transparent, transparent 205px, rgba(255, 255, 255, 0.5) 205px, rgb(255, 255, 255) 5017px);
    height: 100%;
}

.content-header{
    background-color: #2b4763;
    /*
    display: flex;
    justify-content: space-around;
    */
    height: 45px;
    width: auto;
    overflow-y: scroll;
}

.content-header::-webkit-scrollbar {
    display: none;
}

html::-webkit-scrollbar{
    display: none;
}

.header-element{
    border: none;
    background-color: #2b4763;
    color: #fef;
    width: 100px;
    font-size: 100%;
    outline: 0;
    height: 45px;
    float: left;

}

.header-element-sub{
    /*Breite wird dynamisch bestimmt*/
    width: 1500px;
    height: 45px;
}

.header-element.active{
    background-color: #123;
    color: #fef;
}

.content{
    width: 100%;
    height: 100%;
}

.content-body{
    width: 100%;
}

.button-group > .button {
    margin: 8px;
    padding: 10px;
    border: none;
    border-radius: 2px;
    background-color: #fefefe;
    color: #010101;

    width: 30%;

    user-select: none;
    outline: 0;
    cursor: pointer;
}

.button-group > .button.getraenke {
    border-left: 8px solid #3498db;
}

.button-group > .button.essen {
    border-left: 8px solid #27ae60;
}

.button-group > .button.nachtisch {
    border-left: 8px solid #db314f;
}

.button-group > .button.warning {
    color: #fefefe;
    /*
    background-color: #d35400;
    background-image: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(211, 84, 0, 0.5) 10px, rgba(211, 84, 0, 0.5) 20px);
    */
    background-color: #d35400;
    background-image: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255, 123, 63, 0.5) 160px, rgba(255, 123, 63, 0.5) 20px);
    position: relative;

}

.button-group > .button.disabled {
    border-left: 8px solid #a3a3a3;
    color: #a3a3a3;
    background-color: #ececec;

}

.button-group.disabled{
    display: none;
}

.button-badge{
    color: #fefefe;
    font-size: 1em;
    position: absolute;
    top: 6px;
    right: 2px;

    width: 24px;
    font-family: "Open Sans", sans-serif;
    text-align: center;


}

.button-text {
    font-size: 2.5em;
}

.button-text.oversizelowtext{
    /* 9 - 12 Zeichen*/
    font-size: 1.4em;
    padding-top: 13px;
    padding-bottom: 3px;
}

.button-text.oversizehightext{
    /*12+ Zeichen*/
    font-size: 0.9em;
    padding-top: 19px;
    padding-bottom: 5px;
}


.button-ammount {
    font-size: 2em;
}

.header-element{
    flex-direction: row;
}

.content-body{
    background-color: #517dff;
}

#function-buttons{
    width: 5%;
    float: left;
}

.content-buttons{
    background-color: #123;
    width: 65%;
    float: left;
}
.content-text{
    /*background-color: green;*/
    width: 28%;
    float: left;
    margin-left: 1%;
    margin-top: 10px;
}

.text-element{

    padding: 2px;
    padding-left: 10px;
    margin-top: 2px;
    font-size: 1.2em;
}

.price-right{
    float: right;
}

.text-element.getraenke {
    border-left: 4px solid #3498db;
}

.text-element.essen {
    border-left: 4px solid #27ae60;
}

.text-element.nachtisch {
    border-left: 4px solid #db314f;
}

.text-element.sum{
    border-top: 0.5px solid #111111;
    font-size: 1.5em;
}



.buttons-1{
    width: 70%;
    float: left;
}

/*

.button.modeselect{
    margin: 10px;
    padding: 10px;
    border: none;
    border-radius: 2px;
    background-color: #2b4763;
    color: #fefefe;
    font-size: 100%;
    width: 22%;

    user-select: none;
    outline: 0;
    cursor: pointer;
}
*/

/*
.button.tischauswahl, .button.bestellen{
    margin: 10px;
    padding: 10px;
    border: none;
    border-radius: 2px;
    background-color: #2b4763;
    color: #fefefe;

    width: 48%;

    user-select: none;
    outline: 0;
    cursor: pointer;
}
*/

.button.bestellen{
    margin: 10px 0px 0px 0px;
    padding: 10px;
    border: none;
    border-radius: 2px;
    background-color: #00c853;
    color: #fefefe;

    width: 100%;

    user-select: none;
    outline: 0;
    cursor: pointer;
}

.button.function-buttons{
    width: 100%;
    font-size: 30px;

    margin: 5px 0px 0px 0px;
    padding: 10px;

    border: none;
    background-color: #123;
    color: #fefefe;

    user-select: none;
    outline: 0;
    cursor: pointer;

}

#table-open-button.disabled{
    display: none;
}

.button.function-buttons.auswahl{
    padding: 10px 4px 10px 4px;
    font-size: 12px;
    box-sizing: border-box;
    background-color: transparent;
    color: #2b4763;
    transition: background-color 0.4s, color 0.4s;

}

.button.function-buttons.auswahl.choosen{
    background-color: #2b4763;
    color: #fff;
}

.button.function-buttons.auswahl.attention{
    background-color: #ff4954;
    color: #fff;
}

.button.function-buttons.auswahl.not-available{
    display: none;
}


.placeholderinfo{
    text-align: center;
    font-size: 1.8em;
    padding: 20px;
    color: #dfdfdf;
}


.buttons-2{
    width: 100%;
    float: left;
}

.button.disabled{
    background-color: #b8b8b8;
}

.loading.disabled{

    display: none;

}

.loading{
    position: absolute;
    background-color: rgba(255,255,255,0.6);

    width: 100%;
    height:100%;

    top: 0px;
    left:0px;

    display: flex;

    align-items: center;
    justify-content: center;

    fill-opacity: 0.8;

}

.loading > div{
    padding: 20px;
    border-radius: 2px;
    background-color: #ffffff;
}

.loading > div > img{
    width: 100px;
    padding-left: calc( 50% - 50px );
}

.table-input.disabled{
    display: none;
}

.table-input{
    position: absolute;
    background-color: rgba(255,255,255,0.94);

    width: 100%;
    height:100%;

    top: 0px;
    left:0px;

    display: flex;

    align-items: center;
    justify-content: center;

    fill-opacity: 0.8;
}

.table-input-wrapper{
    width: 90%;
    height: 90%;
}

.table-input-button-section{

    margin: 10px;
    width:100%;
    height: 15%;
    text-align: center;


}

.table-input-button-section p{
    font-size: 6vw;
}

.table-input-button{
    width: 30%;
    height: 100%;
    font-size: 10vh;
    padding: 5px;
    border-radius: 5px;

    border: 2px solid #123456;
    background-color: rgba(255,255,255,0.4);
    color: #123456;

}

.table-input-button:active{
    border: none;
    background-color: #2b4763;
    color: #ffffff;
}


.kreditor-input.disabled{
    display: none;
}

.kreditor-input{
    position: absolute;
    background-color: rgba(255,255,255,0.94);

    width: 100%;
    height:100%;

    top: 0px;
    left:0px;

    display: flex;

    align-items: center;
    justify-content: center;

    fill-opacity: 0.8;
}

.kreditor-input-wrapper{
    width: 90%;
    height: 90%;
}

.kreditor-input-button-section{

    margin: 10px;
    width:100%;
    height: 15%;
    text-align: center;


}

.kreditor-input-button-section p{
    font-size: 6vw;
}

.kreditor-input-button{
    width: 30%;
    height: 100%;
    font-size: 10vh;
    padding: 5px;
    border-radius: 5px;

    border: 2px solid #123456;
    background-color: rgba(255,255,255,0.4);
    color: #123456;

}

.kreditor-input-button:active{
    border: none;
    background-color: #2b4763;
    color: #ffffff;
}


.product-control{
    position: absolute;
    background-color: rgba(255,255,255,0.96);

    width: 100%;
    min-height:100%;

    top: 0px;
    left:0px;

    display: flex;

    /*
    align-items: center;
    justify-content: center;
*/
    fill-opacity: 0.96;
}

.product-control.disabled{
    display: none;
}

#product-control-list{
    margin-left: 10%;
    width: 80%;
    padding-top: 20px;
}

.product-control-element{

    padding: 2px;
    padding-left: 10px;
    margin-top: 2px;
    font-size: 2em;

    width: 100%;
}

.price-right{
    float: right;
}

.product-control-element.getraenke {
    border-left: 4px solid #3498db;
}

.product-control-element.essen {
    border-left: 4px solid #27ae60;
}

.product-control-element.nachtisch {
    border-left: 4px solid #db314f;
}

.product-control-element.sum{
    border-top: 0.5px solid #111111;
    font-size: 2.5em;
}

.button-product-control-plus, .button-product-control-minus, .button-product-control-comment{
    margin-left: 10px;
    border: none;
    border-radius: 2px;
    padding: 0px 10px;

    font-size: 1em;

    color: #fff;

    outline: none;
    box-sizing: border-box;


}

.button-product-control-comment.comment-not-set{

    background-color: #fefefe;
    color: #3778db;
    box-sizing: border-box;
}

.button-product-control-comment{
    border: 2px solid #3778db;
}

.button-product-control-plus{
    background-color: #27ae60;
}

.button-product-control-minus{
    background-color: #db314f;
}

.button-product-control-comment{
    background-color: #3778db;
}

.alert{
    position: fixed;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 50px;
    text-align: center;
    font-size: 2em;
    color: white;
    font-family: sans-serif;
    opacity: 0.95;
    transition: bottom 1s;
    box-sizing: border-box;

    padding-top: 7px;
}
.alert.info{
    background-color: #506bff;
}
.alert.warning{
    background-color: #ffb930;
}
.alert.error{
    background-color: #ff213f;
    background-color: #e74c3c;
}

.alert.oversizelowtext{
    font-size: 1.5em;

    padding-top: 10px;
}

.alert.oversizehightext{
    font-size: 1em;

    padding-top: 16px;
}

.alert.disabled{
    bottom: -50px;
}

.product-control-backbutton {
    position: fixed;
    top: 0px;
    left: 0px;
    background-color: #123456;
    height: 40px;
    width: 40px;
    z-index: 10;
    color: #fefefe;
    border-bottom-right-radius: 5px;
    font-family: monospace;
    font-size: xx-large;
    text-align: center;
}


#comment-text-conatiner{
    z-index: 20;
    position: fixed;
    left: 10%;
    width:80%;
    background-color: #fefefe;
    padding: 20px;
    box-sizing: border-box;
    border: 10px solid #133456;
    border-top: 40px solid #123456;
    border-radius: 5px;
}

#comment-text{
    width: 100%;
    height: 100px;
    font-size: 1.2em;
    font-family: "Open Sans", sans-serif;
    border: none;
    outline: none;
    border-bottom: 1px solid #c4c4c4;
    transition: border-bottom 0.2s;

}

#comment-text::selection{
    background-color: #123456;
    color: #fefefe;
}

#comment-text:focus{
    border-bottom: 1px solid #0f0f0f;
}

#comment-text-conatiner > button{
    width:100%;
    box-sizing: border-box;
    height: 30px;
    background-color: #123456;
    border: none;
    color: #fefefe;
    border-radius: 5px;
    margin-top: 10px;
}

#comment-text-conatiner > p{
    position: absolute;
    top: -47px;
    color: #fefefe;
    font-family: "Open Sans", sans-serif;
}

#comment-text-conatiner.disabled{
    display: none;
}

.kred-or-bar{
    width: 40%;
    height: 80%;
    font-size: 4em;
    color: #123456;
    background-color: transparent;
    border: 2px solid #123456;
    margin: 30px;
    outline: none;
    border-radius: 5px;
}

.kred-or-bar:focus{
    background-color: #123456;
    color:#fefefe;
}

#last-order{
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
    background-color: #fefefe;
}

#last-order.disabled{
    display: none;
}

#last-order-header{
    height: 8%;
    width: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
    background-color: #123456;

    color: #fefefe;
    font-size: 2em;
    box-sizing: border-box;
    text-align: center;

}

.last-order-footer{
    height: 8%;
    width: 100%;
    position: fixed;
    bottom: 0px;
    left: 0px;
    background-color: #27ae60;

    color: #fefefe;
    font-size: 2em;
    box-sizing: border-box;
    text-align: center;
}



#last-order-body{
    height: 84%;
    width: 100%;
    position: fixed;
    top: 8%;
    left: 0px;
    background-color: #d2d2d2;
    background-color: #fefefe;
}

.last-order-body-price-list{
    width:40%;
    height: 100%;
    margin-left: 4%;
    background-color: #bababa;
    background-color: #fefefe;
    float: left;

    padding-top: 10px;
}

#last-order-body-price-part-list, #last-order-body-price-payed-list{

    margin-left: 12%;
    max-height: 48%;
    overflow: scroll;
}

#last-order-body-price-payed-list{
    padding-top: 20px;
}
#last-order-body-price-payed-list > .text-element > .price-right, #last-order-body-price-payed-list > .text-element{
    text-decoration: line-through;
}

.kreditor-input-button-section.name-field{
    margin: 0px;
    margin-left: 10px;
    padding: 0px;
    height: 0px;
    font-size: 1em;
}

.kreditor-input-button-section.name-field > p{
    min-height: 80px;
}


@media screen and (orientation:portrait) {
    #function-buttons{
        width: 100%;
    }
    .content-header{
        height: 90px;
    }
    .header-element-sub{
        height: 90px;
    }
    .header-element{
        height: 90px;
        width: 160px;
        font-size: 150%;
    }
    .button.function-buttons.auswahl{
        font-size: 18px;
    }

    .content-buttons{
        width: 100%;
    }
    .content-text{
        width: 98%;
    }
    .button.function-buttons{
        width: 24.6%;
    }
    .button-group > .button{
        width: 48%;
    }
    .table-input-button{
        font-size: 7vh;
    }
    .table-input-button-section p{
        font-size: 10vw;
    }
    .text-element{
        font-size: 1.8em;
    }
    .button.bestellen{
        font-size: 2em;
    }
    .button > .button-text{
        font-size: 2.8em;
        padding-top: 0px;
        padding-bottom: 0px;
    }

    .last-order-body-price-list{
        width: 90%;
        height: auto;
        max-height: 40%;
        overflow: scroll;
    }

    #last-order-body-price-part-list, #last-order-body-price-payed-list{

        margin-left: 0px;
        background-color: #f5f5f5;

    }

    #last-order-body-price-list{
        background-color: #f5f5f5;
    }

    #last-order-header{
        height: 4%;
    }
    .last-order-footer{
        height: 4%;
    }

    .button-group > .button.warning {
        background-image: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255, 123, 63, 0.5) 360px, rgba(255, 123, 63, 0.5) 20px);


    }

    .kreditor-input-button{
        font-size: 7vh;
    }
    .kreditor-input-button-section p{
        font-size: 10vw;
    }
}
@media screen and (orientation:landscape) {}