#market-banner {
  background-image: url(/static/images/supermarket.jpg);
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: 60% 50%;
  color: #4D5F63;
  height: 25em;
  padding-top: 20px;
  margin-top: 0;
  text-align: center;
}
#market-banner h1,
#market-banner .bullets {
  padding: 5px 30px;
  color: #000;
  display: none;
  margin: 0 auto;
}
#market-banner h1 {
  font-size: 3em;
  text-align: right;
  margin: 0;
}
#market-banner .bullets {
  text-align: right;
  display: inline-block;
  display: none;
  margin: 30px;
  padding: 20px 20px;
  font-size: 1.3em;
}
#market-banner .right .promote-btn {
  text-align: center;
  margin-bottom: 30px;
}
#market-banner .right .promote-btn:after {
  clear: both;
  display: block;
}
#market-banner .right .promote-btn a {
  background-color: #A1BDBC;
  padding: 10px;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  font-size: 1.2em;
}
#market-banner .right .promote-btn a:hover {
  border-top: 5px solid #fff;
  border-bottom: 5px solid #fff;
}
.top-search {
  padding: 5px 10px;
}
.top-search input[type=text] {
  line-height: 1.3em;
  width: 30em;
  border: 1px solid #fff;
  color: #222;
  padding: 5px;
  border-radius: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
}
.top-search input[type=text]:focus {
  box-shadow: 0 0 2px #fff9f8;
  border: 1px solid #f9fbfb;
}
.top-search button {
  left: 40px;
  position: relative;
  padding: 10px 15px;
  background-color: inherit;
  color: #333 !important;
}
.r-chains h1 {
  color: #555;
}
.r-chains .chain {
  width: 32%;
  float: right;
  height: 220px;
  text-align: center;
  margin: 5px;
}
.r-chains .chain > img {
  height: 100px;
  max-width: 100%;
}
.r-chains .chain .best-stores {
  margin-top: 10px;
}
.r-chains .chain .best-stores .store {
  border-bottom: 1px solid #f2f2f2;
}
.r-chains .chain .best-stores .store > * {
  width: 45%;
  display: inline-block;
}
.loading {
  display: block;
  margin: 0 auto;
  position: relative;
  top: 100px;
  background-color: #fff;
  border-radius: 50% 50%;
  -moz-border-radius: 50% 50%;
  -webkit-border-radius: 50% 50%;
  padding-right: 3px;
  padding-bottom: 3px;
}
.overlay {
  width: 70%;
  height: 90%;
  border-radius: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  vertical-align: middle;
  position: relative;
  top: 30px;
  margin: 0 auto;
  background-color: #fff;
  -webkit-box-shadow: -4px 7px 13px 0px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: -4px 7px 13px 0px rgba(0, 0, 0, 0.75);
  box-shadow: -4px 7px 13px 0px rgba(0, 0, 0, 0.75);
  overflow: hidden;
}
.overlay .heading {
  background-color: #d8e8f2;
  background-color: #1E8BC3;
  margin: 0;
  vertical-align: middle;
  height: 10%;
  min-height: 80px;
  text-align: center;
}
.overlay .heading h2 {
  font-size: 3.2em;
  color: #09093B;
  margin: 5px 40px;
  padding: 10px;
  vertical-align: middle;
  display: inline-block;
  text-align: center;
}
.overlay .heading .set-auto-location {
  float: left;
  margin: 10px;
  padding: 10px;
  background-color: #09093B;
  font-size: 1.5em;
  color: #fff;
}
.overlay .actions {
  padding: 10px;
  background-color: #fafafa;
  border-bottom: 1px solid #ddd;
  text-align: center;
  height: 10%;
}
.overlay .loading-action {
  z-index: 1003;
  position: absolute;
  background-color: rgba(255, 255, 255, 0.6);
  width: 100%;
  height: 100%;
  text-align: center;
}
.overlay .loading-action img {
  position: relative;
  top: 50%;
}
.overlay .overlay-content {
  overflow-y: auto;
  height: 80%;
  position: relative;
}
.overlay .close-cart {
  position: fixed;
  top: 2%;
  right: 14%;
  cursor: pointer;
  border-radius: 50%;
  border: 1px solid #ddd;
  width: 40px;
  height: 40px;
  background-color: #1E8BC3;
  -webkit-box-shadow: 2px -1px 6px -1px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 2px -1px 6px -1px rgba(0, 0, 0, 0.75);
  box-shadow: 2px -1px 6px -1px rgba(0, 0, 0, 0.75);
}
.overlay .close-cart .fa {
  font-size: 2em;
  color: #fff;
}
.overlay .compare-button {
  position: relative;
  left: 10px;
  top: 10px;
  font-size: 2.8em;
  float: left;
}
.overlay .compare-button a {
  background-color: #337ab7;
  padding: 5px 10px;
  color: #fff;
  border-radius: 10px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}
.overlay .compare-button a:hover {
  text-decoration: none;
}
.overlay h1 {
  text-align: center;
  margin-bottom: 30px;
}
.overlay .fa-close {
  margin: 10px;
}
.overlay .product {
  width: 22%;
  text-align: center;
}
.overlay .missing-products {
  position: absolute;
  top: 0;
  background-color: #fff;
  width: 100%;
  height: 100%;
  display: none;
  overflow: auto;
}
.overlay .missing-products .go-back {
  font-size: 1.3em;
  text-align: left;
  margin: 10px;
}
.overlay .missing-products .product h3 {
  color: #09093B;
}
.overlay table {
  font-size: 1.3em;
  overflow: hidden;
  display: block;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
}
.overlay table thead,
.overlay table tbody,
.overlay table tr {
  width: 100%;
  display: block;
}
.overlay table th,
.overlay table td {
  width: 19%;
  display: inline-block;
  text-align: center;
  color: #000;
}
.overlay table thead tr {
  -webkit-box-shadow: 0px 4px 5px -1px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 4px 5px -1px rgba(0, 0, 0, 0.75);
  box-shadow: 0px 4px 5px -1px rgba(0, 0, 0, 0.75);
}
.overlay table thead tr th {
  padding: 5px 2px;
}
.overlay table tbody {
  overflow: auto;
  height: 100%;
}
.overlay table tbody td {
  padding: 10px;
}
#compare-results {
  font-size: 1.4em;
}
#compare-results tr:hover {
  cursor: pointer;
}
#compare-results .prices-found {
  display: block;
  float: left;
}
#compare-results .carousel .buttons {
  background: #C01313;
  border-radius: 35px;
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  width: 35px;
  height: 35px;
  color: #fff;
  font-weight: bold;
  text-align: center;
  line-height: 35px;
  text-decoration: none;
  font-size: 22px;
  z-index: 100;
}
#compare-results .carousel .buttons:hover {
  color: #C01313;
  background: #fff;
}
#compare-results .carousel .next {
  right: 0;
  left: auto;
  top: 50%;
}
#compare-results .carousel .disable {
  visibility: hidden;
}
#compare-results .carousel .viewport {
  height: 125px;
  overflow: hidden;
  position: relative;
}
#compare-results .carousel .viewport .overview {
  list-style: none;
  position: absolute;
  padding: 0;
  margin: 0;
  width: 240px;
  left: 0;
  top: 0;
}
#compare-results .carousel .viewport .overview li {
  float: left;
  margin: 0 20px 0 0;
  padding: 1px;
  height: 128px;
  width: 236pxv;
}
#compare-results .carousel .viewport .overview li .product-unavailable {
  opacity: .3;
}
.product-list {
  padding: 0;
  text-align: center;
}
.product-list .product {
  width: 17vw;
}
.product {
  display: inline-block;
  width: 20%;
  vertical-align: top;
  margin: 10px;
  background-color: #fff;
  padding: 0;
  -webkit-box-shadow: 1px 1px 9px -8px #002b47;
  -moz-box-shadow: 1px 1px 9px -8px #002b47;
  box-shadow: 1px 1px 9px -8px #002b47;
}
.product h3 {
  background-color: #D8E8F2;
  color: #fff;
  margin: 0;
  padding: 5px;
  font-size: 1.1em;
  border: none;
  text-align: center;
}
.product h3 a {
  color: #09093B;
  font-weight: bold;
}
.product .thumbnail {
  margin: 10px auto;
  max-width: 100%;
  height: 128px;
  border: none;
  display: block;
}
.product .details {
  display: block;
  text-align: right;
  padding: 0;
  width: 100%;
  height: 150px;
}
.product .details li {
  margin: 5px;
  text-align: center;
}
.product .details .price {
  font-size: 1.3em;
}
.product .buttons {
  list-style: none;
  padding: 5px;
  display: block;
}
.action-btn {
  border: none;
  padding: 5px 10px;
  margin: 0;
  color: #fff;
  font-weight: bold;
  transition: background-color 0.5s;
  position: relative;
  border-radius: 12px;
}
.add-btn {
  cursor: pointer;
}
button.add-btn {
  background-color: #337ab7;
}
button.add-btn:before {
  position: relative;
  top: 1px;
  font-family: 'Glyphicons Halflings';
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: "\2b";
}
button.add-btn:after {
  content: "הוסף לסל";
}
.del-btn {
  background-color: #FF6B58 !important;
}
.del-btn:before {
  content: '\f00d';
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  position: relative;
  top: 1px;
}
.del-btn:after {
  content: "הסר מהסל";
}
@media only screen and (min-device-width: 768px) and (max-device-width: 980px) {
  .top-search input[type="text"] {
    width: 30vw;
  }
  #compare-panel {
    width: 20% !important;
  }
  #content-section {
    width: 80% !important;
  }
  .product {
    width: 25%;
  }
  .overlay {
    width: 90%;
  }
  .overlay .close-cart {
    right: 3%;
    top: 1%;
  }
  .r-chains .chain {
    width: 45%;
  }
}
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
  html,
  body {
    margin: 0;
    padding: 0;
    width: 100vw;
  }
  .hidden-mobile {
    display: none !important;
  }
  #top-navbar {
    width: 100vw;
    display: block;
  }
  #top-navbar:after {
    content: " ";
    display: block;
    clear: both;
  }
  #top-navbar .brand {
    display: block;
  }
  #top-navbar .brand img {
    width: 80px !important;
  }
  #top-navbar .chains .dropdown-menu {
    right: -125px;
  }
  .search-box {
    position: absolute;
    top: 0px;
    left: 10px;
    width: 70vw;
  }
  .search-box #search-query {
    width: 100%;
    display: inline-block;
  }
  .search-box button {
    position: absolute;
    top: 4px;
    padding-top: 0 !important;
    left: 5px;
  }
  .search {
    display: none;
  }
  #market-banner {
    height: 17em;
  }
  .box-section {
    width: 95%;
    display: block;
    clear: both;
  }
  #compare-panel {
    display: none;
  }
  #compare-panel-mobile {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 40px;
    background-color: #337ab7;
    display: block;
    z-index: 1001;
    color: #fff;
    border-top: 1px solid #ddd;
  }
  #compare-panel-mobile p {
    width: 45%;
    height: 100%;
    display: inline-block;
    vertical-align: middle;
    font-weight: bold;
    padding: 0;
    cursor: pointer;
  }
  #compare-panel-mobile .fa {
    display: inline-block;
    width: 30%;
    height: 100%;
    vertical-align: top;
    font-size: 2em;
    background-color: #3374b7;
    text-align: center;
    padding-top: 3px;
    color: orange;
  }
  #compare-panel-mobile .box-content {
    display: inline-block;
    width: 65%;
    vertical-align: middle;
    position: relative;
  }
  #compare-panel-mobile .comparison .box-content {
    position: relative;
    top: 20%;
  }
  #content-section {
    width: 100% !important;
  }
  .box-section .image {
    display: block;
    width: 100%;
  }
  .box-section .details {
    text-align: center;
  }
  .box-section {
    text-align: center;
  }
  .box-section p img {
    position: relative;
    right: -50px;
  }
  .breadcrumbs {
    width: 100vw;
    margin: 10px;
    padding: 10px;
  }
  .r-chains .chain {
    width: 100%;
    display: block;
    margin: 0;
  }
  #products h1 {
    font-size: 1.3em;
  }
  .product {
    width: 90%;
    position: relative;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
  }
  .product h3:after {
    content: ' ';
    display: block;
    clear: both;
  }
  .product > a {
    float: right;
    width: 50%;
  }
  .product .details {
    float: left;
    width: 50%;
    height: auto;
  }
  .product .details .price {
    font-size: 1.3em;
  }
  .product .buttons:before {
    clear: both;
    content: ' ';
    display: block;
  }
  .product .buttons button {
    width: 50%;
  }
  .product-view,
  .chain-view {
    width: 95%;
    margin: 0 auto;
    text-align: center;
  }
  .chain-view .box-section:first-child {
    width: 90vw;
  }
  .similar-products {
    height: auto;
  }
  .similar-products .similar {
    display: block;
  }
  .store-list {
    font-size: .98em;
    width: 100%;
    display: block;
  }
  .store-list tr,
  .store-list thead,
  .store-list tbody {
    display: block;
    width: 100%;
  }
  .store-list th,
  .store-list td {
    display: inline-block;
    width: 32%;
  }
  .store-list tr td:first-child img {
    width: 80px;
  }
  .best-stores .store {
    text-align: center !important;
  }
  .overlay {
    margin: 0 auto;
    width: 95%;
    height: 80%;
  }
  .overlay .heading h2 {
    text-align: center;
    margin: 0;
    padding: 0;
    width: 100%;
  }
  .overlay .close-cart {
    width: 40px;
    height: 40px;
    right: 1%;
  }
  .overlay .heading .compare-button {
    display: none;
  }
  .overlay .product {
    width: 90%;
  }
  .overlay .store td,
  .overlay .store th {
    width: 23% !important;
    font-size: .8em;
    text-align: center !important;
  }
  .overlay .store td img:first-child {
    width: 50px;
  }
  .overlay .actions {
    padding: 3px;
  }
  .overlay .delete-all {
    padding: 4px 10px;
    margin: 0;
  }
  #mycart {
    width: 80vw;
    height: 100vh;
    top: 230px;
  }
  #mycart h1 {
    margin-top: 40px;
  }
  #mycart .product {
    display: block;
    width: 90%;
  }
  #mycart .product:last-child {
    padding: 50px;
  }
  #map {
    width: 100%;
  }
}
.box-section {
  margin-top: 10px !important;
  margin-bottom: 10px !important;
  background-color: #fff;
  padding: 10px;
  border: 1px solid #dfdfdf;
  margin: 5px 0;
  -webkit-box-shadow: 0px 2px 14px -9px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 2px 14px -9px rgba(0, 0, 0, 0.75);
  box-shadow: 0px 2px 14px -9px rgba(0, 0, 0, 0.75);
  width: 90%;
  margin: 0 auto;
}
.box-section:before {
  content: " ";
  display: block;
  clear: both;
}
.box-section > h3 {
  margin: 0;
}
.box-section .help-tooltip {
  font-size: 1.3em;
}
.box-section:after {
  clear: both;
  display: block;
  content: ' ';
}
.chain-view,
.product-view {
  margin: 10px auto !important;
  display: block;
}
.chain-view {
  padding: 10px;
}
.chain-view > h1,
.product-view h1 {
  margin: 0;
}
.chain-view > img,
.product-view > img {
  display: inline-block;
  vertical-align: top;
  margin-left: 100px;
}
.chain-view .details,
.product-view .details {
  padding: 10px;
}
.chain-view .details h1 {
  font-size: 1.6em;
}
.chain-view .chain-logo {
  max-width: 300px;
  max-height: 250px;
  vertical-align: top;
}
#compare-panel {
  z-index: 1000;
  width: 15%;
  height: 100%;
  background-color: #fff;
  position: fixed;
  top: 51px;
  left: 0;
  border-radius: 10px;
  padding: 5px;
  text-align: center;
  -webkit-box-shadow: 1px 5px 9px -5px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 1px 5px 9px -5px rgba(0, 0, 0, 0.75);
  box-shadow: 1px 5px 9px -5px rgba(0, 0, 0, 0.75);
}
#compare-panel .result {
  margin: 10px 0;
  cursor: pointer;
}
#compare-panel .result > * {
  width: 45%;
  display: inline-block;
}
#compare-panel-mobile {
  display: none;
}
#content-section {
  display: inline-block;
  width: 85%;
}
footer {
  border-top: 1px solid #ddd;
  background-color: #fafafa;
  padding: 10px;
  padding-bottom: 40px;
  position: relative;
  top: 75px;
}
footer .section {
  width: 45%;
  display: inline-block;
  vertical-align: top;
}
footer h2 {
  font-size: 3em;
}
footer a {
  font-size: 1.2em;
  color: #000;
}
footer a:hover {
  color: #000;
}
footer span {
  text-align: right;
  display: block;
  font-size: 1.2em;
  padding-right: 5px;
}
.ad {
  margin: 0 auto;
  width: 90%;
}
