﻿html {
	font-size: 14px;
	min-height: 100%;
}

@media (min-width: 768px) {
	html {
		font-size: 16px;
	}
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
	box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

body {
	margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
	color: var(--bs-secondary-color);
	text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
	text-align: start;
}

#map {
	position: absolute;
	top: 56px; /* header height */
	left: 0;
	right: 0;
	bottom: 0;
}

.right-toolbar {
	z-index: 100;
	position: absolute !important;
	right: 10px;
	top: 10px;
	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);
}

.dropdown-item {
	cursor: pointer;
}

.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;
}
