#market {
  background: var(--bg-markets);
  padding-top: 6.5rem;
}

#market hr {
  width: 100%;
  height: 2px;
  background-color: gray;
}

.share {
  background: #eee6d5;
  border-radius: 500px;
}

.share:hover {
  background: #eee6d5;
  opacity: 0.9;
}

.market-images .image-wrapper {
  border-radius: 20px;
  transition: 500ms;
  overflow: hidden;
  max-width: 1083px;
  max-height: 430px;
}

.market-images .small-images .image-wrapper {
  max-width: 220px;
  width: 220px;
  max-height: 136px;
  height: 136px;
}

.market-images .small-images img {
  width: 220px;
  height: 136px;
}

.market-images .image-wrapper:hover img {
  scale: 1.1;
  transition: 500ms ease-out;
}

.market-images .image-wrapper.more .overlay {
  z-index: 2;
  background: #00000093;
  width: 100%;
  height: 100%;
}

.market-images .image-wrapper.more .overlay p {
  font-size: var(--font-large);
  color: #fff;
  font-size: 50px;
  color: white;
}

.market-images img {
  width: 100%;
  transition: 400ms;
  border-radius: 20px;
}

.market-links {
  border-radius: 500px;
  border: 1px solid var(--gray-card);
}

.market-links .icon {
  width: 51px;
  height: 51px;
  font-size: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--bs-primary);
  border-radius: 500px;
  color: var(--bs-primary);
}

.market-calendar {
  padding-top: 8.5rem;
}

.market-calendar a {
  border-radius: 500px;
}

.market-calendar .calendar-container {
  max-width: 447px;
  border-radius: 30px;
  background: #fff;
}

.market-calendar .calendar-container .calendar-title {
  width: 100%;
  height: 64px;
  text-align: center;
  border-radius: 500px;
  background: var(--footer-text);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#calendario {
  display: none;
}

.market-calendar .calendar-wrapper {
  min-width: 356px;
  height: 356px;
}

.market-calendar .calendar-wrapper .nenhuma-data-feira {
  width: 70%;
  text-align: center;
}

.flatpickr-calendar.inline {
  box-shadow: none !important;
  background: none !important;
  margin: 20px 0;
}

.flatpickr-rContainer {
  margin: 0 auto;
}

.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year {
  font-family: 'Lato', sans-serif !important;
  font-weight: bold !important;
}

.dayContainer {
  row-gap: 4px;
}

.flatpickr-day {
  font-family: 'Lato', sans-serif !important;
  border-radius: 10px !important;
}

.flatpickr-day.selected {
  background: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
}

#market-map,
#more-markets {
  padding-bottom: 8.5rem;
}

#market-map {
  padding-top: 13.5rem;
}

#market-map {
  background: var(--bg-yellow);
}

#market-map .map-wrapper {
  border-radius: 30px;
  max-width: 1320px;
  height: 566px;
  overflow: hidden;
  display: block;
  background-color: #fff;
}

#market-map .map {
  width: 100%;
  height: 100%;
  display: block;
}

#more-markets {
  background: var(--bg-beige);
  padding-top: 11.5rem;
}

#more-markets p strong {
  font-size: 24px;
}

#more-markets .selects select {
  border-radius: 500px;
  background-color: #fff;
  border: none;
  width: 180px;
}

.expositor-avatar {
  width: 77px;
  height: 77px;
  border-radius: 500px;
  overflow: hidden;
  border: 2px solid var(--bs-primary);
  margin-right: 16px;
}

.expositor-avatar img {
  height: 100%;
}

.dropdown-item {
  font-weight: 500;
  color: var(--bs-secondary);
}

.markets-slider {
  padding-bottom: 8.5rem;
  min-height: 750px;
  width: fit-content;
  width: max-content;
}

.markets-slider .markets-swiper-controls {
  display: none !important;

} 

.markets-slider .markets-swiper {
  min-height: 750px;
  width: max-content;
}

.markets-slider .all-cards.desk {
  display: grid;
  min-width: max-content;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px 24px;
}

@media (width < 768px) {
  ol.breadcrumb  {
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  .market-title {
    flex-direction: column;
    align-items: center !important;
    text-align: center !important;
  }

  .market-title.avatar {
    flex-direction: column;
    align-items: start !important;
    text-align: start !important;
  }

  .dropdown {
    align-self: center !important;
  }

  .share {
    margin: 1rem auto 0;
  }

  .market-images .col-10 {
    width: 100%;
  }

  .market-images .small-images {
    flex-direction: row !important;
    padding: 1rem !important;
    gap: 1rem;
  }

  .market-links {
    margin: 0 0.5rem;
  }

  .market-links .location {
    align-items: start !important;
  }

  .market-links p {
    max-width: 70%;
    text-align: start !important;
  }

  .market-calendar {
    padding-top: 0;
  }

  .market-calendar .calendar-container {
    margin: 3rem auto 0;
  }

  #more-markets {
    padding-top: 5.5rem;
  }

  #market-map h5.title,
  #more-markets h5.title {
    text-align: center;
    width: 19rem;
    margin: 0 auto;
  }

  #more-markets .filters .w-fit  {
    width: 100%!important;
    text-align: center !important;
  }

  #more-markets .filters .selects label[for="filtrar"] {
    flex-direction: column;
    align-items: start !important;
  }

  #market-map {
    padding-top: 8.5rem;
    padding-bottom: 5.5rem;
  }

  #market-map .map-wrapper {
    height: 300px;
  }

  #more-markets .selects {
    flex-direction: column;
    align-items: start !important;
    margin-bottom: 2rem;
  }

  #more-markets .selects select,
  #more-markets label {
    width: 100%;
  }

  .markets-slider {
    padding-bottom: 5.5rem;
    min-height: fit-content;
  }

  .markets-slider .markets-swiper-controls {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    position: relative !important;
  }

  .market-images .small-images .image-wrapper,
  .market-images .small-images img {
    width: 220px;
    height: 80px;
  }
}

@media (width < 1300px) {
  #more-markets .filters {
    flex-direction: column;
    align-items: start !important;
  }
}

@media (width < 1400px) {
  .market-links {
    border-radius: 30px;
  }
}

@media (width > 768px) and (width < 1400px) {
  .market-images .small-images .image-wrapper,
  .market-images .small-images img {
    width: 150px;
    height: 120px;
  }
}

/* @media (max-width: 767.98px) {
  .markets-slider .markets-swiper {
    display: flex;
    justify-content: center;
  }
  .markets-slider .swiper-slide {
    display: flex;
    justify-content: center;
  }
} */

@media (max-width: 767.98px) {
  /* .markets-slider .markets-swiper {
    padding-left: 5vw;
    padding-right: 5vw;
    box-sizing: border-box;
    overflow: visible;
  }
  .markets-slider .swiper-slide {
    width: 90vw !important;
    max-width: 340px;
    display: block;
  } */
   .markets-slider .markets-swiper {
    display: flex;
    justify-content: center;
    min-height: auto;
  }
  .markets-slider .swiper-slide {
    display: flex;
    justify-content: center;
  }
  .markets-swiper-pagination {
    margin: 0 auto 0.5rem auto;
    text-align: center;
    position: static;
  }
  .markets-swiper-arrows {
    justify-content: center !important;
    gap: 2rem;
    margin-bottom: 1.5rem;
  }
  .swiper-button-prev-custom,
  .swiper-button-next-custom {
    color: #947b77;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 1rem;
    line-height: 1;
    transition: color 0.2s;
  }
  .swiper-button-prev-custom:hover,
  .swiper-button-next-custom:hover {
    color: #5a3c2e;
  }

  .swiper-pagination {
    z-index: 1 !important;
    margin: 0 !important;
  }

  .markets-slider .markets-swiper {
    width: 300px;
  }
}
