/*
This CSS is for overriding what the templates provide
*/

:root {
  /* Orange */
  --main-color: #e1560e;
  --second-color: #e00000; /* Used in the horizontal lines below the Options button*/
  --third-color: rgba(224,0,0, .6); /* Used in the translucent horizontal bars on the Home page*/
  
  /*
  Green: 
  --main-color: #3C763D;
  
  Red:
  --main-color: #e00000;
  */
  
  /* Blue:
  --main-color: #00a3cc;
  */
}

#main-wrapper .price {
  color: var(--main-color);
}

#main-wrapper .price-total {
  color: var(--main-color);
}

.restaurant-name{
    color: var(--main-color);
}

/* If the tabs wrap to a 2nd row, don't let them touch each other top to bottom */
.nav-tabs > li {
  margin-top: 5px;
}

#main-wrapper .all-menu-details .dropdown-option .dropdown-details label .price {
    top: inherit;    
}

/* This creates the bubble around quantity for each item in the cart */
#main-wrapper .all-menu-details .qty-cart input[type="number"] {
  text-align: center;
  height: 30px;
  width: 60px;
  padding: 0px 10px;
  border-radius: 7px;
  border: 1px solid #ccc;
}

#main-wrapper .my-check-right ul li {
  line-height: normal;
}

#checkout-alert {
  margin-top: 5px;
  display: none;
}

#main-wrapper .my-check-right ul li .price-total {
  position: initial;
}

#main-wrapper .price-total {
  font-weight: bold;
}

#main-wrapper .menu-item-name {
  text-decoration:underline;
}

#main-wrapper .menu-item-option {
  padding-top:5px;
  padding-bottom:5px;
}

#main-wrapper .confirm-button {
  display:block;
  margin-left: auto;
  margin-right: auto;
}

.hiddenRow {
    padding: 0 !important;
}

label.error{
  color: #e00000;
  font-weight: bold;
}

.modal-footer {
  text-align: center;
}

.restaurant-name{
    font-family: 'Great Vibes', 'Times New Roman' ,serif;
    font-size: 50px;
    line-height: 1.5em;
    margin-bottom: 23px;
}

/* Match the restaurant logo */
#header .header-nav-bar .navbar .navbar-brand img {
    margin-top: 0px;
    margin-left: 5px;
    height: 130%;
}

/* Prevent the + in the add to cart icon from turning into a - */
#main-wrapper .all-menu-details .qty-cart button.active:before {
  font-family: 'FontAwesome';
  content: "\f067";
  position: absolute;
  top: 5px;
  left: 10px;
}

/* Override a bug, or strange display choice, in responsive.css that hides the checkout box on MD screens*/
@media (min-width: 992px) and (max-width: 1199px) {
	.my-check-right {
	 display: block;
	} 
}

#main-wrapper .all-menu-details .dropdown-option .dropdown-details .radio-input {
    position: relative;
}

/* Show the choose->review->confirm on small, but not xs screens */
@media (max-width: 767px) {
  .small-menu .choose-option { display: block; }
}
@media (max-width: 550px) {
  .small-menu .choose-option { display: none; }
}

#header .header-top-bar .call-us .closed-now .fa-times-circle {
  color: red;
}

.thumb-view {
  display: none;
}

.without-thumb {
  display: none;
}

.grid-view {
  display: none;
}

.home-welcome {
  margin: 0;
  /* padding-bottom: 125px; */
  padding-bottom: 25px;
  position: relative;
  width: 100%;
  background: none;
  background-size: cover;
}

.home-welcome p {
  margin: 0;
  width: 100%; 
  padding-bottom: 50px;
  font-size: 20px;
  line-height: 40px;
  color: #666;
}

.home-welcome h1 {
  margin-top: 50px;
}

/* Call to Action Section */
/* ====================================================== */
.call-to-action-section {
  position: relative;
  margin: 30px 0 30px 0;
}

.call-to-action-section .icon img {
  margin-top: 0px;
}

@media (max-width: 991px) {
  .call-to-action-section .icon img {
		margin-top: -40px;
	}
}

.tag-image {
  width: auto;
  height: 24px;
  margin-left: 5px;
}

.item-quantity {
    margin-right: 5px;
    font-size: 14px;
    font-weight: normal;
    background-color: var(--main-color);
}

.item-option {
    font-size: 12px;
    font-weight: normal;
    margin-left: 5px;
    margin-right: 5px;
}

.btn-toolbar{
  margin-top: 10px;
  margin-bottom: 10px;
}

.btn-custom {
	color: #000000;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	background-color: #F7F7F7;
	*background-color: #F7F7F7;
	background-image: -moz-linear-gradient(top, #FAFAFA, #F7F7F7);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#FAFAFA), to(#F7F7F7));
	background-image: -webkit-linear-gradient(top, #FAFAFA, #F7F7F7);
	background-image: -o-linear-gradient(top, #FAFAFA, #F7F7F7);
	background-image: linear-gradient(to bottom, #FAFAFA, #F7F7F7);
	background-repeat: repeat-x;
	border-color: #F7F7F7;
	border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
}
.btn-custom:hover,
.btn-custom:focus,
.btn-custom:active,
.btn-custom.active,
.btn-custom.disabled,
.btn-custom[disabled] {
	color: #000000;
	background-color: #F7F7F7;
	*background-color: #003bb3;
}

.btn-custom {
  position: inherit;
  text-shadow: none;
  
  margin: 5px;
}

.btn-custom:hover{
  border-color: var(--main-color);
  border-width: 1px;
  color: var(--main-color);
}
.btn-custom:focus,
.btn-custom.active {
  border-color: var(--main-color);
  border-width: 2px;
  margin: 4px; /* Reduce the margin by how much we're increading the border to avoid changes to the overall spacing */
  color: var(--main-color);
}

.choice-display-number {
  /* width: 3em; */
  padding-right: 1em;
  display: inline-flex;
}

input[type="checkbox"]:disabled + label:before {
  cursor: not-allowed;
  opacity: .40
}

a.disabled {
  pointer-events: none;
  opacity: .65
}

.checkbox-input label:before {
  border: 1px solid #999;
}

.radio-input label:before {
    border: 1px solid #999;
}

/* The two sections below are to make sure long description wrap properly on small screens */
#main-wrapper .all-menu-details .dropdown-option .dropdown-details .checkbox-input label {
  white-space: normal;
  display: inline-flex;
}
#main-wrapper .all-menu-details .dropdown-option .dropdown-details .radio-input label {
  white-space: normal;
  display: inline-flex;
}

.menu-price {
  line-height: inherit;
  vertical-align: middle;
  display: inline-flex;
  white-space: nowrap;
  position: absolute;
  left: 275px; /* Makes prices besides options look nicer on bigger screens */
}

/* Mobile - XS */
@media (max-width: 768px) and (min-width: 550px) {
	  .menu-price {
    left: 400px; /* Makes prices besides options look nicer on small to medium screen sizes */
  }
}
/* Smallest size possible, which is also the iPhone 5 */
@media (max-width: 550px) {
	  .menu-price {
    left: 200px; /* Makes prices besides options look nicer on the iphone5 */
  }
}

/*-------------------------------*/
/* Custom quantity extra field   */
/*-------------------------------*/
.checkbox-input {
  clear: left;
}

.extra-quantity-input {
  margin: 0 7px;
  display: block;
  position: relative;
}

.extra-quantity-input:first-child {
  margin-left: 0;
}

.extra-quantity-input:last-child {
  margin-right: 0;
}

.extra-quantity-input label {
  cursor: pointer;
  font-weight: normal;
  padding-left: 10px;
  white-space: normal;
  display: inline-flex !important;
  line-height: inherit;
  vertical-align: middle;
  width: 8em;
}
/* Smallest size possible, which is also the iPhone 5 */
@media (max-width: 550px) {
	  .extra-quantity-input label {
    width: 3em;
  }
}


.extra-quantity-input .input-group {
  float: left;
  width: 8em;
}
/* Smallest size possible, which is also the iPhone 5 */
@media (max-width: 550px) {
  .extra-quantity-input .input-group {
    width: 9em;
  }
}
@media (max-width: 1200px) and (min-width: 550px) {
  .extra-quantity-input .input-group {
    width: 9em;
  }
}

.extra-quantity-input .input-group span button {
  height: 2em;
  background-color: var(--main-color);
}
.extra-quantity-input .input-group input {
  height: 2em;
  padding: 0 10px 0 10px;
}

.extra-quantity-input .glyphicon {
  color: white;
}

.menu-pic-desc-container {
  display: flex;
  justify-content: center;
}

.menu-pic-desc {
  margin: 40px 0px 30px 0px;
  padding: 10px;
  max-width: 80%;
}
/* Smallest size possible, which is also the iPhone 5 */
@media (max-width: 550px) {
  .menu-pic-desc {
    margin: 40px 0px 30px 0px;
    padding: 10px;
    max-width: 100%;
  }
}

.menu-pic {
   padding:1px;
   border:1px solid #021a40;
}

/* 
Create a wrapper around the item price, option button, and qty in order to draw
border line around them when an item has a very long description
*/
.item-controls {
  width: 36%;
  display: inherit;
}
@media (max-width: 550px) {
  .item-controls {
    width: 100%;
}
}
#main-wrapper .all-menu-details .right-checkout .price-option {
  width: 50%;
}
#main-wrapper .all-menu-details .right-checkout .qty-cart {
  width: 50%;
}
.visible-option {
  display: flex;
  flex-wrap: wrap;
}

/* Making the missing selection alerts for Combination items a bit thinner than normal so that they look better */
.custom-select-alert {
    margin-bottom: 0px;
    padding-bottom: 5px;
    padding-top: 5px;
}

.combination-list li {
  padding-top: 2px !important;
  padding-bottom: 2px !important;
  border: 0 !important;
}

.review-row {
  margin-top: 15px;
  margin-bottom: 15px;
}
#my-order {
  /*
  To prevent some animations for item removal from causing the scrollbar
  to appear
  */
  overflow-x: hidden;
}

@media (min-width: 768px) {
    .affix {
      top: 3em;
      right: 2em;
    }
    
    #my-order {
      max-height: 70vh;
      overflow-y: auto;
    }
    
    #mini-checkout {
      display: none;
    }
}

/* Disable affix on smaller screens */
@media (max-width: 767px) {
    .affix {
        position: relative;
    }
}

/* When there are many items and they scroll, without this they'd be too close
to the checkout button */
#main-wrapper .my-check-right .checkout {
  margin-top: 10px;
}

.checkout-item-row {
  margin-bottom: 0.5em;
  display: flex;
  justify-content: space-between;
}

/* For the X beside each item */
.checkout-item-row .icon-link {
  margin-left: 0.3em;
  color: var(--main-color);
}

.mini-checkout {
  display: flex;
  justify-content: space-between;
  height: 6em;
  width: 100%;
  background-color: var(--main-color);
  position: fixed;
  bottom: 0em;
  z-index: 99;
  border-top-color: white;
  border-top-style: double;
  border-top-width: 0.3em;
}

.mini-checkout-summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 1em;
  color: white;
  font-family: 'Roboto', sans-serif;
  font-size: 1.5em;
}

.mini-checkout-cart {
  margin-right: 1em;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mini-checkout-cart Img{
}

.mini-checkout-cart .cart-item-count{
  position: absolute; 
  right: 0.5em;
  top: 0.3em;
  color: black;
  border-width: 0em;
  background-color: white;
}

#footer {
  z-index: -1;
}

/* For the confirm order button in the review page  */
.confirm-order {
  margin-top: 20px;
}

.link-main-colour {
  color: var(--main-color);
}

/* Privacy Policy Page */

.privacy-page-content {
  margin: 64px 32px;
}

.privacy-page-h3 {
  margin-top: 32px;
}

.privacy-page-h4 {
  margin-top: 16px;
}

/* Deal Banner */
/* <====================================================== */
.deal-banner {
  display: flex;
  margin: 15px 0 15px 0;
  width: 100%;
  border-radius: 6px;
  background: #f2f2f2;
  color: #343434;
}

.deal-banner__icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 130px;
  min-width: 130px;
  border-radius: 6px 0 0 6px;
  background: var(--main-color);
}

.deal-banner__content {
  display: flex;
  margin: 20px 30px;
  justify-content: space-between;
  flex-wrap: nowrap;
}

.deal-banner__text {
  display: flex;
  flex-direction: column;
}

.deal-banner__text h4 {
  font-weight: bold;
  margin: 0;
  padding-bottom: 10px;
}

.deal-banner__text p {
  padding-right: 30px;
}

.deal-banner__action-button {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100px;
  min-width: 100px;
}

@media (max-width: 991px) {
  /* Shrink the icon */
  .deal-banner__icon {
    width: 80px;
    min-width: 80px;
  }
  
  /* The action button to claim the deal will go beneath the text, not beside*/
  .deal-banner__content {
    flex-wrap: wrap;
  }
}

/* ======================================================> */

/* When a menu has a picture, make the menu title and description centered  */
.menu-pic-desc .caption { 
  text-align: center;
}

/* Location Confirmation */
/* <====================================================== */

/* The confirmation button has its own margin-top, so this is unnecessary */
.location-confirmation-warning {
  margin-bottom: 0px;
}

.location-confirmation-warning__exclamation-icon {
  margin-right: 4px;
}

.location-confirmation-details {
  margin-top: 10px;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
}

.location-confirmation-details__checkbox-container {
  margin-right: 4px;
}

.location-confirmation-details__address {
  margin-bottom: 0px;
}

.location-not-confirmed-warning {
  margin-top: 4px;
  margin-bottom: 0px;
  padding-top: 4px;
  padding-bottom: 4px;
}

/* ======================================================> */

/* Order Type Selection in the Menu Page */
/* <====================================================== */

.order-type-selection-container {
  margin-left: auto;
  margin-right: auto;
  padding: 20px;
  text-align: left;
  border: 1px solid #CCC;
  border-radius: 5px;
  box-shadow: 0 2px 3px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);
  background-color: #f3f3f3;
}

@media (min-width: 550px) and (max-width: 768px) {
	.order-type-selection-container {
	 width: 400px;
	} 
}

@media (min-width: 768px) and (max-width: 992px) {
	.order-type-selection-container {
	 width: 500px;
	}
	
	.dd--widened {
    width: 250px;
    margin-left: 0 !important;
  }

}

@media (min-width: 992px) {
	.order-type-selection-container {
	 width: 750px;
	}
	
	.dd--widened {
    width: 450px;
  }
}

.delivery-conditions-panel {
  margin-top: 10px;
}

.delivery-conditions-panel__content {
  margin: 10px;
}

.delivery-conditions-panel__heading--theme {
  background-color: var(--main-color) !important;
  border-color: var(--main-color) !important;
  color: white !important;
}

.delivery-conditions-panel--theme {
  border-color: var(--main-color);
}

.dt--left-aligned {
  text-align: left !important;
  width: 250px;
}

.dt--widened {
  width: 250px !important;
}

.order-type-selection__span {
  background-color: lightgray !important;
}

.order-type-selection__label {
  color: white !important;
  text-shadow: 1px 1px 1px #191b1e !important;
}

.order-type-selection__button {
  background-color: var(--main-color) !important;
}

.checkout-warning {
  margin-top: 5px;
}

/* ======================================================> */