th, td {
  height: 0;
}
@-moz-document url-prefix() {
  tr, th, td {
    height: 100%;
    }
}

#editModal .type-reasons{
  display: none;
}
#editModal .type-reasons.visible{
  display: block;
}

.item-row{
  transition: opacity 0.5s ease-in-out;
}
.item-row.removing{
  opacity: 0;
}

.nav-link{
  padding: 0.2rem 1rem;
}

.btn-comment-delete{
  border: none;
  background-color: transparent;
  outline: none;
  cursor: pointer;
}

.navbar-nav.navbar-sidenav{
  overflow-y: auto;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.navbar-nav.navbar-sidenav::-webkit-scrollbar {
  display: none;
}

.col-disabled{
  cursor: not-allowed !important;
  position: relative;
}
.col-disabled.whole{
  padding: 0;
}
.col-disabled a,
.col-disabled button,
.col-disabled select,
.col-disabled div{
  pointer-events: none;
}
.role-hide {
    display: none;
}

.breadcrumb span.separator {
    padding-left: 0.3em;
    padding-right: 0.3em;
}

.instock-BRAK,
.isfiletemplate-NIE,
.isfile-PROBLEM,
.isfile-NIE {
    background-color: #a10000;
    color: white;
    text-align: center;
}
.isfile-PROBLEM {
    background-color: #df8a13;
}
.instock-JEST,
.isfiletemplate-TAK,
.isfile-TAK {
    background-color: green;
    color: white;
    text-align: center;
}

.isfiletemplate-TAK:hover,
.isfile-TAK:hover {
    cursor: pointer;
    color: black;
    background: none;
    -webkit-box-shadow: inset 0px 0px 0px 2px #a10000;
    -moz-box-shadow: inset 0px 0px 0px 2px #a10000;
    box-shadow: inset 0px 0px 0px 2px #a10000;
}
.isfile-PROBLEM:hover,
.isfiletemplate-NIE:hover,
.isfile-NIE:hover {
    cursor: pointer;
    background: none;
    color: black;
    -webkit-box-shadow: inset 0px 0px 0px 2px green;
    -moz-box-shadow: inset 0px 0px 0px 2px green;
    box-shadow: inset 0px 0px 0px 2px green;
    /*background-color: green;*/
}

.filters-panel{
  transform: translateX(100%);
  transition: 0.3s ease-in-out;
  background-color: white;
  position: fixed;
  z-index: 10;
  top: 55px;
  right: 0;
  bottom:0;
  padding: 10px 0;
  -webkit-box-shadow: -2px 2px 14px 0px rgba(66, 68, 90, 0.5);
  -moz-box-shadow: -2px 2px 14px 0px rgba(66, 68, 90, 0.5);
  box-shadow: -2px 2px 14px 0px rgba(66, 68, 90, 0.5);
  width: 250px;
}

.filters-panel.visible{
  transform: translateX(0);
}

.filters-panel .actions{
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 0;
}

.filters-panel .accordions{
  height: calc(100% - 150px);
  overflow-y: auto;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.filters-panel .accordions::-webkit-scrollbar{
  display: none;
}

.table-order td {
    vertical-align: middle;
}

.order-header .date {
    font-size: 150%;
}

.urgent-:hover {
    cursor: pointer;
    -webkit-box-shadow: inset 0px 0px 0px 2px #f4f400;
    -moz-box-shadow: inset 0px 0px 0px 2px #f4f400;
    box-shadow: inset 0px 0px 0px 2px #f4f400;
}

.shopId, .shopIdConfirm {
    display: none;
}

.urgent-TAK {
    background-color: #f4f400;
    font-size: 10px !important;
}

.urgent-TAK:hover {
    cursor: pointer;
    background: none;
}

.status-td {
    width: 10%;
}

.area-td {
    width: 4%;
}

.user-td {
    width: 10%;
}


.invoice-td {
    width: 15%;
    line-height: 1em !important;
}
.invoice-td .invoice-info {
    position: relative;
    line-height: 16px;
    padding-right: 30px;
    min-height: 16px;
}
.invoice-td .invoice-info img {
    width: 28px;
    height:16px;
    position:absolute;
    top:0px;
    right: 0px;
}

.orders .image {
    max-width: 75px;
}

.td-header th {
    vertical-align: middle;
}

.printer-td {
    width: 12%;
    text-align: center;
}

.select-success {
    border: 1px solid green;
}

a {
    color: #406db2;
}

.color-input {
    height: 40px;
}

.color-list-box {
    height: 3em;
    width: 3em;
}

.span-invoice-name {
    font-weight: bold;
}

.breadcrumb {
    padding: 0 1rem;
}

.content-wrapper {
    padding-top: 0.5rem;
}

.time {
    font-size: 75%;
}

#last-searches{
  position: absolute;
  top: 100%;
  width: 100%;
  left: 0;
  background: white;
  z-index: 5;
  border: 1px solid #ced4da;
}
#last-searches button{
  border: none;
  background: white;
  cursor: pointer;
}
#last-searches button:hover{
  background-color: rgba(0,0,0,0.05);
}
#last-quick-searches{
  position: absolute;
  top: 100%;
  width: 100%;
  left: 0;
  background: white;
  z-index: 5;
  border: 1px solid #ced4da;
}
#last-quick-searches button{
  border: none;
  background: white;
  cursor: pointer;
}
#last-quick-searches button:hover{
  background-color: rgba(0,0,0,0.05);
}


.state-canceled td:not(.options-td, .status-td, .comment-td){
    opacity: 0.2!important;
    pointer-events: none;
}
.state-canceled td.invoice-td {
    pointer-events: none;
}
.state-canceled td.invouce-td .fa-copy {
    pointer-events: auto;
}
.state-canceled .status-td .status-select {
    display: none;
}

.order-trash,
.order-done{
  pointer-events: none;
  position: relative;
}
.order-internal-warehouse {
    cursor: not-allowed;
    position: relative
}
.order-internal-warehouse:hover {
    background-color: unset!important;
}
.order-internal-warehouse::after {
    top: 0;
    left: 0;
    position: absolute;
    content: '';
    display: block;
    background: rgba(255,0,0,0.1);
    cursor: not-allowed;
    width: 100%;
    height: 100%;
}
.order-internal-warehouse::before {
    
}
.order-trash {
    text-decoration: line-through!important;
}
.order-trash .options-td,
.order-done .status-select, .order-done .options-td, .order-done .image-td a {
    pointer-events: auto;
}
.order-done::after{
  display: block;
  /*content: '';*/
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,0,0,0.1);
  pointer-events: none;
}

.item-name {
    font-weight: bold;
    font-size: 13px;
}

.item-name a {
    color: black;
}

.item-nickname {
    font-size: 80%;
}

.comment-td {
    font-size: 80%;
    width: 9%;
}

.image-td img {
    max-height: 55px;
}

.image-a {
    font-size: 10px;
}

.orders table th {
    padding: .1em .5em;
    font-size: 13px;
}

.orders table tr td {
    padding: .2em .5em;
    font-size: 13px;
}
.orders table tr td.options-td {
    min-width: 44px;
    padding: 0.2rem;
}
.orders table tr td.options-td .dropdown-toggle {
    text-decoration: none;
    font-size: 19px;
}

.orders select {
    height: 2.5em !important;
    font-size: 12px;
    padding-top: 0.2em;
    padding-bottom: 0.2em;
    min-width: 140px;
}

.td-select-click {
    cursor: pointer;
}

.item-qty span {
    width: 150px;
    height: 100px;
    background: red;
    border-radius: 80%;
    color: white;
    padding: .75em;
    animation: blinker 1s step-start infinite;
    font-weight: bold;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

@-webkit-keyframes invalid {
    from {
        background-color: #fffbbe;
    }
    to {
        border-color: inherit;
    }
}

@-moz-keyframes invalid {
    from {
        background-color: #fffbbe;
    }
    to {
        border-color: inherit;
    }
}

@-o-keyframes invalid {
    from {
        background-color: #fffbbe;
    }
    to {
        border-color: inherit;
    }
}

@keyframes invalid {
    from {
        background-color: #fffbbe;
    }
    to {
        border-color: inherit;
    }
}

.invalid td {
    -webkit-animation: invalid .5s infinite;
    -moz-animation: invalid .5s infinite;
    -o-animation: invalid .5s infinite;
    animation: invalid .5s infinite;
}

.nav-item label {
    color: #FFFFFF;
}

.select-all-element {
    display: none;
}

/** Server status css **/
.server-status {
    left: 10px;
    top: 50%;
    margin-left: 0px;
    margin-top: -5px;
    position: absolute;
    vertical-align: middle;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.server-status::before,
.server-status::after {
    left: 0;
    top: 50%;
    margin-left: -1px;
    margin-top: -6px;
    position: absolute;
    vertical-align: middle;
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.server-status[type="up"],
.server-status[type="up"]::before,
.server-status[type="up"]::after {
    background: #2ECC71;
}
.server-status[type="down"],
.server-status[type="down"]::before,
.server-status[type="down"]::after {
    background: #E74C3C;
}
.server-status[type="slow"],
.server-status[type="slow"]::before,
.server-status[type="slow"]::after {
    background: #F1C40F;
}

.server-status::before {
    content: "";
    animation: bounce 1.5s infinite;
}
.server-status::after {
    content: "";
    animation: bounce 1.5s -0.4s infinite;
}

@keyframes bounce {
    0% {
        transform: scale(1);
        -webkit-transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        -webkit-transform: scale(2);
        opacity: 0;
    }
}

@-webkit-keyframes bounce {
    0% {
        transform: scale(1);
        -webkit-transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        -webkit-transform: scale(2);
        opacity: 0;
    }
}
.product-td {
    min-width: 320px;
    position: relative;
    padding-bottom: 24px !important;
}
.product-td .product-sqm {
    position: absolute;
    bottom: 2px;
    right: 2px;
    border: 1px solid #007bff;
    padding: 0.2rem;
    border-radius: 0.2rem;
    line-height: 1;
}


/* toasts */
.toast-container {
    position: fixed;
    top: 64px;
    right: 1.5rem;
    display: grid;
    justify-items: end;
    gap: 12px;
    z-index: 99999;
  }

  .toast {
    font-size: 1.5rem;
    line-height: 1;
    padding: 0.5em 1em;
    animation: toastIt 3000ms cubic-bezier(0.785, 0.135, 0.15, 0.86) forwards;
    border-size: 1px;
    border-style: solid;
    border-radius: 8px;
    margin-bottom: 0;
  }

  @keyframes toastIt {
    0%,
    100% {
      transform: translateY(-150%);
      opacity: 0;
    }
    10%,
    90% {
      transform: translateY(0);
      opacity: 1;
    }
  }

.delayedOrders-wrapper {
    display: grid;
    font-size: 16px;
    grid-template-columns: 1fr 1fr;
    border: 1px solid #ccc;
    border-bottom: 0;
    padding: 8px;
}
.delayedOrders-wrapper h2 {
    font-size: 20px;
}
.delayedOrders-wrapper h2 small {
    font-size: 14px;
}
.delayedOrders, .delayedOrdersStandard {
    margin-right: 16px;
}

.delayedOrdersLive span, .delayedOrders span, .delayedOrdersStandard span, .delayedOrdersStandardLive span {
    color: green;
    font-weight: 600;
}

.delayedOrdersLive span.delay-not-ok, .delayedOrders span.delay-not-ok, .delayedOrdersStandard span.delay-not-ok, .delayedOrdersStandardLive span.delay-not-ok {
    color: red;
}

@keyframes orderBigDelay {
    0% {color: orange;}
    50% {color: red;}
    100% {color: orange;}
}

.orderBigDelay {
    animation-duration: 2s;
    animation-name: orderBigDelay;
    animation-iteration-count: infinite;
}

/* order glass page */
.order-glass-page {

}
.order-glass-page .delayed-glass-order-info {
    display: flex;
    align-items: center;
}
.order-glass-page .delayed-glass-order-info i {
    margin-right: 6px;
}

#recommended-couriers .courier{
    position: relative;
}

#recommended-couriers .courier .courier-details{
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    background-color: white;
    border: 1px solid black;
    z-index: 1;
    pointer-events: none;
    padding: 10px;
}

#recommended-couriers .courier .courier-details.alerts{
    top: auto;
    bottom: 100%;
}

#recommended-couriers .courier .courier-details>div:not(:last-child){
    border-bottom: 1px solid gray;
}

#recommended-couriers .courier .courier-details p{
    margin: 0;
}

#recommended-couriers .courier .courier-details div p:last-child{
    font-weight: 700;
}

#recommended-couriers .courier:hover .courier-details{
    display: block;
}

.disabled{
    pointer-events: none;
    opacity: 0.7;
}

#production_process_workers{
    columns: 6;
}

#countriesNameDropdownBox {
    max-height: 300px;
    overflow-y: auto;
    width: 230px;
}
.js-print-label-btn {
    display: none;
}