#gallery .canvasContainer .filmStrip {
    z-index: 500;
    position: absolute;
    top: 2.2em;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 400;
    opacity: 1;
    transition: opacity 1s;
}
#gallery .canvasContainer .filmStrip ul {
    color: rgba(155,155,155,0.4);
    transform: rotateX(180deg);
    padding: 0.5em;
    border-radius: 0 0.25em 0 0;
    background: rgba(0,0,0,0.8);
    transition: scroll 1s;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    list-style-type: none;
    list-style-position: outside;
    overflow-x: auto;
    scroll-behavior: smooth;
    margin: 0;
    width: 35em;
}
#gallery .canvasContainer .filmStrip ul::-webkit-scrollbar {
    position: absolute !important;
    left: 0 !important;
 }

#gallery .canvasContainer .filmStrip ul li {
    transform: rotateX(180deg);

    display: inline-block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-color: rgba(255,255,255,0.2);
    background-image: url("data:image/svg+xml,%3Csvg id='kodal-filmstrip' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 117 107'%3E%3Cg id='Ebene_2-2'%3E%3Cpath d='m0,0v107h117V0H0Zm106.5,8c0-1.1.9-2,2-2h3c1.1,0,2,.9,2,2v5c0,1.1-.9,2-2,2h-3c-1.1,0-2-.9-2-2v-5Zm-14.71,0c0-1.1.9-2,2-2h3c1.1,0,2,.9,2,2v5c0,1.1-.9,2-2,2h-3c-1.1,0-2-.9-2-2v-5Zm-14.71,0c0-1.1.9-2,2-2h3c1.1,0,2,.9,2,2v5c0,1.1-.9,2-2,2h-3c-1.1,0-2-.9-2-2v-5Zm-14.71,0c0-1.1.9-2,2-2h3c1.1,0,2,.9,2,2v5c0,1.1-.9,2-2,2h-3c-1.1,0-2-.9-2-2v-5Zm-14.71,0c0-1.1.9-2,2-2h3c1.1,0,2,.9,2,2v5c0,1.1-.9,2-2,2h-3c-1.1,0-2-.9-2-2v-5Zm-14.71,0c0-1.1.9-2,2-2h3c1.1,0,2,.9,2,2v5c0,1.1-.9,2-2,2h-3c-1.1,0-2-.9-2-2v-5Zm-14.71,0c0-1.1.9-2,2-2h3c1.1,0,2,.9,2,2v5c0,1.1-.9,2-2,2h-3c-1.1,0-2-.9-2-2v-5Zm-14.71,0c0-1.1.9-2,2-2h3c1.1,0,2,.9,2,2v5c0,1.1-.9,2-2,2h-3c-1.1,0-2-.9-2-2v-5Zm7,92c0,1.1-.9,2-2,2h-3c-1.1,0-2-.9-2-2v-5c0-1.1.9-2,2-2h3c1.1,0,2,.9,2,2v5Zm14.71,0c0,1.1-.9,2-2,2h-3c-1.1,0-2-.9-2-2v-5c0-1.1.9-2,2-2h3c1.1,0,2,.9,2,2v5Zm14.71,0c0,1.1-.9,2-2,2h-3c-1.1,0-2-.9-2-2v-5c0-1.1.9-2,2-2h3c1.1,0,2,.9,2,2v5Zm14.71,0c0,1.1-.9,2-2,2h-3c-1.1,0-2-.9-2-2v-5c0-1.1.9-2,2-2h3c1.1,0,2,.9,2,2v5Zm14.71,0c0,1.1-.9,2-2,2h-3c-1.1,0-2-.9-2-2v-5c0-1.1.9-2,2-2h3c1.1,0,2,.9,2,2v5Zm14.71,0c0,1.1-.9,2-2,2h-3c-1.1,0-2-.9-2-2v-5c0-1.1.9-2,2-2h3c1.1,0,2,.9,2,2v5Zm14.71,0c0,1.1-.9,2-2,2h-3c-1.1,0-2-.9-2-2v-5c0-1.1.9-2,2-2h3c1.1,0,2,.9,2,2v5Zm14.71,0c0,1.1-.9,2-2,2h-3c-1.1,0-2-.9-2-2v-5c0-1.1.9-2,2-2h3c1.1,0,2,.9,2,2v5Zm2.5-8H1V16h115v76Z'/%3E%3C/g%3E%3C/svg%3E");
    padding: 8px 0px 4px 0px;
    border: 1px solid black;
    border-left: 0.5px solid black;

}

#gallery .canvasContainer .filmStrip ul li img, #gallery .canvasContainer .filmStrip ul li video {
    transition: background-color 0.5s, border 0.5s, opacity 0.25s, filter 2s;
    background-color: rgba(0,0,0,0.8);
    background-size: cover;
    padding: 0;
    width: 90px;
    height: 60px;
    cursor: pointer;
    opacity: 0.5;
}
#gallery .canvasContainer .filmStrip ul li:hover, #gallery .canvasContainer .filmStrip ul li.selected {
    border-bottom: 1px solid rgba(155,155,155,0.25);
    background-color: rgba(255,255,255,0.6);

}
#gallery .canvasContainer .filmStrip ul li img:hover, #gallery .canvasContainer .filmStrip ul li.selected img {
    opacity: 1;
/*    filter: invert(0);*/
}
.filmStrip div.tab {
    background: rgba(0,0,0,0.8);
    padding: 0.25em 0.75em 0.5em 0.75em;
    display: inline-block;
    border-radius: 0 0 0.25em 0.25em;
    color: rgba(255,255,255,0.4);
    font-size: 0.8em;
    cursor: pointer;
}
.filmStrip div.tab.active {
    background-color: rgba(0,0,0,0.5);
}
.filmStrip div.tab:not(.active):hover {
    background-color: rgba(0,0,0,0.5);
    color: rgba(255,255,255,0.6);    
}

#gallery .canvasContainer .filmStrip.hide {
    opacity: 0;
    user-select: none;
}
::-webkit-scrollbar {
    width: 0.2em;
    height: 0.2em;
    -webkit-transition-duration: 0.5s;
}
  
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.5) !important;
}
  
::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0) !important;
    transition: 1s;
}
@media(max-width: 800px) {
    #gallery .canvasContainer .filmStrip {
        max-width: 100%;
    }
}

@media(max-height: 500px) {
    #gallery .canvasContainer .filmStrip {
        top: 0em; 
    }
    #gallery .canvasContainer .filmStrip ul li img, #gallery .canvasContainer .filmStrip ul li video {
        transition: background-color 0.5s, border 0.5s, opacity 0.25s, filter 2s;
        background-color: rgba(0,0,0,0.8);
        padding: 0;
        width: 45px;
        height: 30px;
    }
    #gallery .canvasContainer .filmStrip {
        text-align: center;
    }    
}
#gallery {
    height: 100%;
    width: 100%;
    top: 50%;
    left: 50%;
    position: absolute;
    z-index: 100;
    transform: translate(-50%, -50%);
    transition: 0.5s;
}
#gallery svg {
    pointer-events: none;
    display: inline-block;
}
#gallery svg .imageGroup {
    pointer-events: none;
}
#gallery svg .imageGroup image {
    pointer-events: none;
    width: 100%;
    height: 100%;
}
#gallery .canvasContainer {
    position: relative;
    overflow: hidden;
    display: inline-block;
}


@media (hover: hover) {
    #gallery:hover {
        background: rgba(255,255,255,0.1);
    }    
}

.infoBox.hide, .hide {
    opacity: 0;
}
.infoBox {
    position: absolute;
    bottom: 0.5em;
    left: 50%;
    transform: translate(-50%, 0%);
    z-index: 200;
    opacity: 1;
    max-height: 60%;
    max-width: 100%;
    overflow-y: auto;
    overflow-x: hidden;

    transition: background-color 1s, opacity 1s;
    color: rgba(155,155,155,0.8);
    
}
.infoBox > .imageInfo, .infoBox .noInfo {
    padding: 1em;
    display: inline-block;
    border-radius: 0.25em;
    background: rgba(0,0,0,0.6);
    user-select: none;
    cursor: pointer;
    position: relative;
}
.infoBox ul-tags.imageInfo {
    margin-block-start: 0;
    margin-block-end: 0;
    list-style-type: none;
    list-style-position: outside;
    margin: 0;
    padding: 1em;
    width: 34em;
}
.infoBox ul-tags > li {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}
.infoBox .imageInfo li:not(.tags,.exif,.gear,.title) div.value {
    text-align: justify;
    padding: 0 1.5em 0 0.5em;
}
.infoBox:not(.minified) .imageInfo .title div.value {
    margin-left: 0.5em;
}
.infoBox:not(.minified) .imageInfo li.title {
    margin-bottom: 0.5em;

}
.infoBox .imageInfo li {
    margin: 0 0 0.25em 0;
}
.infoBox h1,h2,h3, .imageInfo .title div.value span {
    color: rgba(255,255,255,0.8);
}
.infoBox .imageInfo .title div.value span {
    font-size: 1.2em;
    font-weight: bolder;
}
/* MINIFIED infoBox */
.infoBox.minified .imageInfo :not(.title) > div, .infoBox.minified div.label {
    display: none;
}
.infoBox.minified .imageInfo li {
    margin: 0;
}
.infoBox.minified .imageInfo li.title > div {
    text-align: center;
    width: 100%;
}


.infoBox div.label {
    min-width: 3em;
    max-width: 3em;
    text-align: right;
    vertical-align: center;
    padding-right: 0.5em;
}

.infoBox li.tags div.value span:after {
    content: "\a";
} 

.infoBox .imageInfo li.tags div.value {
    padding-left: 0.3em;

}
.infoBox li.tags div.value span {
    color: rgba(255,255,255,0.4);
    display: inline-block;
    background-color: rgba(0,0,0,0.8);
    font-size: 0.6em;
    border-radius: 0.2em;
    padding: 0 0.6em 0.1em 0.6em;
    margin: 0.1em 0.1em;
}
.infoBox > .info > .label {
    display: none;
}
.infoBox .label > span {
    border-radius: 0.2em;
    font-size: 0.6em;
    padding: 0.1em 0.25em;
    background: rgba(0,0,0,0.8);
}

.infoBox ul-tags.imageExif > li div.label {
    width: 2.5em;
    height: 2.5em;
    padding: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.6;
}
.infoBox ul-tags.imageExif > li div.value {
    text-align: left;
}
.infoBox ul-tags.imageExif > li div.value, .infoBox ul-tags.imageExif > li div.label {
    margin-top: auto;
    margin-bottom: auto;
}
.infoBox ul-tags.imageExif {
    display: flex;
    justify-content: space-between;
    font-size: 0.75em;    
}
.infoBox ul-tags.imageExif > li div.label span {
    visibility: hidden;
}
.infoBox ul-tags.imageExif > li.aperture div.label {
    background-image:url('../icons/icon_aperture.svg');
}
.infoBox ul-tags.imageExif > li.camera div.label {
    background-image:url('../icons/icon_camera.svg');
}
.infoBox ul-tags.imageExif > li.exposure div.label {
    background-image:url('../icons/icon_exposure.svg');
}
.infoBox ul-tags.imageExif > li.flash div.label {
    background-image:url('../icons/icon_flash.svg');
}
.infoBox ul-tags.imageExif > li.focus div.label {
    background-image:url('../icons/icon_focus.svg');
}
.infoBox ul-tags.imageExif > li.iso div.label {
    background-image:url('../icons/icon_iso.svg');
}
.infoBox ul-tags.imageExif > li.noflash div.label {
    background-image:url('../icons/icon_noflash.svg');
}
.infoBox ul-tags.imageExif > li.lens div.label {
    background-image:url('../icons/icon_lens.svg');
}

@media (max-width: 600px) {
    .infoBox ul-tags {
        min-width: 100%;   
        max-width: 100%;
    }
    .infoBox ul-tags.imageExif {
        flex-wrap: wrap;
        font-size: 0.6em;    
    }
    .infoBox ul-tags.imageExif > li div.label {
        width: 2em;
        height: 2em;
    }
    .infoBox li.tags div.value span {
        font-size: 0.6em;
    }
    .infoBox .imageInfo .description div.value {
        text-align: justify;
        padding-right: 0.5em;
    }
    
}
@media (max-height: 650px) {
    .canvasContainer .infoBox {
        max-height: 30%;
        bottom: 0;
    }
    .infoBox.minified .imageInfo li {
        margin: 0 !important;
    }
    
}

@media (max-height: 500px) {
    .infoBox .imageInfo :not(.title) > div, .infoBox div.label {
        display: none;
    }

    .infoBox > .imageInfo {
        min-width: auto;   
        max-width: auto;

    }    
    .infoBox {
        max-height: 15%;
        height: auto;
    }
    .infoBox .imageInfo {
        padding: 0.5em 0.5em !important;
    }
    .infoBox .imageInfo li {
        margin-bottom: 0 !important;
        margin: 0 !important;
    }
    .infoBox {
        width: auto;
    }
    .infoBox ul-tags.imageInfo {
        width: auto;
    }
    .infoBox .imageInfo li div.value {
        margin-left: 0 !important;
        padding: 0 !important;
    }
    
    .infoBox .imageInfo li.title > div {
        white-space: nowrap;
        text-align: center;
        width: auto;
        margin: 0;
    }
    .infoBox .imageInfo li.title > div.value span {
        font-size: 1em;
    }
}
.debugContainer {
    position: absolute;
    pointer-events:stroke;
    left: 0;
    min-height: 8em;
    max-height: 20%;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 10000;
    color: rgb(200,200,255);
    font-size: 0.8em;
}
.debugContainer .header {
    background-color: rgba(25,25,100,0.85);
    padding: 0.5em;
    top: 0;
    left: 0;
    height: 2em;
    right: 0;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}
.debugContainer .header div.value {
    font-weight: bolder;
    text-align: right;
}
.debugContainer .header div {
    display: inline-flex;
    margin-left: 1em;
    min-width: 6em;
}
.debugContainer .content div.event {
    display: inline-block;
    margin-right: 1em;
    margin-bottom: 0.5em;
}
.debugContainer .content div.event.error {
    background-color: rgba(255,0,100,0.5);
    color: #fff;
}
.debugContainer .content {
    position: absolute;
    padding: 0.5em;
    top: 2em;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(50,50,200,0.85);
    height: 100%;
    overflow-y: auto;
}

.debugContainer span.payload {
    color: rgb(20,20,55);
}
.debugContainer span.repetitions {
    color: rgb(120,120,180);
}

menu-sandwich {
    z-index: 1000;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: flex;
    flex-direction: row;

}
menu-sandwich > div.menu {
    position: relative;
    top: 0;
    left: 0;
    padding: 0 2em 0 0;
    min-width: 15em;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
}
menu-sandwich > div.menu h3 {
    margin: 0.5em 0.5em 0.5em 2.3em;
    display: inline-block;
}
menu-sandwich > div.menu ul.menu {
    list-style-type: circle;
    list-style-position: inside;
    padding: 0;
    margin: 0.5em;
}
menu-sandwich ul > li {
    padding: 0.5em;
    opacity: 0.6;
    cursor: pointer;
    transition: opacity 1s;
}
menu-sandwich ul > li.active {
    font-weight: bolder;
    opacity: 1;
}
menu-sandwich > button.sandwich {
    z-index: 1001;
    position: absolute;
    cursor: pointer;
    background-image: url('../icons/icon_sandwich.svg');
    background-color: rgba(0,0,0,0);
    background-size: contain;
    background-repeat: no-repeat;
    margin: 0.5em 0.5em;
    width: 1.5em;
    transition: opacity 0.5s;
    height: 1.5em;
    border: 0;
    opacity: 0.5;
}
menu-sandwich > button.sandwich.active {
    background-image:url('../icons/icon_sandwich2.svg');
}
menu-sandwich > div.fill {
    cursor: pointer;
    background-color: rgba(0,0,0,0.4);
    flex-grow: 100;
    height: 100%;
}
menu-sandwich > div.content.hide {
    overflow: hidden;
}
menu-sandwich > div.content {
    overflow-y: auto;
    position: relative;
    max-width: 40em;
    width: 100%;
    color: rgba(255,255,255,0.8);
    min-height: 100%;
    background-color: rgba(0,0,0,0.8);
}
menu-sandwich > div.content body {
    background: transparent;
    color: rgba(255,255,255,0.8);
    margin: 0;
    padding: 0 2em 0 4em;
}
menu-sandwich > div.content body h3 {
    margin: 0;
    color: rgba(255,255,255,1);
    display: block;
    width: 100%;
    padding: 0.5em 0;
}


@media (hover: hover) {
    menu-sandwich .sandwich:hover {
        opacity: 1;
    }
}

@media (max-width: 750px) {
    menu-sandwich > div.menu {
        padding: 0 0.5em 0 0;
        min-width: 10em;
        height: 100%;
        background-color: rgba(0,0,0,0.8);
    }
}

@media (max-width: 500px) {
    menu-sandwich > div.menu h3 {
        padding: 0.3em 0 0 0.2em;
        font-size: 0.8em;
    }
    menu-sandwich > div.menu {
        width: 100%;
        height: auto;
        background-color: rgba(0,0,0,0.8);
    }
    menu-sandwich ul.menu > li {
        font-size: 0.8em;
    }
    menu-sandwich {
        flex-wrap: inherit;
        flex-direction: inherit;
    }
    menu-sandwich > div.content {
        flex-grow: 0;
        width: auto;
        overflow-y: auto;
    }
    menu-sandwich > div.content body {
        padding: 0 2em 0 0.5em;
    }
}
div-search {
    position: absolute;
    display: flex;
    pointer-events: none;
    flex-direction: row;
    justify-content:space-between;
    left: 50%;
    top: 0;
    transform: translate(-50%,0);
    width: 45em;
    height: 2.75em;
    border-radius: 0 0 0.25em 0.25em;
    z-index: 205;
    color: rgba(255,255,255,0.6);
    font-size: 0.8em;
}
div-search.focus {
    background-color: rgba(0,0,0,0.75);
}
div-search.focus .idleHide {
    opacity: 1 !important;
}
div-search .highlight {
    color: rgb(255,255,255,1);
}
div-search > div {
    padding: 0.5em;
}
div-search .icon {
    background-image:url('../icons/icon_search.svg');
    background-repeat: no-repeat;
    background-position: center center;
    pointer-events: visibleFill;
    background-size: 1.25em;
    width: 1.5em;
    padding: 0.25 0.5em;
    transition: 0.5s;
}
div-search .searchResults {
    margin-top: auto;
    margin-bottom: auto;
    text-align: right;
    width: 15em;
}
div-search input {
    pointer-events: visibleFill;
    background: rgba(0,0,0,0.2);
    transition: 0.5s;
    color: rgb(255,255,255,0.75);
    width: 100%;
    font-weight: bolder;
    font-size: 1em;
    flex: 1;
    border: 0px;
    background: none;
}
::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: rgb(255,255,255,0.3);
  }
  
  :-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: rgb(255,255,255,0.3);
  }
  
  ::-ms-input-placeholder { /* Microsoft Edge */
    color: rgb(255,255,255,0.3);
  }

div-search input:focus {
    outline: none;
}
div-search:hover input {
}
div-search:hover .icon {
}

@media(max-width: 600px) {
    div-search .searchResults {
        display: none;
    }    
}
html {
    min-height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
body {
    background: rgba(0,0,0,1);
    flex-grow: 1;
    color: #fff;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    transition: opacity 2s;
}
strong {
    color: 'white';
}

a:link, a:visited {
    color: rgba(155,155,155,0.5);
    text-decoration: none;
    transition: 0.5s;
}
a:hover {
    color: rgba(155,155,155,0.8);
}

h1, h2, h3 {
    color: #fff;
    user-select: none;
}
body.darkness header {
    opacity: 0;
}
header {
    position: absolute;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    padding: 0.5em;
    opacity: 1;
    transition: background-color 1s, opacity 1s, color 1s;
    background: rgba(0,0,0,0.5);
}
header h1, header h2, header h3 {
    margin-left: 2em;
    display: inline;
    font-size: 1em;
    padding: 0;
    color: rgba(255,255,255,0.2);
}
header .buttons {
    font-size: 0.6em;
}
button {
    background: rgba(180,180,180,0.5);
    transition: background-color 0.5s, color 0.5s;
    border: none;
    border-radius: 0.25em;
    cursor: pointer;
}
button:hover {
    background: rgba(180,180,180,0.8);
}
button.active {
    background: rgba(180,180,180,0.5);
}

input-search > li.search div.label {
    background-image:url('../icons/icon_search.svg');
}


div.curtain div.welcome {
    color: rgba(255,255,255,0.8);
    width: 18em;
    left: auto;
    right: auto;
    padding: 2em;
    margin-left: auto;
    margin-right: auto;
}

.controls {
    pointer-events: none;
    position: absolute;
    z-index: 105;
    display: flex;
    align-items: center; /** Y-axis align **/
    top: 40%;
    bottom: 40%;
    left: 5%;
    right: 5%;
}
div.curtain {
    user-select: none;
    position: absolute;
    display: flex;
    align-items: center; /** Y-axis align **/
    z-index: 1000;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,1);
}

.controls div.button.hide:not(.requiresInteraction) {
    display: none;
}
.controls div.button {
    pointer-events: fill;
    cursor: pointer;
    display: flex;
    align-items: center; /** Y-axis align **/
    transition: opacity 0.4s;

    background: rgba(0,0,0,1);
    width: 4em;
    height: 4em;
    border-radius: 50%;
    opacity: 0.2;
}
.controls div.button.left {
    margin-right: auto;
}
.controls div.button.right {
    margin-left: auto;
}
.controls div.button.center {
    margin-left: auto;
    margin-right: auto;
}
.controls div.pause, .controls div.play {
    margin-left: auto;
    margin-right: auto;
    padding: 0.4em;
}
.hide {
    opacity: 0;
    user-select: none;
}
.permanent {
    pointer-events: all;
}
.hide:not(.permanent) {
    pointer-events: none;
}
div.disabled {
    z-index: 0;
    user-select: none;
    pointer-events: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}
div.curtain.hide {
    opacity: 0;
    transition: opacity 2s;
}
.controls div.left div.icon {
    transform: rotate(90deg);
}
.controls div.right div.icon {
    transform: rotate(270deg);
}
.controls div.more.icon {
    padding: 0;
    padding: 0;
    margin: 20px 10px;
    width: 44px;
    height: 24px;
}
.controls div.stress, .controls div.requiresInteraction {
    background-color: rgba(255,255,255,0.5);
    opacity: 1 !important;
    animation: blink 0.1s !important;
    animation-iteration-count: 2 !important;
}
.controls div.requiresInteraction {
    animation: blink 0.8s !important;
    animation-iteration-count: infinite !important;
}
.controls div.stress div.icon {
    opacity: 1 !important;
}
@keyframes blink { 50% { background-color:rgba(0,0,0,0.5) ; opacity: 1}  }    

.controls div.icon.more::before { 
    display: inline-block;
    width: 44px;
    height: 24px;
    content: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 4 L22 20 L40 4' stroke='white' stroke-width='6' fill='none' stroke-linecap='round' stroke-linejoin='round' /%3E%3C/svg%3E");
}
.controls div.toggle.paused div.icon, .controls div.toggle.requiresInteraction div.icon, .controls div.toggle div.icon {
    content: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' style='width: 24px; height: 24px;'%3E%3Cpath d='M8 5v14l11-7z' stroke-linecap='round' stroke-linejoin='round' style='fill: %23FFF; stroke: %23fff; stroke-width: 2px; rx: 4px; ry: 4px;'/%3E%3C/svg%3E");
    width: 30px;
    height: 30px;
    padding: 8px;
    margin-left: auto;
    margin-right: auto;
}
.controls div.toggle:not(.hide) {
    background-color: rgba(255,255,255,0.25);
    opacity: 0;
    animation: glimpse 2.5s;
    animation-iteration-count: infinite;    
}
@keyframes glimpse { 25% { background-color:rgba(0,0,0,0.25); opacity: 0.5; }  }    

.controls div.toggle.paused div.icon {
    width: 40px;
    height: 40px;
    content: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 24' style='width: 24px; height: 24px;'%3E%3Crect width='6' height='24' rx='3' ry='3' style='fill: %23FFF;'/%3E%3Crect x='16' width='6' height='24' rx='3' ry='3' style='fill: %23FFF;'/%3E%3C/svg%3E");
}



@media(max-height: 500px) {
    header {
        visibility: hidden;
        display: none !important;
    } 
}
@media(max-width: 600px) {
    header h1, header h2, header h3 {
        margin-left: 2em;
        font-size: 0.8em;
        font-weight: bold;
    }    
}

@media (hover: hover) {
    .controls  div.button:hover:not(.stress) {
        opacity: 1;
    }    
    .controls div.toggle:hover:not(.stress) {
        background-color: rgba(0,0,0,0.5);
        opacity: 1;
    }
    .controls div.toggle.paused:hover div.icon {
        content: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' style='width: 24px; height: 24px;'%3E%3Cpath d='M8 5v14l11-7z' stroke-linecap='round' stroke-linejoin='round' style='fill: %23FFF; stroke: %23fff; stroke-width: 2px; rx: 4px; ry: 4px;'/%3E%3C/svg%3E");
        opacity: 1;
    }
    .controls div.toggle:hover div.icon {
        content: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 24' style='width: 24px; height: 24px;'%3E%3Crect width='6' height='24' rx='3' ry='3' style='fill: %23FFF;'/%3E%3Crect x='16' width='6' height='24' rx='3' ry='3' style='fill: %23FFF;'/%3E%3C/svg%3E");
        opacity: 1;
    }
}

form {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 40em;
    justify-content: space-between;
}
form label {
    width: 37%;
    display: inline-block;
    padding: 0.5em 0;
}
menu-sandwich > div.content body form input, form select {
    padding: 0.5em 0.5em;
    width: 57%;
    display: inline-block;
    margin-bottom: 0.5em;
}
form select[multiple] {
    padding: 0;
}
form select[multiple] > option {
    padding: 0.5em;
}
form select {
    margin-bottom: 1em;
}

select {
    border-radius: 0.25em;
    background: rgba(255,255,255,0.6);
    color: rgba(0,0,0,0.6);
}

  
  select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: none;
    padding: 0 1em 0 1em;
    margin: 0;
    width: 100%;
    font-family: inherit;
    font-size: inherit;
    cursor: inherit;
    line-height: inherit;
  
    z-index: 1;
  
    outline: none;
  }
  

input[type=range] {
    height: 32px;
    -webkit-appearance: none;
    margin: 10px 0;
    width: 100%;
    background: transparent;
  }
  input[type=range]:focus {
    outline: none;
  }
  input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    animate: 0.2s;
    background: rgba(255,255,255,0.6);
    background: #C2C2C2;
    border-radius: 0.25em;
    border: 1px solid #C2C2C2;
  }
  input[type=range]::-webkit-slider-thumb {
    box-shadow: 0px 0px 5px #A6A6A6;
    border: 2px solid #C2C2C2;
    height: 24px;
    width: 12px;
    border-radius: 0.25em;
    background: #0A0607;
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -11.5px;
  }
  input[type=range]:focus::-webkit-slider-runnable-track {
    background: rgba(255,255,255,0.6);
  }
  input[type=range]::-moz-range-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    animate: 0.2s;
    box-shadow: 0px 0px 1px #A6A6A6;
    background: rgba(255,255,255,0.6);
    border-radius: 0.25em;
    border: 1px solid #C2C2C2;
  }
  input[type=range]::-moz-range-thumb {
    box-shadow: 0px 0px 5px #A6A6A6;
    border: 2px solid #C2C2C2;
    height: 24px;
    width: 12px;
    border-radius: 0.25em;
    background: #0A0607;
    cursor: pointer;
  }
  input[type=range]::-ms-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    animate: 0.2s;
    background: transparent;
    border-color: transparent;
    color: transparent;
  }
  input[type=range]::-ms-fill-lower {
    background: #C2C2C2;
    border: 1px solid #C2C2C2;
    border-radius: 12px;
    box-shadow: 0px 0px 1px #A6A6A6;
  }
  input[type=range]::-ms-fill-upper {
    background: #C2C2C2;
    border: 1px solid #C2C2C2;
    border-radius: 12px;
    box-shadow: 0px 0px 1px #A6A6A6;
  }
  input[type=range]::-ms-thumb {
    margin-top: 1px;
    box-shadow: 0px 0px 5px #A6A6A6;
    border: 2px solid #C2C2C2;
    height: 24px;
    width: 12px;
    border-radius: 0.25em;
    background: #0A0607;
    cursor: pointer;
  }
  input[type=range]:focus::-ms-fill-lower {
    background: #C2C2C2;
  }
  input[type=range]:focus::-ms-fill-upper {
    background: #C2C2C2;
  }
  