.aviso-header {
  width: 100%;
  height: 30px;
  line-height: 30px;
  padding: 0;
  background: #000;
  color: #FFF;
  position: fixed;
  z-index: 20;
  top: 0;
  font-size: 0.8em;
}

#topnav .navbar-toggle span {
  background-color: #000 !important;
}

.navigation-menu > li .submenu.megamenu > li {
  width: auto;
}

.oferta .promo-nome {
  -webkit-line-clamp: 3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

#main-carousel {
  overflow: hidden;
  position: relative;
  height: 460px;
}

#main-carousel .carousel-cell {
  width: auto;
  height: 460px;
  margin-right: 10px;
  border-radius: 5px;
  counter-increment: carousel-cell;
  position: absolute;
}

#main-carousel .carousel-cell img {
  display: block;
  max-height: 100%;
  margin: 0 auto;
  opacity: 1;
  transition: opacity 0.4s;
}

.swiper-container {
  position: relative;
  cursor: pointer;
  margin: 0;
  padding: 10px 0;
}

.swiper-content::-webkit-scrollbar {
  display: none;
  height: 0;
}

.swiper-content {
  overflow: auto;
  width: 100%;
  -webkit-overflow-scrolling: touch;
  flex-flow: column wrap;
  align-content: flex-start;
  display: flex;
  max-height: 350px;
  margin: 0 auto;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

.swiper-content .oferta {
  margin-left: 0.5%;
  margin-right: 0.5%;
  margin-bottom: 0;
  width: 49%;
}

.swiper-content .category {
  margin-left: 5px;
  margin-right: 5px;
  margin-bottom: 0;
  width: 200px;
}

.swiper-content .oferta-small {
  width: 24%;
}

.icon-arrow-left, .icon-arrow-right {
  width: 45px;
  height: 45px;
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2);
  border: 1px solid #fff;
  background: #fff;
  border-radius: 50%;
  transition: all 0.1s linear;
  position: absolute;
  z-index: 1;
  top: calc(50% - 22px);
}

.icon-arrow-left:before, .icon-arrow-right:before {
  position: absolute;
  content: "";
  display: block;
  border-radius: 4px 2px 2px 2px;
  top: 13px;
  transform: rotate(-45deg);
  border-style: solid;
  border-color: #212121;
  width: 17px;
  height: 17px;
  border-width: 3px 0 0 3px;
}

.icon-arrow-left {
  left: 10px;
}

.icon-arrow-right {
  right: 10px;
}

.icon-arrow-right:before {
  left: 10px;
  top: 13px;
}

.icon-arrow-right:before {
  transform: rotate(135deg);
}

.icon-arrow-left:before {
  left: 16px;
  top: 13px;
}

.icon-arrow-left:before {
  transform: rotate(-45deg);
}

.carousel:hover .icon-arrow-left, .carousel:hover .icon-arrow-right,
.swiper-container:hover .icon-arrow-left, .swiper-container:hover .icon-arrow-right {
  opacity: 1;
}

.carousel .icon-arrow-left, .carousel .icon-arrow-right,
.swiper-container .icon-arrow-left, .swiper-container .icon-arrow-right {
  opacity: 0;
  transition: all 0.2s;
}

.categories .category-card-vertical {
  padding: 5% 0 0;
  right: 8%;
  top: 0;
  position: absolute;
  overflow: hidden;
}

.categories .show-all {
  position: absolute;
  top: 7px;
  right: 8px;
  letter-spacing: 2px;
}

.box-promo-ended {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  top: 157px;
  left: 0;
  background: rgba(255, 255, 255, 0.85);
  z-index: 0;
  opacity: 0;
  transition: 0.5s ease opacity;
}

.box-promo-ended.show {
  z-index: 15;
  opacity: 1;
}

@media (min-width: 998px) {
  #topnav .has-submenu.active > a:before {
    bottom: -22px;
  }
  #topnav .has-submenu.active > a:after {
    bottom: -20px;
  }
}
@media (min-width: 992px) {
  .navigation-menu > li .submenu li a {
    padding-top: 2px;
    padding-bottom: 2px;
  }
  .navigation-menu .estabelecimentos-list,
  .navigation-menu .neighborhood-list {
    margin-left: -450%;
  }
  .oferta .oferta-content {
    min-height: 113px;
  }
  .oferta .oferta-content-small {
    min-height: 130px;
  }
}
body {
  padding-bottom: 0;
}

.footer {
  position: initial;
}

@media (max-width: 991px) {
  .wrapper {
    padding-top: 105px;
  }
  #main-carousel {
    height: auto;
  }
  #main-carousel .carousel-cell {
    max-width: 100vw;
    height: 67vw;
  }
  #main-carousel .carousel-cell img {
    max-width: 100vw;
  }
  .oferta .oferta-content {
    min-height: 135px;
  }
  .oferta .oferta-content-small {
    min-height: 130px;
  }
}
@media (max-width: 767px) {
  .oferta .promo-nome {
    -webkit-line-clamp: inherit;
  }
  .oferta .oferta-content-small, .oferta .oferta-content {
    min-height: auto;
  }
  .swiper-content .oferta {
    margin-left: 1%;
    margin-right: 1%;
    width: 98%;
  }
  .categories .category-card-vertical {
    position: inherit;
    top: inherit;
    right: inherit;
    margin-top: 10px;
    padding: 0;
  }
  .categories .show-all {
    position: initial;
    display: block;
  }
}
.bootstrap-autocomplete {
  width: auto !important;
}
