﻿#map {
	height: 100%;
	width: 100%;
}

.right-toolbar {
	z-index: 100;
	position: absolute;
	right: 10px;
	top: 70px;
	overflow: hidden;
	transition: all 250ms;
}

.popup-panel {
	position: absolute;
	width: max-content;
	top: 0;
	left: 0;
	padding: 10px;
	border-radius: 4px;
	background: var(--bs-body-bg);
}

#arrow, #clipArrow {
	position: absolute;
	width: 8px;
	height: 8px;
	transform: rotate(45deg);
	background: var(--bs-body-bg);
}

body, html {
	height: 100%;
}

main {
	height: calc(100% - 4rem);
}

.caret {
	cursor: pointer;
	user-select: none;
	/* Prevent text selection */
}

.layer-list {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

/* Hide the nested list */
.nested {
	display: none;
	list-style: none;
	padding-left: 10px;
}

	.nested ul {
		padding-left: 20px;
	}

.group-check {
	margin-left: 0px !important;
}

.group-check-label {
	margin-left: 20px !important;
}


#layer-tree {
	max-height: calc(100vh - 270px);
	overflow: auto;
}

.active {
	display: block;
}

.ol-popup {
	position: absolute;
	background-color: white;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
	padding: 15px;
	border-radius: 10px;
	border: 1px solid #cccccc;
	bottom: 12px;
	left: -50px;
	min-width: 280px;
}

	.ol-popup:after,
	.ol-popup:before {
		top: 100%;
		border: solid transparent;
		content: " ";
		height: 0;
		width: 0;
		position: absolute;
		pointer-events: none;
	}

	.ol-popup:after {
		border-top-color: white;
		border-width: 10px;
		left: 48px;
		margin-left: -10px;
	}

	.ol-popup:before {
		border-top-color: #cccccc;
		border-width: 11px;
		left: 48px;
		margin-left: -11px;
	}

.ol-popup-closer {
	text-decoration: none;
	position: absolute;
	top: 22px;
	right: -20px;
	border:none;
	background:transparent;
}

	.ol-popup-closer:after {
		content: "✖";
	}

.popup-select-container {
	padding-top: 15px;
	padding-bottom: 15px;
	background-color: white;
}

#popup-content {
	padding-left: 15px;
	padding-right: 15px;
	max-height: 50vh;
	overflow: scroll;
	overflow-x: hidden;
}

#feature-select {
	width: 95%;
}

.popup-table {
	overflow-wrap: break-word;
	overflow-x: hidden;
	min-width: 20vw;
	max-width: 30vw;
}
