html, body {
	padding: 0;
	height: 100%;
	width: 100%;
	font-family: 'Lucida Grande', Geneva, Arial, Verdana, sans-serif;
}
body {
	margin: 0;
	background: #dea;
	color: #562;
	overflow:hidden;
}
h1 {
	display: inline-block;
	font-size:.85em;
	line-height: 1em;
	margin:0;
	padding:0;
}
h4,ul {
	margin: .25em;
}
#tracklist {
	padding:10px;
}
#tracklist a {
	margin-bottom:4px;
}
#map {
	position:absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	height:auto;
	width:auto;
}
a span {
	display:none;
}
.gpxzoom,
.gpxdown,
.leaflet-control-attribution.leaflet-control-permalink {
	cursor: pointer;
	display:inline-block;
	vertical-align:middle;
	display: block;
	width:26px;
	height:26px;
	background: url('icons.png') no-repeat #fff;
	border-radius: 4px;	
	color: #1978cf;
	border-radius: 4px;
	z-index:1000;
	box-shadow: 0 1px 7px rgba(0,0,0,0.5);
	margin-left: 10px;
	margin-top: 10px;
}
.gpxzoom:hover,
.gpxdown:hover,
.leaflet-control-permalink:hover {
	opacity: 0.8
}
.gpxzoom {
	background-position: 3px 3px;
}
.gpxdown {
	background-position:-22px 3px;
}
.textshare {	
	border: 1px solid #bbb;
	border-radius: 4px;
	width:40%;
}

.leaflet-container .leaflet-control-attribution {
	margin: 0;
}
.leaflet-popup-content-wrapper {
	border-radius:.5em;	
}
.leaflet-control-attribution.leaflet-control-permalink {
	background-position: -46px 3px;	
	border-radius: 6px;
	padding: 0;
	min-width: 26px;
	width: auto;
	height: 26px;
	margin: 10px;
}
.leaflet-control-permalink a {
	display: block;
	float: left;
	overflow: hidden;
	width: 26px;
	height: 26px;
	visibility: hidden;
}
.leaflet-control-permalink input {
	display: none;
	float: right;
	margin: 3px 4px;
	width: 200px;
}
.leaflet-control.elevation .background {
	opacity: 0.8;
}

#copy {
	position:fixed;
	z-index:1000;
	right:150px;
	top:-8px;
	font-size:.85em;
	padding:8px 8px 2px 8px;
	background: #323b44;
	border: 2px solid #737c85;		
	border-radius:.7em;
	opacity: 0.9;
	box-shadow:0 0 8px #5f7182;
	color:#eee
}
#copy a {
	color:#ccc;
	text-decoration:none
}
#copy a:hover {
	color:#fff
}
#ribbon {
	position: absolute;
	top: 0;
	right: 0;
	border: 0;
	-moz-opacity: .8;
	opacity: .8;		
}
.leaflet-bottom, .leaflet-control-layers {
    display: none !important;
    visibility: hidden !important;
}