/* font */

html, body, input, select, button, textarea, table {
	font-size: 100% !important;
	font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}


/* control positioning */

.leaflet-control {
	position: relative;
}
.leaflet-top,
.leaflet-bottom {
	position: absolute;
	pointer-events: none;
}


/* general toolbar styles */

.leaflet-bar a {
	background: rgba(245, 242, 242, 0.874);
	border-bottom: 1px solid #d8d8d8;
}

/* zoom control */

.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out  {
	font-size: 14px;
	font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; /* bootstrap override */
}


/* layers control */


.leaflet-control-layers {
	width: 150px;
	height: 30px;
	box-sizing: content-box; /* bootstrap override -> box-sizing: border-box */ 
	margin-top: 7px !important;
	border: 2px solid rgba(0, 0, 0, 0.5) !important;
}  
.leaflet-control-layers-expanded {
	padding: 2px;
	color: black; /* white */
	font-size: 11px;
	font-weight: bold;
}
.leaflet-control-layers-selector {
	display: none;
}
.leaflet-control-layers-selector:not(:checked) + span,
.leaflet-control-layers-selector:not(:checked) + span:before {
    opacity: 0.3;
	font-weight: lighter;
}
.leaflet-control-layers label {
	display: flex;		
	justify-content:center;
	align-items: center;
	width: 150px;
	height: 30px;  
}	
.leaflet-control-layers-scrollbar {
	overflow-y: hidden;
}
@media (max-width: 500px) {
	.leaflet-control-layers, .leaflet-control-layers label {
		height: 18px;
		width: 100px;
	}  
	.leaflet-control-layers {
		margin-top: 4px !important;
	}  
	.leaflet-control-layers-expanded {
		font-size: 9px;
	}
}


/* attribution and scale controls */

.leaflet-bottom.leaflet-right {
	position: absolute;
	bottom: 0;
	right: 0;  
}
.leaflet-control-attribution {
	right: 3px;
	background-color: rgba(255, 255, 255, 0.7);
	font-weight: bold;
	font-size: 9.5px;
}
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	border: 2px solid rgb(255, 255, 255);
	border-radius: 7px;
	box-shadow: 0 0 4px rgba(0,0,0,0.5);
}
@media (max-width: 500px) {
	.leaflet-control-attribution {
		right: 0px;
		width: 100px;
		font-size: 8.5px;
	}
}


/* popup */
/*.leaflet-popup-content-wrapper {	
	min-width: 420px;
}*/
a {	
	font-weight: bold;
}
td {
	vertical-align: top !important;
	padding: 1.3px;
}
.image {
	max-width: 80px;
	max-height: 30px;
	margin-right: 10px;	
}
.noImage {
    margin-right: 0;
}
.title {
	color: #107fc4;
	font-weight: bold;
	font-size: 1.7rem;	
	font-size: 13.5px;
	vertical-align: middle !important;
}
.att {
	font-size: 12px;
	font-weight: bold;
	padding-right:10px;
}
.att2 {
	font-size: 12px;
	font-weight: bold;
}
.attContent {
	font-size: 12px;
	padding-right: 10px;
	word-break: break-word;
}
.attContentItalic {
	font-size: 12px;
	padding-right: 10px;
	word-break: break-word;
	font-style: italic;
}
.attContent2 {
	font-size: 12px;
	padding-top: 10px;
	padding-right: 10px;	
}
.attContentSmall {
	font-size: 11px;
}
.attLink {
	font-size: 12px;
	font-weight: bold;
	padding-right: 10px;
	padding-top: 8px
}
.attContentLink {
	font-size: 12px;
	padding-top: 8px
}
@media (max-width: 500px) {
	.leaflet-popup-content-wrapper {
		min-width: 214px;
	}
	.title {
	font-size: 12px;
	}
	.att, .attContent {
	font-size: 11px;
	}
}


/* Control Geocoder */

.leaflet-top {
	position: absolute !important;
  }
  @media (max-width: 500px) {
	.leaflet-control-geocoder-form input {
	width: 200px;
  }
}

/* CUSTOM STYLES */


/* layers */

.styleBadenWuerttembergFillColor {
	fill-opacity: 0.08;
	fill: black;
	stroke-width: 0;
}
.styleBadenWuerttembergLine {
	fill-opacity: 0;
	stroke-width: 2;
	stroke: black;
}
.styleOnStreet {
	background: #ff9933;
	fill: #ff9933;
	fill-opacity: 1;
	stroke: black;
	stroke-width: 1;
}
.styleCarPark {
	background: #5587eb;
	fill: #5587eb;
	fill-opacity: 1;
	stroke: black;
	stroke-width: 1;
}
.styleOther {
	background: #cacaca;
	fill: #cacaca;
	fill-opacity: 1;
	stroke: black;
	stroke-width: 1;
}


/* MobiData BW Logo */
#MobiDataBW {
	width: 140px;
	position: absolute;
	background-color: rgba(255, 255, 255, 0.9);
	box-shadow: 0 1px 5px rgba(0,0,0,0.1);
	bottom: 15px;
	left: 15px;
	z-index: 1000;
}
#Kontakt {
	width: 50px;
	position: absolute;
	/*box-shadow: 0 1px 5px rgba(0,0,0,0.1);*/
	bottom: 70px;
	left: 10px;
	z-index: 1000;
}
@media (max-width: 500px) {
	#MobiDataBW {
		width: 75px;
		bottom: 3px;
		left: 3px;
	}
}
