:root {
  --red: rgb(235, 19, 19);
}

body {
  font-family: Maven Pro;
  height: auto;
}

.order-type-form {
  padding: 1rem 1rem 0;
}

.hidden {
  display: none !important;
}

.shortcuts-nav {
  top: 96.4px;
  padding: 0;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.shortcuts-nav .navbar-nav .nav-item {
  padding-right: 0.7rem;
}

.shortcuts-nav .dropdown-menu {
  overflow-y: auto;
  max-height: 200px;
}

.nav-tag {
  position: absolute;
}

.menu .group,
.menu .table-cards,
.menu .category,
.menu .per-person {
  position: relative;
}

.menu .group-title {
  margin: 0.5em;
  font-family: Martel;
  margin-top: 1em;
}

.menu .group-description,
.menu .category-description,
.menu .card-subtitle {
  font-family: Maven Pro;
}

.menu .group-description,
.menu .category-description {
  margin: 0 30px;
}

.menu .group-image {
  max-height: 350px;
  max-width: 80%;
  margin: 1rem;
}

.menu .category-title {
  margin: 1em;
  font-family: Martel;
}

.menu .table-cards {
  padding: 15px;
}

.menu .cards-row {
  margin: 1em;
}

.menu .cards-row > .item {
  padding: 15px;
}

.menu .card:not(.table-card) {
  border-radius: 0px;
  height: 100%;
}

.menu .card .card-img-top {
  border-radius: 0;
}

.menu .card .card-body {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.menu .card .card-title {
  font-family: Martel, serif;
  margin-right: 20px;
}

.menu .card .ingredients-popover {
  width: fit-content;
  padding: 5px;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #757980 !important;
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 1rem;
}

.menu .card table .ingredients-popover {
  position: inherit;
  margin-top: -2px;
}

.menu .card p:last-of-type {
  flex-grow: 1;
}

.menu .card-text {
  font-family: Maven Pro;
  margin-bottom: 0.3rem;
}

.menu .card-text.item-description {
  font-style: italic;
}

.menu .card-text.quantity-with-unit {
  font-weight: bold;
}

.menu .card .add-to-cart {
  width: 100%;
}

.menu .card table .add-to-cart {
  display: block;
  float: right;
  width: auto;
}

.menu table td {
  font-family: "Maven Pro";
  padding: 5px;
}

.menu table td.text-muted {
  width: 40%;
  text-align: right;
}

.menu .table-category-image {
  margin: auto;
  max-width: 80%;
  margin-bottom: 1rem;
}

.menu table .table-item-image {
  width: 90px;
  margin-right: 5px;
}

.menu .sale {
  text-decoration: line-through;
}

.menu .add-to-cart {
  background-color: var(--red);
}

.menu .category-per-person {
  font-family: Martel, serif;
}

/* add to cart modal */

.add-to-cart-modal .modal-title {
  font-family: Martel, serif;
}

.add-to-cart-modal .modal-footer button {
  width: 100%;
}

.add-to-cart-modal .modal-footer .btn-danger {
  background-color: var(--red);
}

.ctrl {
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 auto;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  border-bottom: 1px solid #d5dce6;
  background-color: #fff;
  border-radius: 0.25rem;
  font-size: 30px;
}

.ctrl__counter {
  position: relative;
  width: 200px;
  height: 50px;
  color: #333c48;
  text-align: center;
  overflow: hidden;
}

.ctrl__counter.is-input .ctrl__counter-num {
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity 100ms ease-in;
  transition: opacity 100ms ease-in;
}

.ctrl__counter.is-input .ctrl__counter-input {
  visibility: visible;
  opacity: 1;
  -webkit-transition: opacity 100ms ease-in;
  transition: opacity 100ms ease-in;
}

.ctrl__counter-input {
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 2;
  box-shadow: none;
  outline: none;
  border: none;
  color: #333c48;
  font-size: 30px;
  line-height: 50px;
  text-align: center;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity 100ms ease-in;
  transition: opacity 100ms ease-in;
}
.ctrl__button {
  width: 100px;
  line-height: 50px;
  text-align: center;
  color: #fff;
  cursor: pointer;
  background-color: #8498a7;
  -webkit-transition: background-color 100ms ease-in;
  transition: background-color 100ms ease-in;
}

.ctrl__button:hover {
  background-color: #90a2b0;
  -webkit-transition: background-color 100ms ease-in;
  transition: background-color 100ms ease-in;
}

.ctrl__button:active {
  background-color: #778996;
  -webkit-transition: background-color 100ms ease-in;
  transition: background-color 100ms ease-in;
}

.ctrl__button--decrement {
  border-radius: 0.25rem 0 0 0.25rem;
}

.ctrl__button--increment {
  border-radius: 0 0.25rem 0.25rem 0;
}

.ctrl__counter-num {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  line-height: 50px;
  visibility: visible;
  opacity: 1;
  -webkit-transition: opacity 100ms ease-in;
  transition: opacity 100ms ease-in;
}

.ctrl__counter-num.is-increment-hide {
  opacity: 0;
  -webkit-transform: translateY(-50px);
  transform: translateY(-50px);
  -webkit-animation: increment-prev 100ms ease-in;
  animation: increment-prev 100ms ease-in;
}

.ctrl__counter-num.is-increment-visible {
  opacity: 1;
  -webkit-transform: translateY(0);
  transform: translateY(0);
  -webkit-animation: increment-next 100ms ease-out;
  animation: increment-next 100ms ease-out;
}

.ctrl__counter-num.is-decrement-hide {
  opacity: 0;
  -webkit-transform: translateY(50px);
  transform: translateY(50px);
  -webkit-animation: decrement-prev 100ms ease-in;
  animation: decrement-prev 100ms ease-in;
}

.ctrl__counter-num.is-decrement-visible {
  opacity: 1;
  -webkit-transform: translateY(0);
  transform: translateY(0);
  -webkit-animation: decrement-next 100ms ease-out;
  animation: decrement-next 100ms ease-out;
}

@-webkit-keyframes decrement-prev {
  from {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@keyframes decrement-prev {
  from {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@-webkit-keyframes decrement-next {
  from {
    opacity: 0;
    -webkit-transform: translateY(-50px);
    transform: translateY(-50px);
  }
}

@keyframes decrement-next {
  from {
    opacity: 0;
    -webkit-transform: translateY(-50px);
    transform: translateY(-50px);
  }
}

@-webkit-keyframes increment-prev {
  from {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@keyframes increment-prev {
  from {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@-webkit-keyframes increment-next {
  from {
    opacity: 0;
    -webkit-transform: translateY(50px);
    transform: translateY(50px);
  }
}

@keyframes increment-next {
  from {
    opacity: 0;
    -webkit-transform: translateY(50px);
    transform: translateY(50px);
  }
}
