.swipe-compare-container {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 15;
	overflow: hidden;
	background: transparent;
	display: none;
	pointer-events: none;
}

#main.swipe-compare-active #swipeCompareContainer {
	display: block;
}

#main.swipe-compare-active #mapContainer {
	z-index: 10;
	clip-path: inset(0 50% 0 0);
}

.swipe-map {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #1a1a1a;
	pointer-events: auto;
}

.swipe-map-right {
	z-index: 1;
	clip-path: inset(0 0 0 50%);
}

.swipe-divider {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 4px;
	margin-left: -2px;
	z-index: 5;
	cursor: ew-resize;
	background: rgba(255, 255, 255, 0.85);
	box-shadow: 0 0 4px rgba(0, 0, 0, 0.45);
	touch-action: none;
	pointer-events: auto;
}

.swipe-divider::after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: -10px;
	width: 24px;
}

.swipe-divider::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 28px;
	height: 28px;
	margin: -14px 0 0 -14px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.95);
	border: 2px solid rgba(60, 60, 60, 0.65);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.swipe-select {
	position: absolute;
	top: 12px;
	z-index: 6;
	max-width: min(280px, 42vw);
	min-width: 140px;
	height: 36px;
	padding: 4px 8px;
	border: 1px solid rgba(0, 0, 0, 0.25);
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.95);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
	font-size: 13px;
	box-sizing: border-box;
	pointer-events: auto;
}

.swipe-select-left {
	left: 12px;
}

.swipe-select-right {
	right: 52px;
}

.swipe-compare-close {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 7;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 1px solid rgba(0, 0, 0, 0.25);
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.95);
	color: #333;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: auto;
}

.swipe-compare-close:hover {
	background: #fff;
}

#main.swipe-compare-active #mapContainer #obliqueBTN,
#main.swipe-compare-active #mapContainer #panoBTN,
#main.swipe-compare-active #mapContainer #extentBTN,
#main.swipe-compare-active #mapContainer #tDOutBTN {
	display: none !important;
}

#swipeMapRight .ol-scale-line {
	bottom: 1px;
	left: 1px;
	background: rgba(51, 51, 51, 1);
}
