#search-market-video {
  background: var(--bg-markets);
}

#search-market-video .video-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
}

#search-market-video video {
  width: 100%;
  height: 100%;
}

#search-market-video .search-bar {
  position: relative;
  top: -40px;
  box-shadow: 0px 3px 30px #0000000d;
  border-radius: 500px;
  height: 80px;
}

#search-market-video .search-bar .search-button {
  padding: 0 32px;
  border-radius: 500px;
  font-weight: bold;
  height: 50px;
}

#search-results {
  background: var(--bg-markets);
  padding: 4rem 0 8.5rem;
}

.filters p strong {
  font-size: 24px;
}

.filters select {
  border-radius: 500px;
  background-color: #fff;
  border: none;
  width: 130px;
}

#locations-map {
  visibility: hidden;
}

#locations-map.open {
  position: fixed;
  width: 100%;
  height: 100%;
  background: #00000080;
  z-index: 5;
  top: 0;
  visibility: visible;
}

#locations-map.open.has-opacity {
  opacity: 1;
}

#locations-map .map {
  width: 100%;
  height: 100%;
}

.toggle-map {
  position: fixed;
  z-index: 3;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-yellow);
  transition: 500ms;
  border-radius: 10px;
  padding: 15px 30px;
}

.toggle-map.hide {
  z-index: 5;
}

.toggle-map:hover {
  background: #f3d828;
  bottom: 35px;
}

.toggle-map:focus,
.toggle-map:active {
  background: #f3d828 !important;
}

.tags,
.tags div {
  display: flex;
}

.tags {
  gap: 20px;
}

.tags div {
  gap: 10px;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__arrow
  b {
  border: solid var(--bs-primary) !important;
  border-width: 0 1px 1px 0 !important;
  display: inline-block;
  padding: 3px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  left: 15% !important;
  top: 40% !important;
  opacity: 1;
}

.order .select2-selection {
  border-radius: 500px !important;
  height: 32px !important;
  padding: 0 !important;
}

.order .select2-selection__rendered {
  height: 30px !important;
}

.order .select2-selection__arrow {
  height: 0px !important;
  padding-right: 30px !important;
}

.order
  .select2-container--default
  .select2-selection--single
  .select2-selection__arrow
  b {
  border-color: var(--bd-select) !important;
  margin-top: 9px !important;
  opacity: 1;
}

.order
  .select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  color: var(--gray-card);
  opacity: 1;
  font-size: 13px;
}

.markets {
  min-height: 750px;
}

@media (width < 768px) {
  .tags {
    gap: 5px;
    flex-direction: column!important;
    align-items: center;
  }

  .tags div {
    gap: 4px;
    flex-direction: column!important;
    align-items: center;
  }

  .tags .btn {
    width: 100%;
    flex: 1;
  }

  .btn .badge {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .search-bar {
    height: fit-content !important;
    border-radius: 30px !important;
    margin: 0 2rem !important;
  }

  .search-bar form {
    flex-direction: column;
    gap: .5rem!important;
  }

  .search-bar form .select2.select2-container.select2-container--default {
    width: 100%;
  }

  #search-results {
    padding: 4rem 0;
  }

  .toggle-map {
    bottom: 10px;
  }

  .toggle-map:hover {
    background: #f3d828;
    bottom: 15px;
  }

  ol.breadcrumb  {
    align-items: center;
    justify-content: center;
    text-align: center;
  }
}

@media (width < 992px) {
  .filters {
    flex-direction: column;
    align-items: center !important;
    gap: 0.5rem;
    margin-bottom: 2rem;
  }
}
