#menu-body {
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
}

.panel-container {
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0px 0px 8px 0px rgb(0 0 0 / 10%);
    -webkit-box-shadow: 0px 0px 8px 0px rgb(0 0 0 / 10%);
    -moz-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.10);
}

.panel-options {
    padding-top: 15px;
    padding-bottom: 15px;
    background-color: #ffffff;
}

.dish-container .dropify-wrapper {
    height: 50px !important;
}
 /*tratando de hacer el slider*/

 .modal-body{
    display: flex;
    justify-content: center;
    align-items: center;
 }

.dish-body{
    background-repeat: no-repeat;
    cursor: pointer;
}

.swiper {
    width: 300px;
    height: 500px;
}
.swipper-body {
    width: 300px;
    height: 500px;
    background-repeat: no-repeat;
}

#categoriesModal .modal-body{
    padding: 0px!important;
}

#categoriesModal .carousel-inner{
    width: 100%!important;
}

.modal-dialog {
    margin: auto 3rem !important;
}

#categoriesModal .card .badge {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 110%;
    border-radius: 100px;
}

.card-body .add-to-order {
    width: calc(100% + 48px);
    margin-left: -24px;
    margin-bottom: -24px;
}

/* Menu styles  */
.menu-container > header {
    height: 200px;
    text-align: center;
    background-size: cover;
    background-position: center;
    margin-bottom: 15px;
    position: relative;
}

.menu-container header img {
    max-height: 100%;
}

.menu-category-content, .dish-body {
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0px 0px 8px 0px rgb(0 0 0 / 10%);
    -webkit-box-shadow: 0px 0px 8px 0px rgb(0 0 0 / 10%);
    -moz-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.10);
    margin-bottom: 15px;
}

.menu-category-content header {
    margin-left: -15px;
    margin-right: -15px;
    margin-bottom: 10px;
    padding: 10px 15px;
}

.dish-body, .dish-image {
    background-position: center;
    background-size: cover;
}

.dish-add-to-order {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.dish-content {
    min-height: 75px;
    background: rgba(0,0,0,.35);
    color: white;
    padding: 5px;
    width: 100%;
}

.dish-image {
    display: inline-block;
    width: 75px;
    height: 75px;
}

.dish-add-to-order {
    background: rgba(0,0,0,.35);
}

.select2-container .select2-selection--single {
    height: 40px;
}

.field-configuration-background_color {
    position: relative;
}

.input-group.colorpicker {
    display: flex;
    padding: 0;
    width: 100%;
}

.colorpicker-input-addon {
    height: 100%;
}

.dish-body {
    display: flex;
    align-items: stretch;
    flex-direction: row;
}

.btn-book {
    position: fixed;
    bottom: 15px;
    right: 15px;
    color: #fff;
    border-radius: 100px;
    padding: 15px 30px;
}

.dish-add-to-order {
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

.action-buttons {
    display: flex;
    flex-direction: column-reverse;
    align-items: stretch;
}

.action-buttons * {
    display: flex;
    width: 100%;
    justify-content: center;
    border-radius: 0;
}

.cart-detail {
    width: 80vw;
    right: -80vw;
    height: 100vh;
    position: fixed;
    top: 0;
    transition-duration: 0.5s;
}

.cart-detail.active {
    right: 0px;
}

.cart-detail-title {
    writing-mode: vertical-rl;
    /* Establece la escritura vertical, de derecha a izquierda */
    text-orientation: upright;
    padding: 20px;
    background-color: #fbbc06;
    font-weight: 800;
    border-radius: 10px 0px 0px 10px;
    position: absolute;
    top: 0;
    left: -61px;
    cursor: pointer;
}

.cart-detail-content {
    padding: 15px;
    background: #f1f1f1;
    height: 100vh;
    overflow-y: scroll;
}

.cart-detail-content::-webkit-scrollbar {
    background: transparent;
    width: 5px;
}

.cart-detail-content::-webkit-scrollbar-thumb {
    background-color: #c5c5c5;
    border-radius: 24px;
}

.cart-detail-dish {
    display: flex;
    width: 100%;
    align-items: center;
    flex-wrap: nowrap;
    flex-direction: row;
    border-bottom: 1px solid #ccc;
    padding: 7px 0px;
    align-content: flex-start;
    justify-content: space-between;
}

.cart-detail-dish .fa {
    color: #ff3366;
    margin-right: 10px;
    font-size: 1.2rem;
    cursor: pointer;
}

img.cart-detail-dish-image {
    width: 50px;
    border-radius: 15px;
}

.cart-detail-dish-name {
    width: 100%;
    padding: 0px 10px;
}

.cart-detail-dish-cant {
    width: 170px;
}

.cart-detail-dish-total {
    width: 150px;
    padding: 5px;
}

button.cart-detail-submit.btn.btn-success {
    position: fixed;
    bottom: 0;
    margin-left: -15px;
    border-radius: 0px;
    width: 80vw;
}

body {
    width: 100%;
    overflow-x: hidden;
}

/* Desktop Styles */
@media (min-width: 575px) {

    .modal-dialog {
        margin: 1.75rem auto !important;
    }
}
@media (min-width: 768px) {
    .dish-body {
        flex-direction: column;
    }

    .dish-add-to-order {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }

    .action-buttons {
        flex-direction: row;
    }

    .dish-content {
        width: 100%;
        /*margin-top: 40%;*/
        height: 155px;
    }

    .dish-content > div > p {
        height: 65px;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .dish-content > div > h3 {
        height: 60px;
    }

    .cart-detail {
        width: 30vw;
        right: -30vw;
    }

    button.cart-detail-submit.btn.btn-success {
        width: 30vw;
    }

    #categoriesModal .carousel-inner{
        /* width: 500px!important; */
    }
}

.booking-index .modal-body {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.has-error .help-block {
    --bs-alert-bg: transparent;
    --bs-alert-padding-x: 1rem;
    --bs-alert-padding-y: 1rem;
    --bs-alert-margin-bottom: 1rem;
    --bs-alert-color: inherit;
    --bs-alert-border-color: transparent;
    --bs-alert-border: 1px solid var(
    --bs-alert-border-color);
    --bs-alert-border-radius: 0.25rem;
    position: relative;
    padding: var(--bs-alert-padding-y) var(--bs-alert-padding-x);
    margin-bottom: var(--bs-alert-margin-bottom);
    color: var(--bs-alert-color);
    background-color: var(--bs-alert-bg);
    border: var(--bs-alert-border);
    border-radius: var(--bs-alert-border-radius);
    background-color: rgba(255,51,102,.1);
    color: #ff1a53;
    border-color: rgba(255,51,102,.2);
}

/* Floating Menu Style */

.menu-float-container {
  width: 100%;
  display: flex;
  justify-content: left;
  align-items: center;
  position: absolute;
    top: 50px;
    left: 20px;
}

.menu-float-container #toggle {
  -webkit-appearance: none;
}

.menu-float-container .button {
  position: absolute;
  z-index: 999;
  width: 320px;
  height: 65px;
  background: #22222278;
  border-radius: 15px;
  cursor: pointer;
  display: flex;
  justify-content: left;
  align-items: center;
  padding: 0 24px;
  overflow: hidden;
  transition: width 300ms linear;
}
.menu-float-container .button:before {
  position: absolute;
  content: "";
  width: 20px;
  height: 2px;
  background: #ffffff;
  transform: rotate(225deg);
  transition: all 0.4s ease;
}
.menu-float-container .button:after {
  position: absolute;
  content: "";
  width: 20px;
  height: 2px;
  background: #ffffff;
  transform: rotate(135deg);
  transition: all 0.4s ease;
}

.menu-float-container .nav {
  opacity: 1;
  transition: all 0.5s ease-in-out;
  background: #22222278;
  width: 100%;
  border-radius: 5px;
  transform: translateX(10%);
  padding: 10px;
}
.menu-float-container .nav ul {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
}
.menu-float-container .nav li {
  opacity: 0;
  list-style: none;
}
.menu-float-container .nav li:nth-child(1) {
  transform-origin: bottom;
  animation: itop 300ms 300ms linear forwards;
}
.menu-float-container .nav li:nth-child(2) {
  transform-origin: bottom;
  animation: itop 300ms 400ms linear forwards;
}
.menu-float-container .nav li:nth-child(3) {
  transform-origin: bottom;
  animation: itop 300ms 500ms linear forwards;
}
.menu-float-container .nav li:nth-child(4) {
  transform-origin: bottom;
  animation: itop 300ms 600ms linear forwards;
}
.menu-float-container .nav a {
  transition: all 0.5s linear;
  text-decoration: none;
  color: #ffffff;
  font-size: 20px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 10px 0 0;
  border-radius: 15px;
}
.menu-float-container .nav a:hover {
  color: #fff;
  background: #1c1c1c;
  border-radius: 15px;
}

.menu-float-container #toggle:checked ~ label .nav {
  display: none;
  opacity: 0;
  transform: translateX(0);
}

.menu-float-container #toggle:checked ~ .button:before {
  transform: rotate(90deg);
}

.menu-float-container #toggle:checked ~ .button:after {
  transform: rotate(0deg);
}

.menu-float-container #toggle:checked ~ .button {
  width: 70px;
  transition: all 0.1s linear;
}

@media (max-width: 640px) {
  .menu-float-container .container {
    width: 100%;
  }
}
@keyframes itop {
  0% {
    opacity: 0;
    transform: translateY(60px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}