.modal-dish-window {
  position: fixed;
  background-color: rgba(255, 255, 255, 0.25);
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  transition: all 0.3s;
}

.modal-dish-title{
  align-items: center;
  line-height: 1;
  font-weight: 700;
  font-size: 20px;
  display: none;
  text-transform: uppercase;
}

.sticky-md-title{
  display: flex;
}

.modal-dish-container {
  max-height: 100%;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  background-color: #fff;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 15px 30px 0 rgba(0, 0, 0, 0.25);

}

.modal-dish-header {
  position: relative;
  /*padding: 16px 32px;*/
  padding: 5px 20px;
  align-items: center;
  justify-content: space-between;
}

.sticky-md-header{
  border-bottom: 1px solid #ddd;
}

.modal-dish-body {
  padding: 24px 32px 51px;
  overflow-y: scroll;
}

.img_md{
    width: 100%;
    height: 195px;
    margin-bottom: 5%;
}

.st-md-th-br{
  display: none;
}

.modal-dish-body-title{
  align-items: center;
  line-height: 1;
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
}

.is-focused.textarea, .textarea:active, .textarea:focus {
    border-color: #485fc7;
    box-shadow: 0 0 0 0.125em rgb(72 95 199 / 25%);
}

.textarea:focus{
  outline: none;
}

.textarea:not([rows]) {
    max-height: 40em;
    min-height: 8em;
}
.textarea {
  resize: none;
  overflow: auto;
  padding: calc(0.75em - 1px);
  max-width: 100%;
  width: 100%;
  border-radius: 0.375em;
  font-size: 1.2rem;
  justify-content: flex-start;
  position: relative;
  vertical-align: top;
}

.modal-dish-footer {
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  border-top: 1px solid #ddd;
  gap: 12px;
  position: relative;
}

.modal-dish-footer:after {
  content: "";
  display: block;
  position: absolute;
  top: -51px;
  left: 24px;
  right: 24px;
  height: 50px;
  flex-shrink: 0;
  background-image: linear-gradient(to top, rgba(255, 255, 255, 0.75), transparent);
  pointer-events: none;
}

.btn-md-foo {
  padding: 12px 20px;
  border-radius: 8px;
  background-color: transparent;
  border: 0;
  font-weight: 600;
  cursor: pointer;
  transition: 0.15s ease;
}

.addtoorder{
  width: 100% !important;
  left: 10px;
  bottom: 2px !important;
}

.ing-label{
  position: relative;
  left: 20px;
}

.order-cnt{
  margin-bottom: -16px;
}

#dish-modal .close-btn, #product-modal .close-btn{
  position: absolute;
  right: 5px;
  bottom: 0;
  top: 5px;
}

@media screen and (max-width: 1200px){
  .modal-dish-container {
    position: relative;
    right: 250px;
  }
}

@media screen and (min-width: 993px) and (max-width: 1199px){
  .modal-dish-container {
    right: 190px;
  }
}

@media screen and (max-width: 992px){
  .modal-dish-container {
    right: 70px;
  }
}

@media screen and (max-width: 601px){
  .modal-dish-container {
    right: 10px;
  }
}

@media screen and (min-width: 320px) and (max-width: 420px) {
  .order-cnt {
    margin-bottom: 0;
  }
  .modal-dish-container {
    right: 9px;
  }
}

@media screen and (min-width: 348px) and (max-width: 420px) {
  .modal-dish-footer .btndish {
    line-height: 20px !important;
  }
}

@media screen and (max-width: 348px) {
  .modal-dish-footer .btndish {
    line-height: 15px !important;
    font-size: 10px !important;
  }
}

@media screen and (max-width: 320px) {
  .modal-dish-container {
    right: 0;
  }

  .modal-dish-footer {
    padding: 5px 15px;
  }

  .order-cnt {
    margin-bottom: 0;
  }
}

