html, body {
	height: 100%;
	margin: 0;
	padding: 0;
	background-color: #f2f2f2;
	position: relative;
}

#map-canvas, #map_canvas {
	position: relative;
	width: 80%;
	height: 64%;
	border-color: #000;
	float: left;
	box-shadow: 0 1px 2px #999;
}

#infobox {
	position: relative;
	width: 20%;
	height: 64%;
	float: right;
	border-color: #aaa;
}

@media print {
	html, body {
		height: auto;
	}

	#map-canvas, #map_canvas {
		height: 64%;
	}
}

#elevation_chart {
	position: absolute;
	bottom: 0;
	height: 35%;
	width: 98%;
}

#distance, #differencedown, #differenceup, #min, #max {
	line-height: 32px;
}

#table, #exporttable, #sharetable {
	height: 100%;
	width: 97%;
	margin: auto;
	text-align: center;
	vertical-align: middle;
	font-family: Helvetica, sans-serif;
	color: #444;
	font-size: 16px;
}

#mode {
	width: 60%;
}

#system {
	width: 35%;
}

#categories {
	height: 70%;
	width: 97%;
	margin: auto;
	text-align: center;
	vertical-align: middle;
	font-family: Helvetica, sans-serif;
	color: #444;
	font-size: 13px;
}

#categories select {
	width: 80%;
	text-align: center;
	vertical-align: middle;
	font-family: Helvetica, sans-serif;
	font-size: 14px;
	box-shadow: 0 0 1px #666;
}

#category_heading {
	padding: 10px;
}

#chartsettings {
	height: 30%;
	width: 97%;
	margin: auto;
	text-align: center;
	vertical-align: middle;
	font-family: Helvetica, sans-serif;
	color: #444;
	font-size: 13px;
}

#table th, #categories th, #chartsettings th, #exporttable th, #sharetable th {
	background: #f2f2f2;
	border: none;
	box-shadow: 0 0 2px #555;
	text-align: center;
	vertical-align: middle;
}

#address, #desti {
	width: 75%;
	height: 38%;
	float: right;
	transition: all 0.30s ease-in-out;
	border: #fff 1px solid;
	outline: none;
	padding: 3px 0px 3px 3px;
	margin: 5px 1px 3px 0px;
	border: 1px solid #ccc;
	font-family: Helvetica, sans-serif;
	font-size: 15px;
}

#address:focus, #desti:focus{
	box-shadow: 0 0 3px rgba(67, 149, 249, 1);
	margin: 5px 1px 3px 0px;
	border: 1px solid rgba(67, 149, 249, 1);;
}

#buttons {
	margin-left: auto;
	margin-right: auto;
	margin-top: auto;
	margin-bottom: auto;
	cursor: pointer;
	padding-top: 1px;
	padding-bottom: 1px;
}

#exportbutton {
	box-shadow: 0px 1px 0px 0px #978ef5;
	background-color: #4537f2;
	border-radius: 6px;

	text-indent: 0;
	border: 1px solid #2718d0;
	display: inline-block;
	color: #ffffff;
	font-family: Arial;
	font-size: 15px;
	font-weight: bold;
	font-style: normal;
	line-height: 48px;
	width: 121px;
	text-decoration: none;
	text-align: center;
	text-shadow: 1px 1px 0px #0e0581;
	cursor: pointer;

}

#red {
	width: 94px;
	height: 47px;
	z-index: 2;
	background-image: url('../images/red.png');
}

#orange {
	width: 94px;
	height: 47px;
	z-index: 2;
	background-image: url('../images/orange.png');
}

#gpxtype {
	width: 140px;
	font-size: 15px;
}

#invert {
	width: 25px;
	height: 31px;
	background-image: url('../images/invert.png');
	float: left;
	cursor: pointer;
	margin-left: 5px;
	margin-top: 15px;
	box-shadow: 0 0 2px #555;
	border-radius: 4px;
}

#invert:focus {
	outline: none;
}

#changechart {
	position: relative;
	left: 80px;
	top: -27px;
	background-image: url('../images/chart_fullscreen.png');
	border: none;
	cursor: pointer;
	width: 37px;
	height: 32px;
	z-index: 1;
	box-shadow: -1px -1px  1px #555;
	border-radius: 3px;
}

#rcbutton {
	width: 100%;
	height: 100%;
	font-family: Helvetica, sans-serif;
	font-size: 13px;
}

#rcbutton:hover {
	color: #000;
}

#safetynote, #savenote {
	font-size: 13px;
	font-weight: normal;
	padding-left: 5px;
	padding-right: 5px;
}

#savebutton {
	box-shadow: 0px 1px 0px 0px #f5978e;
	background-color: #f24537;
	border-radius: 6px;
	text-indent: 0;
	border: 1px solid #d02718;
	display: inline-block;
	color: #ffffff;
	font-family: Arial;
	font-size: 15px;
	font-weight: bold;
	font-style: normal;
	line-height: 48px;
	width: 121px;
	text-decoration: none;
	text-align: center;
	text-shadow: 1px 1px 0px #810e05;
	cursor: pointer;
}
#savebutton:hover {
	background-color: #c62d1f;
}
#savebutton:active {
	position: relative;
	top: 1px;
}

table p {
	font-weight: normal;
	font-size: 13px;
}