﻿/*#0275d8;*/
/*#0275d8;*/
/*#0275d8;*/
/*=============================================*/
/* Inzzii definitions                          */
/*=============================================*/
/* main part of the screen where we want to keep an empty space left and right */
:root {
    color-scheme: dark;
    --main-color: #ff7200;
    --main-color-darker: #f26d00;
    --main-color-lighter: #ff7a0d;
    --main-color-border: #e6670a;
    --default-font-family: "Bahnschrift", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.i-main-container {
    max-width: var(--shop-max-width, 1280px);
    margin: auto;
    /*padding: 10px;*/
}

.i-color-body, .i-color-body:focus, .i-color-body:hover {
  color: #ffffff;
  background-color: #1e1e1e;
}

.i-color-secondary {
  color: #ffffff;
  background-color: #444444;
}

.i-color-info {
    color: var(--main-color);
}

.i-color-info-background {
    background-color: var(--main-color);
}

.i-anchor, .i-anchor:hover {
    color: var(--main-color) !important;
    text-decoration: none;
    cursor: pointer;
}

.i-info-text {
  font-size: 1.6rem;
}

.i-dept-anchor {
  color: #ffffff;
  text-decoration: none;
}
.i-dept-anchor > div {
  border-color: #ffffff;
}

.i-dept-anchor:hover {
  color:var(--main-color-darker);
  text-decoration: none;
}

.i-gradient::after { /* Used for plu long description*/
  background: linear-gradient(to right, rgba(30, 30, 30, 0), #1e1e1e 90%);
}

.i-red-button {
  background-color: red;
}

.i-border-radius {
  border-radius: 0.5rem;
}

.i-border-color {
  border-block-color: #444444;
}

.i-dialog-body-wrapper {
  padding: 10px;
}

/* new */
.i-grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 10px;
  padding: 10px;
}

.i-grid-layout > div {
  width: 100%;
  aspect-ratio: 4/3;
}

@media only screen and (max-width: 600px) {
  .i-grid-layout {
    /*grid-template-columns: auto;*/
  }
}
/* old */
.i-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

@media (min-width: 650px) {
  .i-card-grid {
    grid-template-columns: repeat(auto-fill, minmax(600px, 1fr));
  }
}
.i-card {
  border-radius: 0.5rem;
  /*padding: 5px;*/
  margin: 5px;
  cursor: pointer;
  border-style: solid;
  border-width: 1px;
  border-color: #444444;
}

    .i-card:hover {
        border-style: solid;
        border-color: var(--main-color-border);
    }

.i-card-selected {
    border: solid;
    border-width: 2px !important;
    border-color: var(--main-color-border) !important;
}

.i-series-a {
  color: #0275d8;
}

.i-series-b {
  color: #ffd246;
}

.i-base-bg {
  background-color: #212529;
}

.i-hr {
  width: 100%;
  border-top: 1px solid #444444;
}

/*=============================================*/
/* Styles not used on Blazor components        */
/*=============================================*/
* {
  touch-action: pan-x pan-y;
}

.noclick {
  pointer-events: none;
}

body {
  /*height: 100vh;*/
  background-color: var(--shop-body-bg, #1e1e1e);
  color: #ffffff;
  overflow-x: hidden;
}

html, body {
  font-family: var(--shop-font-family, var(--default-font-family));
  /*font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif !important;*/
}

.validation-message {
  color: #d9534f;
}

#blazor-error-ui {
  background-color: #1e1e1e;
  color: #ffffff;
  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;
}

.my-reconnect-modal > div {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3000;
  overflow: hidden;
  background-color: #1e1e1e;
  color: #ffffff;
  opacity: 0.8;
  text-align: center;
  font-weight: bold;
  padding: 20px;
  padding-top: 40vh;
}

.my-reconnect-modal button {
  height: 80px;
  width: 160px;
}

.components-reconnect-hide > div {
  display: none;
}

.components-reconnect-show > div {
  display: none;
}

.components-reconnect-show > .show {
  display: block;
}

.components-reconnect-failed > div {
  display: none;
}

.components-reconnect-failed > .failed {
  display: block;
}

.components-reconnect-rejected > div {
  display: none;
}

.components-reconnect-rejected > .rejected {
  display: block;
}

/*=============================================*/
/* Remove focus from as many as possible       */
/* Telerik controls. More to add?              */
/*=============================================*/
/*
    button:focus, input[type=checkbox]:focus {
    box-shadow: none !important;
}

    [class$="-state-focused"], [class$="-state-active"], .k-input:focus-within {
    border-color: inherit !important;
    box-shadow: none !important;
}
*/
/*=============================================*/
/* Continue from here cleaning up...           */
/*=============================================*/
.order-contents {
  background-color: #1e1e1e;
  height: 100%;
  width: 100%;
  overflow-y: auto;
  padding: 10px;
  font-size: 1.2rem;
}

.order-contents h2 {
    color: var(--main-color-darker);
    text-align: center;
    font-size: 1.6rem;
    padding-bottom: 20px;
}

.order-contents .subtotal {
  position: relative;
  display: flex;
  flex-direction: row;
}

.order-contents .subtotal .text {
  text-align: left;
}

.order-contents .subtotal .amount {
  flex: 1;
  text-align: right;
}

.order-contents .subtotal .amount-padding {
  padding-right: 30px;
}

.order-contents hr {
  margin-top: 1rem;
  margin-bottom: 1rem;
  background-color: #ffffff;
}

/*=============================================*/
/* Cart.razor                                  */
/*=============================================*/
.close-cart {
  position: fixed;
  right: 5px;
  top: 45px;
}

.close-cart > span {
  font-size: xx-large;
}

/*=============================================*/
/* OrderItemCard.razor                         */
/*=============================================*/
.cart-item {
  position: relative;
  display: flex;
  flex-direction: row;
}

.cart-item .quantity {
  padding: 0 5px 0 0;
  width: 40px;
}

.cart-item .title {
  height: 25px;
}

.cart-item .item-price {
  height: 25px;
  flex: 1;
  text-align: right;
}

.cart-item .delete-button {
  padding: 5px;
}

.item-condiments {
  padding-left: 40px;
}

.item-condiments ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.item-condiments li {
  margin-left: 0rem;
}

/*=============================================*/
/* Checkout.razor                              */
/*=============================================*/
.card {
  border: none;
  height: 100%;
  overflow-y: auto;
  padding-bottom: 80px;
  background-color: #1e1e1e;
}

.paymentmethod-cards {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  margin: 0;
  padding: 0 0 10px 0;
}

.paymentmethod-cards > li {
  list-style-type: none;
}

/*=============================================*/
/* PaymentMethodCard.razor                        */
/*=============================================*/
.paymentmethod-info {
  padding: 5px;
  cursor: pointer;
  line-height: 1.25rem;
  text-align: center;
}

.paymentmethod-info-active {
    border: solid;
    border-radius: 0.5rem;
    border-color: var(--main-color-border);
}

.paymentmethod-info .logo {
  clear: both;
}

.paymentmethod-info .logo > img {
  height: 75px;
  width: auto;
  border-radius: 0.5rem;
  background-color: white;
}

.paymentmethod-info .title {
  clear: both;
  text-align: center;
}

/*=============================================*/
/* PaymentSwish.razor                          */
/*=============================================*/
.swish-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80vh;
  width: 100%;
}

.swish-wrapper .qr-box {
  width: 400px;
  height: 400px;
  padding: 10px;
}

.swish-wrapper .qr-box svg {
  margin: 10px 0 10px 0;
}

.swish-wrapper .qr-box div {
  font-size: 24px;
  text-align: center;
}

.swish-wrapper .qr-box button {
  width: 100%;
  margin-bottom: 10px;
}

.swish-wrapper .qr-box span {
  margin-bottom: 10px;
  width: 100%;
}

.swish-wrapper .qr-box input {
  width: 100%;
  font-size: 24px;
  text-align: center;
  margin-bottom: 10px;
}

/*=============================================*/
/* ViewOrder.razor                             */
/*=============================================*/
.view-order-status {
  border-radius: 0.5rem;
  /*padding: 5px;*/
  margin: 5px;
  cursor: pointer;
  border-style: solid;
  border-width: 1px;
  border-color: #444444;
  background: #444444;
  align-items: center;
  font-size: 1.4rem;
}

.view-order-number {
  border-radius: 0.5rem;
  /*padding: 5px;*/
  margin: 5px;
  cursor: pointer;
  border-style: solid;
  border-width: 1px;
  border-color: #444444;
  background: #444444;
  align-items: center;
  font-size: 1.2rem;
}
.view-order-number .view-order-ordernumber {
  font-size: 4.8rem;
}

.button-container > button {
  margin: 10px 5px 10px 5px !important;
}

/*=============================================*/
/* Dialogs                                     */
/* ToDo: re-factor all dialogs to use this CSS  */
/*=============================================*/
.dialog-body {
  background-color: #1e1e1e;
}

.dialog-body-message {
  text-align: center;
  font-size: 1.2rem;
  padding: 1rem;
}

/*=============================================*/
/* Center message used on several places       */
/* for example "not allowed to go back" msg.   */
/*=============================================*/
.messagebox {
  width: 100%;
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

/*=============================================*/
/* Styles used by CSS isolated components      */
/*=============================================*/
.filter-invert {
  filter: invert(100%);
}

.color-info {
    color: var(--main-color);
}

.color-component {
  color: #ffffff;
  background-color: #111111;
}

/*=============================================*/
/* Media queries                               */
/*=============================================*/
@media (max-width: 991.98px) {
  .large-only {
    display: none;
  }
  .plu-list {
    padding-bottom: 80px; /* keep some space for order-state */
  }
  .plu-list .push {
    height: calc(100vh - 335px);
  }
  .plu-info {
    grid-template-columns: 1fr 75px;
    min-height: 75px;
  }
  .plu-info img {
    height: 75px;
    max-width: 75px;
  }
  .order-contents {
    padding-bottom: 60px; /* keep some space for order-state */
  }
  .card-body, .dialog-title, .dialog-buttons, .dialog-quantity {
    padding: 0.5rem;
  }
  .card-body {
    overflow-y: auto;
  }
  .form-group {
    margin-bottom: 0.5rem;
  }
  .form-group label {
    margin-bottom: 0.2rem;
  }
  .dialog {
    /* height:100%; */
    max-height: 100%;
    max-width: 100%;
  }
  .dialog-condiments {
/*    padding: 1rem;*/
  }
  .inzzii-brand, .inzzii-brand:focus, .inzzii-brand:hover {
    font-size: inherit;
  }
}
@media (min-width: 992px) {
  /*.padding-container,*/
  /*.department-list,*/
  /*.plu-list,*/
  .order-history-list {
    padding-right: 400px;
  }
  .plu-list .push {
    height: calc(100vh - 310px);
  }
  /*    .checkout-card {
          padding-right: 420px
      }
  */
  .order-state {
    /*display: none;*/
  }
  /*    .dialog {
      max-height: calc(100% - 3rem);
  }*/
}
.blink {
  animation: blink-animation 1s steps(5, start) infinite;
  -webkit-animation: blink-animation 1s steps(5, start) infinite;
}

.strikethrough {
  text-decoration: line-through;
}

@keyframes blink-animation {
  to {
    visibility: hidden;
  }
}
@-webkit-keyframes blink-animation {
  to {
    visibility: hidden;
  }
}
/*====================================*/
/* Remove the vertical grid scrollbar */
/*====================================*/
.grid-no-scroll .k-grid-content {
  overflow-y: auto;
}

.grid-no-scroll .k-grid-header,
.grid-no-scroll .k-grid-footer {
  padding-right: 0; /* version 2.26 and older requires !important here */
}

.grid-no-scroll .k-grid-header-wrap,
.grid-no-scroll .k-grid-footer-wrap {
  border-right-width: 0;
}

/*========================*/
/* Remove the grid header */
/*========================*/
.grid-no-headers .k-grid-header {
  display: none;
}

/*============================================================================*/
/* Those currently do not work using css isolation so put them in common scss */
/*============================================================================*/
.k-timepicker {
  margin-right: 5px;
}

.k-notification-group {
  top: 40px !important;
  right: 10px !important;
  z-index: 5000;
}

.k-master-row:hover {
  color: #ffffff !important;
  background-color: #444444 !important;
  cursor: pointer !important;
}

.k-window {
  max-width: 1000px !important;
}

/* Override list-view (for EAN numbers) */
.k-listview {
  border-style: none !important;
}
.k-listview .list-content {
  display: flex;
  flex-direction: row;
  padding-top: 5px;
  padding-bottom: 5px;
}
.k-listview .list-content button {
  margin-left: 5px;
}
.k-listview .k-listview-header, .k-listview .k-listview-footer {
  border-style: none !important;
}

.k-form-horizontal .k-form-field > .k-form-label {
  width: 35%;
}

.DepartmentEntryLimit {
  display: inline-flex !important;
  width: 150px !important;
  margin-right: 10px;
}
.DepartmentEntryLimit input {
  text-align: right;
}

.k-tilelayout {
  background-color: inherit !important;
}

.k-switch-label-on, .k-switch-label-off {
  display: inline;
}

.k-switch-label-on {
  left: 7px;
  /*color: #ffffff;*/
}

.k-switch-label-off {
  right: 7px;
  /*color: #424242;*/
}

/* form on dialog (for example used on article edit) */
.dialog .k-form {
  padding: 0.8rem;
  overflow-y: auto;
}

.k-drawer-wrapper {
    scrollbar-color: unset !important;
}
.k-button-solid-base.k-selected {
    border-color: var(--main-color-border); /* darker orange for selected border */
    color: white;
    background-color: var(--main-color-darker); /* slightly darker orange for selected background */
}

.k-button-solid-primary {
    border-color: var(--main-color); /* your chosen orange */
    color: white;
    background-color: var(--main-color); /* your chosen orange */
}

.k-button-solid-primary:hover, .k-button-solid-primary.k-hover {
    border-color: var(--main-color-darker); /* slightly darker for hover border */
    background-color: var(--main-color-lighter); /* slightly lighter/brighter for hover background */
}

.k-button-solid-primary:focus, .k-button-solid-primary.k-focus {
    box-shadow: 0 0 0px 0.25rem rgba(255, 114, 0, 0.5); /* orange with 50% opacity */
}

.k-button-solid-primary:active, .k-button-solid-primary.k-active {
    border-color: var(--main-color-border); /* darker orange for active border */
    background-color: var(--main-color-darker); /* darker orange for active background */
}

.k-button-solid-primary.k-selected {
    border-color: var(--main-color-border); /* darker orange for selected border */
    background-color: var(--main-color-darker); /* darker orange for selected background */
}