html,body {
    background-color: #ffffff;
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    color: var(--FormCouleurCarac);
}

img {
    vertical-align: middle;
}

#map {
    height: 100%;
    width: 100%;
    padding: 0; margin: 0;
    cursor: crosshair;
}

#osm {
    font-size: 0.7em;
    font-style: italic;
    margin-bottom: 20px;
}

#actionDialog {
    position:absolute;
    top:50px;
    left:60px;
    visibility:hidden;
    border: 2px solid #000080;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px 6px 6px 6px;
    background-color: #FFF;
    padding: 5px;
}

/* geo north image is 301x301, mag north image is 200x200 */
#compassRose {
    position: absolute;
    bottom: 2.5em;
    right:  18px;
    width: 261px; height: 261px;
    visibility:hidden;
}

#geoCompassRose {
    position:absolute; right:calc(50%+581px); bottom:(50%+581px);
    width: 261px; height: 261px;
}

#magCompassRose {
    position:absolute; right:calc(50%+581px); bottom:(50%+581px);
    width: 261px; height: 261px;
    transform: rotate(0deg);
}

#magCompassText {
    position: absolute; left:132px; bottom: 118px;
    color: #e50083;
    font-size: 9px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    width: 100px;
    text-align: center;
}

#magCompassTextTop {
    position: relative; left:-50%; bottom: 20px;
}

#magCompassTextBottom {
    position: relative; left:-50%; bottom: -20px;
}

#routeEditPanel {
    float: left;
    display:block;
    position: relative;
    width: 102px;
}

.olControlMousePositionDM {
    bottom: 0.5em;
    right: 0.5em;
    border: 1px solid #000080;
    -moz-border-radius: 4px;
    -webkit-border-radius: 6px;
    border-radius: 6px 6px 6px 6px;
    background-color: #FFF;
    margin: 0;
    padding: 1px;
    font-family: monospace;
}

.olControlPermalink {
    padding: 10px;
}

.olImageLoadError {
    /* Some layers (e.g. seamark, sports) only render tiles where
     * an object exists. Unknown tiles are displayed in pink by
     * default. We change this behaviour by hiding these tiles.
     */
    display: none !important;
}


/**
 * -----------------------------------------------------------------------------
 * AIS layer
 * -----------------------------------------------------------------------------
 */

.ais h2 {
    font-size:16px;
    border-bottom:1px solid #484848;
}

.ais div {
    padding:2px;
    font-size:13px;
}

.ais td:first-child {
    font-size:14px;
    font-weight:normal;
    /*text-align:right;*/
    color:#808080;
    padding-right:10px;
}

.ais td {
    font-size:14px;
    font-weight:bold;
    color:#484848;
    height:18px;
}

.ais ul {
    padding:2px;
    font-size:14px;
    list-style-type:disc;
    list-style-position:inside;
    margin-top:13px;
}

.ais table {
    margin-top:13px;
}

.ais img {
    margin-right:6px;
    margin-bottom:2px;
    border:1px solid #484848;
    padding:1px;
}


/**
 * -----------------------------------------------------------------------------
 * SatPro layer
 * -----------------------------------------------------------------------------
 */

.satpro h2 {
    font-size:16px;
    border-bottom:1px solid #484848;
}

.satpro td:first-child {
    font-size:14px;
    font-weight:normal;
    /*text-align:right;*/
    color:#808080;
    padding-right:10px;
}

.satpro td {
    font-size:14px;
    font-weight:bold;
    color:#484848;
}

.satpro table {
    margin-top:13px;
}


/**
 * -----------------------------------------------------------------------------
 * Disaster layer
 * -----------------------------------------------------------------------------
 */

.disaster h2 {
    font-size:16px;
    border-bottom:1px solid #484848;
}

.disaster td:first-child {
    font-size:14px;
    font-weight:normal;
    color:#808080;
    padding-right:10px;
}

.disaster td {
    font-size:14px;
    font-weight:bold;
    color:#484848;
}

.disaster table {
    margin-top:13px;
}

p#noJavascript {
    position: absolute;
    left:30%; top:50%;
    width: 30%;
}

.unselectable {
    user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}
