﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgO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z4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

:root {
    --heightMargin: 1vh;
    --wightMargin: 20px;
    --containerCount: 10;
    --oneContainerHeight: calc(((100vh - (var(--heightMargin) * 2)) / var(--containerCount)));
    /*--borderColor: #ced4da;*/
    --borderColor: #fff;
    --primary: #bef57b;
}

.c-container {
    padding: var(--heightMargin) var(--wightMargin) var(--heightMargin) var(--wightMargin);
    height: calc(100vh);
    width: calc(100vw);
}

.c-button {
    margin: var(--heightMargin) 0 var(--heightMargin) 0;
    overflow: visible;
    max-height: calc(calc(var(--oneContainerHeight) * 2) - calc(var(--heightMargin) * 2));
    /*    white-space: nowrap;*/
}

.c-weight {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(var(--oneContainerHeight) * 1);
}

.c-full {
    width: 100%;
    height: 100%;
}

.c-fontSize {
    font-size: 7vh;
    line-height: 6vh;
}

.c-10height {
    flex: 10;
    height: calc(var(--oneContainerHeight) * 10);
}

.c-9height {
    flex: 9;
    height: calc(var(--oneContainerHeight) * 9);

}

.c-8height {
    flex: 8;
    height: calc(var(--oneContainerHeight) * 8);
}

.c-7height {
    flex: 7;
    height: calc(var(--oneContainerHeight) * 7);
}

.c-6height {
    flex: 6;
    height: calc(var(--oneContainerHeight) * 6);
}

.c-5height {
    flex: 5;
    height: calc(var(--oneContainerHeight) * 5);
}

.c-4height {
    flex: 4;
    height: calc(var(--oneContainerHeight) * 4);
}

.c-3height {
    flex: 3;
    height: calc(var(--oneContainerHeight) * 3);
}

.c-2height {
    flex: 2;
    height: calc(var(--oneContainerHeight) * 2);
}

.c-1height {
    flex: 1;
    height: calc(var(--oneContainerHeight) * 1);
}

#countdown {
    position: relative;
    margin: auto;
    margin-top: 100px;
    height: 40px;
    width: 40px;
    text-align: center;
}

#countdown-number {
    color: green;
    display: inline-block;
    line-height: 40px;
}

/*svg {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    transform: rotateY(-180deg) rotateZ(-90deg);
}

    svg circle {
        stroke-dasharray: 113px;
        stroke-dashoffset: 0px;
        stroke-linecap: round;
        stroke-width: 2px;
        stroke: green;
        fill: none;
        animation: countdown 10s linear infinite forwards;
    }


}*/

@keyframes countdown {
    from {
        stroke-dashoffset: 0px;
    }

    to {
        stroke-dashoffset: 113px;
    }
}

.base-timer {
    position: relative;
    width: calc(var(--oneContainerHeight) * 2);
    height: calc(var(--oneContainerHeight) * 2);
}

.base-timer__svg {
    transform: scaleX(-1);
    animation: countdown 10s linear infinite forwards;
}

.base-timer__circle {
    fill: none;
    stroke: none;
}

.base-timer__path-elapsed {
    stroke-width: 7px;
    stroke: grey;
}

.base-timer__path-remaining {
    stroke-width: 7px;
    stroke-linecap: round;
    transform: rotate(90deg);
    transform-origin: center;
    transition: 1s linear all;
    fill-rule: nonzero;
    stroke: currentColor;
}

    .base-timer__path-remaining.green {
        color: rgb(65, 184, 131);
    }

    .base-timer__path-remaining.orange {
        color: orange;
    }

    .base-timer__path-remaining.red {
        color: red;
    }

.base-timer__label {
    position: absolute;
    width: calc(var(--oneContainerHeight) * 2);
    height: calc(var(--oneContainerHeight) * 2);
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}


.multiSelect {
    /*    max-height: calc(var(--oneContainerHeight) * 6);*/
    overflow: auto;
}

.noBackground{
    background-image: none;
}

.option {
    text-overflow: ellipsis;
    overflow: hidden;
/*    white-space:nowrap;*/
}

.c-selectContainer .option:nth-child(2n) {
    background-color: rgba(200, 200, 200, 0.4);
}

.selected {
    background-color: #0b5ed7!important;
    color: white;
}

.font-size18 {
    font-size: 18vh;
}

.font-size17 {
    font-size: 17vh;
}

.font-size16 {
    font-size: 16vh;
}

.font-size15 {
    font-size: 15vh;
}

.font-size14 {
    font-size: 14vh;
}

.font-size7 {
    font-size: 7vh;

}

.font-size6 {
    font-size: 6vh;
}

.font-size5 {
    font-size: 5vh;
}

.font-size7width {
    font-size: 7vw;
}

.c-result {
    text-align: center;
    margin: auto;
    white-space: pre-wrap;
    display: flex;
    justify-content: center;
    align-items: center;
}

.c-selectContainer {
    border: solid 1px var(--borderColor);
}

.c-selectInputContainer {
    position: relative;
}

.c-selectInput {
    padding-right: calc(min(7vw, 7vh) + min(4vw, 4vh));
}

.c-selectInput span {
    top:0px;
}

.c-deleteInput {
    position: absolute;
    top: 0px;
    right: 0px;
    height: 100%;
    padding-right: min(4vw, 4vh);
    cursor: pointer;
    width: min(7vw, 7vh);
    cursor: pointer;
}

    .c-deleteInput span {
        font-size: min(7vw, 7vh);
        top:0px;
    }
/*.c-selectInput {

}

    .c-selectInput span {

    }

.c-deleteInput {
    position: absolute;
    display: block;
    right: 3px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    color: #fff;
    background-color: #ccc;
    font: 13px monospace;
    text-align: center;
    line-height: 1em;
    cursor: pointer;
}*/

.green {
    color: lawngreen;
}

.break {
    flex-basis: 100%;
    height: 0;
}

.c-tare{

}

.c-tare-label {
    margin: 5px;
}

.c-tare-value {
    margin: 5px;
    margin-right: auto;
}

.c-tare-value-input {
    padding-top: 4vh;
    padding-bottom: 4vh;
}

.c-tare-button {
    margin: 5px;
    margin-right: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 9vh;
}

.c-tare-button span{

}

.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #7ac142;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark {
    width: 6vh;
    height: 6vh;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #fff;
    stroke-miterlimit: 10;
    margin: 10% auto;
    box-shadow: inset 0px 0px 0px #7ac142;
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale {
    0%, 100% {
        transform: none;
    }

    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes fill {
    100% {
        box-shadow: inset 0px 0px 0px 30px #7ac142;
    }
}

.c-tareSelect-label {
    align-items: center;
    justify-content: end;
    max-width: 15vh;
    display: flex;
}

.c-tareSelect-currentWeight {
    margin-left: auto;
}

.c-tareSelect-weightButton {
    margin-left: auto;
}

.c-resultList {
    overflow-x: visible;
    overflow-y: auto;
}

.c-resultList-container {
    display: flex;
    /*    white-space: nowrap;*/
    flex-wrap: wrap;
    border: solid 1px var(--borderColor);
    border-top: none;
    width: 100%;
}

/*.c-resultList-container-header {
    background-color: darkgrey;
}*/

.c-resultList-container:first-child {
    border-top: solid 1px var(--borderColor);
}

/*.c-resultList-container:nth-child(2n) {
    background-color:palegreen;
}*/

/*.c-resultList-element {
    flex: 1 calc(33vw - calc(var(--wightMargin) * 2));
    overflow: hidden;
    justify-content: center;
    align-items: center;
    text-align: center;
    display: flex;
    max-height: calc(11vh - calc(var(--heightMargin) * 2));
}

.c-resultList-element-small {
    flex: 1 calc(24vw - calc(var(--wightMargin) * 2));
    overflow: hidden;
    border-top: solid 1px var(--borderColor);
    border-left: solid 1px var(--borderColor);
}

.c-resultList-element-sender {
    border-top: solid 1px var(--borderColor);
}

.c-resultList-element-left {
    border-left: solid 1px var(--borderColor);
}*/

.c-resultList-element {
    white-space: nowrap;
    width: 100%;
}

.c-resultList-container-one {
    flex: 4;
    max-width: calc(75vw - var(--wightMargin));
    align-items: normal;
    justify-content: center;
    display: flex;
    flex-direction: column;
    padding-left: 1vh;
    width: 100%;
}

.c-resultList-container-two {
    flex: 1;
    max-width: calc(25vw - var(--wightMargin));
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.c-resultList-element-date {
    font-size: 2vh;
    width: 100%;
}

.c-resultList-element-product {
    font-size: 4vh;
    font-weight: bold;
    width: 100%;
}

.c-resultList-element-sender {
    font-size: 4vh;
    width: 100%;
}

.c-resultList-element-weightContainer {
    display: flex;
    font-size: 3vh;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.c-resultList-element-car {
    font-size: 4vh;
    width: 100%;
    text-align: center;
}

.c-resultList-element-neto {
    font-size: 6vh;
    font-weight: bold;
    width: 100%;
    text-align: center;
}

.c-resultList-element-tare {
    margin: auto;
    margin-left: 5px;
    width: calc(50% - 10px);
}

.c-resultList-element-bruto {
    margin: auto;
    margin-left: 5px;
    margin-right: 5px;
    text-align: end;
    width: calc(50% - 10px);
}

.c-menu {
    width: fit-content;
    margin-top: 0;
    margin-bottom: 0;
}

.c-redBorder{
    border: solid 1px red;
    color: red;
}

.c-weightPlace {
    height: 100%;
    min-width: 5vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

.c-navigation-back {
    max-width: 11vh;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 5px;
}

.c-navigation-forward {
    max-width: 11vh;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 5px;
}

.c-navigation-do {
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.c-floatingTextContainer-inner{
    border: 1px solid var(--borderColor);
}

.c-floatingTextContainer-text ~ .c-floatingTextContainer-inner {
    border-top: none;
}

.c-netoSum-neto-value {
    display: flex;
    justify-content: end;
    align-items: center;
    padding-right: 10px;
    font-weight: bold;
    z-index: 2;
    position:relative;
}

.c-floatingTextContainer {
    padding: 2vh 0 2vh 0;
    position:relative;
}

.c-floatingTextContainer-text {
    top: 0vh;
    left: 4vh;
    position: absolute;
    font-size: 2vh;
    background-color: inherit;
    padding: 5px;
    padding-right: 1vh;
    padding-left: 1vh;
    font-weight: bold;
    line-height: 3vh;
    text-align:center;
    width: 12vh;
}

.c-filter {
    display: flex;
    flex-wrap: wrap;
    height: 100%;
    width: 100%;
}
.c-filter-element {
    width: calc(50% - 2vw);
    height: calc(50% - 2vw);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    font-size: 5vh;
    white-space: normal;
    text-align: center;
    line-height: 1;
    margin: 1vw;
    cursor:pointer;
}

.c-placeholder{
    color: #fff;
}

.c-calendar {
    display: flex;
    align-items: center;
    justify-content: center;
}

.c-stable {
    color: #007400;
    font-weight: bold;
}

.c-valueExists {
    color: greenyellow;
}

.weigtherButton {
    margin-top: 1vh;
    margin-bottom: 1vh;
    margin-right: 1vw;
    flex:initial;
}

.weightRow {
    display: flex;
    justify-content: center;
    color: white;
    align-items: center;
}

.navigationContainer {
    display: flex;
}

.gradient {
    background-image: linear-gradient( 180deg, hsl(122deg 47% 56%) 0%, hsl(119deg 46% 61%) 11%, hsl(117deg 46% 64%) 22%, hsl(115deg 46% 67%) 33%, hsl(113deg 45% 70%) 44%, hsl(111deg 45% 74%) 56%, hsl(109deg 44% 77%) 67%, hsl(108deg 43% 81%) 78%, hsl(106deg 41% 84%) 89%, hsl(105deg 37% 87%) 100% );
}

.k-button {
    white-space: normal;
    border-radius: 35px;
}

.k-button-text {
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
}

.k-button.c-menubutton.c-menu {
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    width: 22vw;
}

.c-navigation-do {
    backdrop-filter: blur(5px);
    background: rgba(21, 101, 192, 0.7);
    border: none;
    border-color: none;
}

.blazored-toast-container {
    z-index: 10!important;
}

.overflow.overflow-auto {
    overscroll-behavior: contain;
}

.c-InputTitle {
    justify-content: center;
    display: flex;
    align-items: center;
    overflow: hidden;
    white-space: nowrap;
}