/* body {
    touch-action: pan-x pan-y;
} */

body {
	background:#EFEBE8;
}

.building-container {
	position: relative;
	aspect-ratio: 10/16.88;
	/* overflow: hidden; */
	/* width: 585px;
	height: 600px; */
	/* min-width: 500px; */
	min-height: 600px;
	/* margin-top: -50px; */
    user-select: none; /* supported by Chrome and Opera */
   -webkit-user-select: none; /* Safari */
   -khtml-user-select: none; /* Konqueror HTML */
   -moz-user-select: none; /* Firefox */
   -ms-user-select: none; /* Internet Explorer/Edge */

}

@media (min-width: 992px) {
    .building-container { margin-left: calc(100vw - 90%) }
}

@media (min-width: 1400px) {
    .building-container { margin-left: calc(calc(100vw - 1320px) / 2) }
}

.building-path {
	width: 100%;
	height: 100%;
	position: relative;
}

.floor-image {
	height: 100%;
	float: left;
}

.building-left, .building-right {
	position: absolute;
	height: 100%;
	background-size: contain;
}

.building-left {
	right: 100%;
	aspect-ratio: 12.94/16.88;
	background-image: url("/images/building-left.jpg?v=0.1.6");
}

.building-right {
	left: 100%;
	aspect-ratio: 12.84/16.88;
	background-image: url("/images/building-right.jpg?v=0.1.6");
}

.building-left::before, 
.building-right::after {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	left: 0;
  	height: 100%;
  	width: 100%;
}

.building-left::before {
	background-image: linear-gradient(to left, rgba(0,0,0,0), rgba(239, 235, 232, 1));
}

.building-right::after {
	background-image: linear-gradient(to right, rgba(0,0,0,0), rgba(239, 235, 232, 1));
}

#floor {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

#floor svg {
	width: 100%;
	height: 100%;
}

.building-container path {
	fill: #41C1C6;
}

.building-container path,
.rp-box path {
	opacity: 0;
}

.building-container path.active,
.rp-box path.active {
	fill-opacity: 0.6 !important;
}

.click-notification {
	font-size: 25px;
	width: 250px;
	position: fixed;
	display: table;
	z-index: 9;
	right: -20px;
	top: 50%;
	height: 100%;
	-webkit-transform: translate3d(0, -50%, 0);
	transform: translate3d(0, -50%, 0);
	opacity: 0;
}

.click-notification .click-text {
	display: table-cell;
	vertical-align: middle;
}

.click-notification .click-text p {
	margin: 0;
	color: #998574;
	line-height: 1.3;
	font-weight: bold;
	text-transform: uppercase;
	font-family: "Varela Round", Arial, Helvetica, sans-serif;
}

.click-notification .click-text p:before, .click-notification .click-text p:after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate3d(-100%, -50%, 0) rotate(50deg) skew(10deg);
    display: inline-block;
    width: 40px;
    height: 40px;
    border-left: 4px solid currentColor;
    border-bottom: 4px solid currentColor;
}

.click-notification .click-text p:before {
    left: -25px;
}


.rp-box {
	z-index: 100;
	background: #fff;
	position: fixed;
	top: 15px;
	right: -100%;
	width: 50%;
	bottom: 15px;
	border: 2px solid #484342;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	z-index: 999;
    user-select: none; /* supported by Chrome and Opera */
   -webkit-user-select: none; /* Safari */
   -khtml-user-select: none; /* Konqueror HTML */
   -moz-user-select: none; /* Firefox */
   -ms-user-select: none; /* Internet Explorer/Edge */
}

.rp-box-inner {
	width: 100%;
	height: 100%;
	position: relative;
}

#rp-box-content,
#rp-box-subcontent {
	width: 100%;
	text-align: center;
	cursor: grabbing !important;
	cursor: -webkit-grabbing !important;
	cursor: -moz-grabbing !important;
}

#rp-box-content {
	/* height: 100%; */
    align-items: center;
}

#rp-box-content .floor-content {
	overflow: hidden;
	position: relative;
	text-align: left;
    display: flex;
    justify-content: center;
    /* height: 100%; */
    max-height: 100%;
    max-width: 100%;
    overflow: visible;
}

#rp-box-content .floor-content > div {
    position: relative;
    align-self: flex-start;
}

#rp-box-content .floor-content img {
	-webkit-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}

#rp-box-content img {
	max-width: 100%;
	max-height: 100%;
}

#rp-box-content svg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.rp-box-content {
	padding: 20px 50px;
	width: 100%;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

.rp-box-content-wrapper {
	overflow: hidden;
	height: calc(100% - 50px);
}

.rp-box-content-wrapper svg text {
	//text-shadow: 0px 1px 1px black;
    fill: #5e4d1c;
}

#rp-box-subcontent {
	height: 100%;
}

#rp-box-subcontent img {
	max-width: 100%;
	max-height: 100%;
	display: inline-block;
}

#apartment-info {
	background: #fff;
	font-size: 18px;
	position: relative;
	z-index: 9;
	text-align: left;
	padding: 10px 15px;
    display: flex;
    flex-wrap: wrap;
    column-gap: 10px;
}

#apartment-info span {
	display: inline-block;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

#apartment-info .apartment-level {
	color: #888888;
}

#apartment-info .apartment-number {
	color: #359bc2;
}

#apartment-info .apartment-type {
	color: #998a5b;
}

#apartment-image {
	height: 90%;
	height: calc(100% - 60px);
}

#svg-content {
	display: inline-block;
	background-position: top left;
	background-repeat: no-repeat;
	background-size: 100% auto;
	height: 100%;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	-webkit-transition: opacity 0.3s ease;
	-o-transition: opacity 0.3s ease;
	transition: opacity 0.3s ease;
}

#svg-content svg {
	width: 100%;
	height: 100%;
}

#svg-content path {
	-webkit-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}

#svg-content path:hover {
	fill-opacity: 0.5 !important;
}

.rp-box .tools {
	padding: 0;
	overflow: hidden;
}

.rp-box .tools li {
	display: inline-block;
	list-style: none;
	text-transform: uppercase;
	font-weight: bold;
	margin-right: 25px;
	float: left;
}

.rp-box .tools li.hidden {
    display: none;
}

.rp-box .tools a {
	color: #fff;
	text-decoration: none;
	outline: none;
}

.rp-box-content-top {
	height: 50px;
	margin: 0;
	line-height: 50px;
	font-size: 24px;
	background: #484342;
	overflow: hidden;
}

.rp-box-content-top h1 {
	float: left;
	margin: 0;
	font-size: 20px;
	font-weight: bold;
	text-transform: uppercase;
	color: #fff;
	line-height: 50px;
	padding-left: 15px;
	font-family: "Varela Round", Arial, Helvetica, sans-serif;
}

.rp-box-content-top ul {
	margin: 0;
	float: right;
}

.rp-box-content-top ul a {
	line-height: 50px;
}

.rp-box-footer {
	position: absolute;
	padding: 20px;
	background: #fff;
	bottom: 0;
	left: 0;
	width: 100%;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

.rp-box-footer a {
	font-size: 16px;
	color: #fff;
	display: inline-block;
	background: #484342;
	padding: 8px;
	-webkit-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}

.rp-box-footer a i {
	margin-right: 5px;
}

.rp-box-footer a:hover {
	background: #2b7397;
}

@media screen and (max-width: 1199px) {
	.click-notification {
		width: 180px;
		font-size: 18px;
	}
}

@media(min-width: 768px) {
	.click-notification .click-text {
		filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.5));
	}

	.click-notification .click-text p {
		color: white;
	}
}

@media screen and (max-width: 991px) and (min-width: 768px) {
	.building-container {
		max-width: 100%;
		height: auto !important;
	}
	.floor-image {
		width: 100%;
		height: auto;
	}
	.rp-box {
		width: 90%;
	}
}

@media screen and (max-width: 767px) {
	.squarespace-container-block {
		overflow: hidden;
	}
	.sqs-mobile-info-bar-dark {
		display: none !important;
	}
	.click-notification {
		/* display: none; */
        position: static;
		width: 100%;
		padding: 5vw;
		font-size: 14px;
		text-align: center;
		-webkit-transform: none;
		-ms-transform: none;
		transform: none;
		height: auto;
		top: auto;
		bottom: 0;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
		background: #efebe8;
		-webkit-transition: all 0.15s cubic-bezier(0.23, 0.47, 0.32, 1);
		-o-transition: all 0.15s cubic-bezier(0.23, 0.47, 0.32, 1);
		transition: all 0.15s cubic-bezier(0.23, 0.47, 0.32, 1);
	}
    .click-notification .click-text p:before, .click-notification .click-text p:after {
        display: none;
    }
	.touch .click-notification {
		bottom: 62px;
	}
	.sqs-mobile-info-bar-hide+#canvasWrapper .click-notification {
		bottom: -100%;
	}
	.rp-box {
		width: calc(100% - 30px);
		display: none;
		right: -100% !important;
	}
	.disable-mobile-scroll .rp-box {
		display: block;
		right: 15px !important;
	}
	.rp-box-content-top {
		font-size: 18px;
	}
	.rp-box-content-top h1 {
		font-size: 16px;
	}
	.rp-box .tools li {
		margin-right: 15px;
	}
	#apartment-image,
	#rp-box-content {
		padding: 20px;
	}
	body.disable-mobile-scroll {
		overflow: hidden !important;
	}
	.building-container {
		margin-top: 0;
        min-width: 0;
        min-height: 0;
        width: 100% !important;
        height: auto !important;
	}
	.building-path {
		/* -webkit-transform: scale(1.05) translate3d(0, 20px, 0);
      transform: scale(1.05) translate3d(0, 20px, 0); */
		display: flex;
		width: 100%;
		height: 100%;
	}
	.floor-image {
		height: auto;
		float: none;
		width: 100%;
	}
	/* .li-print {
		display: none !important;
	} */
	#svg-content {
		height: 100%;
		width: 100%;
	}
	#svg-content svg {
		height: 100%;
	}
}

@media print {
	body {
		background: none;
		margin: 0 !important;
	}
	#headerWrapper,
	.click-notification,
	.rp-box-content-top ul,
	.rp-box-footer,
	#svg-content,
	.building-left, .building-right
	 {
		display: none;
	}
	body.sidebar-position-left #footerWrapper,
	body.sidebar-position-left #pageWrapper {
		margin-left: 0;
	}
	/* .building-container {

	} */
	/* .building-path {
		text-align: center;
	} */
	.floor-image {
		margin: 0 auto;
		float: none;
		display: inline-block;
	}
	.rp-box {
		position: static;
		width: 100%;
		height: 100%;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
		page-break-before: avoid;
		page-break-inside: avoid;
		border: 0;
		padding: 20px;
	}
	#rp-box-subcontent img,
	#rp-box-content img {
		height: 90vh;
	}
	#rp-box-content {
		transform: scale(1) !important;
	}
	#canvas {
		min-width: 0;
	}
	.building-container {
		height: 100vh !important;
		padding: 50px 50px 0;
		width: calc(100% - 100px);
		margin: 0;
	}
	.building-path {
		text-align: center;
	}
}
