@font-face {
    font-family: "univers55";
    src: url("./fonts/Univers.ttf") format("truetype");
    font-weight: normal;
}
@font-face {
    font-family: "univers55";
    src: url("./fonts/Univers-Oblique.ttf") format("truetype");
    font-weight: normal;
    font-style: italic;
}
@font-face {
    font-family: "univers55";
    src: url("./fonts/Univers-Bold.ttf") format("truetype");
    font-weight: bold;
}
@font-face {
    font-family: "univers55";
    src: url("./fonts/Univers-BoldOblique.ttf") format("truetype");
    font-weight: bold;
    font-style: italic;
}
@font-face {
    font-family: "univers55";
    src: url("./fonts/Univers-Light.ttf") format("truetype");
    font-weight: lighter;
}
@font-face {
    font-family: "univers55";
    src: url("./fonts/Univers-LightOblique.ttf") format("truetype");
    font-weight: lighter;
    font-style: italic;
}
body,html {
    position: fixed;
    height: 100vh;
    width: 100vw;
    min-height: 100%;
    margin: 0px;
    padding: 0px;
    overflow: hidden;
    font-family: "univers55";
}
.controls {
    display: none;
    position: absolute;
    bottom: 20px;
    left: 20px;
}
.controls div {
    border: 1px solid black;
    width: 40px;
}
.mapnav {
    position: absolute;
    right: 20px;
    bottom: 0px;
}
.container {
    width: 100vw;
    height: 100vh;
    display: block;
    background-color: #a7d1d1;
    overflow:hidden;
}
.map {
    position: absolute;
    left: 0px;
    top: 1500px;
    transform: translate(-50px,-50px);
    -webkit-transform: translate(-50px,-50px);
    transform-origin: center;
    -webkit-transform-origin: center;
}
.labels {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 4096px;
    height: 2048px;
    z-index: 0;
}
.svglayer {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 4096px;
    height: 2048px;
    z-index: -50;
}
.legend {
    position: fixed;
    top: 20px;
    left: 20px;
    font-size: 12pt;
    width: 15%;
    min-width: 256px;
    transform: scale(1.5);
    transform-origin: 0px 0px;
}
.legend div {
    display: block;
    
    color: #ffffff;
    padding-left: 3px;
    
    z-index: 50;
}
.opt_header {
    width: calc(100% - 14px);
    height: 36px;
    line-height: 36px;
    border: 2px solid #333333;
    background-color: #375f78;
    border-radius: 6px 6px 6px 6px;
}
.map_options {
    border-width:0px;
    width: 100%;
    height: 100%;
    overflow:hidden;
}
.map_option_super {
    margin-left: 10px;
    margin-top: 5px;
    height: 30px;
    line-height: 30px;
    width: calc(100% - 26px);
    border: 2px solid #333333;
    border-radius: 0px 6px 6px 0px;
    background-color: #375f78;

}
.legopt,.legopt_sel {
    margin-top: 10px;
    margin-left: 20px;
    height: 28px;
    line-height: 28px;
    border: 2px solid #333333;
    border-radius: 0px 6px 6px 0px;
    width: calc(100% - 36px);
}
.legopt:hover,.legopt_sel:hover, .legend span:hover {
    background-color: #8eacbf;
}
.legopt {
    font-family: "univers55";
    background-color: #abb9c2;
}
.legopt_sel {
    font-family: "univers55";
    background-color: #4a8cb5;
}
.z_left,.z_right {
    margin-top: 25px;
    height: 36px;
    line-height: 36px;
    border: 2px solid #333333;
    background-color: #4a8cb5;
    width: 45%;
    display: inline-block;
    position: absolute;
    text-align: center;
}
.z_right {
    border-radius: 0px 6px 6px 0px;
    right: 6px;
}
.z_left {
    border-radius: 6px 0px 0px 6px;
    left: 0px;
}
.scale {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 50px;
    text-align: right;
    border-bottom: 2px solid black;
    overflow:hidden;
}
.render {
    position: absolute;
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 10;
}
.caption {
    position: absolute;
    border-radius: 6px 0px 0px 6px;
    border: 2px solid #333333;
    background-color: #ffffff;
    width: 40%;
    min-height: 8%;
    bottom: 100px;
    right: 20px;
    padding: 14px 7px 7px 14px;
    font-family: "univers55";
    font-weight: lighter;
}
.caption_header {
    font-size: 16px;
    font-size: 2vw;
    font-weight: bold;
}
.caption_text {
    font-size: 8px;
    font-size: 1.5vw;
}
.replay_control {
    right: 20px;
    bottom: 50px;
    position: absolute;
    height: 50px;
    line-height: 5px;
}
.replay_cancel,.replay_next {
    line-height: 46px;
    height: 46px;
    font-size: 11pt;
    font-weight: bold;
    vertical-align: middle;
    padding-top: 5px;
    padding-bottom: 3px;
}
.replay_cancel {
    border: 2px solid black;
    width: 128px;
    padding-left:10px;
    padding-right: 10px;
    background-color: #e66767;
}
.replay_cancel:hover{
    color: white;
    background-color: #bf0000;
}
.replay_next {
    border: 2px solid black;
    border-radius: 6px 0px 0px 6px;
    padding-left:10px;
    padding-right: 10px;
    background-color: #abb9c2;
}
.replay_next:hover {
    background-color: #4a8cb5
}
#infobox {
    z-index: -10;
}
.centermark {
    position: absolute;
    left: 50%;
    top: 50%;
    display: block;
    width: 2px;
    height: 2px;
    border: 2px solid red;
    z-index: 500;

}
@media screen and (min-aspect-ratio: 2/3) {
    .legend {
        min-width: 150px;
        max-width: 150px;
        transform: scale(1.0);
    }
    .opt_header {
        width: 142px;
        height: 30px;
        line-height: 30px;
        font-weight: bold;
    }
    .map_option_super {
        width: 128px;
        height: 24px;
        line-height: 24px;
        margin-top: 5px;
        font-size: 10pt;
    }
    .legopt,.legopt_sel {
        width: 118px;
        height: 20px;
        line-height: 20px;
        font-size: 9pt;
        margin-top: 2px;
    }
    .z_left,.z_right {
        margin-top: 15px;
        height: 16px;
        line-height: 16px;
    }
}
.debuginfo {
    z-index: 50;
    position: absolute;
    left: 10px;
    bottom: 10px;
    color: #f00;
    font-size: 8pt;
}
.mapkey {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-size: 12pt;
    width: 15%;
    min-width: 256px;
    transform: scale(1.0);
    transform-origin: 0px 0px;
    z-index: 50;
}
.legend_entry {
    background-color: #ffffff;
    padding: 4px;
    height: 20px;
}

.legend_entry_shade {
    display: block;
    float: left;
    width: 18px;
    height: 18px;
    border: 1px solid black;
}
.legend_entry_explanation {
    float: left;
    margin-left: 10px;
    line-height: 26px;
    height: 20px;
    font-size: 10pt;
}