/* prospekt */

.prospect-wrapper {
	display: flex; 
	justify-content: center;
	gap: 12px;
	margin-top: 28px;
}

@media (max-width: 768px) {

	.prospect-wrapper {
		flex-direction: column;
		justify-content: center;
	}
	
}


.prospect-wrapper .btn {
	border: 1px solid #161618 !important; 
	font-size: 14px;
}

/* loader table */

.nbp-btn-cent {
	text-align: center;
}

.nbp-btn {
	font-size: 14px !important;
}

.nbp-hidden { 
	display: none !important; 
}

/* tabs */

.tab-nav { 
	display: flex; 
	list-style: none; 
	padding: 0; 
	margin: 0 0 15px; 
	border-bottom: 1px solid #161618; 
}

.tab-nav li { 
	padding: 10px 20px; 
	cursor: pointer; 
	border: 1px solid #161618; 
	border-bottom: none; 
	margin-right: 5px; 
	color: #161618;
	background: transparent; 
	border-radius: 0; 
}

@media (max-width: 768px) {

	.tab-nav { 
		flex-direction: column;
	}
	
}

.tab-nav li.active { 
	color: #fff;
	background: #161618; 
}

.tab-content .tab-pane { 
	display: none; 
}

.tab-content .tab-pane.active { 
	display: block; 
}

/* warstwwy IMP */
.imp-object-poly.imp-object polygon {
	opacity: 0 !important;
	transition: all .3s !important;
}

.imp-object-poly.imp-object polygon:hover {
	opacity: 0.5 !important;
}
/* tooltip */	
.imp-tooltip {
	border-radius: 0px !important;
    padding: 10px !important;
    background: rgb(34, 34, 34) !important;
	margin: 0 !important;
}

.imp-tooltip .hs-arrow-bottom {
	border-top-color: rgba(34, 34, 34, 1) !important;
}

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

.imp-tooltip h3, .imp-tooltip-content h3 {
    font-family: sans-serif !important;
    font-size: 20.8px !important;
    font-weight: bold !important;
    line-height: normal !important;
    color: #ffffff !important;
    text-align: center !important;
    width: auto !important;
    height: auto !important;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
    margin-left: 0px !important;
    margin-right: 0px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    line-height: normal !important;
}

.imp-button {
	display: block;
	background-color: #ffffff;
	border: 1px solid #ffffff;
    border-radius: 0px;
    font-family: Montserrat Variablefont Wght, sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 30px;
    color: #000000;
    width: auto;
    height: 30px;
    text-align: center;
    display: block;
    padding: 0 20px;
    text-decoration: none;
	margin-top: 12px;
	transition: all .3s;
}

.imp-button-border {
	display: block;
	background-color: transparent;
	border: 1px solid #ffffff;
    border-radius: 0px;
    font-family: Montserrat Variablefont Wght, sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 30px;
    color: #ffffff;
    width: auto;
    height: 30px;
    text-align: center;
    display: block;
    padding: 0 20px;
    text-decoration: none;
	margin-top: 12px;
	transition: all .3s;
}

.imp-button:hover {
	background-color: transparent;
    color: #ffffff;
}

.imp-button-border:hover {
	background-color: #ffffff;
    color: #000000;
}


.info-div p {
	font-family: sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: normal !important;
    color: #ffffff !important;
    text-align: center !important;
    width: auto !important;
    height: auto !important;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
    margin-left: 0px !important;
    margin-right: 0px !important;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    line-height: normal !important;
}

/* obracanie i statusy */
.inwestycja-controls {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 20px;
	background-color: #37393d;
	padding: 1em 2em;
	min-height: 79px;
}

@media (max-width: 768px) {
	.inwestycja-controls {
		display: grid;
		grid-template-areas:
		  "left right"
		  "status status";
		grid-template-columns: 1fr 1fr;
		gap: 1em;
		justify-items: center;
		padding: 1em 2em 2em 2em;
	}

	#imp-turn-left {
		display: none;
		grid-area: left;
		justify-content: center;
		opacity: 0;
		align-items: center;
        align-content: flex-end;
        align-self: flex-end;
        text-align: center;
	}

	#imp-turn-right {
		display: none;
		grid-area: right;
		justify-content: center;
		opacity: 0;
		align-items: center;
        align-content: flex-end;
        align-self: flex-end;
        text-align: center;
	}

}

.control-button,
.units-status .status {
	display: flex;
	align-items: center;
	gap: 12px;
	cursor: pointer;
	transition: all .3s;
}

.control-button .icon {
	display: flex;
    align-items: center;
    justify-content: center;
	background: #fff;
	border: 1px solid #fff;
	transition: all .3s;
}

.control-button:hover .label {
	text-decoration: underline;
}

.control-button:hover .icon {
	background: transparent;
}

.control-button:hover .icon svg path {
	stroke: #fff !important;
}

@media (max-width: 768px) {
	.control-button {
		flex: 1;
		justify-content: flex-start;
	}
}

.control-button .label {
	display: flex;
	flex: 1;
	color: #fff;
	font-weight: 500;
    line-height: 1.4;
}

@media (max-width: 768px) { 

	.control-button .label {
		font-size: 14px;
	}

}

.control-button .icon {
	width: 47px;
	height: 47px;
}

@media (max-width: 768px) { 

	.control-button .icon {
		width: 38px;
		height: 38px;
	}

}

.units-status {
	display: flex;
	gap: 30px;
	flex-wrap: wrap;
	flex: 1;
    justify-content: center;
}

@media (max-width: 768px) {
	.units-status {
		grid-area: status;
		width: 100%;
		flex-direction: row;
		gap: 10px;
		justify-content: center;
	}
}

.status {
	display: flex;
	align-items: center;
	gap: 10px;
}

.status .dot {
	width: 16px;
	height: 16px;
	border-radius: 50%;
}

.status.available .dot {
	background-color: #4CAF50;
}

.status.reserved .dot {
	background-color: #FFC107;
}

.status.sold .dot {
	background-color: #F44336;
}

.status .label {
	color: #fff;
	text-align: center;
	font-size: .88em;
	font-weight: 500;
	line-height: 1.5;
}

@media (max-width: 768px) { 

	.status .label {
		font-size: 14px;
	}

}


/* cofanie */
#imp-back {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	width: fit-content;
	position: relative;
	cursor: pointer;
	text-decoration: none;
	outline: none;
	z-index: 9;
	margin-bottom: 12px;
	color: #fff;
	background-color: #161618;
	background-image: url(../images/Group-2.svg);
	background-position: 95% 9px;
	background-repeat: no-repeat;
	background-size: 9px 8px;
	border: 1px solid #161618;
	border-radius: 0;
	box-shadow: none;
	font-size: 0.81em;
	font-weight: 500;
	line-height: 1.4;
	text-decoration: none;
	overflow: hidden;
	opacity: 0;
	height: 0;
	min-height: 0;
	padding: 0;
	border-width: 0;
	transition:
		padding 0.4s ease,
		height 0.4s ease,
		opacity 0.4s ease,
		border-width 0.4s ease;
}

#imp-back:hover {
	background-color: #6d7174;
	border-color: #6d7174;
}

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

/* IMP UI */
.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;
	transition: all 0.3s ease !important;
}

/* loader */
#image-map-pro-b15c2230-7ac7-42b1-8bf7-a6126f542a57 #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;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
	pointer-events: none;
}

#image-map-pro-b15c2230-7ac7-42b1-8bf7-a6126f542a57 #loader.active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

#image-map-pro-b15c2230-7ac7-42b1-8bf7-a6126f542a57 #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;
}

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