.page-result {
  display: flex;
  flex-flow: row wrap;
  flex-grow: 1 !important;
  position: relative;
}
@media (max-width: 991px) {
  .page-result.opened .search-form-nav {
    width: calc(247px + 1.5rem);
    padding: 30px 20px 20px;
  }
}
@media (max-width: 767px) {
  .page-result.opened .search-form-nav {
    width: 100%;
  }
}

.search_form {
  align-items: flex-end;
}
.search_form .col-form-label {
  font-size: 14px;
  line-height: 17px;
  font-weight: 400;
  margin-bottom: 4px;
  padding-bottom: 0;
  padding-top: 12px;
}
.search_form .form-control, .search_form .form-select {
  padding: 7px 12px;
  font-size: 15px;
  line-height: 24px;
  font-weight: 400;
}
.search_form .btn-primary {
  text-transform: uppercase;
  min-height: 40px;
  width: 100%;
}
.search_form .btn-primary:hover {
  background-color: #1e2b46;
  border-color: #1e2b46;
}
@media (max-width: 991px) {
  .search_form {
    display: none;
  }
  .search_form.show_research {
    display: block;
    margin-bottom: 30px;
  }
  .search_form.show_research .btn-primary {
    margin-top: 20px;
  }
}

.mobile-filters-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
@media (max-width: 767px) {
  .mobile-filters-btn .btn {
    font-size: 15px;
  }
}
@media (max-width: 500px) {
  .mobile-filters-btn .btn {
    min-width: fit-content;
  }
}

.search-form-nav {
  color: #1e2b46;
  display: flex;
  flex-flow: column wrap;
  margin-right: 33px !important;
  padding-bottom: 1rem;
  padding-top: 1rem;
  width: 242px;
}
.search-form-nav .close-btn-cnt {
  display: none;
  position: absolute;
  right: 10px;
  top: 5px;
  font-size: 18px;
  z-index: 1000;
  cursor: pointer;
}
.search-form-nav .show-results-btn {
  display: none;
}
.search-form-nav .show-results-btn .btn {
  min-height: 40px;
  width: 100%;
  margin-top: 30px;
}
.search-form-nav .show-results-btn .btn:hover {
  background-color: #273a61;
}
.search-form-nav .search-form-element {
  margin-bottom: 1rem;
}
.search-form-nav .search-form-element .search-form-title {
  border-bottom: 1px solid #adb5bd;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  padding-bottom: 0.225rem;
  margin-bottom: 0.5rem;
}
.search-form-nav .search-form-element .search-form-body .form-control {
  padding: 7px 12px;
  font-size: 13px;
  line-height: 24px;
  font-weight: 400;
}
.search-form-nav .search-form-element .search-form-body .form-control::placeholder {
  font-weight: 500;
}
.search-form-nav .search-form-element .search-form-body .search-form-rating {
  font-size: 14px;
}
.search-form-nav .search-form-element .search-form-body .search-form-rating .fa-star {
  color: #F0A541;
}
@media (max-width: 991px) {
  .search-form-nav {
    background-color: #fff;
    height: 100%;
    left: 0;
    margin-right: 0 !important;
    overflow-x: hidden;
    position: fixed;
    top: 0;
    transition: all 0.3s ease-in-out;
    width: 0;
    z-index: 9999;
  }
  .search-form-nav .close-btn-cnt {
    display: block;
  }
  .search-form-nav .show-results-btn {
    display: block;
  }
}

.result-container {
  width: calc(100% - 275px);
}
.result-container .result-header {
  font-size: 35px;
  line-height: 42px;
  color: #F0A541;
  margin-top: 26px;
  margin-bottom: -14px;
}
.result-container .result-listing {
  display: flex;
  align-items: start;
  justify-content: space-between;
  padding-bottom: 1rem;
  padding-top: 1.3rem;
}
.result-container .result-listing .result-listing-summary .rs-title {
  font-weight: 800;
  font-size: 18px;
  line-height: 22px;
}
.result-container .result-listing .result-listing-summary .rs-counter {
  font-weight: 500;
  font-size: 13px;
  line-height: 15px;
}
.result-container .result-listing .result-filters {
  display: flex;
  align-items: center;
  color: #797979;
  flex-direction: row;
  flex-grow: 1;
  font-size: 14px;
  line-height: 17px;
  justify-content: end;
  gap: 26px;
  margin-bottom: 10px;
}
.result-container .result-listing .result-filters .visualization-filter {
  display: flex;
  align-items: center;
  gap: 6px;
}
.result-container .result-listing .result-filters .visualization-filter span {
  width: 70px;
}
.result-container .result-listing .result-filters .visualization-filter .vis-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-bottom: 3px solid transparent;
  padding: 5px 3px 2px;
  text-align: center;
  cursor: pointer;
  transition: all, 0.25s;
}
.result-container .result-listing .result-filters .visualization-filter .vis-btn.active, .result-container .result-listing .result-filters .visualization-filter .vis-btn:hover {
  color: #273a61;
  border-color: #273a61;
}
.result-container .result-listing .result-filters .sort-filter {
  display: flex;
  align-items: center;
  gap: 6px;
}
.result-container .result-listing .result-filters .sort-filter span {
  width: 100px;
}
@media (max-width: 1199px) {
  .result-container .result-listing {
    flex-direction: column;
  }
  .result-container .result-listing .result-filters {
    width: 100%;
    justify-content: space-between;
  }
}
@media (max-width: 767px) {
  .result-container .result-listing .result-filters {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 20px;
  }
}
.result-container .result-labels {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 4px;
}
.result-container .result-labels span {
  color: #797979;
}
@media (max-width: 991px) {
  .result-container {
    width: 100%;
  }
}

.results {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}
.results .result-element {
  display: flex;
  flex: 1 1 100%;
  flex-wrap: wrap;
  background-color: #F5F5F5;
  border-radius: 12px;
  color: #1e2b46;
}
.results .result-element .result-gallery {
  height: 275px;
  width: 30%;
  flex: 1 0 30%;
  border-radius: 12px 0 0 12px;
  position: relative;
  flex-shrink: 0;
}
.results .result-element .result-gallery .gallery-badges {
  position: absolute;
  top: 15px;
  left: 15px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}
.results .result-element .result-gallery .gallery-badges .gallery-badge {
  background-color: #F0A541;
  color: #1e2b46;
  border-radius: 4px;
  font-size: 11px;
  line-height: 13px;
  font-weight: 500;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.results .result-element .result-gallery .gallery-badges .gallery-badge.last {
  background-color: #3ba8e3;
  color: #ffffff;
}
.results .result-element .result-gallery .gallery-functions {
  position: absolute;
  bottom: 15px;
  left: 15px;
  display: flex;
  gap: 8px;
  z-index: 2;
}
.results .result-element .result-gallery .gallery-functions .gallery-function {
  cursor: pointer;
  width: 30px;
  height: 30px;
  border-radius: 2px;
  background-color: rgba(30, 43, 70, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  transition: background-color 0.25s;
}
.results .result-element .result-gallery .gallery-functions .gallery-function:hover {
  background-color: #1e2b46;
}
.results .result-element .result-gallery .gallery-item {
  height: 100%;
  width: 100%;
  border-radius: 12px 0 0 12px;
}
.results .result-element .result-gallery .gallery-item .carousel-inner {
  align-items: center;
  display: flex;
  flex-direction: row;
  height: 275px;
  justify-items: center;
  border-radius: 12px 0 0 12px;
}
.results .result-element .result-gallery .gallery-item .carousel-inner .carousel-item {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 12px 0 0 12px;
  height: 100%;
  width: 100%;
  cursor: pointer;
}
.results .result-element .result-gallery .gallery-item .carousel-control-prev, .results .result-element .result-gallery .gallery-item .carousel-control-next {
  font-size: 0.7em;
}
.results .result-element .result-body {
  padding: 20px;
  flex: 1 0 70%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.results .result-element .result-body .result-top {
  display: flex;
  flex-direction: column;
}
.results .result-element .result-body .result-top .result-place {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row-reverse;
}
.results .result-element .result-body .result-top .result-place .result-location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
}
.results .result-element .result-body .result-top .result-place .result-name {
  font-size: 22px;
  line-height: 27px;
  text-transform: uppercase;
  font-weight: 600;
}
.results .result-element .result-body .result-top .result-place .result-name a {
  text-decoration: none;
  color: #1e2b46;
}
.results .result-element .result-body .result-top .result-rating {
  display: flex;
  align-items: center;
  gap: 1px;
  font-size: 16px;
  color: #F0A541;
}
.results .result-element .result-body .result-top .result-description {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  line-height: 19px;
  font-size: 15px;
  margin: 10px 0;
  color: #797979;
}
.results .result-element .result-body .result-top .result-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.results .result-element .result-body .result-top .result-amenities .result-amenity {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  line-height: 16px;
}
.results .result-element .result-body .result-top .result-amenities .result-amenity .amenity-title {
  font-weight: bold;
}
.results .result-element .result-body .result-top .result-amenities .result-amenity .amenity-content {
  display: flex;
  align-items: center;
  gap: 10px;
}
.results .result-element .result-body .result-top .result-amenities .result-amenity .amenity-content .amenity {
  display: flex;
  align-items: center;
  gap: 4px;
}
.results .result-element .result-body .result-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}
.results .result-element .result-body .result-bottom .result-price {
  display: flex;
  flex-direction: column;
}
.results .result-element .result-body .result-bottom .result-price span {
  font-size: 32px;
  line-height: 27px;
  font-weight: 500;
}
.results .result-element .result-body .result-bottom .result-price span.number {
  color: #F0A541;
}
.results .result-element .result-body .result-bottom .result-price .price-label {
  font-size: 11px;
  line-height: 13px;
}
.results .result-element .result-full-description {
  width: 100%;
  height: 0;
  overflow: hidden;
  flex: 1 1 100%;
  transition: all, 0.25s;
}
.results .result-element .result-full-description.show {
  height: auto;
  padding: 12px;
}
.results.grid {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 2%;
}
.results.grid .result-element {
  flex: 0 0 32%;
  flex-direction: column;
  height: 100%;
  margin-bottom: 15px;
}
.results.grid .result-element .result-gallery {
  height: 222px;
  width: 100%;
  border-radius: 12px 12px 0 0;
}
.results.grid .result-element .result-gallery .gallery-item {
  border-radius: 12px 12px 0 0;
}
.results.grid .result-element .result-gallery .gallery-item .carousel-inner {
  height: 222px;
  border-radius: 12px 12px 0 0;
}
.results.grid .result-element .result-gallery .gallery-item .carousel-inner .carousel-item {
  border-radius: 12px 12px 0 0;
}
.results.grid .result-element .result-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 332px;
}
.results.grid .result-element .result-body .result-top .result-place {
  flex-direction: column;
  align-items: flex-start;
}
.results.grid .result-element .result-body .result-bottom {
  margin-top: 30px;
}
.results.grid .result-element .result-full-description {
  flex: auto;
}
@media (max-width: 1399px) {
  .results.grid .result-element {
    flex-basis: 49%;
  }
}
@media (max-width: 767px) {
  .results.grid .result-element {
    flex-basis: 100%;
  }
}

.btn-outline-primary {
  border-color: #1e2b46;
  color: #1e2b46;
  min-width: 180px;
}
.btn-outline-primary:hover {
  border-color: #273a61 !important;
  background-color: #273a61 !important;
  color: #ffffff !important;
}

/* Lightbox */
.lightbox {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(30, 43, 70, 0.8);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.lightbox.show {
  opacity: 1;
  visibility: visible;
}
.lightbox .lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  font-size: 30px;
  cursor: pointer;
  z-index: 1051;
}
.lightbox .lightbox-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  position: relative;
}
.lightbox .lightbox-content .lightbox-image {
  max-height: 80vh;
  max-width: 90%;
  object-fit: contain;
}
.lightbox .lightbox-content .lightbox-navigation {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.lightbox .lightbox-content .lightbox-navigation .lightbox-nav-btn {
  color: white;
  font-size: 30px;
  padding: 10px;
  background-color: rgba(30, 43, 70, 0.5);
  border: none;
  cursor: pointer;
  z-index: 1051;
}
.lightbox .lightbox-thumbnails {
  display: flex;
  justify-content: center;
  padding: 10px 0;
  overflow-x: auto;
  background-color: rgba(30, 43, 70, 0.7);
}
.lightbox .lightbox-thumbnails .lightbox-thumbnail {
  width: 74px;
  height: 46px;
  margin: 0 5px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  opacity: 0.5;
  transition: all 0.25s;
}
.lightbox .lightbox-thumbnails .lightbox-thumbnail.active, .lightbox .lightbox-thumbnails .lightbox-thumbnail:hover {
  opacity: 1;
}