body {
  font-family: "PT Sans", sans-serif;
  font-size: 20px;
  background: #fcfcfa;
  color: #333;
}

.nav-bar,
.about,
.newStuff,
.smootherView {
  margin: 10px;
  width: calc(100% - 20px);
}

.about {
  display: none;
  height: 0;
}
button {
  font-family: "PT Sans", sans-serif;
  font-size: 20px;
}

.tabs button {
  font-size: 20px;
  font-weight: 300;
  letter-spacing: normal;
  padding: 5px;
  margin: 5px;
  border: none;
  border-radius: 5px;
  background: none;
  color: #08c;
}

.tabs button.active {
  background-color: #08c;
  color: white;
}

.tabs button:hover {
  background-color: #005580;
  color: white;
  cursor: pointer;
}

.chartBar button {
  font-size: 20px;
  font-weight: 300;
}

.chartBar {
  margin-bottom: 0;
}
.description {
  font-size: 20px;
  background: #cae3fc;
  padding: 20px;
}

.legend,
.picker {
  margin-left: 20px;
}

.input-section .input-group {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
}


.picker button,
.picker input,
.picker label,
.input-section input,
.input-section label {
  display: inline-block;
  margin-top: 5px;
  margin-bottom: 5px;
}
.picker label {
  font-size: 16px;
  font-weight: bold;
}

.instruct {
  margin-top: 20px;
}
.avg {
  margin-left: 20px;
}
#gpxFile {
  height: 30px;
  width: 100%;
  font-family: "PT Sans", sans-serif;
  font-size: 20px;
}
#downloadGPX {
  text-decoration: none;
  color: black;
}
#newXML {
  margin-top: 20px;
  width: 100%;
  height: 600px;
}
#chart {
  font: 10px sans-serif;
  width: 100%;
  height: 500px;
}
#mini {
  font: 10px sans-serif;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.axis path,
.axis line {
  fill: none;
  stroke: #000;
  shape-rendering: crispEdges;
  stroke-width: 1px;
}
.line {
  fill: none;
  stroke-width: 1px;
}
.googleStatus{
  display: none;
  margin-left: 20px;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  color: green;
}
.error {
  color: red;
}
.eleStatus {
  display: none;
  margin-left: 20px;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  color: red;
}
.newStuff {
  display: none;
  height: 0;
  background: #cae3fc;
  font-size: 20px;
}
.downloadStatus {
  display: none;
  margin-left: 20px;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  color: red;
}
.input-section label{
  display: inline-block;
  text-align :left;
  width: 120px;
  margin-right: 10px;
  font-size: 20px;
}
.input-section input {
  width: auto;
  flex: 1 1 auto;
  display: block;
  flex-grow: 1;
  font-family: "PT Sans", sans-serif;
  font-size: 20px;
  margin-top: 5px;
}
.instruct button {
  margin-top: 5px;
  margin-bottom: 5px;
}
.smoothing button{
  width: 200px;
}
.smoothing label {
  margin-right: 10px;
}
input.number {
  width:  60px;
  height: 22px;
  text-align: right;
  font-family: "PT Sans", sans-serif;
  font-size: 20px;
}
/* New Stuff */
.resize path {
  fill: #666;
  fill-opacity: .8;
  stroke: #000;
  stroke-width: 2px;
}

.brush .extent {
  fill-opacity: .125;
  shape-rendering: crispEdges;
}

rect.pane {
  cursor: move;
  fill: none;
  pointer-events: all;
}

.modified {
  stroke: green;
  fill: transparent;
}

.original {
  stroke: blue;
  fill: transparent;
}

#mini .modified,
#mini .original {
  stroke-width: 3;
}

circle.modified {
  fill: green;
}

circle.original {
  fill: blue;
}

.legend .swatch {
  width:40px;
  height: 4px;
  display: inline-block;
  margin-bottom: 6px;
  margin-right: 10px;
}

.modified .swatch {
  background-color:green;
}

.original .swatch{
  background-color: blue;
}

.legend .original,
.legend .modified,
.legend .slope-legend-wrapper {
  margin-right: 20px;
  display: inline-block;
}

#slopeDistance {
  display: none;
}

.inline {
  display: inline-block;
}

.checkbox {
  cursor: pointer;
}

.checkbox.show-original {
  padding-bottom: 0;
  padding-top: 0;
}

.show-original label,
.show-original input {
  font-size: 20px;
  cursor: pointer;
}

div.tooltip {
  position: absolute;
  text-align: left;
  font: 16px sans-serif;
  line-height: 18px;
  color: white;
  background: #08c;
  border: 0;
  white-space: nowrap;
  font-weight: bold;
  padding: 12px;
  border-radius: 2px;
  pointer-events: none;
}

/* Creates a small triangle extender for the tooltip */
div.tooltip:after {
  box-sizing: border-box;
  display: inline;
  font-size: 10px;
  width: 100%;
  line-height: 1;
  color: #08c;
  position: absolute;
  pointer-events: none;
  content: "\25BC";
  margin: -1px 0 0 0;
  top: 100%;
  left: 0;
  text-align: center;
}

.instruct.legend {
  line-height: 30px;
}
.slope-legend-wrapper {
  display: inline-block;
  line-height: 60px;
}

.slope-legend {
  width: 200px;
  height: 60px;
  display: inline-block;
  vertical-align: bottom;
  margin-left: 0;
  margin-right: 10px;
}

.slope-legend svg {
  padding-top: 10px;
}

.key path {
  display: none;
}

.key line {
  stroke: #000;
  shape-rendering: crispEdges;
}

.key .tick {
  font-size: 12px;
}

@media (min-width: 600px)  {
  .nav-bar button {
    font-size: 40px;
    font-weight: 300;
    letter-spacing: -2px;
  }
}