html, body.mapbody {
    height: 100%;
    font-size: 100% !important; /* override bootstrap's meddling ways '*/
}

#sv_canvas {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    background: lightpink;
}

#map_canvas {
    background: yellow;
}

#map_canvas.fullsize {
    width: 100%;
    height: 100%;
}

#map_canvas.small {
    width: 150px;
    height: 150px;
    right: 0px;
    bottom: 0px;
    z-index: 100;
}

#map_canvas.small .svhide {
    display: none !important;
}

#map_canvas .ui-resizable-n {
    background: white;
    border-top: 1px solid gray;
    border-bottom: 1px solid gray;
    height: 10px;
}

#map_canvas .ui-resizable-w {
    background: white;
    border-left: 1px solid gray;
    border-right: 1px solid gray;
    width: 10px;
}

#map_canvas .ui-resizable-nw {
    border-top: 1px solid gray;
    border-left: 1px solid gray;
    background: white;
    width: 20px;
    height: 20px;
    box-shadow: 10px 10px 0px 0px white inset, -1px -1px 0px 0px gray inset;
}

.dialog-initial {
    display: none;
}

.gettextdialog input[type='text'] {
    width: 252px;
}

.gettextdialog .filename input[type='text'] {
    width: 210px;
}

.filenamegpx:after {
    content: ".gpx";
}

.filenametcx:after {
    content: ".tcx";
}

body .ui-button {
    width: 80px;
}

body .ui-button .ui-button-text {
    padding: 2px;
}

.search {
    width: 400px;
    font-family: Roboto, Arial, Verdana, Helvetica, sans-serif;
    display: inline-block;
    line-height: normal !important;
    margin-right: 10px;
}

.pac-item {
    font-family: Roboto, Arial, Verdana, Helvetica, sans-serif;
}

#hoverpanel {
    max-width: 250px;
    cursor: default;
    margin-left: 20px;
    float: left;
}

#locationpanel {
    width: 200px;
    overflow: hidden;
    float: left;
}

#distancelabel, #timelabel, #elevationlabel {
    display: inline-block;
}

#distancelabel, #timelabel, #segmentlabelleft, #stagelabelleft  {
    margin-right: 10px;
}

#deltadistancelabel {
    color: blue;
    text-align: right;
}


.infopanel, .permainfopanel {
    border: 5px solid white;
    -ms-border-radius: 12px 12px 0px 0px;
    border-radius: 12px 12px 0px 0px;
    background: #ffffff;
    background: rgba(255, 255, 255, 0.85);
    padding: 5px;
}

.infopanel {
    display: none;
}

.nopadding {
    padding: 0;
}

.infowindowcontent {
    overflow: hidden;
    padding-right: 15px;
    font-family: Roboto, Arial, Verdana, Helvetica, sans-serif;
}

.infowindowcontent b {
    font-family: Roboto, Arial, Verdana, Helvetica, sans-serif;
}

.filedialog {
    background: white;
    padding: 40px;
    border: 1px solid black;
    border-radius: 2px;
}

.filedialog button {
    width: 100px;
}

.filedialog div, .filedialog .header {
    margin: 10px 0px 10px 0px;
}

.filedialog .header {
    font-size: 14px;
}

.renamemarkerdialog td {
    padding: 10px;
}


.width20 {
    width: 20px;
}

.renamemarkerdialog input[type='text'] {
    margin: 0;
    width: 252px;
}

.renamemarkerdialog button {
    width: 100px;
    display: inline-block;
    float: right;
}

.renamemarkerdialog textarea {
    resize: none;
}

.elevationcloseicon {
    width: 16px;
    height: 16px;
    background: url('../../Images/icons.png') -35px -32px;
    cursor: default;
    position: relative;
    top: -199px;
    left: 783px;
}

#elevationelement {
    width: 800px;
    height: 200px;
    background: white;
    display: none;
    border: 2px solid #c0c0c0;
    border-radius: 7px 7px 0 0;
}

#elevationinner {
    width: 800px;
    height: 200px;
    background: lightblue;
    border-radius: 7px 7px 0 0;
}

#elevationholding {
    text-align: center;
    position: relative;
    top: 80px;
}

#routeprogressbar {
    margin-top: 10px;
}

div.overlay {
    border: none;
    border-width: 0px;
    position: absolute;
    background: transparent;
    cursor: default;
}

.bigtext, .bigtext * {
    font-size: 18px !important;
}

.boldtext, .boldtext * {
    font-weight: bold !important;
}

#oscopyrighttext {
    font-family: Roboto, Arial, Verdana, Helvetica, sans-serif;
    background: rgba(255,255,255,0.3);
}

#oscopyrighttext, #oscopyrightimage {
    display: none;
}

#sharedialog input, #sharedialog textarea {
    width: 550px;
}

#sharedialog textarea {
    height: 200px;
}

#sharedialog .explanation {
    font-size: 0.7em;
    color: rgb(175,175,175);
    margin: 5px 0 5px 0;
}

#sharedialog .field-validation-error, .field-validation-error {
    font-size: 0.8em;
    color: red;
    margin-left: 20px;
}

.introdialog .ui-dialog-title {
    min-height: 1.2em;
}

.introdialog div:not(:last-of-type):not(.ui-dialog-buttonpane):not(.ui-dialog-titlebar) {
    margin-bottom: 25px;
}

.greytext {
    color: rgb(185, 185, 185);
}

.space-above {
    margin-top: 10px;
}

.smalltext {
    font-size: 0.8em;
}

.disclaimer p:not(:last-child) {
    margin-bottom: 10px;
}

.introdialog div a {
    color: blue;
    outline-style: none;
}

.introdialog div a:hover {
    background-color: #eeeeff;
}

.routeprogressdialog .ui-dialog-titlebar-close {
    display: none;
}

.routeprogressdialog .ui-dialog-title {
    padding-bottom: 5px;
}

.routeprogressdialog div {
    white-space: nowrap;
}

.routingmethodshelp {
    font-size: 0.8em;
}

.routingmethodshelp > div:not(:first-child) {
    position: relative;
    min-height: 50px;
}

.routingmethodshelp > div:first-child {
    height: auto;
    margin-bottom: 20px;
}

.routingmethodshelp > div > img {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 50px;
    width: 50px;
}

.routingmethodshelp > div > div {
    position: absolute;
    top: 0px;
    left: 55px;
}

.routetotrackdialog button {
    width: 250px;
}

div.jGrowl {
    line-height: 1.5em;
}

div.jGrowl > .ui-state-highlight {
    background: black;
    color: white;
    border: inherit;
}

div.jGrowl a {
    color: rgb(88, 215, 246);
}

.prose div {
    margin-bottom: 16px;
}

.ui-dialog a {
    color: blue !important;
    outline-style: none;
}

.menu-selected {
    color: rgb(255,255,70);
}

.version-info {
    position: absolute;
    left: 0px;
    top: 0px;
    color: #808080;
    font-family: 'Roboto';
    font-size: 0.8em;
    cursor: default;
    pointer-events: none;
}

.defaultcursor {
    cursor: default;
}

.jGrowl-message {
    cursor: default;
}

.jGrowl-message, .jGrowl-message div {
    line-height: 1.5em;
}

li.wpt .exploreritem .header div {
    height: 18px; /* for routefromwaypoints as well as explorer*/
}

li.wpt .removeicon {
    float: right;
    color: #a0a0a0;
    display: none;
}

#rfwpselected li.wpt .removeicon {
    display: block;
}

.margin-left-15 {
    margin-left: 15px;
}

.tooltipster-content a {
    color: white;
    text-decoration: underline;
}

.fullheight {
    height: 98%;
}

.padding-bottom-15 {
    padding-bottom: 15px;
}

#bottomrightpanel > div {
    float: left; /* prevents them stacking on top of each other */
}

#bottomrightpanel #unitsmenu {
    width: 125px;
}

.bottompanel .hideicon {
    position: relative;
    top: 15px;
    font-size: 1.5em;
}

.bottompanel .showicon {
    border-radius: 10px 10px 0 0;
    width: 35px;
    position:relative;
    top:3px;
}

#bottomrightpanel .hideicon {
    right: 10px;
}

#bottomrightpanel .showicon {
    margin-right: 100px;
}

#bottomleftpanel .hideicon {
    left: 40px;
}

#bottomleftpanel .showicon {
    margin-left: 100px;
}

#bottomleftpanel .showicon {
    top: 7px;
}

.greyicon {
    color: #7a7a7a;
    border: 5px solid #7a7a7a;
    cursor: pointer;
}

.greyicon:hover {
    color: black;
    border-color: black;
}

#iconpanel .backdrop {
    background: white;
    width: 100%;
    height: 100%;
    position: absolute;
    -ms-border-radius: 10px;
    border-radius: 10px;
    -ms-opacity: 0.5;
    opacity: 0.5;
}

#iconpanel > div {
    font-size: 3em;
    -ms-border-radius: 10px;
    border-radius: 10px;
    margin: 10px 0 10px 0;
    cursor: pointer;
    position: relative;
}

#iconpanel > div span {
    margin: 6px;
    position: relative;
}

#iconpanel > div.disabled {
    display: none !important;
}

#iconpanel > div.showicon {
    height: 35px;
    border-radius: 0 10px 10px 0;
    left: -5px;
}

#iconpanel > div.hideicon {
    font-size: 2em;
}

.initially-hidden {
    display: none;
}

.initially-hidden#iconpanel {
    width: 55px;
}

input.permalink {
    position: absolute;
    width: auto;
    height: 52px;
    font-size: 1.2em;
    width: 40%;
}

.showicon {
    display: none;
}

.hideicon {
    border: none;
}

.slidaway {
    border: none !important;
    background: none !important;
}

.slidaway > * {
    display: none !important;
}

.slidaway .showicon {
    display: block !important;
}

.sliding .showicon, 
.sliding .hideicon {
    display: none;
}

.showicon {
    border-style: solid;
    background: #7a7a7a;
}

ul.bullet-list {
    list-style: initial;
    list-style-position: inside;
}

ul.bullet-list li {
    margin-bottom: 5px;
}

.menutitle {
    font-size: 10px;
    pointer-events: none;
    text-align: center;
    color: lightgray;
}

.bugfix {
    font-size: 1.5em;
}

.bugfixwide {
    width:400px;
}

.dialogoverlayouter {
    position:absolute;
    width: 100%;
    height: 100%;
    top:0;
    left:0;
}

.dialogoverlayouter > div.la-ball-span {
    position:absolute;
    left:calc(50%-32px);
    top:calc(50%-32px);
}

.dialogoverlayinner {
    position:absolute;
    width: 100%;
    height: 100%;
    top:0;
    left:0;
    opacity:0.5;
    background: white;
}

.geographwindow h1 {
    font-size: 20px;
}

.geographwindow h1 a {
    color: blue;
}
