:root {
	--main-color: #015ca9;
}

* {
	/* font-family: sans-serif; */
}

#map {
    height: 100vh;
    max-width: 1239px;
    max-width: 100%;
    max-height: 820px;
    width: auto;
}

#map *{
    font-family: "Acumin W05 Regular", sans-serif !important;
}

#search-container {
	position: absolute;
	top: 10px;
	bottom: 10px;
	left: 10px;
	z-index: 999;
	background-color: white;
	padding: 10px;
	height: auto;
	display: flex;
	flex-direction: column;
	max-width: 380px;
	width: 100%;
}

#search-container h4 {
	color: var(--main-color);
	font-size: 20px;
}

.card {
	margin: 10px auto;
	padding: 10px;
	cursor: pointer;
	border-bottom: 1px solid #cecece;
}

.card:first-child {
	margin-top: 0;
	padding-top: 0;
}

.card.highlighted {
	background-color: yellow;
}

.card.selected {
	background-color: #e0e0e0;
}

.card h4 {
	margin: 0;
}

.card p {
	margin: 5px 0;
	padding: 0;
}

.leaflet-control-zoom.leaflet-bar.leaflet-control {
	right: 0px !important;
}

.address,
.city,
.opentime1,
.opentime2 {
	font-size: 16px;
}

.opentime1 {
	margin-top: 20px !important;
	display: block;
}

span.buttons {
	margin-top: 10px;
	display: inline-block;
}

div#list-container {
	overflow: auto;
	position: absolute;
	top: 125px;
	bottom: 0;
	right: 0;
	left: 0;
}

div#map-wrapper {
	position: relative;
}

div#search-container-inner {
	display: flex;
	justify-content: space-between;
	padding-top: 3px;
	flex-direction: row;
}

div#search-container-inner input {
	height: 50px;
	/* width: 320px;
     */
	display: block;
	width: 100%;
	padding: 10px 20px;
	line-height: 1.5;
	font-size: 20px;
	border: .0625rem solid #d8d8d8;
	border-radius: 5px;
	box-shadow: 0 0.0625rem 0.375rem 0 rgba(32, 33, 36, 0.47) !important;
	-webkit-box-shadow: 0 0.0625rem 0.375rem 0 rgba(32, 33, 36, 0.47) !important;
	color: #002943 !important;
	-webkit-text-fill-color: #002943  !important;
	background: white !important;
}

div#search-container-inner input:hover, div#search-container-inner input::focus, div#search-container-inner input:active{
	background:#fff !important;
	background-color: #fff !important;
	/* box-shadow: 0 0 0px 1000px white inset !important; */
	color: #002943 !important;
	-webkit-text-fill-color: #002943 !important;
}
.circle_cluster {
	width: 28px;
	height: 28px;
	line-height: 25px;
	background: var(--main-color);
	text-align: center;
	border-radius: 100%;
	color: #fff;
	font-weight: 600;
	border: 1px solid black;
	font-size: 18px;
	font-weight: 500;
}

a.btn_popup {
	display: block;
	padding: 12px 10px 8px;
	border: 1.5px solid #015ca9;
	border-radius: 0;
	text-transform: none;
	vertical-align: middle;
	margin-top: 10px;
	background: #015ca9;
	width: fit-content;
	color: #fff;
	text-transform: uppercase;
	text-decoration: none;
	width: auto;
	text-align: center;
}

a.btn-blau,
button.btn-blau {
	display: block;
	padding: 12px 10px 8px;
	border: 1.5px solid #015ca9;
	border-radius: 0;
	text-transform: none;
	vertical-align: middle;
	margin-top: 10px;
	background: #015ca9;
	width: fit-content;
	color: #fff !important;
	text-decoration: none;
	text-align: center;
	font-weight: 500;
}

a.btn-white {
	display: inline-flex;
	padding: 12px 10px 8px;
	border: 1.5px solid #015ca9;
	border-radius: 0;
	text-transform: none;
	vertical-align: middle;
	background: #ffffff;
	width: fit-content;
	color: #015ca9 !important;
	text-decoration: none;
	text-align: center;
	font-weight: 600;
	margin-top: 5px;
}

button#search-button, button#search-button:active {
	position: absolute;
	right: 20px;
	border: none;
	background: no-repeat;
	height: 51px;
	display: inline-block;
	line-height: 0px;
	padding: 0;
	top: auto;
}

button#search-button img {
	width: 32px;
	height: 32px;
	cursor: pointer;
}

button#search-button img:hover {
	box-shadow: 0px 0px 4px 0px #c1c1c1;
}

input#search-input:focus {
	box-shadow: 0 0.0625rem 0.375rem 0 rgb(32 33 36 / 69%);
	outline: none;
}

.card .buttons a:hover {
    text-decoration:underline;
}

a.btn_popup:hover {
    color: #fff !important;
	text-decoration:underline;
}

.card svg {
	fill: var(--main-color);
	width: 18px;
	margin-right: 5px;
}

button#toggleButton {
	display: none;
}

#list-container {
	margin-top: 12px;
}

.title_card {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.title_card span {
    width: auto;
    line-height: 27px;
    white-space: nowrap;
}

.leaflet-popup-content {
    font-size: 13px;
    width: 150px !important;
}

input#search-input::-ms-input-placeholder {
  color: #979797 !important;
  opacity: 1;
}

input#search-input::placeholder {
  color: #979797 !important;
}

div#result_search_span {
    color: #e21222;
    font-size: 15px;
    line-height: 24px;
    margin-top: 3px;
    margin-left: 20px;
    font-style: italic;
}

select#location-type {
    height: 50px;
    /* width: 320px; */
    display: block;
    width: 100%;
    padding: 10px 20px;
    line-height: 1.5;
    font-size: 20px;
    border: 0.0625rem solid #d8d8d8;
    border-radius: 5px;
    box-shadow: 0 0.0625rem 0.375rem 0 rgba(32, 33, 36, 0.47);
    color: #002943;
    margin-top: 12px;
}

button#myLocation {
    position: absolute;
    z-index: 999;
    width: 38px;
    padding: 3px 4px 0px 3px;
    right: 15px;
    top: auto;
    bottom: 15px;
}

button#myLocation[disabled] {
    position: absolute;
    z-index: 999;
    width: 38px;
    padding: 3px 4px 0px 3px;
    right: 15px;
    top: auto;
    bottom: 15px;
	background:#d2d2d2;
	border: 1px solid #d2d2d2;
}


a.btn-wg-whatsapp-item{
	display: inline-flex;
	align-items: center;
	gap: 8px; 
	padding-left: 32px; 
	background-image: url("https://www.wego-vti.de/wp-content/uploads/digital-glyph-green.svg");
	background-repeat: no-repeat;
	background-position: 8px center;
	background-size: 16px 16px;
}

.btn-wg-whatsapp-standort {
    margin-top: -3px;
    width: 25px;
    margin-right: 3px;
}

@media (min-width: 1011100px) {
	#search-container {
		position: relative;
		max-width: 100%;
		background: red;
		left: 0;
	}

	#map {
		max-width: 100% !important;
		width: 100%;
		height: auto;
		max-height: none;
	}

	#container_list {
		max-width: 100%;
		width: 100%;
		display: none;
	}

	#toggleButton {
		display: block;
	}
}
@media (min-width: 1000px) {
	#search-container{	
		display:block !important;
	}
}

@media (max-width: 1000px) {
	#toggleButton {
		position: absolute;
		bottom: 20px;
		right: 20px;
		font-size: 20px;
		display: block !important;
		z-index: 9998;
		min-width: 80px;
		top: auto;
	}

	#list-container {
		overflow: auto;
		position: absolute;
		top: 70px;
		bottom: 0;
		right: 0;
		left: 0;
	}

	div#search-container {
		max-width: 100%;
		height: 700px;
		max-height: 90vh;
		position: initial;
		position: relative;
		padding: 0;
		margin: 0;
		top: 0;
		left: 0;
	}

	#map {
		height: 900px;
		max-width: 1239px;
		max-height: 100vh;
		width: 100%;
		height: 700px;
		max-height: 90vh;
	}

	#search-container {
		display: none;
	}

	div#map-wrapper {
		padding: 0;
		margin: 0;
	}

	.leaflet-marker-icon {
		margin-left: -19px !important;
		margin-top: -38px !important;
		width: 38px !important;
		height: 38px !important;
		transform: translate3d(456px, 280px, 0px);
		z-index: 280;
		outline-style: none;
	}

	.circle_cluster {
		margin-top: 20px !important;
		width: 30px;
		height: 30px;
		font-size: 15px;
		line-height: 30px;
	}
	button#myLocation {
		position: absolute;
		z-index: 999;
		width: 43px;
		padding: 3px;
		right: 105px;
		top: auto;
		bottom: 20px;
		padding-bottom: 1px;
	}
}

@media (max-width: 500px) {
	.circle_cluster {
		margin-top: 20px !important;
		width: 40px;
		height: 40px;
		font-size: 20px;
		line-height: 40px;
	}
	.leaflet-marker-icon {
		margin-left: -25px !important;
		margin-top: -50px !important;
		width: 50px !important;
		height: 50px !important;
		transform: translate3d(456px, 280px, 0px);
		z-index: 280;
		outline-style: none;
	}
	
}