body, html { margin: 0; padding: 0; overflow: hidden; }
div#windy { width: 100%; height: 100vh; min-height: 300px; }

body.login form { margin-top: 5em; }
body.login form input { margin-bottom: 0.5em; }
body.login form div.alert { color: black; font-size: 14px; padding: 1em 2em; margin: 0 0 1em 0; }
body.login h2 { text-align: center; margin: 2em; }
body.login p { text-align: center; margin-top: 5em; }
body.login p a.btn { color: white; }
body.login p.request a { color: #aaa; text-decoration: none; }
body.login p.request a:hover { color: #444; text-decoration: underline; }

#windy div.svg-icon svg { overflow: visible; }
#windy div.svg-icon div.boatdetails { width: 200px; text-align: center; font-size: 10px; margin: -40px 0 0 -75px; padding: 5px; border-radius: 5px; }
#windy div.leaflet-marker-icon.svg-icon.hover { z-index: 9999998 !important; }
#windy div.leaflet-marker-icon.svg-icon.hover div.boatdetails { background: rgba(0,0,0,0.7); z-index: 9999999 !important; }

#windy div.leaflet-marker-icon.coordinate { z-index: 999; overflow: visible; width: 32px !important; margin-left: -16px !important; font-size: 12px; line-height: 12px; color: white; opacity: 0.5; }

.courseIcon { background: white; border-radius: 5px; padding: 5px; text-align: center; font-size: 10px; opacity: 0.5; }
.courseIcon.start { background: lime; }
.courseIcon.finish { background: red; color: white; }

.doddspot { background: black; width: 10px; height: 10px; border-radius: 5px; }

.overlay { color: white; position: absolute; top: 10px; left: 10px; z-index: 9999; font-family: sans-serif; font-size: smaller; text-shadow: 1px 1px 3px black; background: rgba(0,0,0,0.4); padding: 0.5rem 0.75rem; }

/*#forecast { position: fixed; top: 30px; right: 30px; border: 3px solid #337ab7; border-radius: 5px; z-index: 999999; min-width: 285px; }
#forecast button { margin-left: 10px; }*/

/*
.leaflet-control-measure { font-size: 16px; font-weight: bold; line-height: 21px; }
.leaflet-bar-part-top-and-bottom { -webkit-border-radius: 4px 4px 4px 4px; border-radius: 4px 4px 4px 4px; border-bottom: none; }
.leaflet-touch .leaflet-bar-part-top-and-bottom { -webkit-border-radius: 7px 7px 7px 7px; border-radius: 7px 7px 7px 7px; border-bottom: none; }
.leaflet-control-measure-on .leaflet-control-measure { box-shadow: 0 0 8px rgba(10,10,10,1.0); } 
.leaflet-measure-tooltip { font: 9px/1.25 "Helvetica Neue", Arial, Helvetica, sans-serif; background-color: rgba(255, 255, 255, 0.7); box-shadow: 0 0 5px #BBB; margin: 0; padding: 2px; width: auto !important; height: auto !important; white-space: nowrap; }
.leaflet-measure-tooltip-total { font-weight: bold; } 
.leaflet-measure-tooltip-difference { color: #777; }
*/

/*#windyty #contrib { position: absolute; bottom: 0; }
#windyty .logo { position: absolute; bottom: 0; }
#windyty .logo .w { width: 22px; height: 22px; }
*/

#windy #map-container .leaflet-control-container { display: block !important; }
#windy div.leaflet-bottom div.leaflet-control-scale .leaflet-control-scale-line { border-color: white !important; background: transparent !important; color: white; }
#windy div.leaflet-bottom div.leaflet-control-scale { color: white; margin-bottom: 40px !important; margin-left: 15px; }
#windy div.leaflet-bottom div.leaflet-control-attribution { background: transparent; color: white; margin-bottom: 15px; }
#windy div.leaflet-bottom div.leaflet-control-attribution a { color: white;; }

body.firefox #windy div.svg-icon div.boatdetails { margin-top: -110px; }

body.safari #windy div.leaflet-bottom div.leaflet-control-scale { margin-bottom: 70px !important; }

div#debug { display: none; background: red; color: white; position: absolute; top: 0; z-index: 999999999999; width: 100%; height: 50px; opacity: 0.5; }
