.siteplan-widget-style-one{
    flex-direction: column;
}
.filter-container{
    background-color:var(--filterBack,#ddd);
}
.filter-wrapper > p{
    color:var(--filterHead,#555);
}


.siteplan-widget-style-two .filter-container{
    flex: 0 0 300px;
    padding:2rem;
    
}
.siteplan-widget-style-two .filter-container li{
    margin-top:1rem;
}
.siteplan-widget-style-two .filter-container > div > div, .siteplan-widget-style-two .filter-container ul{
    flex-direction: column;
}
.siteplan-widget-style-one .filter-wrapper{
    justify-content: center;
}
.siteplan-widget-style-one .filter-wrapper ul{
    margin-left:1rem;
}
.siteplan-widget-style-two .filter-wrapper{
    flex-direction: column;
}


/* @media screen and (max-width:675px){
    .filter-wrapper > p{
        display:none;
    }
} */
.w-4{
	width:1rem;
}
.w-6{
	width:1.5rem;
}
.h-4{
	height:1rem;
}
.h-6{
	height:1.5rem;
}
.developer-test{
	z-index:100;
}
.developer-test:not(.show-dev){
	display:none;
}


[data-section-type=siteplan] *{
	user-select: none;
}
[data-section-type=siteplan]:not(.mobile-mode) .filter-close-btn{
	display:none;
}

[data-section-type=siteplan].one-touch:before,[data-section-type=siteplan].one-touch:after{
	opacity:1
}

[data-section-type=siteplan]:before{
	position:absolute;
	left:0;
	right:0;
	top:0;
	bottom:0;
	background:rgba(0,0,0,0.3);
	content:'';
	z-index:10;
	opacity:0;
	pointer-events: none;
	transition:opacity .3s ease-out;
}
[data-section-type=siteplan]:after{
	text-align: center;
	font-size:13px;
	position:absolute;
	left:10%;
	right:10%;
	top:50%;
	transform: translate3d(0,-50%,0);
	content:'Use two fingers to move siteplan';
	color:white;
	z-index:11;
	opacity:0;
	pointer-events: none;
	transition:opacity .3s ease-out;
}



[data-section-type=siteplan].mobile-mode .filter-container{
	opacity:1;
	position:fixed;
	left:0;
	top:0;
	bottom:0;
	right:0;
	z-index:100;
	padding:10px 20px;
	opacity:0;
	transform:translate3d(-100%,0, 0);
	transition:transform .3s ease-out, opacity .3s ease-out;
	/* display:none; */
}
[data-section-type=siteplan].show-mobile-filters .filter-container{
	opacity:1;
	transform:translate3d(0,0, 0);
	/* display:none; */
}

[data-section-type=siteplan]{
	position:relative;
}
[data-section-type=siteplan] .filter-close-btn{
	display:flex;
	justify-content: flex-end;
	padding-bottom:20px;
	color:white;

}

[data-section-type=siteplan].mobile-mode .filter-wrapper{
	padding:20px;
}

[data-section-type=siteplan].mobile-mode .filter-wrapper, [data-section-type=siteplan].mobile-mode .filter-wrapper ul{
	flex-direction: column;
	align-items: flex-start;
}

[data-section-type=siteplan].mobile-mode .filter-wrapper ul li{
	margin:10px 0 0;
}




.siteplan-unit-img-holder{
    position: relative;
}
.siteplan-unit-img-holder img{
    width:100%;
    max-height:400px;
    object-fit: contain;
    object-position: center;
}
.siteplan-unit-img-holder > div{
    position:absolute;
    top:50%;
    left:50%;
    transform: translate3d(-50%,-50%,0);
    z-index:3;
}
.siteplan-unit-img-holder button{
    padding:10px 20px;
    border:1px solid white;
    color:white;
    font-size:12px;
    min-width: max-content;
    opacity:0;
    transform:translate3d(0,10px,0);
    transition:transform .3s ease-out, opacity .3s ease-out;
    pointer-events: none;
}
a.siteplan-unit-list-item:not(.not-clickable):hover .siteplan-unit-img-holder:after,
a.siteplan-unit-list-item:not(.not-clickable):hover .siteplan-unit-img-holder button{
    opacity:1;
    transform:translate3d(0,0,0);
}


a.siteplan-unit-list-item .siteplan-unit-img-holder:after{
    pointer-events: none;
    position: absolute;
    left:0;
    right:0;
    bottom:0;
    top:0;
    background:rgba(0,0,0,0.6);
    z-index:1;
    content:'';
    opacity:0;
    transition:opacity .3s ease-out;
}

[data-model].siteplan-unit-list-item:not(.not-clickable):hover .siteplan-unit-img-holder:after,
[data-model].siteplan-unit-list-item:not(.not-clickable):hover .siteplan-unit-img-holder button{
    opacity:1;
    transform:translate3d(0,0,0);
}


[data-model].siteplan-unit-list-item .siteplan-unit-img-holder:after{
    pointer-events: none;
    position: absolute;
    left:0;
    right:0;
    bottom:0;
    top:0;
    background:rgba(0,0,0,0.6);
    z-index:1;
    content:'';
    opacity:0;
    transition:opacity .3s ease-out;
}

.siteplan-unit-list-item{
    
    padding:1rem 0;
    border-bottom:1px solid #ddd;
}
.siteplan-lot-content h2{
    font-size:1.3rem;
    line-height:1.6rem;
    margin-bottom:1rem;
}
.siteplan-lot-content{
}
.siteplan-lot-content h2 strong{
    font-weight:bold;
}
.siteplan-lot-content-outer{
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% + 17px);
	width:100%;
    height: 100%;
    overflow-y: scroll;
    box-sizing: content-box; /* So the width will be 100% + 17px */
}
.siteplan-lot-mask{
    position: absolute;
    right:0;
    top:0;
    bottom:0;
    left:0;
    background:rgba(0,0,0,0.6);
    z-index:100;
    transition:opacity .3s ease-out;
    overflow: hidden;
    pointer-events: none;
    opacity:0;

}


.siteplan-overlay-wrapper.show-mask .siteplan-lot-mask{
    opacity:1;
    pointer-events: all;
}
.siteplan-overlay-wrapper.show-panel .siteplan-lot-wrapper.left-side, .siteplan-overlay-wrapper.show-panel .siteplan-lot-wrapper.right-side{
    transform:translate3d(0,0,0);
}
.siteplan-overlay-wrapper.show-panel .siteplan-lot-wrapper.popup-style,.siteplan-overlay-wrapper.show-panel .siteplan-lot-wrapper.left-side, .siteplan-overlay-wrapper.show-panel .siteplan-lot-wrapper.right-side{
    pointer-events: all;
    opacity:1;
}
.siteplan-lot-wrapper.popup-style .available-model-container{
    display:grid;
    grid-template-columns: repeat(2, 1fr);
    gap:3ch;
}

.show-panel.show-amenity .siteplan-lot-content h2{
	display:none;
}
.show-panel.show-amenity .siteplan-lot-content .available-model-container{
	display:block;
}


.siteplan-overlay-wrapper.show-modal .siteplan-amenity-wrapper{
    transform:translate3d(-50%,-50%,0) scale(1) rotateX(0);
    opacity:1;
    pointer-events: all;
}

.siteplan-lot-wrapper img,.siteplan-amenity-wrapper img{
    max-width:100%;
}
.siteplan-amenity-wrapper{
    position: absolute;
    top:50%;
    left:50%;
    width:80%;
    max-width:300px;
    z-index:1000;
    background:white;
    box-shadow:-3px 1px 5px rgba(100,100,100,0.3);
    transform:translate3d(-50%,-50%,0) scale(0.8) rotateX(-50deg);
    transition:transform .3s ease-out, opacity .3s ease-out;
    opacity:0;
    pointer-events: none;
}
.siteplan-lot-wrapper:not(.show-panel){
    pointer-events: none;
}
.siteplan-lot-wrapper{
    
    position: absolute;
    right:0;
    top:0;
    bottom:0;
    width:100%;
    max-width:300px;
    z-index:1000;
    background:white;
    box-shadow:-3px 1px 5px rgba(100,100,100,0.3);
    transform:translateX(100%);
    opacity:0;
    overflow: hidden;
}
.siteplan-lot-wrapper.left-side,.siteplan-lot-wrapper.right-side{
    opacity:1;
    transition:transform .3s ease-out;
}

.siteplan-lot-wrapper.left-side{
    right:auto;
    left:0;
    transform:translateX(-100%);
}



.siteplan-tooltip-style1{
    pointer-events: none;
    
}
.siteplan-tooltip-style1 span{
    display:inline-block;
    background:white;
    padding:2px 5px;
    border-radius:5px;
    font-size:12px;
    position: relative;
    top:-15px;
}
.siteplan-tooltip-style2{
    pointer-events: none;
    
}
.siteplan-tooltip-style2 div{
    color: #FFF;
    padding: .25rem .5rem;
    border-radius:.75rem;
    font-size:12px;
    position: relative;
    top:-15px;
	border: 2px solid white;
}
.units-list {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}
.units-container {
    width: 0px;
    transition: width 0.3s ease-in-out, height 0.3s ease-in-out;
}
.units-container.open-right {
    width: 0px;
    height: 66.67%;
    right: 0;
}
.units-container.open-left {
    width: 0px;
    height: 66.67%;
    left: 0;
}
.units-container.open-bottom {
    width: 100%;
    height: 0px;
}
.units-container.open-left.active {
    width: 275px !important;
    transition: width 0.3s ease-in-out;
}
.units-container.open-right.active {
    width: 275px !important;
    transition: width 0.3s ease-in-out;
}
.units-container.open-bottom.active {
    width: 100%;
    height: 300px;
    transition: height 0.3s ease-in-out;
}
@media screen and (max-width:640px){
    .units-container.active {
        width: 100% !important;
        transition: width 0.3s ease-in-out, height 0.3s ease-in-out;
    }
}
.grid-view {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.25rem;
}
@media screen and (min-width: 768px){
    .grid-view {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}
@media screen and (min-width: 1024px){
    .grid-view {
        grid-template-columns: repeat(3, minmax(0,1fr));
    }
}
@media screen and (min-width: 1280px){
    .grid-view {
        grid-template-columns: repeat(4, minmax(0,1fr));
    }
}


[data-section-type="siteplan"] canvas{
    position: relative;
    z-index:1;
    max-width:100%;
}

[data-section-type="siteplan"] [data-s-tool-container]{
    top:20px;
    right:20px;
    position:absolute;
    z-index:2;
    border:1px solid #aaa;
    background:#eee;
    box-shadow:0 2px 5px rgba(100,100,100,0.3);
}
[data-s-tool-container] > [data-s-tool]{
    border:1px solid transparent;
    width:2rem;
    height:2rem;
    display:flex;
    align-items: center;
    justify-content: center;
}
[data-s-tool-container] > [data-s-tool]:hover{
    background:#aaa;
    color:white;
    transition:all .15s ease-out;
}
[data-section-type="siteplan"]:not(.mobile-mode) [data-s-tool-container] > [data-s-tool=filter]{
	display:none;
}
[data-section-type="siteplan"].mobile-mode [data-s-tool-container] > [data-s-tool=in]{
	display:none;
}
[data-section-type="siteplan"].mobile-mode [data-s-tool-container] > [data-s-tool=out]{
	display:none;
}

.siteplan-filter-ul{
    color:var(--filterText,#aaa);
    
}

.siteplan-filter-ul  li{
    cursor:pointer;
    display:flex;
    align-items: center;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

.siteplan-filter-ul  li:before{
    /* opacity:0.6; */
    content:'';
    width:16px;
    height:16px;
    border:1px solid #eee;
    background:var(--bgColor);
    margin-right:10px;
}
.table-mode .siteplan-filter-ul  li:before{
	opacity:1;
}

.table-mode #siteplan-lot-tooltip{
	display:none;
}

.siteplan-filter-ul  li:hover{
    color:var(--filterHover, #999)
}
.siteplan-filter-ul  li:hover:before, .siteplan-filter-ul  li.active:before{
    opacity:1;
}
.siteplan-filter-ul li.active{
    color:var(--filterActive, #555)
}
.table-mode div[data-s-tool-container], .hide-filter .filter-container, .table-mode .filter-container .tab{
	display:none;
}
@media screen and (max-width:670px){
    .siteplan-lot-wrapper{
        max-width:none;
    }
	#siteplan-lot-tooltip{
		display:none;
	}
}
@media screen and (min-width:671px){
    /* button.siteplan-overlay-close{
        display:none;
    } */
    .siteplan-lot-wrapper.popup-style{
        right: auto;
        top:50%;
        left: 50%;
        transform: translate3d(-50%,-50%,0);
        max-width: 768px;
        max-height:80%;
    }
}
@media screen and (max-width:990px){
    .siteplan-lot-mask{
        position: fixed;
    }
    .siteplan-overlay-wrapper{
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 100;
        pointer-events: none;
    }
}


/*** loading animation css site plan ***/
.loading-overlay.show {
    opacity: 1;
    z-index: 100000 !important;
    transition: opacity 0.3s ease-in-out;
}
.loading-overlay {
    opacity: 0;
    z-index: -9999 !important;
    transition: opacity 0.3s ease-in-out;
}
.center-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100000;
    display: flex;
    place-items: center;
    place-content: center;
    background: rgba(255, 255, 255, 0.8);
}
.loading{
    height : 25px;
    width : 25px;
    /*   background-color : blue; */
    border-radius : 50%;
    border : 2px solid transparent;
    border-top-color : #000;
    animation : spin infinite 1s;
}

@keyframes spin{
    from {
        transform : translate(-50%,-50%) rotate(0deg);
    }
    to{
        transform :translate(-50%,-50%) rotate(359deg);
    }
}

@keyframes line-scale {
	0% {
		-webkit-transform: scaley(1);
				transform: scaley(1); }
	50% {
		-webkit-transform: scaley(0.4);
				transform: scaley(0.4); }
	100% {
		-webkit-transform: scaley(1);
		transform: scaley(1); } 
}
.loading-sp > *:not(.loader){
	opacity:0;
}
.loading-sp .loader{
	position: absolute;
	transform: translate(-50%,-50%);
	top: 50%;
	left: 50%;
	z-index: 9;
}
.loading-sp .line-scale > div:nth-child(1) {
-webkit-animation: line-scale 1s -0.4s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08);
		animation: line-scale 1s -0.4s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08); }
.loading-sp .line-scale > div:nth-child(2) {
-webkit-animation: line-scale 1s -0.3s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08);
		animation: line-scale 1s -0.3s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08); }
.loading-sp .line-scale > div:nth-child(3) {
-webkit-animation: line-scale 1s -0.2s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08);
		animation: line-scale 1s -0.2s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08); }
.loading-sp .line-scale > div:nth-child(4) {
-webkit-animation: line-scale 1s -0.1s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08);
		animation: line-scale 1s -0.1s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08); }
.loading-sp .line-scale > div:nth-child(5) {
-webkit-animation: line-scale 1s 0s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08);
		animation: line-scale 1s 0s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08); }
.loading-sp .line-scale > div {
	background-color: var(--primaryColor, #000);
	width: 4px;
	height: 35px;
	border-radius: 2px;
	margin: 2px;
	-webkit-animation-fill-mode: both;
			animation-fill-mode: both;
	display: inline-block; 
}




[data-section-type=condogrid] *{
	user-select: none;
}
[data-section-type=condogrid]:not(.mobile-mode) .filter-close-btn{
	display:none;
}

[data-section-type=condogrid].one-touch:before,[data-section-type=condogrid].one-touch:after{
	opacity:1
}

[data-section-type=condogrid] .siteplan-wrapper:before{
	position:absolute;
	left:0;
	right:0;
	top:0;
	bottom:0;
	background:rgba(0,0,0,0.3);
	content:'';
	z-index:10;
	opacity:0;
	pointer-events: none;
	transition:opacity .3s ease-out;
}
[data-section-type=condogrid]:after{
	text-align: center;
	font-size:13px;
	position:absolute;
	left:10%;
	right:10%;
	top:50%;
	transform: translate3d(0,-50%,0);
	content:'Use two fingers to move condogrid';
	color:white;
	z-index:11;
	opacity:0;
	pointer-events: none;
	transition:opacity .3s ease-out;
}



[data-section-type=condogrid].mobile-mode .filter-container{
	opacity:1;
	position:fixed;
	left:0;
	top:0;
	bottom:0;
	right:0;
	z-index:10;
	padding:10px 20px;
	opacity:0;
	transform:translate3d(-100%,0, 0);
	transition:transform .3s ease-out, opacity .3s ease-out;
	/* display:none; */
}
[data-section-type=condogrid].show-mobile-filters .filter-container{
	opacity:1;
	transform:translate3d(0,0, 0);
	/* display:none; */
}

[data-section-type=condogrid]{
	position:relative;
}
[data-section-type=condogrid] .filter-close-btn{
	display:flex;
	justify-content: flex-end;
	padding-bottom:20px;
	color:white;

}

[data-section-type=condogrid].mobile-mode .filter-wrapper{
	padding:20px;
}

[data-section-type=condogrid].mobile-mode .filter-wrapper, [data-section-type=condogrid].mobile-mode .filter-wrapper ul{
	flex-direction: column;
	align-items: flex-start;
}

[data-section-type=condogrid].mobile-mode .filter-wrapper ul li{
	margin:10px 0 0;
}
[data-section-type="condogrid"] canvas{
    position: relative;
    z-index:1;
    max-width:100%;
}

[data-section-type="condogrid"] [data-s-tool-container]{
    top:20px;
    right:20px;
    position:absolute;
    z-index:2;
    border:1px solid #aaa;
    background:#eee;
    box-shadow:0 2px 5px rgba(100,100,100,0.3);
}
[data-section-type="condogrid"]:not(.mobile-mode) [data-s-tool-container] > [data-s-tool=filter]{
	display:none;
}
@media screen and (max-width: 768px){
    [data-section-type="condogrid"] [data-s-tool-container] > [data-s-tool=in]{
        display:none;
    }
    [data-section-type="condogrid"] [data-s-tool-container] > [data-s-tool=out]{
        display:none;
    }
}

[data-section-type="condogrid"] [data-stack-view]{
    bottom:20px;
    right:20px;
    position:absolute;
    z-index:2;
}
[data-section-type="condogrid"] [data-stack-view] .stack-view-button {
    border: 1px solid #aaa; 
    padding: 10px; 
    background: #eee; 
    box-shadow: 0 2px 5px rgba(100,100,100,0.3);
}
[data-section-type="condogrid"] [data-stack-view] .stack-view-button:hover {
    background: #aaa;
    color: white;
    transition: all .15s ease-out;
}
[data-section-type="condogrid"] [data-floor-filter]{
    top:20px;
    left:20px;
    position:absolute;
    z-index:2;
}
[data-section-type="condogrid"] [data-floor-filter] .filter-dropdown{
    border:1px solid #aaa;
    padding: 10px;
    background:#eee;
    box-shadow:0 2px 5px rgba(100,100,100,0.3);
}
[data-section-type="condogrid"] [data-floor-filter] .filter-dropdown-expanded{
    border:1px solid #aaa;
    padding: 10px;
    background:#eee;
    box-shadow:0 2px 5px rgba(100,100,100,0.3);
}
[data-section-type="condogrid"] [data-floor-filter-expanded] .floor-card {
    border: 1px solid #9EA0A5;
}
[data-section-type="condogrid"] [data-floor-filter-expanded] .floor-card.active {
    border: 1px solid #F79425 !important; 
    color: #F79425 !important;
}
[data-section-type="condogrid"] [data-floor-filter-expanded] .floor-card.active div{
    color: #F79425 !important;
}