* {
    -ms-overflow-style: -ms-autohiding-scrollbar;
    scrollbar-width: thin;
}

*::-webkit-scrollbar {
    width: 4px;
    background-color: var(--ui-color-scrollbar);
    border-radius: 50px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    -ms-border-radius: 50px;
    -o-border-radius: 50px;
}

*::-webkit-scrollbar-thumb {
    background-color: var(--ui-color-scrollbar-thumb);
    border-radius: 50px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    -ms-border-radius: 50px;
    -o-border-radius: 50px;
}

html {
    width: 100%;
    height: 100%;
    overflow:hidden;
}

body {
    display: flex;
    flex-direction: column;
    background: var(--ui-color-background-1);
    color: var(--ui-color-primary-1);
    font-family: var(--ui-font-family-primary-1);
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    touch-action: none;
}


#container {
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: row-reverse;
}






/* @media print {
    #printFooter {
        page-break-before: always;

        position: running(element);
        left: 70px;
        right: 70px;
        bottom: 100px;
    }

    .list-legal-box {
        position: running(element);
        bottom: 40px;
        left: 70px;
        right: 70px;

        margin: 100px 0 0 0;
        display: flex;
        justify-content: center;
    }
} */



@media only screen and (max-width: 700px) {
    #printArea {
        scale: 0.7;
    }
}

@media only screen and (max-width: 500px) {
    #printArea {
        scale: 0.5;
    }
}

@media only screen and (max-width: 400px) {
    #printArea {
        width: 200%;
        min-height: 180%;

        position: absolute;
        scale: 0.5;

        transform: none !important;
        border-radius: 0;
    }

    #pos-display {
        display: none;
    }
}