.hero-box-right-search:hover {
    background-color: #b41d1c !important;
}

.hero-box-right-search {
    transition: .5s all;
}

textarea {
    font-family: 'Lexend', sans-serif;
}

.contact-mid .contact-mid-right .wpcf7-submit:hover {
    color: #e80000;
    border: 2px solid #e80000;
    background-color: #fff;
}


.surface sup , .priceform sup {
  font-size: 16px;
  position: relative;
  top: -10px;
}


.prospectus__button {

  background-color: #e30613;
  color: #fff;
  padding: 20px 40px;
  font-size: 24px;
  display: flex;
  width: max-content;
  margin: 0 20px;
  margin-top: 60px;
  border: 2px solid #e30613;
transition: .5s all;
}

.prospectus__button:hover {

  background-color: #fff;
  color: #e30613;
}


.panorama {
  margin: 90px 0;
}

.panorama  iframe {
  height: 700px;
	
}

.flat-info ul {
display: flex;
font-size: 20px;
}

.flat-info ul li {
margin-right: 30px;
}

.flat-info {
border-bottom: 1px solid #e3e3e3;
padding-bottom: 30px;
}

.flat-info ul span {
  color: #e30613;
  font-weight: 600;
}

/* Inline #14 | https://dobregopasterza.milleniumhost.pl/ */

.gall-box-photo1 {
  width: 58%;
}

.gall-box-photo2 {
  width: 20%;
}

.gall-box img {
  height: 610px;
  object-fit: cover;
}

/* Element | https://dobregopasterza.milleniumhost.pl/ */

.gall-box-photo3 {
  width: 22%;
}

#info_popup .price, #floor_info_popup .price {
  text-transform: lowercase !important;
}


.gall-box img {
  padding: 0 !important;
}

.gall-box-photo2 {
  padding-right: 10px;
}

.gall-box-photo1 {
  padding-right: 10px;
}

.field-history--row {
  display: flex;
  align-items: center;
  justify-content: ;
}

.field-history--row label {
  margin-left: auto;
  margin-right: 20px;
}

#history li {
border-bottom: 1px solid #f0f0f0;
}

#history li {
  padding: 10px 5px;
}

#filter {
  background-color: #c8020e;
  color: #fff;
  border: unset;
  padding: 10px 10px;
}

.field-history--row h2 {
  font-size: 30px;
}

.field-history--row {
  margin-bottom: 10px;
}


/* Inline | https://dobregopasterza.milleniumhost.pl/flat/pietro-a-4/#pietro */

.building_a.Budynek.B:hover::before {
  background-color: #c4000130;
  opacity: ;
  content: '';
  position: absolute;
  width: 110px;
  height: 95px;
  bottom: 0px;
  right: 21%;
  border: 2px solid #c40001;
}

.building_a.Budynek.A:hover::before {
  background-color: #c4000130;
  opacity: ;
  content: '';
  position: absolute;
  width: 280px;
  height: 110px;
  bottom: 0px;
  right: -2%;
  border: 2px solid #c40001;
}


#floor_info_popup span:nth-child(1), #info_popup span:nth-child(1) {
  font-size: 28px !important;
}

.page-template-page-pietro #floor_info_popup {
  transform: translate(-230px, -260px) !important;
}

#info_popup, #floor_info_popup {
  min-width: 200px;
}

.page-id-385 #info_popup {
transform: translate(-200px, -200px) !important;
}

@media screen and (max-width: 768px) {
    .gall-box div {
        width: 100%;
    }

    .gall-box img {
        height: 400px;
        object-fit: cover;
    }

    .gall-box-photo2 {
        padding-right: 0;
    }

    .gall-box-photo1 {
        padding-right: 0;
    }

}

/* responsive fix */

@media screen and (min-width: 1600px) and (max-width: 1800px) {
	header .menu > li a {
	  font-size: 18px;
	}
}

@media screen and (min-width: 1400px) and (max-width: 1600px) {
	header .menu > li a {
	  font-size: 16px;
	}
}

@media screen and (min-width: 1200px) and (max-width: 1400px) {
	header .menu > li a {
	  font-size: 15px;
	}

	header .menu > li {
	  padding-left: 2%;
	}

}

@media screen and (max-width: 768px) {
	.fixed-top {
		top: 0;
	}
	
	header #menu-toggle:checked ~ .menu li {
		height: 3em;
		padding: 0.1em;
	}

	header .logo-header img {
		width: 13rem;
	}

	.hero .hero-box .hero-box1 .hero-box1-right .hero-box1-right-53 {
		height: 30%;
	}

	.hero .hero-box .hero-box1 .hero-box1-right .hero-box1-right-left {
		height: max-content;
		align-items: center;
		padding-left: 0;
		text-align: center;
		padding-bottom: 20px;
		justify-content: space-between;
	}

	.hero .hero-box .hero-box1 .hero-box1-right .hero-box1-right-left .hero-box-right-text {
		padding-bottom: 0;
		padding-left: 0;
	}

	.hero .hero-box .hero-box1 .hero-box1-right {
		height: max-content;
	}

	.hero .hero-box .hero-backphoto {
		height: 180px;
		width: 100%;
		object-fit: cover;
	}

	.hero .hero-box {
		height: max-content;
	}

	.hero .hero-box .hero-box1 .hero-box1-right .hero-box-right-title {
		padding-top: 0;
	}

	header #menu {
		align-items: center;
	}

	header .left {
		justify-content: center;
	}

	.sec .sec-left {
		padding-left: 0;
		padding-right: 0;
	}

	h2 {
		font-size: 3rem;
	}

	body {
		font-size: 1.6rem;
		line-height: 2.8rem;
	}

	.text--offerlocal {
		font-size: 1.7rem;
	}


	.sec .sec-right .sec-right-kr {
		padding-left: 0%;
	}

	.sec .sec-right {
		margin-top: 40px;
	}

	.third {
		max-width: 100vw;
		padding: 10px 30px;
	}

	.third .third-right {
		padding-left: 0;
		padding-right: 0;
	}


	.third .third-right .third-right-box1 .third-right-box2 .third-right-box2-icon {
		object-fit: contain;
	}

	.third .third-right .third-right-box1 .third-right-box2 {
		align-items: center;
	}

	.throw .throw-left {
		padding-left: 0;
		padding-right: 0;
	}

	footer .footer-main .footer-main-left .footer-main-left-box1 .footer-main-left-box1-photo {
		max-width: 130px;
		margin-bottom: 20px;
	}

	footer .footer-main {
		padding: 5% 2.5% 2% 4.5%;
	}


	.hero-box1-right-left h3 {
		font-size: 17px;
	}

	.sec {
		max-width: 100vw;
		padding: 10px 30px;
	}

	.home #page-wyszukiwarka-mieszkan {
		max-width: 100vw;
		padding: 10px 30px;
	}

	.gall-box img {
		height: 180px;
	}

	.gallery-main-img {
		height: 100px;
	}
	
	h1 {
		font-size: 3.7rem;
	}

	.gallery {
		margin-top: 60px;
	}

	.ruty {
		padding-bottom: 30px;
		padding-top: 30px;
	}

	#page-wyszukiwarka-mieszkan .header-info, #page-pietro .header-info {
	  padding: 20px 0;
	}

	#page-wyszukiwarka-mieszkan .table_search_box, #page-pietro .table_search_box {
	  padding-top: 10px;
	}

	#page-wyszukiwarka-mieszkan .table_search_box, #page-pietro .table_search_box {
		padding-left: 0;
		padding-right: 0;
	}

	#page-wyszukiwarka-mieszkan .table_search_box .counter-row, #page-pietro .table_search_box .counter-row {
	  justify-content: flex-start;
	  margin: 0;
	  max-width: 100vw;
	}

	#page-wyszukiwarka-mieszkan #table_search_app .range_sliders__slider {
		margin: 0;
	}

	#page-wyszukiwarka-mieszkan #table_search_app .range_sliders__slider {
		width: 100%;
		max-width: 100%;
	}

	#page-wyszukiwarka-mieszkan #table_search_app .range_sliders {
	  overflow: visible;
	}


	.article-content {
	  width: 100%;
	}

	.lista_mieszkan__wrapper {
	  width: 100%;
	}

	.page-wyszukiwarka-mieszkan-ozdobnik::after {
	  width: 85px;
	  height: 85px;
	  display: none;
	}

	.page-wyszukiwarka-mieszkan-ozdobnik {
	  margin-bottom: 0;
	}

	  #page-wyszukiwarka-mieszkan .table_search_box, #page-pietro .table_search_box {
		padding-left: 0;
		padding-right: 0;
	  }

	#page-wyszukiwarka-mieszkan .table_search_box .counter-row, #page-pietro .table_search_box .counter-row {
	  padding: 0;
	  padding-bottom: 20px;
	}

	#page-wyszukiwarka-mieszkan .table_search_box, #page-pietro .table_search_box {
	  padding-top: 10px;
	}

	.standard-main-img {
	  height: 100px;
	}

	  h1 {
		font-size: 2.9rem;
	  }

	.prospectus__button {
	  padding: 10px 20px;
	  font-size: 18px;
	  margin: 0 10px;
	  margin-top: 30px;
	  margin-bottom: 30px;
	}


	.gall .gall-mid .gall-mid-wrapper {
		height: 210px;
		margin-bottom: ;
		margin-top: 20px;
	}
	.gall .gall-mid .gall-mid-wrapper .gall-mid-wrapper-img {
		object-fit: cover;
	}

	.location-main-img {
	  height: 100px;
	}

	#map {
	  min-height: 40vh;
	}

	.contact-main-img {
	  height: 100px;
	}

	  h4 {
		font-size: 2rem;
	  }

		#page-wyszukiwarka-mieszkan .table_search_box, #page-pietro .table_search_box {
			padding-left: 0 !important;
			padding-right: 0 !important;
		}

	#page-wyszukiwarka-mieszkan .table_search_box, #page-pietro .table_search_box {
		padding-top: 0px !important;
	}


	.mieszkania_page_search .article-body.container {
		margin: 0;
		padding: 0;
	}


	.flat-info ul {
	  flex-flow: column;
	}

	.flat-info {
	  padding-left: 10px;
	}

	.green-btn {
	  padding: 8px 10px !important;
	}

	#single-flat .green-btn {
	  font-size: 14px;
	}

	.flat-info li {
	  font-size: 14px;
	}


	.image img {
	  max-width: 100vw;
	  object-fit: contain;
	}
}


/*20.09.2025 Klaudiusz */
.disabled_flats {
    width: 100%;
    height: 100%;
}

#page-wyszukiwarka-mieszkan #search_3d_app .main_image {
    height: auto !important;    
}
