.ff-dinner-menu {
  margin: 0 0 12px 0;
}

.ff-dinner-menu>.ff-el-input--label {
  display: block !important;
}

.ff-dinner-menu label {
  color: #000
}

.ff-dinner-menu .ff-dinner-menu-table {
  width: 100%;
  border-collapse: collapse;
}

.ff-dinner-menu .ff-dinner-menu-table thead th {
  background: #f7f7f7;
  font-weight: 600;
  padding: 0px 10px;
  color: #a5a5a5;
  text-align: left;
  display: none;
}

.ff-dinner-menu-variant-label {
  color: red;

  display: inline-block;
  text-align: center;
  width: 100%;
  max-width: 80px;
}

.ff-el-input--label>label {
  color: red;
  display: block !important;
  text-align: center;

}

.ff-dinner-menu .ff-dinner-menu-table tbody td {
  padding: 0px;
  vertical-align: bottom;
  color: #000;
  margin-bottom: 4px;
  letter-spacing: -1px;
}

.ff-dinner-menu .ff-dinner-menu-table tbody td.variant-cell {
  display: flex;
}

.ff-dinner-menu .ff-dinner-menu-table tbody td.variant-cell .ff-dinner-menu-variant {
  flex: 1;
}

.ff-dinner-menu .ff-dinner-menu-table tbody tr:nth-child(2n) td {
  background: #fafafa;
}

.ff-dinner-menu .ff-el-form-control[type="number"] {
  max-width: 80px;
  padding: 0 4px;
  text-align: center;
}

.ff-dinner-menu .ff-dinner-menu-pic {
  margin-left: 8px;
  color: #1a7efb;
  text-decoration: underline;
  cursor: pointer;
}

.ff-dinner-menu .ff-dinner-menu-pic-img {
  display: block;
  max-width: 220px;
  margin-top: 6px;
}

.ff-dinner-menu-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.ff-dinner-menu-modal-content {
  position: relative;
  background: #fff;
  padding: 8px;
  border-radius: 4px;
  max-width: 90vw;
  max-height: 90vh;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.ff-dinner-menu-modal-content img {
  max-width: 100%;
  max-height: 80vh;
  display: block;
}

.ff-dinner-menu-modal-close {
  position: absolute;
  top: 6px;
  right: 8px;
  background: transparent;
  border: none;
  font-size: 22px;
  cursor: pointer;
}

@media screen and (max-width: 767px) {
  .ff-dinner-menu .ff-dinner-menu-table tbody td {
    padding: 2px 4px;
  }

  .ff-dinner-menu-variant-label {
    font-size: 13px;
  }

  .ff-dinner-menu .ff-dinner-menu-table tbody td:first-child {
    flex: 1;
  }

  table.ff_flexible_table tbody tr {
    display: flex !important;
    align-items: center;
    justify-items: center;
    border-width: 1px 1px 0px 1px !important;
    margin: 0px !important;
    padding: 4px !important;
  }

  table.ff_flexible_table tbody tr:last-child {
    border-width: 1px 1px 1px 1px;
  }

  .ff-dinner-menu .ff-el-form-control[type="number"] {
    padding: 4px;
    max-width: 54px;
  }

  td.variant-cell {
    width: 160px;
  }

  .ff_flexible_table.ff-dinner-menu-table.mobile tbody tr {
    display: flex;
  }

  .ff-table.ff_flexible_table.ff-dinner-menu-table.mobiletbody tr {
    display: flex;
  }

}