/* Style-attributen voor ol3 map op kaartserver */
/* */

html, body {
 font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
 font-size: 11pt;
 background-color : white;
 cursor: default;
}
#map {
	position: absolute;
	top: 10px;
	margin-right: 20px;
    bottom: 8px;
    left: 8px;
    right:-12px;
    border: 1px solid #808080;
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAMAAABhq6zVAAAACVBMVEUAAADl5eX////EwbxGAAAAAXRSTlMAQObYZgAAABFJREFUeAFjYESCKACdT38ZAAWhAAxcPQc7AAAAAElFTkSuQmCC) repeat scroll 0 0 #f9f9f9;
    cursor: default;
}
#attribution {
	position: absolute;
	bottom: 12px;
	right:14px;
	color: #999;
	font: 10px Arial, sans-serif;
}
#attribution a:link, #attribution a:visited {
	color: #999;
	text-decoration: none;
}
#attribution a:hover {
	color: #666;
	text-decoration: none;
}
.ol-control {
	cursor: default;
}
.ol-rotate {
	top: 5em;
	left: .5em;
	right: calc(100% - 37px);
	right: unset;
}
.ol_legend_button {
    bottom: .5em;
    left: .5em;
    position: absolute;
    display: block;
    xbackground-color: #FFF;
    border-style: solid;
    border-width: 0px;
    xborder-color: #CCC;
    border-radius: 2px;
    cursor: default;
}
.ol_legend_button button {
    float: left;
    background-image: url(https://kaartserver.nl/css/ol3-legend.svg);
    background-repeat: no-repeat;
    background-position: 0px;
    xbackground-color: white;
    border-radius: 2px;
    border: none;
}

.ol_location_button {
    top: .5em;
    right: 3em;
    position: absolute;
    display: block;
    xbackground-color: #FFF;
    border-style: solid;
    border-width: 0px;
    xborder-color: #CCC;
    border-radius: 2px;
    cursor: default;
}
.ol_location_button button {
    float: left;
    background-image: url(https://kaartserver.nl/css/ol3-location.svg);
    background-repeat: no-repeat;
    background-position: 0px;
    xbackground-color: white;
    border-radius: 2px;
    border: none;
}

.ol_autorotate_button {
    top: .5em;
    right: 100px;
    position: absolute;
    display: block;
    xbackground-color: #FFF;
    border-style: solid;
    border-width: 0px;
    xborder-color: #CCC;
    border-radius: 2px;
    cursor: default;
}
.ol_autorotate_button button {
    float: left;
    background-image: url(https://kaartserver.nl/css/ol3-autorotate.svg);
    background-repeat: no-repeat;
    background-position: 0px;
    xbackground-color: white;
    border-radius: 2px;
    border: none;
}

.ol_legend {
    bottom: 6px;
    left: 6px;
    position: absolute;
    display: block;
    background-color: #FFF;
    border-style: solid;
    border-width: 1px;
    border-color: #CCC;
    border-radius: 2px;
    cursor: default;
}
.layer-switcher {
    position: absolute;
	top: .5em;
	right: .5em;
    text-align: left;
}
.layer-switcher .panel {
    padding-right: 50px;
    border: 1px solid #cccccc;
    background-color: white;
    border-radius: 2px;
}
.layer-switcher .panel {
    display: none;
}
.layer-switcher.shown .panel {
    display: block;
}
.layer-switcher button {
    float: right;
    background-image: url(https://kaartserver.nl/css/ol3-layerswitcher.svg);
    background-repeat: no-repeat;
    background-position: 0px;
    xbackground-color: white;
    border-radius: 2px;
    border: none;
}
.layer-switcher button:focus, .layer-switcher button:hover {
    background-color: rgba(0,60,136,.7);
}
.layer-switcher ul {
    padding-left: 1em;
    list-style: none;
}
.layer-switcher li.group {
    padding-top: 5px;
}
.layer-switcher li.group > label {
    font-weight: bold;
}
.ol-control button	{
	background-color:rgba(0, 102, 204,.7);
}
.ol-control button:hover{
	background-color:rgba(0, 102, 204,.9);
}
@media only screen and (max-width: 1025px) {
	#map {
		top: 0px;
		left: 0px;
		right: 0px;
		bottom: 0px;
		border: 0px;
		margin: 0px 0px 0px 0px;
	}
	#attribution {
		bottom: 4px;
		right:6px;
	}
}

@media print{
  #map { width: 100%; height: 90%; background: gray; border: 1px solid black;}
}