body {
  background-color: rgb(248, 248, 248);
  animation: fadeInAnimation ease .24s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

@keyframes fadeInAnimation {
  0% {
      opacity: 0;
  }
  100% {
      opacity: 1;
   }
}

body > div:not(.show) {
  max-width: 960px;
  margin-left: auto !important;
  margin-right: auto !important;
}

#disclaimerModal .modal-body ul {
  padding-left: 1.1rem;
}
#disclaimerModal .modal-body li {
  font-size: .9em;
  text-align: left;
  line-height: 1.2;
  margin-bottom: 1em;
}

.btn,
nav *,
.section-header {
  line-height: 1.5;
}
nav,
.section-header {
  border-bottom: 1px solid #00ddff0d;
}

.modal-hr {
  width: calc(100% + 2rem);
  margin: 1.1rem -1rem;
  border-top: 2px solid #dee2e6;
}

#legend {
  background-color: rgb(255, 254, 252);
  border:1px solid rgba(202, 60, 11, 0.2);
  border-radius: .5em;
  border-collapse: unset;
  text-align: left;
  max-width: 420px;
  margin: auto;
}
#legend td:first-child {
  white-space: nowrap;
}
#legend td {
  padding: 10px;
}
#legend small {
  vertical-align: middle;
}

.card-deck {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  display: flex;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  margin-right: 0;
  margin-left: 0;
  padding: 1em 5px;
}
.card-deck .card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 1;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10px;
  -ms-flex: 0 0 calc(100% - 11px);
  flex: 0 0 calc(100% - 11px);
  font-family: Garamond;
  font-size: 1.1em;
  box-shadow: 1px 2px 6px rgba(112, 75, 62, 0.16);
  cursor: pointer;
}
.card-deck .card.picture-mode {
  -ms-flex: 0 0 calc(50% - 11px);
  flex: 0 0 calc(50% - 11px);
}
@media (min-width: 576px) {
  .card-deck .card {
    -ms-flex: 0 0 555px;
    flex: 0 0 555px;
  }
  .card-deck .card.picture-mode {
    -ms-flex: 0 0 calc(33.3333% - 21px);
    flex: 0 0 calc(33.3333% - 21px);
  }
  .card-deck .card:not(.picture-mode) {
    margin-left: calc((100% - 555px) / 2);
    margin-right: calc((100% - 555px) / 2);
  }
}
.card-deck .card .card-text {
  font-size: 1rem;
}
.card-deck .card,
.card-deck .card-footer {
  color: peru;
  border-color:rgba(87, 33, 16, 0.3);
}
.card-deck .card-body {
  background-color: rgba(255, 170, 43, 0.01);
  padding: .5rem 1rem;
}
/* .picture-body {
  display: none;
}
.picture-mode .card-body {
  display: none;
}
.picture-mode .card-body.picture-body {
  display: block;
} */
.picture-mode .card-body .card-title {
  text-align: center;
}
.picture-mode .card-body .card-text {
  display: none;
}
.card-deck-img-container {
  height: 152px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  display: none;
}
.picture-mode .card-deck-img-container {
  display: flex;
}
.card-deck .card-deck-img {
  max-height: 100%;
  max-width: 100%;
  border-radius: .15rem;
}
.card-deck .card-footer {
  background-color: rgba(255, 133, 51, 0.01);
}
.card-title {
  font-weight: bold;
}
.card-footer {
  padding: .5em;
}
.card-footer .badge {
  opacity: 0.85;
}
.card-footer .badge + .badge {
  margin-left: 4px;
}
.card-footer small {
  margin: 2px 0;
}

.badge-img {
  background-color: rgba(255, 156, 25, 0.1);
}

#view-order-button {
  border-right: 1px solid rgb(220, 220, 220);
}
#review-order-table {
  border-collapse: separate;
  border-spacing: 0 .67rem;
}
#review-order-table td {
  padding: 0 .375rem;
  font-size: .9rem;
}
#review-order-modal .total-cost {
  font-weight: bold;
}
#review-order-modal .badge {
  font-size: 86%;
}
#review-order-modal td:last-of-type:not(:empty) {
  width: 1rem;
  padding-left: .3rem !important;
  padding-right: 0 !important;
  border-left: 1px solid #dee2e6;
}
#review-order-modal td:last-of-type .btn{
  box-shadow: none!important;
  font-family: monospace, 'Courier New', Courier;
  font-weight: 500;
  padding: 0.2rem 0.5rem;
}
.remove-item {
  color: rgb(125, 0, 0);
}
.tip {
  padding-bottom: 0!important;
}
.tip:hover {
  color: #155724!important;
}
.circle {
  position: absolute;
  height: 1.3rem;
  width: 1.3rem;
  border-radius: .65rem;
  border: 1px solid #007bff;
  right: 1.2rem;
  margin-top: 1px;
}
.tip:hover .circle {
  border: 1px solid #155724;
}
#gratuity {
  text-align: right;
  padding-right: .65rem!important;
}
#gratuity > button {
  padding: .25rem .5rem;
  font-size: .8rem;
}
#gratuity > .input-group {
  display: inline-flex;
  justify-content: flex-end;
  width: auto;
}
#gratuity > .input-group .btn {
  padding: .25rem .5rem;
  width: 1.875rem;
}
#gratuity > .input-group * {
  line-height: 1;
}
.dollar-sign {
  position: absolute;
  left: 2.5rem;
  top: .4rem;
}
#tip-input {
  width: 4.5rem;
  padding-left: 1.1rem;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.input-group-prepend * {
  padding-top: 0;
  padding-bottom: 0;
}


#num-items-container {
  border-right: 1px solid #dee2e6;
  display: inline;
  /* padding-right:  */
}

.tooltip .arrow {
  width: 12px;
  height: 6px;
}
.bs-tooltip-top {
  padding: 0;
  border-radius: 10px;
  border: 1px solid #c3e6cb;
  box-shadow: 1px 1px 20px rgba(0, 2, 0, 0.33);
}
.bs-tooltip-top .arrow::after {
  position: absolute;
  content: "";
  border-color: transparent;
  border-style: solid;
}
.bs-tooltip-top .arrow::after {
  border-top-color: #d4edda;
  border-width: 6px 6px 0;
  top: 6px;
}
.bs-tooltip-top .arrow::before {
  border-top-color: #c3e6cb;
  border-width: 6px 6px 0;
  top: 7px;
}
.tooltip-inner {
  color: #155724;
  background-color: #d4edda;
  border-radius: 9px;
  max-width: 14rem;
  padding: .5rem .6rem;
}
.tooltip.show {
  opacity: 1;
}

#modal-img {
  display: block;
  margin: 1rem auto;
  max-width: 100%;
  height: auto;
  border-radius: .5rem;
}

input[type="checkbox"] {
  width: 1.1rem;
}

#item-confirm-modal .modal-title {
  color: peru;
  font-family: Garamond;
}
#item-confirm-modal .modal-item-description {
  font-family: Garamond;
  font-size: 1.04em;
}
#item-confirm-modal .modal-footer .btn:first-child {
  margin-right: auto;
}
@media (min-width: 576px) {
  #item-confirm-modal ::-webkit-scrollbar {
    width: 10px;
  }
  #item-confirm-modal ::-webkit-scrollbar-track {
    background: #f1f1f1;
  }
  #item-confirm-modal ::-webkit-scrollbar-thumb {
    background: #888;
  }
  #item-confirm-modal ::-webkit-scrollbar-thumb:hover {
    background: #555;
  }
}

.inline-pepper {
  position: relative;
  top: -.15em;
}

#tofu-sizes .btn-group-toggle .btn {
  flex-basis: 0;
}

.proteins .btn-group-toggle,
#soda .btn-group-toggle {
  margin-top: -.5rem;
}
.proteins .btn-group-toggle .btn,
#soda .btn-group-toggle .btn {
  margin-top: .5rem;
  margin-right: .25rem;
  min-width: 4rem;
}

button[data-target="#extra-options"]:not([data-toggle]) {
  cursor: auto!important;
}

#confirm-item-price {
  transition: color 0.8s ease-in, text-shadow 0.8s ease-in;
}
#confirm-item-price.flash-price {
  color: #17a2b8;
  text-shadow: 0 0 4px #17a2b8;
  transition: color 0s, text-shadow 0s;
}

.item-name span {
  font-weight: bold;
}
.item-qty {
  white-space: nowrap;
  padding-right: 0!important;
  padding-bottom: .1em!important;
  text-align: right;
}
.item-price,
td.total-cost {
  padding-right: .75em !important;
  width: 3em;
}

.modal-footer p {
  margin: 0;
}
.modal-header {
  display: initial;
}
.modal-header p {
  margin: .5rem 0 0;
}
.modal-header .close {
  position: absolute;
  top: .75rem;
  right: 1rem;
}
.modal-header label {
  font-size: 0.9em;
}
.modal-header .col-form-label {
  padding-left: 0;
  text-align: right;
}
.modal-header .col-form-label + * {
  padding-left: 0;
}

.contact-info {
  font-weight: 500;
}

.text-section,
.section-header + p,
.section-header + em p {
  text-align: center;
}
.text-section {
  padding: 1em 10px;
}
.text-section p {
  max-width: 555px;
  margin: 0 auto 1rem;
}
.text-section .alert {
  display: inline-block;
  max-width: 555px;
}

.alert-lunar {
  color: #f50000;
  font-family: Garamond;
  font-size: 1.1rem;
  background-color: #ffe11e;
  border-color: #ffdd00;
}


hr {
  margin: 0;
}

#picModeSwitch {
  left: unset;
  right: .4rem;
  width: 3.25rem;
  height: 2.75rem;
  z-index: unset;
}
#picModeSwitchContainer {
  pointer-events: auto;
  float: right;
  padding: .2rem .8rem;
  opacity: .8;
  color: #1e7a96;
}
#picModeSwitchContainer .custom-control-label {
  padding-top: .33rem;
  font-size: .7rem;
  width: 2.43rem;
  text-align: center;
}

.custom-switch .custom-control-input:checked~.custom-control-label::before {
  border-color: transparent;
  background-color: #2091b360;
}
.custom-switch .custom-control-label::before {
  left: unset;
  right: .44rem;
  top: 1.3rem;
  height: .8rem;
  border-radius: .4rem;
  width: 1.58rem;
  background-color: #adb5bd;
}
.custom-switch .custom-control-label::after {
  left: unset;
  right: calc(1.44rem - 1px);
  top: calc(1.3rem + 2px);
  height: calc(.8rem - 4px);
  width: calc(.8rem - 4px);
  border-radius: .4rem;
  background-color: #fff;
}

.none-pointer {
  pointer-events: none;
}
div.fixed-top {
  max-width: 550px !important;
}

.fixed-bottom .btn {
  line-height: 2;
  border-radius: 0;
  pointer-events: auto;
}
.fixed-bottom .btn-group-toggle,
#view-order-button {
  border-top: 1px solid rgb(220, 220, 220);
  border-left: 1px solid rgb(220, 220, 220);
}
#language,
#view-order-button {
  padding-bottom: 20px !important;
}

#scroll-down-btn {
  font-size: 2em;
  text-shadow: 0 0 2px #17a2b8;
  opacity: 0.6;
  padding-right: 0.7em;
  -webkit-transform: scaleX(1.3);
  transform: scaleX(1.3);
  box-shadow: none;
}

#language {
  height: 101%;
  white-space: nowrap;
}
#menu-nav {
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
  padding: 0;
}
#menu-nav .nav-pills {
  display: block;
  width: 100%;
  text-align: center;
}
#menu-nav .nav-link {
  border-radius: 0;
}
#menu-nav .dropdown-item {
  font-size: 80%;
}

#options-button {
  flex: 0 auto;
  padding: .375rem 0.6rem;
}
#options-button .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  font-size: 1.1em;
}

form .btn-group-toggle .btn:not(.active),
form .dropdown .btn:not(.active){
  font-size: 88%;
}
form .btn-group-toggle .btn.active,
form .dropdown .btn.active {
  font-weight: bold;
}
form .btn-group-toggle .btn-warning.active {
  color: rgba(29, 0, 0, 0.9) !important;
  background-color: #ffda07 !important;
  border-color: #ffda07 !important;
  box-shadow: 0 0 0 0.1rem rgb(222 170 40 / 50%);
}

#language::after {
  content: "中文";
}
#language.active::after {
  content: "English";
}

.en.num-items::after {
  content: " items";
}
.cn.num-items::after {
  content: " 菜肴";
}

.fade {
  transition: opacity 0.12s linear;
}

.section-header {
  border-top: 1px solid #00ddff11;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
  text-align: center;
  margin: 0;
}
.section-header + p,
.section-header + em p {
  margin: .5em 10px -.5em;
}
.section-header a {
  display: block;
  padding: .5rem 1rem;
  font-size: 1.1rem;
}

#lunch-specials + em p:first-child {
  margin-bottom: 0;
}

.btn:not(.dropdown-toggle) {
  box-shadow: 1px 1px 2px rgb(210, 210, 210);
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,font-weight .15s ease-in-out;
}

#extra-options .btn-group {
  margin: .4rem;
} 
#extra-options label.btn:first-child {
  width: 6.5rem;
}
#extra-options label.btn.active{
  box-shadow: 1px 1px 2px rgb(175, 175, 175);
}
#extra-options label.btn.active + label{
  box-shadow: 1px 1px 2px rgb(175, 175, 175);
  background-color: #90abaf1a;
  font-weight: bold;
}

.dropdown-item.active, .dropdown-item:active {
  background-color: #17a2b8!important;
}

.dropdown-toggle {
  padding: .6rem .3rem .6rem 1rem;
  font-size: 1.1rem;
}
.dropdown-toggle:focus {
  box-shadow: none!important;
}

.dropdown-menu {
  border-radius: 0;
  text-align: center;
  right: 0;
  padding: 0;
  margin: 0;
  max-height: calc(100vh - 7rem);
  overflow-y: auto;
}