.leaflet-hidden {
    visibility: hidden;
}
.legend {
    cursor: pointer;
}
.leaflet-container {
    z-index: 0;
}
.elevation-detached {
    font: 12px/1.5 Helvetica Neue,Arial,Helvetica,sans-serif;
    height: auto;
    position: relative;
    width: 100%;
    z-index: 0;
}
.elevation-detached .elevation {
    width: 100%;
}
.elevation-detached .background {
    max-width: 100%;
}
.elevation-control.elevation .background {
    background-color: rgba(70,130,180,.2);
    border-radius: 5px;
    display: block;
    overflow: visible;
    touch-action: none;
}
.elevation-control.elevation .background.zoomed .axis.time,
.elevation-control.elevation .background.zoomed .point {
    display: none;
}
.elevation-control.elevation .axis line,
.elevation-control.elevation .axis path {
    fill: none;
    stroke-width: 1;
    stroke: #2d1130;
}
.elevation-control.elevation .grid .tick line {
    shape-rendering: crispEdges;
    stroke-width: 1px;
    stroke: #eee;
}
.elevation-control.elevation .grid path {
    pointer-events: none;
    stroke-width: 0;
}
.elevation-control.elevation .axis text,
.elevation-control.elevation .point text {
    fill: #000;
    font-weight: 700;
    paint-order: stroke fill;
    stroke-width: 2px;
    stroke: #fff;
}
.elevation-control.elevation .y.axis text {
    text-anchor: end;
}
.elevation-control.elevation .area {
    fill: #4682b4;
    paint-order: stroke fill;
    stroke-width: 1.2;
    stroke: #000;
}
.elevation-detached .elevation-control.elevation .area {
    fill-opacity: .8;
}
.elevation-control.elevation .horizontal-drag-line {
    cursor: row-resize;
    stroke-dasharray: 5;
    stroke-width: 1.1;
    stroke: transparent;
}
.elevation-control.elevation .active .horizontal-drag-line {
    stroke: #000;
}
.elevation-control.elevation .horizontal-drag-label {
    fill: #000;
    font-weight: 700;
    paint-order: stroke;
    pointer-events: none;
    stroke-width: 2px;
    stroke: #fff;
}
.elevation-control.elevation .ruler {
    color: #000;
    cursor: row-resize;
}
.elevation-control.elevation .mouse-focus-line {
    pointer-events: none;
    stroke-width: 1;
    stroke: #0d1821;
}
.elevation-control.elevation .mouse-focus-label-rect {
    fill-opacity: .75;
    fill: #000;
    pointer-events: none;
    stroke-width: 1;
    stroke: #444;
}
.elevation-control.elevation .mouse-focus-label-text {
    fill: #fff;
    font-size: 10px;
    pointer-events: none;
}
.elevation-control.elevation .brush .overlay {
    cursor: unset;
}
.elevation-control.elevation .brush .selection {
    fill-opacity: unset;
    fill: rgba(23,74,117,.4);
    stroke: none;
}
.elevation-control.elevation .elevation-toggle {
    background-color: #f8f8f9;
    border-radius: 5px;
    box-shadow: 0 1px 7px rgba(0,0,0,.4);
    cursor: pointer;
    height: 36px;
    width: 36px;
}
.elevation-summary {
    font-family: Lucida Grande,Lucida Sans Unicode,Verdana,Arial,Helvetica,sans-serif;
    font-size: 12px;
    margin: 0 auto;
}
.leaflet-control-container .elevation-summary {
    text-shadow: 1.5px 0 0 #fff,-1.5px 0 0 #fff,0 1.5px 0 #fff,0 -1.5px 0 #fff,1px 1px #fff,-1px -1px 0 #fff,1px -1px 0 #fff,-1px 1px 0 #fff;
}
.elevation-detached .elevation-summary {
    margin: 0 45px;
}
.elevation-summary.multiline-summary {
    margin-right: 30px;
}
.elevation-detached .elevation-summary.multiline-summary {
    line-height: 2;
    margin-bottom: 12px;
    margin-top: 12px;
}
.elevation-summary.inline-summary>span:not(:last-child):after {
    content: "\0020\2014\0020";
}
.elevation-summary.multiline-summary>span {
    display: block;
}
.elevation-summary.multiline-summary .download {
    float: right;
    font-size: 1.2em;
    font-weight: 700;
    margin-top: -2.5em;
}
.elevation-detached .elevation-summary.multiline-summary .download {
    margin-top: -3.5em;
}
.elevation-summary .summaryvalue {
    font-weight: 700;
}
.elevation-control.elevation-collapsed .background,
.elevation-control.elevation-collapsed .elevation-summary {
    display: none;
}
.elevation-control.elevation-collapsed .elevation-toggle {
    display: block;
}
.elevation-control.elevation .elevation-toggle-icon {
    background: url(../images/elevation.svg) no-repeat 50%;
}
.elevation-control.elevation.elevation-expanded .elevation-toggle-icon.close-button {
    background: transparent url(../images/remove.svg) no-repeat 50%;
    height: 20px;
    position: absolute;
    right: 5px;
    top: 5px;
    width: 20px;
}
.elevation-control.elevation g.area>foreignObject {
    pointer-events: none;
}
.leaflet-elevation-pane .height-focus,
.leaflet-overlay-pane .height-focus {
    fill: #fff;
    stroke: #000;
}
.leaflet-elevation-pane .height-focus.line,
.leaflet-overlay-pane .height-focus.line {
    pointer-events: none;
    stroke-width: 2;
}
.leaflet-elevation-pane .height-focus-label,
.leaflet-overlay-pane .height-focus-label {
    fill: #000;
    font-size: 12px;
    font-weight: 600;
    paint-order: stroke;
    stroke-width: 2px;
    stroke: #fff;
}
.elevation-waypoint-icon:before {
    background: url(../images/elevation-pushpin.svg) no-repeat 50%/contain;
    content: "";
    display: inline-block;
    height: 100%;
    width: 100%;
}
.elevation-position-icon:before {
    background: url(../images/elevation-position.svg) no-repeat 50%/contain;
    content: "";
    display: inline-block;
    height: 100%;
    width: 100%;
}
.elevation-polyline {
    filter: drop-shadow(1px 1px 0 #FFF) drop-shadow(-1px -1px 0 #FFF) drop-shadow(1px -1px 0 #FFF) drop-shadow(-1px 1px 0 #FFF);
}
.elevation-placeholder {
    height: auto;
    margin: auto;
    width: 100%;
}
.elevation-placeholder~* {
    display: none!important;
}

.custom-theme.elevation-control.elevation .background {
    background-color: rgba(150,150,190,.21);
}

.lime-theme.elevation-control.elevation .background {
    background-color: rgba(156,194,34,.2);
}

.lime-theme.elevation-control.elevation .axis line,
.lime-theme.elevation-control.elevation .axis path {
    stroke: #566b13;
}
.lime-theme.elevation-control.elevation .grid .tick line {
    stroke: #ccc;
}
.lime-theme.elevation-control.elevation .brush .selection {
    fill: rgba(99,126,11,.4);
}
.lime-theme.elevation-control.elevation .elevation-toggle-icon {
    background: url(../images/elevation-lime.svg) no-repeat 50%;
}
.lime-theme.elevation-control.elevation .area {
    fill: #9cc222;
}
.lime-theme.elevation-control.elevation .mouse-focus-line {
    stroke: #101404;
}
.lime-theme.height-focus {
    fill: #9cc222;
    stroke: #000;
}
.lime-theme.elevation-polyline {
    stroke: #566b13;
}




.steelblue-theme.elevation-control.elevation .background {
    background-color: rgba(70,130,180,.2);
}
.steelblue-theme.elevation-control.elevation .axis line,
.steelblue-theme.elevation-control.elevation .axis path {
    stroke: #0d1821;
}
.steelblue-theme.elevation-control.elevation .brush .selection {
    fill: rgba(23,74,117,.4);
}
.steelblue-theme.elevation-control.elevation .elevation-toggle-icon {
    background: url(../images/elevation-steelblue.svg) no-repeat 50%;
}
.steelblue-theme.elevation-control.elevation .area {
    fill: #4682b4;
}
.steelblue-theme.elevation-control.elevation .mouse-focus-line {
    stroke: #0d1821;
}
.steelblue-theme.height-focus {
    fill: #4682b4;
    stroke: #000;
}
.steelblue-theme.elevation-polyline {
    stroke: #4682b4;
}
.purple-theme.elevation-control.elevation .background {
    background-color: rgba(115,44,123,.2);
}
.purple-theme.elevation-control.elevation .axis line,
.purple-theme.elevation-control.elevation .axis path {
    stroke: #2d1130;
}
.purple-theme.elevation-control.elevation .brush .selection {
    fill: rgba(74,14,80,.4);
}
.purple-theme.elevation-control.elevation .elevation-toggle-icon {
    background: url(../images/elevation-purple.svg) no-repeat 50%;
}
.purple-theme.elevation-control.elevation .area {
    fill: #732c7b;
}
.purple-theme.elevation-control.elevation .mouse-focus-line {
    stroke: #000;
}
.purple-theme.height-focus {
    fill: #732c7b;
    stroke: #000;
}
.purple-theme.elevation-polyline {
    stroke: #732c7b;
}
.yellow-theme.elevation-control.elevation .area {
    fill: #ff0;
}
.yellow-theme.elevation-polyline {
    stroke: #ff0;
}
.red-theme.elevation-control.elevation .area {
    fill: red;
}
.red-theme.elevation-polyline {
    stroke: red;
}
.magenta-theme.elevation-control.elevation .background {
    background-color: hsla(0,0%,100%,.47);
}
.magenta-theme.elevation-control.elevation .area {
    fill: #ff005e;
}
.magenta-theme.elevation-polyline {
    stroke: #ff005e;
}
.lightblue-theme.elevation-control.elevation .area {
    fill: #36c;
    stroke: #000;
}
.elevation-detached .lightblue-theme.elevation-control.elevation .area {
    fill-opacity: .45;
    stroke: #36c;
}
.lightblue-theme.height-focus {
    fill: #fff;
    stroke: #000;
}
.lightblue-theme.elevation-polyline {
    stroke: #36c;
}
.dist-marker {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #777;
    color: #000;
    font-size: .5rem;
    text-align: center;
}
