.room_block_parent {
	position: fixed;
	left: 0;
	top: 0;
	width: 100vw;
	height: 100vh;
	z-index: 502;
	display: flex;
	justify-content: center;
	align-items: center;
}

.room_block {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) translateY(10px) scale(0.98);
	width: 60vw;
	height: 80vh;
	background-color: #fff;
	border-radius: 15px;
	padding: 50px 44px;
	z-index: 502;
	overflow-y: auto;
	max-height: 80vh;
	/* Visible state controlled by parent .visible */
	opacity: 0;
	pointer-events: none;
	transition: opacity 260ms cubic-bezier(.2,.9,.2,1), transform 260ms cubic-bezier(.2,.9,.2,1);
}

.media_block {
	width: 100%;
	display: flex;
	justify-content: space-evenly;
	align-items: center;
	flex-wrap: nowrap;
	overflow: hidden;
	padding-bottom: 5px;
	height: 50%;
	min-height: 300px;
}

/* Parent visible state */
.room_block_parent.visible .room_block {
	opacity: 1;
	transform: translate(-50%, -50%) translateY(0) scale(1);
	pointer-events: auto;
}

/* EmptySpace fade */
.emptySpace {
	position: absolute;
	width: 100vw;
	height: 100vh;
	z-index: 501;
	opacity: 0;
	transition: opacity 260ms cubic-bezier(.2,.9,.2,1);
	background: #000;
}

	.media_block svg {
		position: absolute;
		margin: 0;
		padding: 11px;
		border-radius: 50%;
		border: #000 1px solid;
		cursor: pointer;
		transition: all 260ms cubic-bezier(.2,.9,.2,1);
	}

	.media_block svg polyline {
		transition: all 260ms cubic-bezier(.2,.9,.2,1);
	}

	.media_block svg:hover {
		background-color: #000;
	}

	.media_block svg:hover polyline {
		stroke: var(--COLOR-GREEN);
	}

		.media_block svg.hide {
			display: none;
		}

#arrow_right {
	right: 2px;
}

#arrow_left {
	left: 2px;
}

.media_block > * {
	margin-right: 10px;
}

	.media_block > *:last-child {
		margin-right: 0;
	}

#video_block {
	height: 100%;
}

.media_block img, .media_block video {
	border-radius: 15px;
	height: calc(100%);
}
.close_room_button {
	position: absolute;
	display: flex;
	justify-content: center;
	align-items: center;
	right: 20px;
	top: 20px;
	cursor: pointer;
	z-index: 9999;
	border: none;
	background: transparent;
	padding: 0;
}
.close_room_button {
	position: absolute;
	right: 20px;
	top: 20px;
	cursor: pointer;
	z-index: 9999;
}

.room_block_title {
	position: absolute;
	left: 50%;
	top: 10px;
	transform: translateX(-50%);
	font-size: 24px;
}

.room_block_text_block {
	margin-top: 20px;
	font-size: 24px;
	display: flex;
	justify-content: center;
}

.room_block_text {
	width: 60%;
	text-align: justify;
}


.img_block {
	position: fixed;
	left: 0;
	top: 0;
	width: 100vw;
	height: 100vh;
	z-index: 500;
	background-color: rgba(0, 0, 0, 0.8);
	display: flex;
	justify-content: center;
	align-items: center;
}

@media (max-width: 700px) {
	.room_block_text {
		width: 100%;
	}
}

@media (max-width: 1000px) {
	.room_block {
		width: 80vw;
	}
}

@media (hover: none) and (pointer: coarse) {
	.media_block svg {
		display: none;
	}

	.media_block {
		overflow-x: auto;
	}
}

/* Overlay used by scripts/aciqImg.js */
.aciq-img-overlay {
	position: fixed;
	left: 0;
	top: 0;
	width: 100vw;
	height: 100vh;
	z-index: 500;
	display: flex;
	justify-content: center;
	align-items: center;
	opacity: 0;
	pointer-events: none;
	transition: opacity 260ms cubic-bezier(.2,.9,.2,1);
	/* background left to .emptySpace for smoother layered control */
}
.aciq-img-overlay.visible {
	opacity: 1;
	pointer-events: auto;
}

.aciq-img-overlay .emptySpace {
	pointer-events: auto;
}

.aciq-img-overlay .aciq_img_block {
	position: relative;
	z-index: 502;
	height: auto;
	height: 90vmin;
	display: flex;
	justify-content: center;
	align-items: center;
}

.aciq-img-overlay .close_room_button {
	position: absolute;
	width: 40px;
	height: 40px;
	display: flex;
	justify-content: center;
	align-items: center;
	right: 20px;
	top: 20px;
	cursor: pointer;
	z-index: 9999;
	border: none;
	background: transparent;
	padding: 0;
}

.aciq-img-overlay .img_elem {
	border-radius: 15px;
	width: 100%;
	height: 100%;
	transform: translateY(12px) scale(0.98);
	transition: transform 260ms cubic-bezier(.2,.9,.2,1), opacity 260ms cubic-bezier(.2,.9,.2,1);
	display: block;
	opacity: 0;
	will-change: transform, opacity;
}


.aciq-img-overlay.visible .img_elem {
	transform: translateY(0) scale(1);
	opacity: 1;
}
.visible .emptySpace {
	opacity: 0.8;
}
.no-scroll {
	overflow: hidden !important;
}
