/* 
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
*/

.main-layer-message {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 16px;
	width: 100%;
	color: #fff;
	font-weight: 500;
	text-align: right;
}

.main-layer-line {
	width: 1px;
	height: 24px;
	background: #fff;
	display: block;
	flex-shrink: 0;
}

.main-layer-text {
	display: inline-flex;
	align-items: center;
	line-height: 1.5;
}

@media (max-width: 768px) {
	.main-layer-line {
		display:none;
	}
	.main-layer-text {
		font-size: 12px;
	}
}

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

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

#imp-back {
	background: #37AA32;
	border-radius: 0px;
	cursor: pointer;
	color: #fff;
    font-family: "Noto Sans", Sans-serif;
	box-shadow: none;
	font-size: 16px;
	width: 100%;
    z-index: 9;
    position: relative;
	padding: 10px 20px;
	line-height: 150%;
	width: fit-content;
	margin-bottom: 8px;
	border: 1px solid #37AA32;
}

#imp-back:hover {
	background: transparent;
	color: #37AA32;
}

@media (max-width: 600px) {
	#imp-back {
		font-size: 12px;
	}
}

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

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

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

.imp-tooltip .hs-arrow-bottom {
	border-top-color: #2b422c !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: "Noto Sans", Sans-serif;
	font-size: 16px;
	font-weight: 500;
	border-radius: 0px;
	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: 4px 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: "Noto Sans", Sans-serif;
	font-size: 24px;
	font-weight: 500;
	line-height: 1;
	color: #fff;
	margin-bottom: 12px;
	padding: 0px;
}

.info-text {
	font-family: "Noto Sans", Sans-serif;
	font-size: 14px;
	line-height: 1;
	color: #fff;
	margin: 0;
	padding: 6px;
	text-transform: uppercase;
}

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

.info-button {
	background-color: #37AA32 !important;
	border-radius: 0px !important;
	border: 1px solid #37AA32;
	font-family: "Noto Sans", Sans-serif !important;
	font-weight: 500 !important;
	font-size: 16px !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;
	transition: all 0.3s ease;
}

.info-button:hover {
	background-color: transparent !important;
	color: #37AA32 !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;
}

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

@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;
		min-height: unset;
	}

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

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

}

@media (max-width: 768px) {
	.inwestycja-controls.main {
		grid-template-areas:
		  "status";
		grid-template-columns: 1fr;
		justify-items: stretch;
	}

	.inwestycja-controls.main .main-layer-message {
		width: 100%;
		justify-content: center;
		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: #37AA32;
	border: 1px solid #37AA32;
	transition: all .3s;
}

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

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

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

.control-button:hover .icon svg path {
	stroke: #37AA32 !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;
	font-family: "Noto Sans", Sans-serif;
    letter-spacing: -0.2px;
}

@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.4;
	font-family: "Noto Sans", Sans-serif;
    letter-spacing: -0.2px;
}

@media (max-width: 768px) { 

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

}

