
html, body{
    background: url(../images/space-probe-2412430.jpg) rgba(255, 0, 150, 0.3) !important;
    background-size: cover;
    background-blend-mode: multiply;
    background-color: #333336ba !important;
    background-repeat: no-repeat;
    background-attachment: fixed !important;
    font: normal 87.5%/1.4 Arial,sans-serif;
    margin: 0;
}

#mapid { 
    height: 100vh;
    border-left: 5px solid white;
 }

 #maplegend {
     width: 200px;
     float: left;
     position: relative;
     top: 85px;
 }

 .leaflet-container{
     background: none !important;
 }

 /* Define our Legend styles to match the wiki's for consistency */
 #maplegend ul{
     display:block;
     margin-inline-start:0px;
     margin-inline-end: 0px;
     padding-inline-start: 10px;
     font-size: .875em;
     word-wrap: break-word;
     text-shadow: 1px 1px #292929;
     list-style: square outside;
 }

#maplegend ul li{
    color: #f3f3f3;
    padding: 0;
    margin: .2em 0 0 1em;
    display: list-item;
    text-align: -webkit-match-parent;
    cursor: pointer;
    font-size: 14px;
    color: #f3f3f3;
    font-weight: normal;
}

#maplegend ul li#legendHeader{
    font-size: 1.714em;
    font-weight: bold;
    color: #f3f3f3;
    padding: 0;
    margin: 0 0 1em;
    margin-block-start: 0.67em;
    margin-block-end: 0.67em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    clear: left;
    text-shadow: 1px 1px #292929;
    list-style: none;
}

#maplegend ul li li li{
    color: #aab3cc;
}

#mapcontrols{
    display: block;
    position: absolute;
    font-size: 16px;
    font-weight: bold;
    color: #f3f3f3;
    bottom: 20px;
    left: 20px;
    width: 130px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    background: #ccc;
    color: black;
    padding: 7px 18px;
}

#mapcontrols .mc_container{
    display: inline-block;
    margin-left: 5px;
}

#mapcontrols #gridCoords, #mapcontrols #gridSubCoords{
    display: inline-block;
    text-align: center;
}

#sitenav{
    display: block;
    position: absolute;
    font-size: 16px;
    font-weight: bold;
    color: #f3f3f3;
    top: 10px;
    width: 200px;
    text-decoration: none;
}

#sitenav #logo{
    position: relative;
    left: 10px;
}

#sitenav h1{
    font-size: 1.3em;
    font-style: italic;
    margin-bottom: 2px;
}

#sitenav i{
    margin: 0 8px;
}
#sitenav i:last{
    margin-left: 10px;
}

#sitenav a{
    color: white;
    text-decoration: none;
    margin: 0 5px 0 15px;
    font-size: 14px;
}


/* Plot Course Styling */


#mapcommands {
    position: absolute;
    z-index: 1000;
    border-radius: 0;
    margin-left: 0;
    padding-left: 0;
    list-style: none;
    list-style-type: none;
    box-shadow: 0 1px 5px rgb(0 0 0 / 65%);
    font: 12px/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif;
    outline: 0;
    -webkit-tap-highlight-color: transparent;
    top: 82px;
    left: 217px;
}

#mapcommands li {
    background-color: #fff;
    border-bottom: 1px solid #ccc;
    width: 30px;
    height: 30px;
    line-height: 26px;
    display: block;
    text-align: center;
    text-decoration: none;
    color: black;
    -webkit-tap-highlight-color: rgba(51, 181, 229, 0.4);
    font-size: 20px;
}

#mapcommands.active li:hover{
    background-color: #aaa;
}

#mapcommands > li:first-child{
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
}

#mapcommands > li:last-child{
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 2px;
}

#mapcommands ul{
    z-index: 1001;
    position: fixed;
    height: 30px;
    width: 30px;
    list-style: none;
    overflow: hidden;
    padding:0;
}

#mapcommands.active ul:hover{
    overflow: visible;
    width: auto;
}

#mapcommands ul > li{
    display: inline-block;
}

#mapcommands ul > li:first-child{
    border-top-left-radius: 2px;
    border-bottom-left-radius: 2px;
}

#mapcommands ul > li:last-child{
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
}

#mapcommands ul > li:not(:first-child){
    border-left: 1px solid #ccc;
    margin-left: 0px;
}

#mapcommands a, #mapcommands a.visited{
    padding-left: 0px;
    color: black;
    color: #ccc;
    cursor: default;
    width: 30px;
    height: 30px;
    display: block;
}

#mapcommands.active a{
    color: black;
    cursor: pointer;
}

#mapcommands.active #courseColorPicker{
    color: rgb(71, 85, 166);
}

#mapcommands .selectable{
    color: black;
    cursor: pointer;
}

#mapcommands .selected{
    background-color: #4848ca;
}

#mapcommands .selected:hover{
    background-color: #2f2f9e;
}

#mapcommands .selected a{
    color: white !important;
}

#mapcommands a.disabled{
    color: #ccc;
}

#mapcommands i{
    margin-top: 5px;
}

#mapid.plotCourseActive{
    cursor: crosshair;
}

#mapid.plotCourseActive .extra-marker{
    cursor: crosshair !important;
    pointer-events: none;
}

#picker{
    position: absolute;
    top: 114px;
    left: 251px;
    z-index: 1000;
    display: none;
}

/* Popup styling */
.markerPopupWrapper{
    position: relative;
}

.markerPopupIconWrapper{
    position: relative;
    float: left;
    left: -10px;
    font-size: 38px;
}

.markerPopupTextWrapper{
    margin-left: 40px;
}

.popup_title{
    font-weight: bold;
    font-size: 14px;
}

.permanentTooltip{
    background: #333;
    color: white;
}
