.building-apartament-type {
  display: flex;
}

.margon-right-apartment {
  padding-left: 25px;
}

.card-container {
  cursor: pointer;
}

.searchBox {
  cursor: pointer;
}

.numbersSection {
  display: flex;
  justify-content: center;
}

.gm-ui-hover-effect {
  display: none !important;
}

.custom-container {
  max-width: 1360px;
  /* padding: 85px 0; */
  margin: 90px auto;
}

.numbers-section-box-all {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: start;
}

.numbers-section-box {
  width: calc(25% - 15px);
}

.empty-border {
  width: 2px;
  height: 36px;
  background-color: #845b36;
  margin: 0 auto;
}

.numbers-section-box .number-section .counterSection {
  color: #845b36;
  text-align: center;
  font-family: Poppins;
  font-size: 64px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.numbers-section-box .number-section-text {
  margin-top: 16px;
  color: #001f35;
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 24px;
  padding: 0 32px;
}

/* Section box */
.see-more-boxes {
  margin-bottom: 47px;
  margin-top: 47px;
  display: flex;
  gap: 30px;
}

.see-more-box-image img {
  width: 100%;
  height: auto;
}

.see-more-box-text {
  text-align: center;
  padding: 24px 0 24px 0;
}

.see-more-box-text a {
  color: #000;
  font-size: 38px;
  font-style: normal;
  font-weight: 400;
  line-height: 46px;
  text-decoration: none;
  position: relative;
}

.see-more-box-text a::before {
  position: absolute;
  bottom: 0;
  left: 0;
  content: "";
  width: 0%;
  height: 2px;
  background-color: #845b36;
  transition: 0.3s ease-in-out width;
}

.see-more-box-text a:hover::before {
  width: 100%;
}

.see-more-box-text a:hover {
  text-decoration: none;
}

.see-more-box-text a img {
  width: 26px;
  height: 18px;
}

/* Galeria */
.gallery-mmst {
  margin-bottom: 120px;
}

.gallery-mmst-picture {
  display: flex;
  flex-wrap: wrap;
  margin-top: 47px;
}

.gallery-mmst .gallery-mmst-picture a {
  width: 25%;
}

.gallery-mmst .gallery-mmst-picture img {
  aspect-ratio: 640 / 365;
  width: 100%;
}

/* Podstrona mieszkania */
.apartament-map-all {
  position: relative;
}

.apartament-search-choose-building {
  position: absolute;
  top: 0;
  transform: translate(-50%, -50%);
  z-index: 999;
  left: 50%;
  display: flex;
  align-items: center;
}

.apartment-search_breadcrumb .choose-building-front a,
.apartment-search_breadcrumb .choose-building-courtyard a {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.apartment-search_box-submit-button-all .apartment-search_box-submit-button {
  max-width: 185px;
  min-width: 100px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: center;
}

.apartment-search_form-box .building-apartament-type {
  display: none;
}

.btn-brown {
  max-width: 185px;
  min-height: 55px;
  max-height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.apartment-search_breadcrumb .button-down-build {
  padding: 13px 0px;
  min-height: 55px;
  max-height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 280px;
}

.btn-brown {
  background-color: #845b36;
  border-color: #845b36;
}

.apartament-search-height {
  display: flex;
  align-items: center;
}

.apartment-search_breadcrumb .choose-building-front button,
.apartment-search_breadcrumb .choose-building-courtyard button {
  position: relative;
  width: 202px;
  max-height: 55px;
  background: #845b36;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  line-height: normal;
  border: 3px solid #845b36;
  border-radius: 4px 0px 0px 4px;
  padding: 14px 15px;
  -webkit-transition: background 0.3s ease, color 0.3s ease, border 0.3s ease;
  transition: background 0.3s ease, color 0.3s ease, border 0.3s ease;
  display: flex;
  gap: 8px;
  align-items: center;
  cursor: pointer;
  justify-content: center;
  text-decoration: none;
}

.apartment-search_breadcrumb > li:not(.disabled) > button:hover {
  background: #fff;
  color: #845b36;
}

.apartment-search_breadcrumb > li.disabled > button {
  background: #bbb;
  border: 3px solid #8c918c;
  cursor: pointer;
  max-width: 185px;
}

.apartment-search_breadcrumb > li.disabled > button:hover {
  background: #bbb;
  color: #fff;
}

.apartment-search_breadcrumb > li > a:focus,
.apartment-search_breadcrumb > li > button:hover {
  text-decoration: none;
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flex-apartment {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.swiper-button-prev {
  left: 0;
}

.swiper-button-next {
  right: 0;
}

.swiper-button-next,
.swiper-button-prev {
  display: inline-flex;
  height: 42px;
  width: 42px;
  padding: 8px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  opacity: 0.9;
  background: #845b36;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.swiper-button-prev:after {
  content: "";
  width: 26px;
  left: 20px;
  height: 18px;
  transform: rotate(180deg);
  font-family: none;
  background-image: url(../images/svg/arrow_CTA.svg);
  background-repeat: no-repeat;
}

.swiper-button-next::after {
  content: "";
  right: 20px;
  width: 26px;
  height: 18px;
  font-family: none;
  background-image: url(../images/svg/arrow_CTA.svg);
  background-repeat: no-repeat;
}
.swiper-floor {
  margin: 32px auto;
  padding: 0 50px;
  max-width: 1200px;
}

.swiper-slide-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* .swiper-slide {
  max-width: 256px;
} */

.swiper-slide-box-image {
  max-width: 256px;
  height: auto;
}

.swiper-slide-box-image img {
  width: 100%;
}

.margin-auto-image-flat {
  text-align: center;
}
.news-primary .row.row-news {
  display: none;
}

.news-primary .news-items_old .heading-primary_title {
  display: none;
}

#map {
  height: 100%;
  width: 100%;
}

#locations {
  margin-top: 20px;
}

.wpcf7-form .from-field .wpcf7-form-control.wpcf7-textarea {
  min-height: 228px;
  height: 100%;
}

.call-item_avatar > div {
  height: 60px;
}

.location-features.fancy-section {
  padding-bottom: 94px;
}

.title-slider-top {
  color: #845b36;
  font-size: 44px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-top: 32px;
}

.promotion-primary_link .btn-arrow {
  margin-right: 0px;
  margin-left: 16px;
}

.map-section-all {
  width: 100%;
  display: flex;
}

.map-section-all .map-section-map {
  width: 50%;
}

.map-section-all .map-section-map #map {
  width: 100%;
}

.map-section-right {
  width: 50%;
  padding: 20px 80px 80px 80px;
  background-color: #845b36;
}

.map-section-right .titleReset {
  margin: 23px 0;
  color: #fff;
}

.map-section-right .heading-primary .heading-primary_title:before {
  background-color: #fff;
}

.map-section-right-text {
  margin-bottom: 23px;
  color: #fff;
}

.map-section-button-all ul {
  padding: 0 20px;
  color: #fff;
}

.map-section-button-all ul li button {
  border: none;
  color: #fff;
  background: none;
  padding: 0;
  margin: 0;
  transition: 0.3s ease-in-out color;
  text-align: left;
}

.map-section-button-all ul li button:hover {
  color: #000;
}

#floating-panel {
  position: absolute;
  top: 10px;
  left: 25%;
  z-index: 5;
  background-color: #fff;
  padding: 5px;
  border: 1px solid #999;
  text-align: center;
  font-family: "Roboto", "sans-serif";
  line-height: 30px;
  padding-left: 10px;
}

#floating-panel {
  margin-left: -52px;
}

.gm-style-iw-d,
.gm-style-iw-a .gm-style-iw-t .gm-style-iw.gm-style-iw-c {
  border: 1px solid #845b36;
  padding: 0;
  border-radius: 0;
  padding-top: 0 !important;
}

.gm-style-iw-a .gm-style-iw-tc::after {
  background-color: #845b36;
}

.gm-style-iw-d {
  overflow: auto !important;
}

.mapa-location-icon{
  width: 127px;
  height: 45px;
  padding: 8px 16px;
  border-radius: 0;
}

.mapa-location-icon img {
  width: 100%;
  height: auto;
}

.map-section-button-all ul li,
.map-section-button-all ul {
  text-align: left;
}

.swiper-slide-box-image {
  position: relative;
}

.hover-status {
  position: absolute;
  top: 50%;
  left: 50%;
  font-weight: 600;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  pointer-events: none;
  background: #845b36;
  width: calc(100% - 8px);
  padding: 10px;
  color: #000;
}

.swiper-slide-box-image:hover .hover-status {
  opacity: 0.7;
}

.ask {
  opacity: 0;
}

.selected-flat {
  border: 3px solid #845b36;
}

.swiper-slide .link-pdf {
  color: #000;
  transition: color 0.3s ease-in-out;
}

.swiper-slide .link-pdf:hover {
  text-decoration: none;
  color: #845b36;
}

.map-location-aparament {
  margin-top: 120px;
}

.map-location-aparament .map-location iframe {
  width: 100%;
}

.see-more-section-about-us{
  margin-top: 90px;
}

.see-more-box-text-p{
  padding: 20px 5px 0 5px;
  font-size: 16px;
}

.SwiperSeeMore{
  margin-top: 36px;
}

.SwiperSeeMore img{
  max-height: 270px;
}

.see-more-section-about-us .swiper-button-next.swiper-button-disabled,
.see-more-section-about-us .swiper-button-prev.swiper-button-disabled {
  opacity: 0;
}

@media (max-width: 1569px) {
  body .form-field textarea {
    height: 228px;
    min-height: 100%;
  }
  .gallery-mmst {
    padding-top: 100px;
  }
  .title-slider-top {
    font-size: 40px;
  }

  .see-more-section-about-us{
    padding-top: 74px;
  }
}

@media (max-width: 1399px) {
  .custom-container {
    max-width: 1140px;
    margin: 47px auto;
  }

  .numbers-section-box .number-section .counterSection {
    font-size: 36px;
  }
  .numbers-section-box .number-section-text {
    font-size: 14px;
    line-height: 22px;
  }
  .title-slider-top {
    font-size: 38px;
  }
}

@media (max-width: 991px) {
  .gallery-mmst {
    padding-bottom: 74px;
  }

  .see-more-section-about-us{
    padding-top: 56px;
  }

  body .fancy-slider-home .slick-arrow-holder {
    display: none;
  }

  .numbers-section-box {
    width: calc(50% - 15px);
  }

  .see-more-box-text a {
    font-size: 24px;
    line-height: 34px;
  }

  .see-more-box-text a img {
    width: 20px;
    height: 16px;
  }
  .apartament-search-choose-building {
    position: static;
    transform: none;
    z-index: 999;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .title-slider-top {
    font-size: 32px;
  }

  .apartment-search_breadcrumb .choose-building-front button,
  .apartment-search_breadcrumb .choose-building-courtyard button {
    position: relative;
    width: 160px;
    height: 45px;
    background: #845b36;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    line-height: normal;
    border: 3px solid #845b36;
    border-radius: 4px 0px 0px 4px;
    padding: 14px 0px;
    -webkit-transition: background 0.3s ease, color 0.3s ease, border 0.3s ease;
    transition: background 0.3s ease, color 0.3s ease, border 0.3s ease;
    display: flex;
    gap: 8px;
    align-items: center;
    cursor: pointer;
    justify-content: center;
    text-decoration: none;
  }

  .apartment-search_breadcrumb .choose-building-front button img,
  .apartment-search_breadcrumb .choose-building-courtyard button img {
    width: 17px;
    height: 21px;
  }
  .apartment-search_breadcrumb .button-down-build,
  .btn-brown {
    max-width: 185px;
    min-height: 45px;
    max-height: 45px;
  }
  .map-section-all {
    flex-direction: column;
  }
  .map-section-all .map-section-map {
    width: 100%;
  }
  .map-section-right {
    width: 100%;
  }
  #map {
    height: 350px;
  }

  .call-item_content_adess{
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .padding-heading-primary {
    padding: 0 15px;
  }
  .title-slider-top {
    font-size: 28px;
  }
  .map-section-right {
    padding: 20px 20px 50px 20px;
  }
  .see-more-boxes {
    flex-direction: column;
    align-items: center;
  }

  .see-more-box-text a {
    font-size: 18px;
    line-height: 22px;
  }

  .see-more-box-text a img {
    width: 16px;
    height: 14px;
  }

  .see-more-section-about-us{
    padding-top: 36px;
  }

  /* Galeria */
  .gallery-mmst {
    padding-bottom: 68px;
  }

  .gallery-mmst-picture {
    display: flex;
    flex-direction: column;
  }

  .gallery-mmst .gallery-mmst-picture a {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .gallery-mmst .gallery-mmst-picture img {
    /* aspect-ratio: 475 / 470; */
    width: 100%;
    height: auto;
    aspect-ratio: 360 / 270;
  }

  .apartment-search_breadcrumb .button-down-build,
  .btn-brown {
    max-width: 155px;
    min-height: 45px;
    max-height: 45px;
  }

  .flex-apartment {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 479px) {
  .numbers-section-box {
    width: 100%;
  }

  .numbers-section-box .number-section-text {
    padding: 0 15px;
  }
}

.fancy-slider-home .slick-arrow-holder {
  display: -webkit-flex;
  position: absolute;
  top: 50%;
  width: 100%;
  justify-content: space-between;
}

.apartment-search_pagination {
  margin-bottom: 100px;
}

.fancy-slider-home-down {
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s, opacity 0.5s linear;
}

.fancy-slider-home-down.slick-initialized {
  visibility: visible;
  opacity: 1;
}

.call-item .call-item_avatar {
  width: 80px;
}

.btn-primary.btn-dark.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

/* .choose-building-courtyard{
  display: none;
} */

/* .apartment-map.floors-map.active-map.courtyard{
  display: none;
} */

#wpcf7-f270-o1 .wpcf7-form.init .form-submit .wpcf7-spinner {
  display: none;
}

#wpcf7-f270-o1 .wpcf7-form.init .form-submit .btn-arrow {
  margin-right: 0;
  margin-left: 16px;
}

.box-background-title {
  background-color: #fff;
  margin-right: 0;
  color: #2d2d2d;
  text-align: center;
  padding: 25px;
  border-radius: 10px;
}

/* .box-background-title::before{
  position: absolute;
  top: 0;
  padding: 20px;
  left: 50%;
  transform: translateX(-50%);
  content: "";
  width: 120%;
  height: 100%;
  background-color: #fff;
  z-index: 1;
} */

/* .header-primary_title{
  position: relative;
  z-index: 2;
}

.header-primary_link{
  position: relative;
  z-index: 2;
} */

.SwiperSeeMore .see-more-box-text a{
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 99999; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* The Close Button */
.close {
  padding-right: 15px;
  padding-top: 15px;
  color: #000;
  position: absolute;
  top: 0;
  right: 0;
  font-size: 40px;
  font-weight: bold;
  opacity: 1;
  transition: opacity .3s ease-in-out;
}

.close:hover,
.close:focus {
  color: #000;
  opacity: 0.6;
  text-decoration: none;
  cursor: pointer;
}

/* blog-page */

.text-padding{
  padding-bottom: 58px;
}

/* .about-investment.section-blog-page{
padding-top: 90px;
padding-bottom: 90px;
} */

.video-play{
  padding-top: 58px;
}

.video-play p{
  padding-right: 15px;
  padding-left: 15px;
}

.video-section{
padding-bottom: 90px;
}

.video-desktop{
  width: 100%;
  border-radius: 10px;

}

.text-top-rigth-footer{
  margin-bottom: 30px;
}

.text-top-rigth-footer span,
.text-bottom-rigth-footer span{
  color: #845b36;
}

.see-more-box .see-more-box-image img{
  aspect-ratio: 360 / 270;
  object-fit: contain;
}

.map-location-aparament-contact{
  margin: 0;
}

.call-item_content_adess{
  display: flex;
  gap: 20px;
}

.gallery-mmst-picture a:nth-child(n+5) {
  display: none; /* Ukryj wszystkie od piątego elementu (indeksowane od 1) */
}

.apartment-search_pagination .pageLink,
.swiper-slide-box .swiper-slide-box-image{
  cursor: pointer;
}


.wpcf7-form.sent .wpcf7-response-output{
  display: none;
}

.posts-row.posts-home-all{
  display: flex;
  flex-wrap: wrap;
}

.default-pagination.posts-page-pagination{
  display: flex;
  gap: 9px;
  list-style: none;
  margin: 0;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.default-pagination.posts-page-pagination li a{
  color: #000;
  transition:  color .3s ease-in-out;
  text-decoration: none;
  font-weight: 500;
}

.default-pagination.posts-page-pagination li a:hover{
  color: #845b36;
  text-decoration: none;
}

.pagination-arrow.pagination-prev{
  transform: rotate(180deg);
}

.default-pagination.posts-page-pagination .current{
  color: #845b36;
}

@media (max-width: 768px) {
  .posts-row.posts-home-all{
    justify-content: center;
  }
  .news-item_thumbnail {
    border-radius: 0;
    margin: 0;
}
}