.maplibregl-popup-close-button {
	padding: 8px 5px;
    color: grey;
    line-height: 5px;
}

.maplibregl-popup-close-button:focus {
	text-decoration: none;
}

.maplibregl-popup-close-button:hover {
	color: black;
}

.maplibregl-popup-content {
	padding: 20px 10px 10px;
}

.maplibregl-popup-content p {
	margin-bottom: 5px;
}

.gdprmap-container {
	position: relative;
}

.gdprmap-style-selector {
	position: absolute!important;
    top: 20px;
    left: 20px;
    z-index: 5;
}

.gdprmap-style-sel {
	width: 120px;
	height: 120px;
	border: 3px solid black;
	margin-bottom: 20px;
	position: relative;
	cursor:pointer;
	border-radius: 10px;
	overflow: hidden;
}

.custommarker {
	width: 50px;
	height: 50px;
	background: url(/wp-content/plugins/gdpr-map/img/marker.png) no-repeat;
}

.gdprmap-style-sel:last-child {
	color: #fff;
}

.gdprmap-style-sel.selected {
	border: 3px solid var(--primarybtnbg);
}

.gdprmap-style-sel span {
	position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
}

.gdprmap-style-sel.selected span {
	color: var(--primarybtnbg);
}


/* Searchbox */
.gdprmap-geolocation {
	position: absolute;
    z-index: 9;
    top: 10px;
    left: 10px;
    z-index: 9;
}

input.gdprmap-geolocation-autocomplete {
    width: 360px;
    height: 50px;
    margin-right: 10px;
    border-radius: 25px;
    border: 1px solid grey;
    padding-left: 20px;
    padding-right: 45px;
    background-color: #fff;
    font-size: 17px;
    color: grey;
    display: inline-block;
}

input.gdprmap-geolocation-autocomplete:focus {
	box-shadow: none;
	outline: none;
}

input.gdprmap-geolocation-autocomplete.open {
	border-radius: 15px 15px 0px 0px;
	border-bottom: none;
}

#gdprmap-woocommerce-autocomplete-wrapper {
	position: relative;
}

.gdprmap-geolocation-autocomplete-tbl, #gdprmap-woocommerce-autocomplete {
	width: 100%;
	max-width: 360px;
	border: 1px solid grey;
	position: absolute;
    top: 50px;
    left: 0;
    z-index: 9;
    background-color: #fff;
    border-top: none;
    box-shadow: 0 0 3px 0 var(--nv-secondary-accent);
}

#gdprmap-woocommerce-autocomplete {
	top: 0;
}

.gdprmap-geolocation button {
	position: relative;
    left: -55px;
    width: 30px;
    height: 50px;
    z-index: 6;
    height: 30px;
    padding: 0;
    text-align: right;
    color: #000;
}

.gdprmap-geolocation button, .gdprmap-geolocation button:hover, .gdprmap-geolocation button:focus {
	background-color: #fff;
}

.gdprmap-geolocation button span, .gdprmap-geolocation button:hover span, .gdprmap-geolocation button:focus span {
	text-decoration: none;
}

.gdprmap-geolocation button span {
	font-size: 25px;
	color: var(--primarybtnbg);
}

/* Autocomplete table */
.gdprmap-geolocation-autocomplete-tbl > div, #gdprmap-woocommerce-autocomplete > div {
	color: grey;
	font-size: 17px;
	cursor: pointer;
	padding: 10px 20px;
	line-height: 20px;
	padding-left: 10px;
	display: flex;
	align-items: center;
}
.gdprmap-geolocation-autocomplete-tbl > div:hover, #gdprmap-woocommerce-autocomplete > div:hover {
	background-color: rgb(232, 240, 254);
}
.gdprmap-geolocation-autocomplete-tbl > div > svg {
	height: 25px;
  position: relative;
  margin-right: 12px;
}
.gdprmap-geolocation-autocomplete-tbl > div:last-child {
	text-align: right;
    font-size: 12px;
    font-weight: 700;
    width: 100%;
    display: table;
    padding-right: 0;
}
.gdprmap-geolocation-autocomplete-tbl > div:last-child:hover {
	cursor: auto;
	background-color: #fff;
}
.gdprmap-geolocation-autocomplete-tbl > div:last-child svg {
	height: 16px;
	position: relative;
	top: 3px;
	margin-left: 5px;
	width: auto;
	display: inline;
}
#lds-ring {
	width: 360px;
}

@media (max-width: 640px) {

	.gdprmap-geolocation-autocomplete-tbl>div, .gdprmap-woocommerce-autocomplete>div {
		font-size: 15px;
	}

	.gdprmap-geolocation {
		
	} 

	.gdprmap-style-selector {
		top: 10px;
    left: 10px;
	}

	.gdprmap-style-sel {
		width: 50px;
		height: 50px;
		margin-bottom: 10px;
		font-size: 10px;
		border-width: 1px;
	}

	.gdprmap-style-sel span {
		top: 50%;
		transform: translateY(-50%); 
		bottom: unset;
	}

}


@media (max-width: 480px) {

	.gdprmap-geolocation {
		width: 300px;
	}
	input.gdprmap-geolocation-autocomplete, .gdprmap-geolocation-autocomplete-tbl {
		width: 260px;
	}
}

@media (max-width: 400px) {
	.gdprmap-geolocation {
		width: 270px;
	}
	input.gdprmap-geolocation-autocomplete, .gdprmap-geolocation-autocomplete-tbl {
		width: 230px;
	}
}