html,body {
	margin: 0;
	padding: 0;
	height: 90%;
	width: 100%;
}

#everything-else {
	position: absolute;
	width: 100%;
	top: 10px;
	height: calc(100% - 10px);
}

@media (max-width: 900px) {
	/* hide banner stuff, revert changes related to it which affect other objects*/
	#everything-else {
		height: 100%;
		top: 0px;
	}
}
	
/* layout for iPhone-sized screens */
@media (max-width: 520px) {
	/*Logo und Buttons ausblenden*/
	#osm_logo {
		display: none;
	}
	
	#errorMap, #Route, #editMap {
		display: none;
	}
	
	/*Suche verschieben*/
	#search {
		left: 5px !important;
		top: 45px !important;
	}
	
	#tfSearch {
		width: 210px !important;
		padding: 0px 10px;
	}
	
	/*Navigation formatieren*/
	div.mnav {
		text-align: center !important;
	}
	
	ul, ol {
		margin-left: 0px !important;
	}
	
	#karte_nav {
		left: 5px;
		right: 10px !important;
		font-size: 12px !important;
	}
	
	div.mnav ul li {
		padding: 0 15px 0 0 !important;
	}
	
	/*Kartenbox größer machen/anpassen*/
	#wrapper {
		top: 80px !important;
		left: 5px !important;
		right: 5px !important;
		height: 87%;
	}
	
	body {
		height: 130%;
	}
	
	/*iLike und Zoom-Controls ausblenden*/
	div.olILikeOSM {
		display: none;
	}
	
	#panzoombar {
				display: none;
	}
	
	/*LayerSwitcher anpassen*/
	div.olControlLayerSwitcher {
		top: 10px !important;
	}
	
	input[type="checkbox"], input[type="radio"] {
		height: 20px !important;
		width: 20px !important;
	}
	
	div.olControlLayerSwitcher label {
		top: -20px !important;
		left: 30px !important;
		line-height: 15px !important;
	}
	
	/*Slider für Suchergebnisse schmaler machen*/
	#slider {
		width: 300px !important;
	}
	
	/*Footer*/
	#legend {
		display: none;
	}
	
	#copyright {
		right: 5px !important;
		text-align: right;
		top: 110%;
	}
	
	#copyright:before {
	  display: block;
	  text-align: center;
	  font-family: "Helvetica Neue";
	  content: 'Mehr:';
	  font-weight: bold;
	  font-size: 14px;
  	}
	
}

div.olControlLayerSwitcher {
	width: 240px;	
	font-size: 13px;
	top: 70px;
}
div.olControlLayerSwitcher .layersDiv {
    background-color: #575757;
    padding-right: 220px;
}

div.olControlLayerSwitcher label {
    color:white;
    font-weight: bold;
    text-align: left;
	white-space:nowrap;
	left: 20px;
	/* Bootstrap Hack */
	top: -10px;
	position: relative;
	float: none !important;
	line-height: 0px;
}

div.olControlPermalink {
	right: 3px;
	bottom: 2.0em;
	display: block;
	position: absolute;
	font-size: smaller;
	font-size: 12px;
}

div.olControlAttribution {
	font-size: smaller;
	right: 3px;
	bottom: 0.5em;
	position: absolute;
	display: block;
	font-size: 11px;
}

 
#karte_nav {
	position: absolute;
	top: 3px;
	right: 30px;
} 
 
div.mnav {
	text-align: right;
}

div.mtop {
    margin-top: 2px;
}

div.mnav ul li {
   	list-style-type: none;
  	display: inline;
  	margin: 0;
  	padding: 0 0 0 15px;	
}

.lnav a:link {
	text-decoration: none;
	color: #3375A1;
	border-bottom: none;
}

.lnav a:visited {
	text-decoration: none;
	color: #3375A1;
	border-bottom: none;
}

.lnav a:hover {
	border-bottom: 1px solid #A9A9A9;
	color: #3FA9F5;
}

#osm_logo {
	position: absolute;
	height: 50px;
	top: 20px;
	left: 30px;
}

#tfSearch {
	width: 270px;
	padding: 5px 10px;
	font-size: 12px;
}

#search {
	position: absolute;
	left: 85px;
	top: 30px;
	font-size: 12px;
}

#search a:focus {
	outline: none;	
}

/* Route Button Dropdown
------------------------------------------ */

.descRoute {
	color: grey;
	text-align: right;
	position: absolute;
	right: 10px;
}

.descRouteORS {
	color: grey;
	text-align: right;
	position: absolute;
	right: 18px;
}

.menu-dropdown, .dropdown-menu {
	max-width: 520px;
}

a.menu::after, .dropdown-toggle::after {
	border: none;
}

.dropdown-menu a {
	text-shadow: none !important;
}

.btn .dropdown-toggle {
	text-shadow: none !important;
}

/* Code copied and slightly motified from Bootstrap 2 */

.dropdown-toggle {
  *margin-bottom: -3px;
}

.dropup,
.dropdown {
  position: relative;
}

.dropdown-toggle {
  *margin-bottom: -3px;
}

.dropdown-toggle:active,
.open .dropdown-toggle {
  outline: 0;
}

.caret {
  display: inline-block;
  width: 0;
  height: 0;
  vertical-align: top;
  border-top: 4px solid #000000;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  content: "";
}

.dropdown .caret,
.btn .caret {
  margin-top: 6px;
  margin-left: 5px;
  margin-right: -5px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1337;
  display: none;
  float: left;
  min-width: 400px;
  padding: 5px 0;
  margin: 2px 0 0;
  list-style: none;
  background-color: #ffffff;
  border: 1px solid #ccc;
  border: 1px solid rgba(0, 0, 0, 0.2);
  *border-right-width: 2px;
  *border-bottom-width: 2px;
  -webkit-border-radius: 6px;
     -moz-border-radius: 6px;
          border-radius: 6px;
  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
     -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
          box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  -webkit-background-clip: padding-box;
     -moz-background-clip: padding;
          background-clip: padding-box;
}

.dropdown-menu.pull-right {
  right: 0;
  left: auto;
}

.dropdown-menu .divider {
  *width: 100%;
  height: 1px;
  margin: 9px 1px;
  *margin: -5px 0 5px;
  overflow: hidden;
  background-color: #e5e5e5;
  border-bottom: 1px solid #ffffff;
}

.dropdown-menu a {
  display: block;
  padding: 3px 20px;
  clear: both;
  font-weight: normal;
  line-height: 20px;
  color: #333333;
  white-space: nowrap;
}

.dropdown-menu li > a:hover,
.dropdown-menu li > a:focus,
.dropdown-submenu:hover > a {
  color: #ffffff;
  text-decoration: none;
  background-color: #0088cc;
  background-color: #0081c2;
  background-image: -moz-linear-gradient(top, #0088cc, #0077b3);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0077b3));
  background-image: -webkit-linear-gradient(top, #0088cc, #0077b3);
  background-image: -o-linear-gradient(top, #0088cc, #0077b3);
  background-image: linear-gradient(to bottom, #0088cc, #0077b3);
  background-repeat: repeat-x;
  filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0);
}

.dropdown-menu .active > a,
.dropdown-menu .active > a:hover {
  color: #ffffff;
  text-decoration: none;
  background-color: #0088cc;
  background-color: #0081c2;
  background-image: linear-gradient(to bottom, #0088cc, #0077b3);
  background-image: -moz-linear-gradient(top, #0088cc, #0077b3);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0077b3));
  background-image: -webkit-linear-gradient(top, #0088cc, #0077b3);
  background-image: -o-linear-gradient(top, #0088cc, #0077b3);
  background-repeat: repeat-x;
  outline: 0;
  filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0);
}

.dropdown-menu .disabled > a,
.dropdown-menu .disabled > a:hover {
  color: #999999;
}

.dropdown-menu .disabled > a:hover {
  text-decoration: none;
  cursor: default;
  background-color: transparent;
}

.open {
  *z-index: 1000;
}

.open > .dropdown-menu {
  display: block;
}

.pull-right > .dropdown-menu {
  right: 0;
  left: auto;
}

.dropup .caret,
.navbar-fixed-bottom .dropdown .caret {
  border-top: 0;
  border-bottom: 4px solid #000000;
  content: "";
}

.dropup .dropdown-menu,
.navbar-fixed-bottom .dropdown .dropdown-menu {
  top: auto;
  bottom: 100%;
  margin-bottom: 1px;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -6px;
  margin-left: -1px;
  -webkit-border-radius: 0 6px 6px 6px;
     -moz-border-radius: 0 6px 6px 6px;
          border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover > .dropdown-menu {
  display: block;
}

.dropdown-submenu > a:after {
  display: block;
  float: right;
  width: 0;
  height: 0;
  margin-top: 5px;
  margin-right: -10px;
  border-color: transparent;
  border-left-color: #cccccc;
  border-style: solid;
  border-width: 5px 0 5px 5px;
  content: " ";
}

.dropdown-submenu:hover > a:after {
  border-left-color: #ffffff;
}

.dropdown .dropdown-menu .nav-header {
  padding-right: 20px;
  padding-left: 20px;
}

/* Buttons
------------------------------------------ */

#Route {
	position: absolute;
	left: 460px;
	top: 31px;
	font-size: 14px;
}

#editMap {
	position: absolute;
	left: 624px;
	top: 30px;
	font-size: 14px;
}

#errorMap {
	position: absolute;
	left: 770px;
	top: 30px;
	font-size: 14px;
}

/* ------------------------------------------ */

#copyright {
	position: absolute;
	right: 30px;
	bottom: 20px;
	font-size: 10px;
}

#legend {
	position: absolute;
	left: 30px;
	bottom: 20px;
	font-size: 10px;
}

#mapkey_area iframe {
	width: 295px;
	height: 95%;
    border: none;
    background-color: #ffffff;
    border: 0;
    z-index: 20002;
    overflow: auto;
}

#mapkey_area {
	height: 95%;
}

#wrapper {
	position: absolute;
	top: 70px;
	right: 30px;
	bottom: 35px;
	left: 30px;
}

#map {
	width: 100%;
	height: 100%;
}

#slider {
	padding: 5px;
	margin: 5px;
	width: 320px;
	height: 95% !important; /* Important Regel für moderne Browser */
	background-color: #FFFFFF;
	position: absolute;
	z-index: 1010;
	border: 1px solid #bebebe;
	border-radius: 6px;-moz-border-radius: 6px;
}

#slideButton img {
	position: relative;
	z-index: 1020;
	float: right;
}

#information {

	color: #000000;

	overflow: auto;

	height: 100%;

	overflow-x: hidden;
	margin-left: 5px;
	margin-right: 5px;
}

#information table {
	border: 0;	
}
	 
#information table td {
	border: 0;
	font-size: 12px;
	padding-top: 5px;
	padding-bottom: 0px;
	padding-left: 5px;
	padding-right: 0px;	
}
