/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

.btn{
	font-family: "Work Sans", Sans-serif;
	display:inline-flex; 
	align-items:center; 
	justify-content:center;
	padding:10px 30px; 
	border-radius:0px; 
	text-decoration:none;
	font-size:10px; 
	text-transform:uppercase;
	font-weight:600;
	outline:0;
	min-height:43px;
	transition:background-color .25s ease, color .25s ease, border-color .25s ease;
}

.btn--red{ 
	background:#e74a43; 
	color:#fff;  
	border:1px solid #e74a43;
}

.btn--red:hover{ 
	background: transparent; 
	color:#e74a43;  
}

.btn--dark{ 
	background:#171717; 
	color:#fff; 
	border:1px solid #171717;
}

.btn--dark:hover{ 
	background: transparent; 
	color:#171717;  
}

.ui-slider-horizontal{ 
	height:2px; 
	background:#eeeeee; 
	border:none; 
}

.ui-slider-range{ 
	background:#111; 
	height:2px; 
}

.ui-widget.ui-widget-content {
    border: 1px solid #E9E9E9 !important;
}

.ui-widget-header {
	border:1px solid #1E1E1E !important; 
}

.ui-slider-horizontal {
    height: 1px !important;
}

.ui-slider .ui-slider-handle{
	width:12px !important; 
	height:12px !important;
	border-radius:50%; 
	background:#1E1E1E !important; 
	border:none; 
	outline:none;
	cursor:pointer;
}

@media (max-width: 980px){
.oferty-filtry__inner{ grid-template-columns: 1fr; gap:18px; }
.oferty-filtry__actions{ justify-content:flex-start; }
}

#listings-map-modal {
	position: fixed; 
	top: 0; 
	left: 0;
	width: 100%; 
	height: 100%;
	z-index: 10000;
	display: flex; 
	align-items: center; 
	justify-content: center;
}

.map-overlay {
	position: absolute; 
	top: 0; 
	left: 0;
	width: 100%; 
	height: 100%;
	background: rgba(0,0,0,0.5);
}

.map-content {
	position: relative;
	background: #fff;
	border-radius: 4px;
	overflow: hidden;
	z-index: 10001;
	width: 80%;
	height: 80vh;
}

#listings-map {
	width: 100%;
	height: 100%;
}

.btn-close {
	position: absolute; 
	top: 8px; 
	right: 8px;
	font-size: 48px; 
	background: none; 
	border: none;
	cursor: pointer;
	z-index: 9999999;
	display: flex;
    align-items: center;
    background-color: #E32E2B !important;
    transition-duration: 1s;
    border-style: none;
    border-radius: 0px;
    padding: 14px;
	line-height: 1;
}

.btn-close:hover {
	background-color: #6C794D;
}


.btn-close:hover {
	background: transaprent;
}

.custom-marker {
  position: relative;
  background-color: #6C744A;
  color: #F6F2E8;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  text-align: center;
  line-height: 1;
}

.custom-marker::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px 6px 0 6px;
  border-style: solid;
  border-color: #6C744A transparent transparent transparent;
}

.leaflet-custom-popup .leaflet-popup-content-wrapper {
  background: transparent;
  border: none;
  box-shadow: none;
}

.leaflet-custom-popup .leaflet-popup-content {
  margin: 0;
}

.popup-price {
	font-family: "Aleo", Sans-serif;
	font-weight: 700;
	margin: 0;
	font-size: 16px;
	letter-spacing: 0.5px;
	font-weight: 600;
}

.leaflet-popup-content p {
	margin: 0;
}

.custom-popup {
	display: flex;
	gap: 10px;
	background-color: #6C744A;
	border-radius: 12px;
	color: #F6F2E8;
	overflow: hidden;
	position: relative;
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
	cursor: pointer;
	width: 515px;
}

.popup-image img {
	width: 150px;
	height: 100%;
	object-fit: cover;
	display: block;
	overflow: hidden;
}

.popup-content {
	display: flex;
	gap: 10px;
	flex-direction: column;
	align-self: center;
	padding: 12px;
	max-width: 360px;
}

.popup-content h3 {
	font-family: "Aleo", Sans-serif;
	font-weight: 700;
	margin: 0;
	font-size: 16px;
	letter-spacing: 0.5px;
	font-weight: 600;
}

.popup-address {
  margin: 0;
  font-size: 13px;
  opacity: 0.9;
}

.popup-price {
  margin-top: 6px;
  font-weight: 600;
  font-size: 15px;
}

.leaflet-popup-tip {
	background: #6C744A;
}

.popup-arrow {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #6C744A;
}

@media (max-width: 1024px) {
	.custom-popup {
		max-width: 260px;
	}
	.popup-content {
		max-width: auto;
	}
	.map-content {
		width: 90%;
	}
	.btn-close {
		padding: 8px;
	}
	.popup-image img {
		width: 150px;
	}
	.popup-content h3 {
		font-size: 12px;
	}
	.popup-price {
		font-size: 10px;
	}
}

/* paginacja */
.elementor-widget-container .elementor-pagination {
	margin-top: 24px;
}

.elementor-widget-container .elementor-pagination .page-numbers.current {
	font-weight: 600;
	opacity: 0.7;
}

.elementor-widget-container .elementor-pagination a, .elementor-widget-container .elementor-pagination span {
	padding: 4px 8px;
}

.elementor-widget-container .elementor-pagination .page-numbers {
	text-transform: uppercase;
	font-size: 12px;
}

/* switcher */
.custom-lang-switcher {
    position: relative;
    display: inline-block;
}

.current-lang {
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: bold;
    text-transform: uppercase;
    user-select: none;
    background-color: #A35027;
    font-family: "DM Sans", Sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 26px;
    letter-spacing: 0.2px;
    fill: #fff;
    color: #fff;
    transition-duration: 1s;
    border-style: none;
    border-radius: 50px;
    padding: 17px 15px;
}

.lang-arrow {
    transition: transform 0.3s ease;
    display: inline-block;
}

.current-lang.open .lang-arrow {
    transform: rotate(180deg);
}
@media (hover: hover) and (pointer: fine) {
    .current-lang:hover .lang-arrow {
        transform: rotate(180deg);
    }
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    list-style: none;
    padding: 17px 15px;
    z-index: 9999999;
	min-width: 60px;
    background-color: #A35027;
    font-family: "DM Sans", Sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 26px;
    letter-spacing: 0.2px;
    fill: #fff;
    color: #fff;
    transition-duration: 1s;
    border-style: none;
    border-radius: 50px;
}

.current-lang.open .lang-dropdown {
    display: flex;
	flex-direction: column;
	align-items: center;
}

@media (hover: hover) and (pointer: fine) {
    .current-lang:hover .lang-dropdown {
        display: block;
    }
}

.lang-dropdown li a {
    display: block;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-family: "DM Sans", Sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 26px;
    text-align: center;
    letter-spacing: 0.2px;
}

.lang-dropdown li a:hover {
    text-decoration: underline;
}

@media (max-width: 1024px) {
	.lang-dropdown {
		min-width: 45px;
		font-size: 10px;
        padding: 11px 9px;
	}
    .current-lang {
        font-size: 10px;
        padding: 11px 9px;
    }
}

/* mapa nieruchomosc */
#custom-leaflet-map-single {
	height: 600px;
}

.custom-pin-wrapper-single {
	width: 40px;
	height: 40px;
	transform: translate(-20px, -40px);
	position: absolute;
}

@media (max-width: 1024px) {
    #custom-leaflet-map-single { 
		height: 400px;
	}
}


/** ======================================================
1. Search
2. Listing
3. Single Nieruchomość
======================================================  */


/** =================== [1. Search] ================= */
.oferty-filtry--ref {
	background: #fff;
	border: 2px solid #D9271C;
	padding:41px 43px;
}

.oferty-filtry__inner {
	/* display:grid;
	grid-template-columns: 1fr 1fr 1fr auto; */
	display: flex;
	flex-wrap: wrap;
	align-items:flex-end;
	gap:40px;
}

.oferty-filtry__field {
	flex: 1;
	min-width: 160px;
	&.no-flex {
		flex: none;
	}
}

.oferty-filtry__label{
	font-family: "Work Sans", Sans-serif;
	font-size: 13px; 
	line-height: 1.2; 
	font-weight: 500;
	color:rgba(30, 30, 30, 0.8);
	margin-bottom: 8px; 
	display: block;
}

.oferty-filtry__actions{ 
	display: flex; 
	gap: 18px;
	&.in-advanced {
		flex: 1;
		.btn {
			width: 100%;
		}
	}
}


/** Formularze */
.oferty-filtry {

	.select-wrap{
		position: relative;
	}

	select {
		font-family: "Work Sans", Sans-serif;
		width:100%; 
		font-size:12px; 
		line-height:1.3;
		padding:10px 15px;
		border:1px solid #EC3C3B; 
		border-radius:0px; 
		background:#fff;
		background-image: url('icons/chevron-down.svg');
		background-repeat: no-repeat;
		background-position: right 12px center;
		background-size: 15px auto;
		appearance:none; 
		-webkit-appearance:none; 
		-moz-appearance:none;
		outline:0;
		color: #1e1e1ecc;
	}

	.ui-slider-range {
		border-top: 1px solid black !important;
    	border-bottom: none !important;
	}

	.ui-slider-handle {
		top: -.4em;
	}

	.ui-slider-horizontal {
		margin-left: 6px !important;
		height: 1px !important;
		width: calc(100% - 12px);
	}

	.range__values{
		display: flex; 
		justify-content: space-between; 
		gap: 10px;
		width: calc(100% - 8px);
	}

	.range__values--under{ 
		font-size: 13px; 
		color: #1E1E1E;
		font-weight: 500;
	}

}

@media screen and (max-width: 500px) {
	.oferty-filtry--ref {
		padding: 32px 24px;
	}
	.oferty-filtry__inner {
		flex-direction: column;
		gap: 20px;
	}
	.oferty-filtry__field {
		width: 100%;
	}
	.oferty-filtry__actions {
		width: 100%;
		flex-direction: column;
		gap: 10px;
	}
}

#slider-metraz,
#slider-pokoje,
#slider-metraz-adv { 
	margin: 16px 0 11px 0; 
}

.oferty-advanced {
	display: none;
	flex-wrap: wrap;
	gap: 40px;
	width: 100%;
	&.is-open {
		display: flex;
	}
}

.oferty-filtry {
	[type="number"] {
		padding: 10px 12px;
		font-size: 12px;
		font-weight: 500;
		border: 1px solid #EC3C3B;
		border-radius: 0px;
		box-sizing: border-box;
	}
	[type="number"] {
		padding-right: 24px;
	}
	[type="checkbox"] {
		accent-color: #EC3C3B;
	}
	.suf {
		position: absolute;
		top: 50%;
		right: 10px;
		font-size: 12px;
		transform: translateY(-50%);
	}
	.btn-link {
		appearance: none;
		padding: 0;
		font-size: 13px;
		font-weight: 500;
		color: #1E1E1E;
		border: none;
		&:hover,
		&:focus {
			background-color: transparent;
			opacity: 0.6;
		}
	}
	.toggle-btn {
		display: flex;
		align-items: center;
		gap: 8px;
		&::before {
			content: "";
			display: block;
			width: 12px;
			height: 12px;
			background-image: url('icons/slider.svg');
			background-size: 12px;
		}
	}
	.chip-group {
		display: flex;
		flex-wrap: wrap;
		gap: 7px;
	}
	.chip {
		padding: 0;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 34px;
		height: 34px;
		font-size: 17px;
		font-weight: 500;
		color: #1E1E1E;
		border: 1px solid #EC3C3B;
		border-radius: 0;
		&:hover,
		&.is-active {
			color: #FFFFFF !important;
			background-color: #EC3C3B !important;
		}
	}
	.extras {
		margin-top: 18px;
		display: flex;
		flex-wrap: wrap;
		gap: 24px;
	}
	.check {
		display: flex;
		align-items: center;
		gap: 6px;
		font-size: 13px;
		font-weight: 500;
	}
}

.oferty-additional__actions {
	display: flex;
	justify-content: flex-end;
	gap: 16px;
	width: 100%;
}

.oferty-filtry__field--price {
	.price-row {
		display: flex;
		gap: 8px;
	}
	.price-container {
		position: relative;
		flex: 1;
	}
}

@media screen and (max-width: 500px) {
	.oferty-advanced {
		flex-direction: column;
		gap: 20px;
	}
	.oferty-filtry {
		.extras {
			flex-direction: column;
			gap: 12px;
		}
	}
}

/** =================== [2. Listing] ================= */
.netby-view-toggle {
	display: flex;
	gap: 10px;
	.btn-view {
		padding: 0px;
		display: flex;
		align-items: center;
		justify-content: center;
		appearance: none;
		width: 44px;
		height: 44px;
		border: 1px solid #1E1E1E;
		border-radius: 0px;
		&:hover,
		&.active {
			background-color: #1E1E1E;
			path {
				fill: #FFFFFF;
			}
		}
	}
}
#esticrm-sort-select {
	font-family: "Work Sans", Sans-serif;
	appearance: none;
	padding: 10px 0px;
	min-height: 43px;
	min-width: 150px;
	color: #FFFFFF;
	font-size: 10px;
	font-weight: 600;
	text-align: center;
	text-align-last: center;
	text-transform: uppercase;
	background-color: #1E1E1E;
	border-radius: 0 !important;
	box-sizing: border-box;
}
.rent-card {
	small {
		font-size: 11px;
		font-weight: 400;
	}
}
.rent-cards-list {
	@media screen and (min-width: 767px) {
		.elementor-loop-container {
			display: flex;
			flex-direction: column;
		}
		.rent-card {
			>.e-con-inner {
				flex-direction: row;
				align-items: center;
				gap: 24px;
			}
		}
		.rent-label {
			position: static !important;
			margin-bottom: 8px !important;
			width: fit-content;
		}
	}
}

@media screen and (max-width: 767px) {
	.netby-view-toggle {
		display: none;
	}
}


/** =================== [3. Single Nieruchomość] ================= */
.netby-single-image {
	position: relative;
	flex: 1;
	@media screen and (min-width: 767px) {
		img {
			width: 100%;
			height: 100%;
			object-fit: cover;
			position: absolute;
			inset: 0;
		}
	}
}

.netby-gallery {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
	.image-link {
		position: relative;
		display: flex;
		&:hover {
			.overlay {
				opacity: 1;
			}
		}
	}
	.overlay {
		padding: 16px;
		position: absolute;
		top: 0;
		left: 0;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		height: 100%;
		color: #FFFFFF;
		font-size: 20px;
		font-weight: 600;
		text-align: center;
		background-color: rgba(0, 0, 0, 0.5);
		opacity: 0;
		transition: 1500ms all cubic-bezier(0.19, 1, 0.22, 1);
		box-sizing: border-box;
		z-index: 1;
	}
	.image {
		aspect-ratio: 338 / 241;
		width: 100%;
		height: auto;
		object-fit: cover;
	}
	.hidden {
		display: none;
	}
	@media screen and (max-width: 600px) {
		.overlay {
			font-size: 16px;
		}
	}
}

.netby-items {
	margin-top: 32px;
	display: flex;
	flex-direction: column;
	.item {
		padding-block: 10px;
		display: flex;
		flex-direction: row;
		gap: 24px;
		font-size: 13px;
		border-bottom: 1px solid #D2CFCF;
	}
	.title,
	.value {
		flex: 1;
	}
	.title {
		font-weight: 500;
	}
	@media screen and (max-width: 600px) {
		margin-top: 12px;
		.value {
			text-align: right;
		}
	}
}


#imp-turn-right, #imp-turn-left, #imp-back {
	cursor: pointer;
}

#imp-back {
	background: #e32f2c !important;
	border-radius: 0px !important;
	cursor: pointer !important;
	color: #fff !important;
    font-family: "Work Sans", Sans-serif !important;
	border: 0 !important;
	box-shadow: none !important;
	font-size: 16px !important;
	width: 100% !important;
    z-index: 9;
    position: relative;
	display: none;
	padding: 10px 20px !important;
	line-height: 150% !important;
	text-transform: uppercase !important;
	font-weight: 600 !important;
}

@media (max-width: 600px) {
	#imp-back {
		font-size: 12px !important;
		max-width: 120px !important;
		width: 100% !important;
		height: 22px;
        line-height: 100%;
        text-align: center;
        align-items: center;
	}
}

.imp-object-poly polygon:hover, .imp-object-rect:hover {
    opacity: 0.7 !important;
}

.imp-tooltip {
	background: #2A2A2A !important;
	border-radius: 0px !important;
	padding: 8px !important;
	color: #fff !important;
}

.imp-tooltip h3, .imp-tooltip-content h3 {
	color: #fff !important;
}

.imp-tooltip-content {
	background: #2A2A2A !important;
	border-radius: 0px !important;
	padding: 8px !important;
	color: #fff !important;
}

.imp-tooltip .hs-arrow-bottom {
	border-top-color: #2A2A2A !important;
}

.imp-tooltip-content div:first-child {
	display: none;
}

.imp-ui-top-right {
	display: none !important;
}

@media (max-width: 620px) {
	.imp-ui-layers-menu-wrap {
		display: none;
	}
}

.building-layer-icon {
    pointer-events: none !important;
}

.lokal-price {
	text-align: center;
}

.status-badge {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	font-family: "Work Sans", Sans-serif;
	font-size: 16px;
	font-weight: 400;
	border-radius: 500px;
	padding: 8px 18px;
	line-height: 1.4;
	width: 100%;
	white-space: nowrap;       
	overflow: hidden;           
	text-overflow: ellipsis;  
	min-width: unset !important;
}

.status-available {
	color: rgb(23, 156, 6);
}

.status-reserved {
	color: rgb(201, 157, 0);
}

.status-sold {
	color: rgb(151, 0, 0);
}

.status-unknown {
	color: #999;
}

.status-tooltip {
	background: #fff;
	display: inline-flex;
	font-weight: 700;
	padding: 8px;
	border-radius: 0px;
}

.status-tooltip.available {
	color: rgb(23, 156, 6);
}

.status-tooltip.reserved {
	color: rgb(201, 157, 0);
}

.status-tooltip.sold {
	color: rgb(151, 0, 0);
}

.status-tooltip.none {
	color: #999;
}

.info-div {
	text-align: center;
}

.info-title {
	font-family: "Work Sans", Sans-serif;
	font-size: 16px;
	font-weight: bold;
	line-height: 2px;
	color: #fff;
	margin-bottom: 0px;
	padding: 10px;
	text-transform: uppercase;
}

.info-text {
	font-family: "Work Sans", Sans-serif;
	font-size: 12px;
	line-height: 10px;
	color: #fff;
	margin: 0;
	padding: 10px;
	text-transform: uppercase;
}

.info-text.small {
	font-size: 14px;
}


.info-button {
	background-color: #e32f2c !important;
	border-radius: 0px !important;
	border: 1px solid #e32f2c;
	font-family: "Work Sans", Sans-serif !important;
	font-weight: 600 !important;
	font-size: 12px !important;
	line-height: 17px !important;
	color: #fff !important;
	width: 100% !important;
	height: unset !important;
	text-align: center !important;
	display: inline-block !important;
	padding: 10px 20px !important;
	margin-top: 10px !important;
	margin-bottom: 10px !important;
	margin-left: auto;
	margin-right: auto;
	text-decoration: none !important;
	text-transform: uppercase !important;
}

#imagemappro #loader {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.8);
	backdrop-filter: blur(10px);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

#imagemappro #loader::before {
	content: '';
	box-sizing: border-box;
	position: absolute;
	top: 50%;
	left: 50%;
	width: 40px;
	height: 40px;
	margin-top: -20px;
	margin-left: -20px;
	border-radius: 50%;
	border: 3px solid #724A41;
	border-top: 3px solid transparent;
	animation: spin 1s linear infinite;
}

@media (max-width: 1200px) {
	.elementor-element-c77f04a .e-con-inner {
		margin: unset !important;
	}
}

.custom-marker {
  position: relative;
}

.custom-marker::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 0;
  height: 0;
}

.marker-cluster-small {
	background-color: rgb(227 46 43 / 80%);
}

.marker-cluster-small div {
	background-color: rgb(227 46 43 / 80%);
    color: #fff;
}

#form-field-field_73a27a1 {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 1px solid red;
    border-radius: 2px;
    background-color: white;
    background-clip: padding-box;
    cursor: pointer;
    position: relative;
}

.custom-pagination {
	margin-top: 8px;
    display: flex;
    justify-content: flex-end;
    gap: 2px;
    flex-wrap: wrap;
}

@media (max-width: 1199px) {
    .custom-pagination {
        justify-content: flex-start;
    }
}

.custom-pagination button {
	font-family: "Work Sans", Sans-serif;
	font-size: 14px;
	font-weight: 400;
	color: #2a2a2a;
    padding: 4px 8px;
    cursor: pointer;
    transition: all 0.2s ease;
	border-radius: 0px;
	outline: 0;
	border: 0;
	text-decoration: none;
	background-color: transparent;
	background: transparent;
}

.custom-pagination button:hover {
	background: #e32e2b;
	color: #fff;
}

.custom-pagination button:focus {
	background: #e32e2b;
	color: #fff;
}

.custom-pagination button.active {
    background: #e32e2b;
    color: #fff;
	font-weight: 700;
}

.custom-pagination button[disabled]{ 
	cursor:not-allowed; 
}

.elementor-widget-container .netby-table-wrapper .netby-row {
	height: auto !important;
}

.elementor-widget-container .netby-table-wrapper .netby-row .netby-header-cell {
	height: auto !important;
	padding: 5px 5px !important;
	font-size: 12px !important;
}

.elementor-widget-container .netby-table-wrapper .netby-row.netby-table-row .netby-cell {
	padding: 5px 5px !important;
	font-size: 12px !important;
}

.elementor-widget-container .netby-table-wrapper span.price-promotion {
	margin-top: 4px !important;
}

@media (min-width: 769px) and (max-width: 972px) {
	.elementor-widget-container .netby-table-wrapper .netby-row.netby-table-row .netby-cell {
		font-size: 10px !important;
	}
	.elementor-widget-container .netby-table-wrapper .netby-row .netby-header-cell {
		font-size: 10px !important;
	}

}
