html,
body,
main,
#sectionMap,
#Map {
	height: 100%;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial;
	font-size: .95rem;
	font-weight: var(--bs-body-font-weight);
	line-height: var(--bs-body-line-height);
}

.input {
	font-family: 'Lucida Casual', 'Comic Sans MS';
}

span.pfeil_rechts:before {
	content: url(../img/arrow_right.png);
}

span.pfeil_links:before {
	content: url(../img/arrow_left.png);
}

.ui-autocomplete {
	height: 200px;
	overflow-y: scroll;
	overflow-x: hidden;
	z-index: 4096;
}

input[type=checkbox] {
	-ms-transform: scale(1.3);
	/* IE */
	-moz-transform: scale(1.3);
	/* FF */
	-webkit-transform: scale(1.3);
	/* Safari and Chrome */
	-o-transform: scale(1.3);
	/* Opera */
	padding: 10px;
}

.table {
	display: block;
	overflow-x: auto;
	width: 100%;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.row,
.form-group {
	margin-right: 0px;
	padding-right: 0px;
}

.alert-info {
	background-color: #d9edf7;
	color: #103656;
	border-color: #24759E;
	border-width: 2px;
	margin-left: 15px;
	margin-right: 15px;
	padding-right: 15px;
}

.alert-danger {
	/*background-color: #ea9999;*/
	color: #570000;
	border-color: #8A0000;
	border-width: 2px;
	margin-right: 15px
}

.alert-text {
	color: #570000;
}

legend {
	border: 1px solid;
	font-size: 1em;
}



.col-sm-11 .col-md-11 .col-lg-11 .col-xl-11 {
	max-width: 100%;
	flex: 0 0 100%;
}

.form-control,
.form-select,
.ms-container .ms-list,
.card-header,
.select2-container--default .select2-selection--single {
	border-color: #757575;
}

.card-header {
	font-weight: bold;
}

::file-selector-button {
	line-height: 2em;
	font-size: .875rem;
}

/* span.select2.select2-container.select2-container--default{
	display: inline;
} */

.select2-container {
	width: 100% !important;
}

.select2-container--default .select2-selection--single {
	height: calc(1.5em + .75rem + 2px);
	font-size: .875em;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: 2em;
	font-size: .875;
}

.card {
	border: none;
	margin-right: 15px;
}

.card-block {
	border-left: 1px solid #757575;
	border-right: 1px solid #757575;
	border-bottom: 1px solid #757575;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable,
.ms-container .ms-selectable li.ms-hover,
.ms-container .ms-selection li.ms-elem-selection {
	background: #002B57;
	color: #fff;
}

.select2-container--default .select2-results__option--selected {
	background-color: white;
}

.form-control:focus,
input:focus-visible,
a:focus,
a:focus-visible,
.leaflet-marker-icon:focus,
#state:focus-visible,
.switch:focus-within,
summary:focus,
input:focus {
	box-shadow: 0 0 0 .3rem #6F8FA8;
	/* rgba(0,123,255,.30);*/
	border: 2px solid #002B57;
	outline-color: #002B57;
	outline-style: solid;
	outline-width: 2px;
	padding: 0.3em;
	display: inline-block;
	outline-offset: 0;
}

.alert-danger a:focus {
	box-shadow: none;
}


.leaflet-marker-icon:focus {
	background-color: white;
}

#divMap:focus,
.btnKarte:focus,
.btnKarte:focus-visible,
.btn:focus,
.btnKarteClose:focus,
.select2-container--default .select2-selection--single:focus,
.ms-container .ms-list:focus {
	box-shadow: 0 0 0 .3rem #6F8FA8;
	/*#D4E0EC; /* rgba(0,123,255,.30);*/
	border: 2px solid #002B57;
	outline-color: #002B57;
	outline-width: 2px;
	outline-style: solid;
}



input:focus-visible {
	outline: ButtonText dotted 3px;
}

.btn-danger {
	background-color: #990000;
	border-color: #990000;
}

.btn-danger:focus {
	background-color: #F63C3A;
	border: 2px solid #570000;
	box-shadow: 0 0 0 .3rem rgba(153, 0, 0, .50);
	border-width: 2px;
	padding: 8px 16px;
}

.btn-primary {
	background-color: #4D4DFF;
	border-color: #4D4DFF;
}

.btn-primary:hover {
	background-color: #00000E;
	border-color: #00000E;
}

.btn-primary:focus {
	background-color: #00000E;
	border: 2px solid #CECED4;
	box-shadow: 0 0 0 .3rem #4D4DFF;
	border-width: 2px;
	outline-color: #CECED4;
	padding: 8px 16px;
}

button:focus:not(:focus-visible) {
	outline: solid 2px;
}

/***** DETAILS *****/
details summary span.open {
	display: none;
}

details[open] summary span.open {
	display: inline;
}

details[open] summary span.closed {
	display: none
}

details ul {
	margin-top: 5px;
}

/***** KARTE/LEAFLET *****/
a,
.leaflet-container a {
	color: #091B39;
}

.links {
	font-weight: bold;
}

a:hover,
.leaflet-container a:hover {
	/* color: #003366; */
	color: 0000FF;
}

/* .leaflet-marker-icon {
	background-color: #fff;
	border: 2px solid #000;
} */

.leaflet-popup-content-wrapper {
	padding: 0px;
	border-radius: 0px;
	margin-left: 50px;
	margin-right: 50px;
}

.leaflet-popup-content {
	margin: 0px;
	font-size: 1em;
	overflow-y: auto; 
}

.leaflet-popup-tip {
	width: 0px;
	height: 0px;
}

.leaflet-tile-container {
	filter: hue-rotate(180deg);
}

.btnKarte-group {
	position: absolute;
	display: flex;
	flex-direction: column;
	top: 10px;
	left: 10px;
	gap: 2px;
	z-index: 99999999;
}

.btnKarte {
	width: 2.25em;
	height: 2.25em;
	font-size: 1em;
	line-height: 2.25em;
	border-radius: 4px;
	color: #263238;
	background-color: #fff;
	border: 2px solid rgba(0, 0, 0, 0.2);
}

.btnKarteClose {
	float: right;
	color: #263238;
	width: 34px;
	height: 34px;
	line-height: 34px;
	background: transparent;
	border: 0px;
	font: 16px / 24px Tahoma, Verdana, sans-serif;
}

.datepicker-dialog table.dates {
	border-spacing: 5px;
}

.datepicker-dialog table.dates {
	padding-left: 0.5em;
	padding-top: 0.5em;
}

/****** SWITCH *******/
/****** https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_switch ******/
.switch {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	cursor: pointer;
	margin-left: 1em;
	position: relative;
}

.switch:focus-within {
	display: inline-flex;

}

/* Visually hidden, aber voll zugänglich */
.switch input {
	/* position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	border: 0; */
	/* pointer-events: none; */
	position: absolute;
	width: 48px;
	height: 28px;
	opacity: 0;
	/* unsichtbar, aber klickbar */
	margin: 0;
	cursor: pointer;
	/* z-index: 5; */
}

/* Switch Track */
.slider {
	width: 48px;
	height: 28px;
	background-color: rgb(204, 204, 204);
	/* Aus – 3:1 */
	border: .15em solid #3D3D3D;
	border-radius: 999px;
	position: relative;
	pointer-events: none;
}

.slider::before {
	content: "";
	position: absolute;
	left: .12em;
	bottom: .12em;
	width: 20px;
	height: 20px;
	background-color: #ffffff;
	border-radius: 50%;
	border: .15em solid #3D3D3D;

}

/* .switch input:checked+.slider { */
.slider.is-on {
	background-color: #00C200;
}

/* .switch input:checked+.slider::before { */
.slider.is-on::before {
	transform: translateX(20px);
}



@media (min-width: 544px) {
	.col-sm-11 {
		max-width: 100%;
		flex: 0 0 100%;
		padding-right: 0px;
	}
}

@media (min-width: 768px) {
	.col-md-11 {
		max-width: 100%;
		flex: 0 0 100%;
		padding-right: 0px;
	}
}

/***** NVIGATION *****/
nav {
	background: #002B57;
	margin-bottom: 24px;
}

/* Burger Button */
.button_menue {
	margin-left: auto;
	background: none;
	border: none;
	color: #fff;
	font-size: 1em;
	padding: .9rem;
	cursor: pointer;
	justify-content: flex-end;
	display: flex;
}

.navList {
	list-style: none;
	margin: 0;
	padding: 0;
	display: none;
	flex-direction: column;
	gap: 5px;
	width: 100%;
}

.navList a {
	display: block;
	padding: 8px;
	color: white;
	font-weight: bold;
	text-decoration: none;
	border: solid 2px #002B57;
}

.navList a:hover {
	text-decoration: underline;
	text-decoration-thickness: 0.2rem;
}

.navList a:focus-visible,
.button_menue:focus-visible,
.navList a:focus,
.button_menue:focus {
	outline: 3px solid #6F8FA8;
	outline-offset: 3px;
	border-radius: 2px;
}

.navList.open {
	display: flex;
}

.navList_active {
	background: #FCFCFD;
	color: #263238 !important;
	/*#001E3C !important;*/
}

.sprunglink {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	border: 0;
}

.sprunglink:focus {
	position: absolute;
	left: 10px;
	top: 10px;
	width: auto;
	height: auto;
	margin: 0;
	padding: 8px 12px;
	background: #ffffff;
	color: #002B57;
	font-weight: bold;
	z-index: 1000;
	outline: 3px solid #6F8FA8;
}

/* Desktop */
@media (min-width: 600px) {
	.button_menue {
		display: none;
	}

	.navList {
		display: flex !important;
		flex-direction: row;
	}
}


select {
    background: white;
    color: black;
}

select option {
    background: white;
    color: black;
}

select option:checked {
    background: #003366;
    color: white;
}