html,
body,
div.map {
    height: 100%;
    font-family: sans-serif;
}

body {
    padding: 0;
    margin: 0;
    overflow: hidden;
}

table {
    font-size: 12px;
    color: white;
    left: 35px;
    position: relative;
    padding: 15px 0px 0px 0px;
    top: 10px;
}

.encObjects {
    font-size: 12px;
    color: white;
    left: 35px;
    position: relative;
    padding: 15px 0px 0px 0px;
    top: 5px;
}

p.layerHint {
    color: white;
    font-size: 10px;
    position: relative;
    opacity: 0.3;
    left: 15px;
    height: 0px;
}

p.hint {
    color: white;
    font-size: 10px;
    position: relative;
    opacity: 0.3;
    left: 15px;
    height: 0px;
    top: 12px;
}

h4 {
    padding: 20px 0px 10px 15px;
    font-size: 20px;
    color: white;
    display: block;
    transition: 0.4s
}

button.btn {
    position: relative;
    left: 38px;
    top: 35px;
    cursor: pointer;
    background: transparent;
    border: 1px solid #f7f479;
    min-width: 60px;
    color: #f7f479;
}
button.btn_enc {
    position: relative;
    float: right;
    top: 53px;
    cursor: pointer;
    background: transparent;
    border: 1px solid #f7f479;
    min-width: 60px;
    color: #f7f479;
    z-index: 1;
    right: 12px;
}

button.btn:hover {
    position: relative;
    left: 38px;
    top: 35px;
    cursor: pointer;
    background: #f7f479;
    border: 1px solid #f7f479;
    min-width: 60px;
    color: #111;
}

.grayed {
    background: rgba(0, 0, 0, 0.75);
    color: white;
}

td {
    white-space: nowrap;
}

.controls {
    position: absolute;
    right: 0px;
    bottom: 0px;
    padding: 0px;
    height: 32px;
    font-family: monospace;
    font-size: 12px;
    z-index: 1;
}

.controls>div {
    float: right;
    margin-top: 8px;
    cursor: default;
}

div.mouse-position-inner {
    margin: 0px 20px;
    width: 240px;
    text-align: center;
}

div.scale-line-inner {
    margin: 0px 20px;
    border: 1px solid white;
    border-top: none;
    font-size: 12px;
    text-align: center;
}

div#overlay {
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid black;
    overflow: auto;
    padding: 8px;
    position: absolute;
    display: none
}

#s57_menu {
    height: 30%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 500px;
    right: 280px;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.3s;
    float: left;
}

#s57_menu .closebtn {
    position: absolute;
    top: 0;
    right: 10px;
    font-size: 25px;
    margin-left: 50px;
}

#s57_menu a {
    padding: 5px 0px 0px 1px;
    text-decoration: none;
    font-size: 12px;
    color: white;
    display: block;
    transition: 0.3s;
}

#headerEncObj {
    color: #f7f479;
    height: 17px;
    padding: 13px 0px 5px 17px;
    font-size: 12px;
    position: relative;
    background-color: black;
    z-index: 1;
    width: 185px;
    top: -18px;
}

.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.0s;
    float: right;
}

.sidenav span {
    padding: 0px 0px 1px 15px;
    font-size: 12px;
    color: #f7f479;
    text-transform: uppercase;
    top: 10px;
    position: relative;
    left: 22px;
}

.sidenav a {
    padding: 5px 0px 0px 1px;
    text-decoration: none;
    font-size: 12px;
    color: white;
    display: block;
    transition: 0.0s;
}

.sidenav a:hover {
    color: #f7f479;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 10px;
    font-size: 25px;
    margin-left: 50px;
}

img {
    width: 50px;
}

#menuSelector {
    position: absolute;
    top: 19px;
    right: 32px;
}

#menuIco {
    position: relative;
    cursor: pointer;
}

input[type="checkbox"] {
    display: none;
}

input[type="text"] {
    width: 50px;
    border: 1px solid #353636;
    height: 20px;
    padding-left: 2px;
    background: transparent;
    color: white;
}
input[type="number"] {
    width: 55px;
    border: 1px solid #353636;
    height: 20px;
    padding-left: 2px;
    background: transparent;
    color: white;
}

select {
    width: 58px;
    border: 0px solid;
    height: 21px;
    padding-left: 2px;
}

label {
    cursor: pointer;
}

input[type="checkbox"]+label:before {
    border: 1px solid #333;
    content: "\00a0";
    display: inline-block;
    font: 16px/1em sans-serif;
    height: 16px;
    margin: 0 .25em 0 0;
    padding: 0;
    vertical-align: top;
    width: 16px;
}

input[type="checkbox"]:checked+label:before {
    background: #fff;
    color: #333;
    content: "\2713";
    text-align: center;
}

input[type="checkbox"]:checked+label:after {
    font-weight: bold;
}

input[type="checkbox"]:focus+label::before {
    outline: rgb(59, 153, 252) auto 5px;
}

#controls-rotate {
    position: absolute;
    top: 10px;
    left: 55px;
}

.ol-custom-overviewmap,
.ol-custom-overviewmap.ol-uncollapsible {
    bottom: auto;
    left: auto;
    left: 25px;
    bottom: 20px;
}

.ol-custom-overviewmap:not(.ol-collapsed) {
    border: 1px solid black;
}

.ol-custom-overviewmap .ol-overviewmap-map {
    border: none;
    width: 300px;
}

.ol-custom-overviewmap .ol-overviewmap-box {
    border: 3px solid #3488f7;
}

.ol-custom-overviewmap:not(.ol-collapsed) button {
    bottom: auto;
    left: auto;
    right: 1px;
    top: 1px;
}

div.zoomlevel {
    float: left;
    padding-left: 15px;
}

.ol-compass {
    background-image: url("../img/north.png");
    background-size: 57px 49px;
    background-repeat: no-repeat;
    padding: 30px;
    background-color: transparent;
    top: 1px;
    left: -20px;
    position: absolute;
    cursor: pointer;
}

/* checkboxes */

input[type="checkbox"] {
    visibility: hidden;
}

label {
    cursor: pointer;
}

input[type="checkbox"]+label:before {
    border: 1px solid #333;
    content: "\00a0";
    display: inline-block;
    font: 16px/1em sans-serif;
    height: 16px;
    margin: 0 .25em 0 0;
    padding: 0;
    vertical-align: top;
    width: 16px;
}

input[type="checkbox"]:checked+label:before {
    background: #fff;
    color: #333;
    content: "\2713";
    text-align: center;
}

input[type="checkbox"]:checked+label:after {
    font-weight: bold;
}

input[type="checkbox"]:focus+label::before {
    outline: rgb(59, 153, 252) auto 5px;
}

/* radio */

input[type="radio"] {
    background-color: #ddd;
    background-image: -webkit-linear-gradient(0deg, transparent 20%, hsla(0, 0%, 100%, .7), transparent 80%),
        -webkit-linear-gradient(90deg, transparent 20%, hsla(0, 0%, 100%, .7), transparent 80%);
    border-radius: 1px;
    box-shadow: inset 0 1px 1px hsla(0, 0%, 100%, .8),
        0 0 0 1px hsla(0, 0%, 0%, .6),
        0 2px 3px hsla(0, 0%, 0%, .6),
        0 4px 3px hsla(0, 0%, 0%, .4),
        0 6px 6px hsla(0, 0%, 0%, .2),
        0 10px 6px hsla(0, 0%, 0%, .2);
    cursor: pointer;
    display: inline-block;
    height: 15px;
    margin-right: 15px;
    position: relative;
    width: 15px;
    -webkit-appearance: none;
}

input[type="radio"]:after {
    background-color: #444;
    border-radius: 0px;
    box-shadow: inset 0 0 0 1px hsla(0, 0%, 0%, .4), 0 1px 1px hsla(0, 0%, 100%, .8);
    content: '';
    display: block;
    height: 9px;
    left: 3px;
    position: relative;
    top: 3px;
    width: 9px;
}

input[type="radio"]:checked:after {
    background-color: #3488f7;
    /* box-shadow: inset 0 0 0 1px hsla(0,0%,0%,.4),
                inset 0 2px 2px hsla(0,0%,100%,.4),
                0 1px 1px hsla(0,0%,100%,.8),
                0 0 2px 2px hsla(0,70%,70%,.4); */
}

/* Tooltips */
.tooltip {
    position: absolute;
    background: #232222;
    border-radius: 4px;
    padding: 12px 12px;
    font-family: monospace;
    font-size: 12px;
    text-shadow: 0px 1px 1px #000;
    color: #ffc64a;
    z-index: 2;
    border: 1px solid white;
}

.tooltip:before {
    content: " ";
    width: 0;
    height: 0;
    /* border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #646464;
    position:absolute;
    bottom:-5px;
    left:5px; */
}

/* #branding {
    color: #5a5a5a;
    top: 62px;
    position: relative;
    left: 35px;
    font-size: 10px;
} */

#srv_menu {
    display: none;
}
