iframe {
    border: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%
}
#close {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 100;
    background: black;
    border-radius: 4px;
    padding: 3px 6px;
    font-size: .8em;
}
.icon {
    border: 3px solid #082E5C;
    padding: 1px;
    color: black;
    .addlinfo {
        display: block;
        padding: 3px;
        white-space: normal;
    }
}
.icon::before {
    content: '▼ ';
    width: 20px;
}
.iconoff {
    border-width: 1px;
    padding: 3px;
    color: gray;
    .addlinfo {
        display: none;
    }
}
.iconoff::before {
    content: '▶ ';
    width: 20px;
}
.icon, .iconoff {
    font-size: .9em;
    margin-top: 2px;
    border-color: #082E5C;
    border-style: solid;
    overflow: hidden;
    border-radius: 3px;
}
.icon img, .iconoff img, #logo {
    vertical-align: middle;
}
#logocontain {
    font-size: 1.5em;
    overflow: hidden;
    text-align: center;
    color: #C31316;
    font-weight: bold;
}
#logocontain #subtitle {
    font-size: 80%;
    color: #082E5C;
}
ul.addlinfo {
    margin: 0;
}
ul.addlinfo li {
    text-indent: -10px;
    padding-left: 10px;
}
ul.addlinfo li::before {
    content: '• ';
    width: 10px;
}
@media all and (max-width: 9px) {
    #outerlegend { display: none }

    .icon, .iconoff { width: 28px; }
    #logo { width: 35px; }
    #logocontain { width: 40px; }
}
@media all and (min-width: 10px) {
    #outerlegend { display: block }
    .icon, .iconoff { width: 250px; }
}
#innerlegend {
    max-height: calc(100vh - 140px);
    overflow-y: auto;
}

.mixedimg {
    text-align: center;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%
}
.mixedimg img, .mixedimg iframe, .mixedimg object {
    vertical-align: middle;
    width: 1000px;
    max-width: 100vw;
    max-height: 100vh;
    transform: translate(-50%, -50%);
}
.mixedimg iframe.youtube {
    height: 450px;
    width: 800px;
}
.mixedimg object {
    width: 1000px;
    max-width: 90vw;
    height: calc(90vw - 100px);
}
#caption {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 2em;
    color: white;
    font-family: Montserrat, Arial, Helvetica, sans-serif;
    z-index: 10;
}
