.custom-restaurant-catalog-menu-wrapper {
  position: fixed !important;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 301;
  padding: 0 15px;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 8%);
  background-color: #f9f9f9;
}

.custom-restaurant-catalog-menu-wrapper .flagged-panel-dropdown-views-group h3,
.restaurant-full__fixed .flagged-panel-dropdown-views-group h3 {
  font-size: 12px;
}

@media (min-width: 961px) {
  .custom-restaurant-catalog-menu-wrapper {
    display: none;
  }
}

.custom-restaurant-catalog-menu-wrapper .throbber {
  display: none !important;
}

.custom-restaurant-catalog-menu {
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
  background-color: #fff;
}

a.custom-restaurant-catalog-menu-item {
  text-align: center;
  flex: 1 1 0;
  width: 0;
  font-size: 12px;
  color: #484747 !important;
  text-decoration: none !important;
  font-weight: 300;
}
.custom-restaurant-catalog-menu-item::before {
  display: block;
  transform: scale(1.15);
}

.menu-item-catalog::before {
  content: url("../images/icon-catalog.svg");
}

.custom-restaurant-catalog-sections-links,
.custom-restaurant-catalog-favorites {
  display: none;
}
.custom-restaurant-catalog-sections-links ul {
  display: block !important;
  list-style: none;
  white-space: nowrap;
  overflow-x: auto;
  margin: 0;
  padding-left: 0;
  padding-bottom: 15px;
}
.custom-restaurant-catalog-sections-links li {
  display: inline-block;
  margin: 0;
  padding: 0;
}
.custom-restaurant-catalog-sections-links a {
  display: block;
  color: #1f1c1a;
  text-decoration: none !important;
  font-size: 12px;
  text-transform: uppercase;
  background-color: rgba(217, 217, 217, .2);
  padding: 10px 10px;
}
.custom-restaurant-catalog-sections-links a.active {
  font-weight: bold;
}

.menu-item-filter::before {
  content: url("../images/icon-filters.svg");
}
.menu-item-calendar::before {
  content: url("../images/icon-calendar.svg");
}
.menu-item-callcenter::before {
  content: url("../images/icon-callcenter.svg");
}
.menu-item-favorites::before {
  content: url("../images/icon-heart.svg");
  width: 25px;
  height: 25px;
  margin: auto;

}
.menu-item-favorites {
  position: relative;
}
.menu-item-favorites::after {
  content: attr(data-count);
  color: #fffcfc;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
  font-size: 10px;
  font-weight: 500;
}

.pulse {
  display: block;
  position: absolute;
  top: 7px;
  right: 0;
  left: 0;
  margin: auto;
  animation: animate-pulse 3s linear 1;
  border-radius: 50%;
  width: 1px;
  height: 1px;
}

.custom-restaurant-catalog-menu-wrapper .restaurants-flagging-panel {
  position: relative !important;
  display: block;
  overflow: unset;
  box-shadow: none;
}

.flagged-panel-dropdown .view {
  overflow: unset;
}

.order-organization-webform .ui-dialog-title {
  font-family: "Playfair Display", serif;
  font-style: normal;
  font-weight: normal;
  font-size: 36px;
  line-height: 1.131;
  text-align: center;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1f1c1a;
  width: 532px;
  max-width: 100%;
  position: relative;
  padding: 0;
  margin: auto auto 22px;
}

.order-organization-webform .webform-type-processed-text {
  font-family: Montserrat, serif;
  font-style: normal;
  font-weight: normal;
  font-size: 20px;
  line-height: 1.5;
  text-align: center;
  color: #1f1c1a;
  margin-bottom: 40px;
}

/* @todo */
.order-organization-webform .webform-required-wrapper {
  width: 50%;
  float: left;
  box-sizing: border-box;
  margin-bottom: 28px;
}

.order-organization-webform .webform-component--row .webform-type-textfield {
  box-sizing: border-box;
  clear: both;
  margin-bottom: 24px;
}

.order-organization-webform form .form-item-name input,
.order-organization-webform form .form-item-phone input {
  border: 0.5px solid #1f1c1a;
  box-sizing: border-box;
  border-radius: 2px;
  padding: 15px 20px 13px;
  font-family: Montserrat, serif;
  font-style: normal;
  font-weight: normal;
  font-size: 18px;
  line-height: 1.5;
  text-align: justify;
  color: rgba(31, 28, 26, 0.5);
}

.order-organization-webform .webform-component--row .webform-type-textfield input {
  font-family: Montserrat, serif;
  font-style: normal;
  font-weight: normal;
  font-size: 18px;
  line-height: 1.5;
  color: #1f1c1a;
  border: none;
  border-bottom: 0.5px solid #1f1c1a;
  border-radius: 0;
  padding: 8px 20px 8px 0;
}

.order-organization-webform .form-item-wishes textarea::placeholder,
.order-organization-webform .webform-component--row .webform-type-textfield input::placeholder {
  color: #1f1c1a;
}

.order-organization-webform .webform-component--row {
  margin: 0;
}

.order-organization-webform .webform-component--row .fieldset-wrapper {
  display: flex;
  width: 100%;
}

.order-organization-webform .ui-dialog-titlebar-close {
  width: 29px;
  height: 29px;
  top: 10px;
  right: 10px;
}

.order-organization-webform .form-item-wishes {
  margin-bottom: 34px;
  clear: both;
}

.order-organization-webform form .form-item-wishes textarea {
  font-family: Montserrat, serif;
  font-style: normal;
  font-weight: normal;
  font-size: 18px;
  line-height: 1.5;
  border: 0;
  border-bottom: 0.5px solid #1f1c1a;
  border-radius: 0;
  padding: 8px 20px 8px 0;
  height: 100%;
}

@keyframes animate-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 109, 74, 0.7), 0 0 0 0 rgba(255, 109, 74, 0.7);
  }
  40% {
    box-shadow: 0 0 0 50px rgba(255, 109, 74, 0.0), 0 0 0 0 rgba(255, 109, 74, 0.7);
  }
  80% {
    box-shadow: 0 0 0 50px rgba(255, 109, 74, 0), 0 0 0 30px rgba(255, 109, 74, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 109, 74, 0.0), 0 0 0 30px rgba(255, 109, 74, 0);
  }
}

@media (max-width: 640px) {
  .order-organization-webform .webform-component--row .fieldset-wrapper {
    display: block;
  }

  .order-organization-webform .form-item {
    box-sizing: border-box;
  }

  .order-organization-webform .form-item {
    width: 100%;
    float: none;
    padding-left: 0;
    padding-right: 0;
  }

  .order-organization-webform .webform-component--row {
    margin: 0 auto;
    width: 100%;
  }

  .order-organization-webform .webform-component--row .fieldset-wrapper {
    display: block;
  }

  .order-organization-webform .webform-component--row .webform-type-textfield {
    padding: 0;
  }

  .order-organization-webform .form-actions .form-submit {
    padding: 8px;
    font-size: 12px;
  }

  .order-organization-webform form .form-item-name input, .order-organization-webform form .form-item-phone input,
  .order-organization-webform .webform-component--row .webform-type-textfield input,
  .order-organization-webform form .form-item-wishes textarea {
    padding: 8px;
    font-size: 14px;
  }
}

.mobile-only, .specialists-tabs {
  display: none;
}

@media (max-width: 960px) {
  .flagged-info {
    font-family: "Montserrat", Geneva, sans-serif !important;
  }
  .__jivoMobileButton, #jivo_custom_widget {
    bottom: 95px !important;
    z-index: 300 !important;
  }
  body.page-node-type-restaurant .__jivoMobileButton,
  body.page-node-type-restaurant #jivo_custom_widget {
    bottom: 75px !important;
  }
  body.page-node-type-restaurant.has-flagged-panel .__jivoMobileButton,
  body.page-node-type-restaurant.has-flagged-panel #jivo_custom_widget {
    bottom: 110px !important;
  }
  .desktop-only {
    display: none !important;
  }
  .mobile-only {
    display: block !important;
  }
  .custom-restaurant-catalog-menu-wrapper .restaurants-flagging-panel {
    left: 0;
    right: 0;
  }
  .restaurants-flagging-panel .flagging-row {
    justify-content: center;
    background-color: #fff;
    flex-direction: column;
    padding-top: 0 !important;
  }
  .custom-restaurant-catalog-menu-wrapper .restaurants-flagging-panel .send-order,
  .restaurant-full__fixed .restaurants-flagging-panel .send-order {
    margin: 15px auto 0;
    padding: 10px 20px;
    position: relative;
    line-height: 110%;
    white-space: normal;
    font-size: 16px;
    font-family: Playfair Display, sans-serif;
    font-weight: 300;
    width: auto;
  }

  .restaurants-flagging-panel .send-order strong {
    position: relative;
    display: inline-block;
    color: #1f1c1a;
    text-decoration-line: underline;
    text-decoration-thickness: 1px;
  }

  .restaurants-flagging-panel-icon {
    display: none;
  }

  .restaurants-flagging-panel-modal-icon {
    display: none !important;
  }

  .restaurants-flagging-panel.opened .view-bookmarks-restaurant.view-display-id-restaurants {
    display: none !important;
  }
  .custom-restaurant-catalog-menu-wrapper .flagged-info,
  .custom-restaurant-catalog-menu-wrapper .flagged-info span,
  /* @todo check if restaurant-full__fixed exists in a new template */
  .restaurant-full__fixed .flagged-info,
  .restaurant-full__fixed .flagged-info span {
    font-size: 12px;
    white-space: nowrap;
  }
  .restaurant-full__fixed .flagged-info {
    text-align: center;
    padding: 5px;
  }
  .restaurant-full__fixed .flagged-info a {
    cursor: default;
  }
  .custom-restaurant-catalog-menu-wrapper .flagged-panel-favourites-link,
  .restaurant-full__fixed .flagged-panel-favourites-link {
    text-align: right;
    margin-top: 15px;
    font-size: 12px;
  }
  .flagged-panel-dropdown {
    margin-bottom: 20px;
  }
  .flagged-panel-dropdown-views-group {
    display: none;
    overflow-x: scroll;
  }
  /* @todo flagged-panel-dropdown-views-group should be in bookmarks view template. */
  .flagged-panel-dropdown-restaurants .flagged-panel-dropdown-views-group,
  .flagged-panel-dropdown-views-group.active {
    display: block;
  }
  .custom-restaurant-catalog-menu-wrapper .flagged-panel-dropdown-views-group-content,
  .restaurant-full__fixed .flagged-panel-dropdown-views-group-content {
    flex-wrap: nowrap;
    gap: 5px;
  }

  .custom-restaurant-catalog-menu-wrapper .flagged-panel-dropdown-views-group-content .views-field-avatar__target-id {
    margin-bottom: 2px;
  }

  .custom-restaurant-catalog-menu-wrapper .flagged-panel-dropdown-views-group-content .views-row {
    display: flex;
    flex-direction: column;
  }

  .custom-restaurant-catalog-menu-wrapper .flagged-panel-dropdown-views-group-content .views-field-label,
  .custom-restaurant-catalog-menu-wrapper .flagged-panel-dropdown-views-group-content .views-field-title,
  .restaurant-full__fixed .flagged-panel-dropdown-views-group-content .views-field-title,
  .restaurant-full__fixed .flagged-panel-dropdown-views-group-content .views-field-label {
    background-color: #fafafa;
    padding: 15px;
    font-size: 12px;
    font-weight: 500;
    height: 100%;
  }

  .specialists-tabs {
    display: flex;
    overflow-x: auto;
  }
  .specialists-tabs a {
    color: rgba(31, 28, 26, .5) !important;
    text-decoration: none !important;
    display: inline-block;
    padding: 10px 15px;
    border: 1px solid #1f1c1a;
    background-color: #fff;
    font-size: 12px;
  }
  .specialists-tabs a + a {
    margin-left: 5px;
  }
  .specialists-tabs a.active {
    color: #866e64;
    border-color: #866e64;
    background-color: #f6efed;
  }
  .custom-restaurant-catalog-slideup {
    background-color: #fff;
    padding-top: 9px;
    margin-bottom: 2px;
  }

  .page-node-type-restaurant .custom-restaurant-catalog-menu-wrapper,
  .path-specialist .custom-restaurant-catalog-menu-wrapper {
    display: none;
  }
}

@media (max-width: 960px) {
  .custom-restaurant-catalog-menu-wrapper {
    /*width: 654px !important;*/
    padding-left: 0;
    padding-right: 0;    
  }
}

@media (max-width: 640px) {
  .custom-restaurant-catalog-menu-wrapper {
   /* width: 526px !important; */
    padding-left: 0;
    padding-right: 0;
  }
}
