/* animations */
@keyframes pulse-opacity {
    0%{opacity: 1;}
    50%{opacity: 0.25;}
    100%{opacity: 1;}
}
/* global styles */
html, body{
    margin: 0;
    padding: 0;
}
html, body, a, select, option, input, textarea{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 20px;
}

table.ingredients{
    border-collapse: collapse;
    margin: auto;
}
table.ingredients thead th{
    font-size: 16px;
    position: sticky;
    top: 45px;
    background: #4276c5eb;
    padding: 10px 10px;
    color: white;
}
table.ingredients td{
    font-size: 20px;
    border-top: 1px dotted silver;
}
table.ingredients tr:nth-child(2n) td{
    background: #bed5f733;
}
table.ingredients input[type=number]{
    font-size: 24px;
    width: 85px;
    text-align: center;
    background: #fffe;
    border: 1px solid #0000;
}

tr.sold{
    background-color: green;
    color: white;
    font-weight: bold;
}

tr.error{
    background-color: red;
    color: white;
}

td.sold{
    padding: 0 8px;
}

table.ingredients tr td.post{
    padding-left: 10px;
    padding-right: 10px;
    text-align: right;
    background: #444;
    color: #fff;
}
table.ingredients tr:nth-child(2n) td.post{
    background: #222;
}
table.ingredients tr td.diff{
    padding-left: 10px;
    padding-right: 10px;
}
table.loading{
    position: relative;
}
table.loading:before{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: #0008;
    backdrop-filter: blur(10px);
}
table.loading:after{
    content: 'loading';
    color: #ccc;
    font-weight: bold;
    position: fixed;
    display: block;
    text-align: center;
    top: 50%;
    right: 0;
    left: 0;
    height: 94px;
    background: url(../images/loading_square.gif) no-repeat center center;
    background-size: 40px;
}

.js-snackbar-container{
    position: fixed;
}
.js-snackbar-container--top-right{
    top: 50px;
}

.sticky{
    position: sticky;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}
.close-btn:after{
    content: '✖';
}