#map_wrapper{
	max-width:100%;
}

.ol-viewport{
	/*min-height: 802px;*/
	background:#bfbfbf; 
	
}

#layer-rivm-pand-bouwjaar{
	margin-bottom:23px;
}

#layer-rivm-pand-bouwjaar:after{
	content: "Selectie uit Cultuurhistorische kaart Fryslân";
	position:relative;
	left:-20px;
	top:23px;
	font-size:11.2px;
	display:block;
	font-weight:bold;
}


.ol-control {
	background: rgba(255,255,255,.8);
	height:34px;
	width:77px;
	border-radius: 10px;
	text-align: center;
}

.zoom-controls {
  position: absolute;
  display: flex;
  left: 358px; /* Adjust the left position as needed */
  top: 32px;
  z-index: 1000; 
}

.zoom-controls button:hover{
	outline:none;
}

.zoom-controls button:active{
	transform: translate(1px, 1px);
}

.zoom-controls .zoom-controls-in{
	background: url('/wp-content/uploads/2024/01/zoomin.svg') no-repeat center center;
	padding: 16px 12px 16px 22px;
	order:2;
	width:28px;
	height:22px; 
	
}
.zoom-controls .zoom-controls-out{
	background: url('/wp-content/uploads/2024/01/zoomout.svg') no-repeat center center;
	order:1;
	border-right:1px solid #BBDEEA;
	padding: 16px 12px 16px 26px;
	width:28px;
	height:22px;
}

.ol-control button {
	display:inline-block;
}

#loading-indicator{
	font-size:15px;
	font-weight:500;
	background:#fff;
	position:absolute;
	left:50%;
	top:45%;
	z-index:100;
	padding:1px 12px;
	border-radius:14px;
	transform: translateX(-25%);
	display:none;
}

#tooltip{
	background: #fff;
	text-decoration: none;
	position: absolute;
	border-radius:4px;
	padding:5px 20px;
	border-radius:14px;
	margin:0px;
	display:none;
	z-index:10;
}
#tooltip.dorp{
	padding-right:44px;
}
#tooltip.dorp:after{
	content:"";
	top:0px;
	text-align: center;
	right:0px;
	color:#fff;
	display: block;
	position: absolute;
	width:28px;
	height:28px;
	border-radius: 14px;
	background: var(--brand-2) url('/wp-content/uploads/2024/01/arrow-left.svg') no-repeat center center;
	sbackground-size: 9px 9px;
	
}
#tooltip .title{
	color:var(--body-color);
	font-family: var(--body-font-family);
	font-weight: bold;
	font-size:15px;
	margin:0px 0px 0px 0px;
}
/*
#tooltip .description{
	color:var(--body-color);
	font-family: var(--body-font-family);
	font-size:12px;
	margin:0px 0px 6px 0;
}
*/

#infowindow{
	transition: all 0.15s ease-in;
	position:absolute;
	top:37px;
	right:47px;
	width:50%;
	height:auto;
	overflow: auto;
	max-height:340px;
	background:rgba(255,255,255,.8);
	border-radius:10px;
	z-index:100;	
	padding:24px 28px 28px 28px;
	overflow: auto;
	display:none;
	font-size:10.5px;
	font-family: var(--body-font-family);
}

#infowindow .close{
	position: absolute;
	right:12px;
	top:12px;	
	display: block;
}

#infowindow .close:before{
	font-size: 16px;
    position: relative;
    top: -2px;
    left: 3px;
    line-height: 1px;
    content: "\f335";
    font-family: dashicons;
}

table.featureinfo{
	width:100%;	
}

table.featureinfo tr td:first-child{
	width:40%;
	vertical-align: top;
}

table.featureinfo tr td:last-child{
	width:60%;
	background:#f1f1f1;
	vertical-align: top;
	word-break: break-word;
	hyphens: auto;
	text-align: justify;	
}

#legenda{
	transition: all 0.15s ease-in;
	position:absolute; 
	top:31px;
	left:37px;
	width:303px;
	height:48px;
	background:rgba(255,255,255,.8);
	border-radius:10px;
	z-index:100;	
	padding:24px 0px 0px 24px;
	overflow: hidden;
}

#legenda.out{
	padding:24px 0px 28px 24px;
	min-height:350px;
	height:auto;
	max-height: calc(90vh - 60px);
	display:flex;
}

#lagen-wrapper{
	margin-top:38px;
	padding-right:28px;
	min-height: calc(100% - 26px);
	width:100%;
	overflow: auto;
	position: relative;
}

#legenda h3{
	font-family: var(--headings-font-family);
	font-size:16px;
	line-height: 24px;
	font-weight: 400;
	padding-left:12px;
	background:#D7F1FA;
	position:absolute;
	top:0px;
	left:0px;
	width:100%;
	padding: 12px 0 12px 24px;
}

button#toggler{
	width:23px;
	height:23px;	
	position: absolute;
	border:none;
	background:transparent;
	right:24px;
	top:12px;
	display:inline;
	border-radius: 50%;
	z-index: 101;
}

button#toggler:before{
	font-size: 16px;
	position: relative;
	top:0px;
	left:3px;
	line-height: 1px;
	content: "\f543";
	font-family: dashicons;
}


button#toggler.down:before{
	content: "\f460";
	top:-2px;
}

ul#lagen{
	padding:0px;
}	

ul#lagen > li{
	list-style: none;
	
	font-size:14px;
	font-weight:600;
}

ul#lagen li > ul{
	padding:0px;
}

ul#lagen li > ul > li > ul{
	padding-left:0px;
}

ul#lagen li ul li{
	padding:0 0 0 20px;
	cursor: pointer;
	font-size:13px;
	list-style: none;
}

ul#lagen li ul li.invisible{
	font-weight: 400;
}

.layer-list li.ui-state-highlight{
	height:29px;
	background:rgba(34,113,177,0.3);
}

ul#lagen > li:first-child{
	padding-bottom: 23px;
	border-bottom:1px solid rgba(36,74,148,.25);
}

ul#lagen > li:not(:first-child){
	padding-top: 23px;
}

ul#lagen li button{
	background:transparent;
	float:right;
	transform: translateY(8px);
	border:none;
	width:14px;
	height:14px;
}

ul#lagen li button.visibility:after{
	content: url(/wp-content/uploads/2024/01/visibility.svg);
	width: 14px;
	height:14px;
	right:0px;	
	top:-6px;
	display: inline-block;
	position: absolute;

}

ul#lagen li button.visibility.invisible:after{
	content: url(/wp-content/uploads/2024/01/visibility-off.svg);
}


ul#lagen li span.legend{
	margin-right:0px;
}

ul#lagen li span.legend:before{
	font-size: 16px;
	transform: translateY(-2px);
	padding-left: 0px;
	content: "\f347";
	font-family: dashicons;
	position: absolute;
	left:0px;
	font-weight: 400;
	color:#C73326;
}

ul#lagen li span.legend.invisible:before{
	content: "\f343";
}

/*******/
ul#lagen li button.legend{
	margin-right:3px;
	display:inline;
	position: absolute;
	left:0px;
	transform: translateY(5px);
	background:transparent;
	float:left;
}


ul#lagen li button.legend:before{
	font-size: 16px;
	transform: translateY(-2px);
	padding-left: 0px;
	content: "\f347";
	font-family: dashicons;
	position: absolute;
	left:0px;
	top:-5px;
	font-weight: 400;
	color:#C73326;
}

ul#lagen li button.legend.invisible:before{
	content: "\f343";
}



ul#lagen li span.icon{
	width:13px;
	height:13px;
	display: inline-block;
	vertical-align: middle;
	margin-right:5px;
	cursor: pointer;
}

ul#lagen li span.no-icon{
	border-radius: 6.5px;
	background:#d9d9d9;
}



ul#lagen li > ul li ul.legenda{
	padding:0px 4px 4px 12px;
}

.legenda.invisible{
	display:none;
}

.legenda .legendaItem{
	line-height:15px;
	color: var(--body-color);
	font-size: 13px;
	font-weight: 400;
	cursor: default!important;
	padding: 5px 0 5px 5px!important;
	display: flex;
}

.legenda .legendaItem div.color{
	display:inline-block;
	vertical-align:middle;
	width:13px;
	height:13px;
	margin-right:12px;
	border-radius: 50%;
	
}

ul#lagen li div.color_wrapper{ 
	position: relative;
	height:inherit;
	width:20px;
	vertical-align: top;
}	

ul#lagen li div.legendname{
	position: relative;
	
	vertical-align: middle;
	margin-right:5px;
	cursor: pointer;
	width:calc(100% - 30px);
}