.sort-dropdown {
  position: relative;
  display: inline-block;
}
.sort-dropdown .btn {
  line-height: 30px;
  padding: 0;
  font-size: 12px;
}
.sort-dropdown .sortby {
  padding: 0 5px;
}
.sort-dropdown .value {
  padding: 0 12px 0 12px;
  width: 75px;
  display: inline-block;
  text-align: left;
}
.sort-dropdown .dropdown {
  position: absolute;
  top: -6px;
  right: 1px;
  width: 75px;
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0 0 2px #f0f0f0;
  padding: 6px 12px;
  z-index: 10;
}
.sort-dropdown .dropdown li {
  font-family: "Montserrat", sans-serif;
  padding: 1px 0;
  line-height: 30px;
}
.sort-dropdown .dropdown li.active > span.text {
  color: #a32273;
}
.sort-dropdown .dropdown li:hover {
  cursor: pointer;
}
.sort-dropdown .value,
.sort-dropdown .dropdown li {
  position: relative;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
}
.sort-dropdown .value > span.fa-angle-down,
.sort-dropdown .dropdown li > span.fa-angle-down {
  position: absolute;
  top: 50%;
  -webkit-transform: translate(0, -50%);
  -ms-transform: translate(0, -50%);
  -o-transform: translate(0, -50%);
  transform: translate(0, -50%);
}
.sort-dropdown .dropdown li > span.fa-angle-down {
  right: 0;
}
.sort-dropdown .value > span.fa-angle-down {
  right: 12px;
}

.grid-container {
  background-color: #f5f5f5;
}
.grid-container > .row > h2.text-center {
  font-size: 14px;
  letter-spacing: 1.2px;
  margin: 30px 0 0;
}

.grid-list {
  padding-bottom: 30px;
}
.grid-list .grid-item {
  float: left;
  width: 100%;
  margin-bottom: 20px;
  padding: 0 10px;
}
@media screen and (min-width: 470px) {
  .grid-list .grid-item {
    width: 50%;
  }
}
@media screen and (min-width: 700px) {
  .grid-list .grid-item {
    width: 33.3333%;
  }
}
@media (min-width: 992px) {
  .grid-list .grid-item {
    width: 25%;
  }
}
@media (min-width: 1200px) {
  .grid-list .grid-item {
    width: 20%;
  }
}
.grid-list .grid-item-list {
  margin-top: 30px;
}
.grid-list .placeholder-row {
  line-height: 30px;
  padding-top: 112.5px;
  padding-bottom: 112.5px;
  font-size: 80%;
  opacity: 0.8;
}
.grid-list .loading-row {
  line-height: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 80%;
  opacity: 0.8;
  margin-bottom: -40px;
}

.grid-card {
  display: block;
  padding: 0 20px 15px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.1);
  position: relative;
  height: 295px;
  overflow: hidden;
  max-width: 220px;
  margin: 0 auto;
  color: #2f2f2f;
  /* status badges */
}
.grid-card:hover {
  cursor: pointer;
  box-shadow: 0 40px 30px 0 rgba(0, 0, 0, 0.1);
  color: #2f2f2f;
  text-decoration: none;
}
.grid-card .image-holder {
  margin-bottom: 15px;
}
.grid-card .image-holder > div {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.grid-card .grid-card-body > .grid-card-name {
  height: 40px;
  margin-bottom: 10px;
}
.grid-card .grid-card-body > .grid-card-name h3 {
  margin: 0 auto;
  padding: 0 10px;
  display: block;
  font-size: 16px;
  line-height: 20px;
  width: 205px;
}
.grid-card .grid-card-body > .grid-card-name h3,
.grid-card .grid-card-body > .grid-card-name h3 div {
  height: 40px;
  width: 100%;
}
.grid-card.non-partner .grid-card-body > .grid-card-name {
  height: 100%;
}
.grid-card.closed:before, .grid-card.no-delivery:before, .grid-card.pickup-only:before {
  display: block;
  position: absolute;
  top: 0;
  left: 50%;
  padding: 3px 5px 4px;
  text-align: center;
  width: 100px;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  background-color: #fd4052;
  color: #fff;
  font-weight: 600;
  font-size: 10px;
  line-height: 18px;
  -webkit-transform: translate(-50%, 0);
  -ms-transform: translate(-50%, 0);
  -o-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
  z-index: 1;
}
.grid-card.closed:before {
  content: "CLOSED";
}
.grid-card.no-delivery:before {
  content: "NO DELIVERY";
}
.grid-card.pickup-only:before {
  content: "PICKUP ONLY";
}
.grid-card.non-partner .grid-card-body {
  height: 245px;
}
.grid-card.non-partner .grid-card-body > div.text-valign {
  height: 100%;
  padding: 30px 15px 15px;
}

.grid-card-body {
  text-align: center;
}
.grid-card-body .card-type-label {
  display: block;
  width: 100%;
  height: 40px;
  position: relative;
  line-height: 20px;
  font-weight: bold;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  padding: 0 5px;
}
.grid-card-body .card-type-label > span {
  white-space: nowrap;
  width: 100%;
  height: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.grid-card-body .card-type-label .card-type-label-line {
  display: block;
  height: 2px;
  width: 31px;
  position: absolute;
  top: 0;
  left: 50%;
  -webkit-transform: translate(-50%, 0);
  -ms-transform: translate(-50%, 0);
  -o-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
}

.grid-card-footer {
  min-height: 20px;
  max-height: 60px;
  line-height: 20px;
  position: absolute;
  bottom: 5px;
  left: 20px;
  right: 20px;
}
.grid-card-footer .container-fluid {
  padding-left: 15px;
  padding-right: 15px;
}
.grid-card-footer .delivery-badge {
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  display: flex;
  align-items: center;
}
.grid-card-footer .delivery-cost {
  font-weight: bold;
  display: inline-block;
  text-align: left;
}
.grid-card-footer .calculate-delivery-warning,
.grid-card-footer .no-delivery-warning {
  color: #fd4052;
  display: inline-block;
  line-height: 1;
  padding-left: 15px;
  position: relative;
}
.grid-card-footer .calculate-delivery-warning .icon-ic-warning,
.grid-card-footer .calculate-delivery-warning .spinner,
.grid-card-footer .no-delivery-warning .icon-ic-warning,
.grid-card-footer .no-delivery-warning .spinner {
  position: absolute;
  left: 0;
  top: 0;
}
.grid-card-footer .no-delivery-warning-with-pickup {
  color: #fd4052;
  min-height: 20px;
  padding-left: 15px;
  position: relative;
}
.grid-card-footer .no-delivery-warning-with-pickup .icon-ic-warning {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
.grid-card-footer .delivery-badge.pull-left + .delivery-badge.pull-left {
  margin-left: 5px;
}
.grid-card-footer .price {
  letter-spacing: 0.7px;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
}
.grid-card-footer .pre-order-info {
  color: #666;
  font-size: 10px;
}
.grid-card-footer .pre-order-info:not(:first-child) {
  margin-left: 5px;
}
.grid-card-footer .pre-order-delivery-name {
  display: inline-block;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  max-width: 100px;
  line-height: 1.5;
  vertical-align: middle;
}
.grid-card-footer .pre-order-delivery-name.menu {
  max-width: 80px;
}

.grid-list-delivery-cost-measure {
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  font-weight: bold;
}

.restaurant-card .grid-card-footer {
  text-align: center;
}

.menu-card .grid-card-footer .no-delivery-warning {
  max-width: 60%;
}

.grid-item {
  -webkit-animation: 1s ease fadeIn;
  -moz-animation: 1s ease fadeIn;
  -o-animation: 1s ease fadeIn;
  animation: 1s ease fadeIn;
  opacity: 1;
}

.specialBadge,
.extraSpecialBadge {
  color: #fff;
  background-color: rgba(163, 34, 115, 0.8);
  height: 20px;
  line-height: 20px;
  color: #fff;
  text-align: center;
  display: block;
  position: absolute;
  text-transform: uppercase;
  font-family: "Montserrat", sans-serif;
  font-weight: bold;
}

.specialBadge {
  font-size: 8px;
  letter-spacing: 0.8px;
  width: 90px;
  bottom: 0;
  left: 50%;
  -webkit-transform: translate(-50%, 0);
  -ms-transform: translate(-50%, 0);
  -o-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}
div.extraSpecialBadge + .specialBadge {
  bottom: 20px;
}

.extraSpecialBadge {
  bottom: 0;
  left: 0;
  width: 100%;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  padding: 0 20px;
  font-size: 10px;
  letter-spacing: 1px;
}

.menu-section-image .extraSpecialBadge {
  font-size: 12px;
  line-height: 14px;
  height: 30px;
  letter-spacing: 2.3px;
  padding: 8px 20px;
}
@media (min-width: 992px) {
  .menu-section-image .extraSpecialBadge {
    font-size: 16px;
    line-height: 24px;
    height: 40px;
  }
}

.cover-image {
  display: block;
  width: 100%;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent;
  background-size: cover;
}

body {
  min-height: 100%;
  height: auto;
}

#restaurants {
  padding-bottom: 15px;
}
@media screen and (min-width: 992px) {
  #restaurants #restaurants-header {
    margin-top: 55px;
  }
}
#restaurants #restaurants-header .filter-button {
  letter-spacing: 1px;
}
#restaurants #restaurants-header .restaurant-search .empty-text-btn {
  font-size: 12px;
}
#restaurants #restaurants-header .sort-dropdown .value .dropdown {
  top: 3px;
}
#restaurants .restaurant-card .image-holder {
  padding: 30px 20px 0;
  height: 125px;
}
#restaurants .restaurant-card.closed, #restaurants .restaurant-card.no-delivery {
  background-color: #efefef;
}

#restaurants-header > .container > .row,
#menus-header > .container > .row,
#special-menus-header > .container > .row {
  margin-left: -10px;
  margin-right: -10px;
  background-color: #fff;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  padding: 9px 0 7px;
  height: 50px;
}
#restaurants-header > .container > .row h3,
#menus-header > .container > .row h3,
#special-menus-header > .container > .row h3 {
  font-size: 18px;
  line-height: 34px;
  letter-spacing: 2.3px;
  margin: 0;
}

#gift-cards-intro {
  border-top: 3px solid #f5f5f5;
}
#gift-cards-intro .container {
  max-width: 700px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#gift-cards-intro .container > .text-xs-center {
  max-width: 330px;
}
#gift-cards-intro .container > .text-xs-center p {
  margin-bottom: 50px;
}
#gift-cards-intro .container > .text-xs-center + div {
  flex: 1;
}

#gift-cards-intro h2 {
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
  margin-top: 0;
}

#customer-response {
  background-color: #f5f5f5;
}
#customer-response .customer-response-card img {
  max-width: 60px;
  margin: 0 auto 30px;
}
#customer-response .customer-response-card .customer {
  text-transform: uppercase;
  font-size: 80%;
}

#header #deliveryAddressInput {
  padding: 0;
}
#header #deliveryAddressInput .delivery-address-input-error {
  color: #fff !important;
  min-height: 30px !important;
  margin-bottom: 0;
}

#searchInput {
  padding: 0;
}
@media (min-width: 992px) {
  #searchInput {
    margin-top: 30px;
  }
}
#searchInput .restaurant-search-input-group {
  margin-top: 0 !important;
}