/* LAYOUT */
* {
    box-sizing: border-box;
}
html, body {
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
    font-size: 17px;
    overflow: hidden;
}
h1 {
    font-size: 2em;
    padding: 0.25em 0;
    margin: 0 auto;
    text-align: center;
    z-index: 0;
}

header#slide-header {
    z-index: 1100;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 3em;
    height: 3em;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 0;
    display: none;
}
header#slide-header section.slide-width {
    height: 3em;
}
footer#slide-footer {
    z-index: 1000;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    min-height: 3em;
    height: 3em;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    height: 0;
    display: none;
}
footer#slide-footer section.slide-width {
    height: 3em;
    height: 0;
    display: none;
}
main#slide-container {
    position: fixed;
    z-index: 500;
    top: 3em;
    left: 0;
    width: 100%;
    height: calc(100% - 6em);
    display: flex;
    justify-content: center;
    align-items: center;
    align-items: center;
    background-position: center center, center center,center center;
    background-repeat: no-repeat, no-repeat, no-repeat;
}
article#slide {
    z-index: 0;
    /*overflow-x: visible;*/
    overflow: visible;
}
article#slide .slide{
    background-size: 100% 100%;
    background-position: center center;
    background-repeat: no-repeat;
}

menu#slide-menu {
    z-index: 1000;
    opacity: 0;
    position: absolute;
    top: 1em;
    left: 1em;
    width: 25%;
    max-height: calc(100% - 1em);
    margin: 0;
    padding: 1em;
    transition: all 1s ease;
    transform: translateY(-500%);
}
menu#slide-menu.active {
    opacity: 1;
    transform: translateY(0%);
}
menu#slide-menu section a {
    padding: 0.5em;
    float: left;
    clear: left;
    font-size: 1em;
    line-height: 100%;
    margin: 0;
    width: 100%;
}

main#slide-container section.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*overflow-x: visible;*/
    overflow: hidden;
    /*overflow: visible;*/
    /* z-index: 0; */
    z-index: 1;
}

/* CONTROLS */
header#slide-header section.slide-width .controls  {
    font-size: 1.5em;
    padding: 0.5em;
    text-decoration: none;
    width: 2em;
    text-align: center;
}
header#slide-header section.slide-width img#logo {


}
header#slide-header section.slide-width img.player-controls {
    height: 3em;
    width: 3em;
    min-width: 80px !important;
}
#player-controls-menu {
    float: left;

    
}
#logo {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 570px;
    width: 190px;
}

#player-controls-audio-on, #player-controls-audio-off {
    float: right;
}
#player-controls-exit {
    /*float: right;*/
    position: fixed;
    top: 16px;
    right: 16px;
    width: 3.2rem;
    z-index: 10000;
}
#player-controls-home {
    position: fixed;
    top: 16px;
    left: 16px;
    width: 3.2rem;
    z-index: 10000;
}

#slide-controls {
    z-index: 1000;
}
#slide-previous-button{
    position: absolute;
    height: 4em;
    top: calc(50% - 2em);
    left: -1em;
    z-index: 10000;
}
#slide-next-button{
    position: absolute;
    height: 4em;
    top: calc(50% - 2em);
    right: -1em;
    z-index: 10000;
}

#loader {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
#preloader {
    display: none;
}

iframe {
    border: 0;
}

#preload-images {
    display: none;
}
body.mobile {
    font-size: 12px;
}
#progress-bar-frame {
    position: absolute;
    bottom: 0.5em;
    left: 25%; 
    width: 65%;
    /*background-color: #faa906;*/
    background-image: url(../images/progress-bg.svg);
    background-size: 100% 100%;
    background-position: center center;
    padding: 1em;
    height: 2.5em;

    z-index: 10000;
    opacity: 1;
}
#progress-bar {
    position: absolute;
    top: 1em;
    left: 2em;
    height: 0.5em;
    width: calc(100% - 4em);
    z-index: 5000;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    border-radius: 1em;
    /*background-color: green;*/
    overflow: hidden;
}
#progress-bar-color {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    background-color: #3c7660;
}
#progress-bar-cover {
    position: absolute;
    bottom: -1em;
    right: -1em;
    height: calc(100% + 2em);
    border: 2px solid #f4e5c1;
    width: calc(100% + 1em);
    background-color: #f4e5c1;
    
    transition: all 1s ease 0s;
}
#progress-bar-position {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100%;
    width: 0.5em;
    transform: translateX(-50%) scale(1, 2);
}
#points-frame {
    position: absolute;
    bottom: 0;
    left: 3em;
    width: 25%;
/*    background-color: #ffcc00;*/
    z-index: 9999;
    padding: 2em 4.5em 1.25em 3.5em;
    opacity: 0.9;
    background-image: url(../images/points-bg.svg);
    background-size: 100% auto;
    background-position: top center;
}
#points-star {
    font-size: 3em;
    float: left;
    margin: -0.5em;
    margin-right: 0.25em;
    margin-top: -0.6em;
    color: #d18624;
}
#sim-points {
    font-size: 1em;
    float: left;
    color: #000000;
}
#points-text {
    font-size: 1em;
    float: left;
    margin-left: 1em;
    color: #000000;
    font-weight: bold;
}