/* hide mobile nav inside cart modal */
#cart-modal .modal-body-content .mobile_nav_buttons {
  display: none !important;
}

.modal-header .close { margin-top: -22px; }

/* desaturate media images */
.media-desaturate, .desaturate {
  -webkit-filter: grayscale(1); 
  -webkit-filter: grayscale(100%);
  filter: gray; 
  filter: grayscale(100%);
}

/* promo coupons on confirmation page */
.promo-coupon .promo-coupon-body {
  border: 2px dashed #333333;
  margin-bottom: 0px;
}

.promo-coupon .promo-coupon-clip {
  padding-right: 20px;
  background: transparent url('../img/coupon-scissors.png') no-repeat top right;
  width: 100%;
  height: 40px;
}


/* featured dish on restaurants page */
.featured-dish {
  position: relative;
  height: 102px;
  overflow: hidden;
}

.featured-dish .featured-dish-logo {
  position: absolute;
  top: 0px;
  width: 100%;
  height: 102px;
  padding: 16px;
  display: none;
  background-color: #FFFFFF;
  z-index: 3;
}

a:hover .featured-dish .featured-dish-logo {
  display: block !important;
}

.featured-dish .featured-dish-img {
  position: absolute;
  top: 0px;
  z-index: 1;
}

.featured-dish .featured-dish-caption {
  position: absolute;
  display: inline-block;
  bottom: 0px;
  width: 100%;
  color: #FFFFFF;
  padding: 5px 10px;
  font-size: 16px;
  text-shadow: 1px 1px 1px #000;

  /* IE9 SVG, needs conditional override of 'filter' to 'none' */
  background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9Ijc2JSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwLjY1Ii8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwMDAwMDAiIHN0b3Atb3BhY2l0eT0iMC42NSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
  background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 76%, rgba(0,0,0,0.65) 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(76%,rgba(0,0,0,0.65)), color-stop(100%,rgba(0,0,0,0.65))); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 76%,rgba(0,0,0,0.65) 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 76%,rgba(0,0,0,0.65) 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 76%,rgba(0,0,0,0.65) 100%); /* IE10+ */
  background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 76%,rgba(0,0,0,0.65) 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 ); /* IE6-8 */

  z-index: 2;
}

.featured-additional-info {
  padding-bottom: 0px;
  padding-top: 70px;
}

a:visited > .panel {
  border-color: #DDDDDD;
}

.media-body small {
  color: #000000;
}

@media (max-width: 768px){
	body {
		margin-bottom: 45px;
	}

	.featured-additional-info {
		padding-top: 10px
	}

}

.img-thumbnail, .thumbnail {
	background-color: transparent !important;
}

.bold {
	font-weight: bold;
}

footer {
	margin-top: 20px;
	min-height: 100px;
	padding: 10px;
}

.panel .hover:hover {
	cursor: pointer;
}

.field_error {
	margin-top: 5px;
	font-size: 10px;
}

.horizontal_pad_5 {
	padding-left: 5px !important;
	padding-right: 5px !important;
}

.font_size_10 {
	font-size: 10px !important;
}

img.lazy {
	background-color: white;
}

img.dietary_label {
	margin-right: 5px;
	max-width: 16px;
	vertical-align: middle;
}

/* Bootstrap Styles */
label.optional {
	font-weight: normal;
}

label.checkbox:hover {
	cursor: pointer;
}

.table-hover {
	cursor: pointer;
}

label.underline_dash {
	border-bottom: 1px dashed;
}

.navbar {
	border-radius: 0px !important;
	border-left: 0px !important;
	border-right: 0px !important;
	margin-bottom: 0px;
	font-weight: bold;
}

.navbar-toggle {
	margin-top: 10px !important;
}

.navbar-header .btn{
	margin-top: 10px;
	margin-right: 10px;
}

@media (min-width: 768px) and (max-width: 1050px){
	.navbar-nav a, .navbar-right a{
		font-size: 10px;
		padding-left: 8px !important;
		padding-right: 8px !important;
	}
}

#main_container {
	padding-top: 20px;
}

.radio label, .checkbox label {
	padding-left: 5px;
}

.date .input-group-addon {
	cursor: pointer;
}

.img-thumbnail {
	padding: 0px !important;
}

.well > h3:first-child, .panel-body > h3:first-child {
	margin-top: 0px;
}

#main_restaurant_links .img-thumbnail {
	margin-bottom: 5px;
}

.margin_top_0 {
	margin-top: 0px !important;
}

.estore_panel {
	font-weight: bold;
	text-align: center;
}

/*** custom checkboxes ***/
input[type=radio], input[type=checkbox] { display:none; } /* to hide the checkbox itself */
input[type=radio] + span:before, input[type=checkbox] + span:before {
  font-family: FontAwesome;
  display: inline-block;
}

input[type=radio] + span:before { content: "\f10c"; } /* unchecked icon */
input[type=radio] + span:before { letter-spacing: 10px; } /* space between checkbox and label */
input[type=radio]:checked + span:before { content: "\f05d"; } /* checked icon */
input[type=radio]:checked + span:before { letter-spacing: 10px; } /* allow space for check mark */

input[type=checkbox] + span:before { content: "\f096"; } /* unchecked icon */
input[type=checkbox] + span:before { letter-spacing: 10px; } /* space between checkbox and label */
input[type=checkbox]:checked + span:before { content: "\f046"; } /* checked icon */
input[type=checkbox]:checked + span:before { letter-spacing: 10px; } /* allow space for check mark */

.checkbox-inline-menu {
    cursor: pointer;
    display: inline-block;
    font-weight: normal;
    margin-bottom: 0;
    vertical-align: middle;
	margin-top: 5px !important;
}

.alert-danger a {
  color: #0645AD;
}

.no-padding {
  padding: 0px !important;
}

#restaurant_filter_area {
  padding: 5px;
  font-weight: bold;
  cursor: pointer;
  cursor: hand;
}


/* wizard steps */
.bs-wizard { margin-top: 40px; margin-bottom: -10px; border-bottom: 0 !important; padding: 0 0 10px 0; }
.bs-wizard > .bs-wizard-step {padding: 0; position: relative;}
.bs-wizard > .bs-wizard-step + .bs-wizard-step {}
.bs-wizard > .bs-wizard-step .bs-wizard-stepnum { color: #595959; font-size: 16px; margin-bottom: 5px;}
.bs-wizard > .bs-wizard-step .bs-wizard-info { color: #999; font-size: 12px; padding: 0px 10px; }
.bs-wizard > .bs-wizard-step > .bs-wizard-dot { position: absolute; width: 30px; height: 30px; display: block; background: #5bc0de; top: 82px; left: 50%; margin-top: -15px; margin-left: -15px; border-radius: 50% !important;} 
.bs-wizard > .bs-wizard-step > .bs-wizard-dot:after {content: ' '; width: 14px; height: 14px; background: #337ab7; border-radius: 50px; position: absolute; top: 8px; left: 8px; } 
.bs-wizard > .bs-wizard-step > .progress {position: relative; border-radius: 0px; height: 8px; box-shadow: none; margin: 20px 0;  background: #EAEAEA; }
.bs-wizard > .bs-wizard-step > .progress > .progress-bar {width:0px; box-shadow: none; }
.bs-wizard > .bs-wizard-step.complete > .progress > .progress-bar {width:100%;}
.bs-wizard > .bs-wizard-step.active > .progress > .progress-bar {width:50%;}
.bs-wizard > .bs-wizard-step:first-child.active > .progress > .progress-bar {width:0%;}
.bs-wizard > .bs-wizard-step:last-child.active > .progress > .progress-bar {width: 100%;}
.bs-wizard > .bs-wizard-step.disabled > .bs-wizard-dot {background-color: #EAEAEA;}
.bs-wizard > .bs-wizard-step.disabled > .bs-wizard-dot:after {opacity: 0;}
.bs-wizard > .bs-wizard-step:first-child  > .progress {left: 50%; width: 50%;}
.bs-wizard > .bs-wizard-step:last-child  > .progress {width: 50%; }
.bs-wizard > .bs-wizard-step.last.disabled > .progress { width: 50%; background: #EAEAEA; }
.bs-wizard > .bs-wizard-step.last.active > .progress { width: 100%; background: none; }
.bs-wizard > .bs-wizard-step.disabled a.bs-wizard-dot{ pointer-events: none; }
.bs-wizard > .bs-wizard-step .bs-wizard-timing { font-size: 12px; }

.store-link > .panel {
  height: 104px !important;
}

/* shopping cart */
.cart_content--cart_subtotal_divider {
  visibility: hidden;
}

.order_restaurant--info_tablist {
  display: none;
}


/* 2column template */
.order_restaurant--menu_item_container {
  padding: 0px;
  border: 1px dotted #BBBDBF;
}

.order_restaurant--menu_item_container:nth-child(odd) {
  border-top: none;
  border-left: none;
}

.order_restaurant--menu_item_container:nth-child(even) {
  border-top: none;
  border-left: none;
  border-right: none;
}

.order_restaurant--menu_item_container {
  transition: all 0.4s ease;
}

.order_restaurant--menu_item_container:hover {
  cursor: pointer;
  background-color: #ECECEC;
}

.restaurant_item--item_container .restaurant_item {
  padding: 10px;
  margin: 0px !important;
  border-bottom: 1px dotted #ccc;
}

/*.row-equal-height {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display:         flex;
}*/

@media (max-width:767px) {
  .order_restaurant--menu_item_container:nth-child(odd) {
    border-left: none;
    border-right: none;
  }

  .row-equal-height {
    display: block;
  }
}


/* custom bootstrap overrides */
form .input,
form .textarea {
  position: relative;
  display: block;
  font-weight: 400;
}

form .icon-prepend {
  position: absolute;
  top: 6px;
  left: 5px;
  width: 30px;
  color:#A2A2A2;
  padding: 5px;
  font-size: 14px;
  font-style: normal;
  line-height: 22px;
  text-align: center;
  border-right: 1px solid #BDBDBD;
}

form .icon-append {
  position: absolute;
  top: 6px;
  right: 5px;
  width: 30px;
  color:#A2A2A2;
  font-size: 14px;
  font-style: normal;
  line-height: 22px;
  text-align: center;
  border-left: 1px solid #BDBDBD;
}

form .input input {
  width: 100%;
  padding: 10px 10px;
  color: #404040;
  border-width: 1px;
  border-style: solid;
  border-color: #BDBDBD;
  background: #fff;
  font: 14px/18px 'Open Sans',Helvetica,Arial,sans-serif;
}

form .icon-prepend + input, form .icon-prepend + textarea {
  padding-left: 40px;
}

form .icon-append + input, form .icon-append + textarea {
  padding-left: 10px;
  padding-right: 40px;
}

.hotel-panel {
  min-height: 105px;
}

.order_restaurant--dietary_filters {
	margin: 0 0 10px 0;
}

.input-fill {
  width: 100%;
}
.input-nearfill {
  width: 90%;
}

.typeahead {

  z-index: 2147483647;
}

#page_content #search-container {

  overflow: visible !important;
}

span.address_autocomplete_entry {

  font-size: 14px;
  color: #666666;
}

span.address_autocomplete_entry > i {

  font-size: 36px;
  color: orange;
  float: left;
  margin-right: 10px;
}

ul.typeahead.dropdown-menu > .active > a, ul.typeahead.dropdown-menu > .active > a:hover, ul.typeahead.dropdown-menu > .active > a:focus {

  background-color: #DDDDDD !important;
}

ul.typeahead.dropdown-menu > li {

  border-bottom: 1px solid #DDDDDD;
}

#av-modal .modal-lg {

  width: 500px;
}

@media (max-width: 767px) {

  #av-modal .modal-lg {
    width: auto;
  }
  #av-modal .modal-lg .btn {
    margin: 1ex;
  }
}

