/* LAYOUT */
* {
    box-sizing: border-box;
    transform: translate3D(0,0,0);
}
html, body {
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
    font-size: 17px;
    overflow: hidden;
}
body.mobile {
    font-size: 13px;
}
h1 {
/*    font-size: 1.5em;
    padding: 0.25em 0;
    margin: 0 auto;
    
    margin: 0 0 0 2rem;
    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: flex-end;
}
header#slide-header section.slide-width {
    height: 100%;
}
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;
}
footer#slide-footer section.slide-width {
    height: 100%;
}
main#slide-container {
    position: fixed;
    z-index: 500;
    /*top: 3em;*/
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: 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: hidden;
}
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;
    bottom: 64px;
    left: 0;
    width: 392px;
    height: 548px;
    margin: 0;
    padding: 0;
    transition: all 0.5s ease;
    transform: translateY(100%);
    /*overflow-x: hidden;*/
}
menu#slide-menu section {
    height: 100%;
    overflow-x: hidden;
}
menu#slide-menu.active {
    opacity: 1;
    transform: translateY(0%);
}
main#slide-container section.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*overflow-x: visible;*/
    overflow: hidden;
    z-index: 0;
}

/* 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#titulo {
    height: 2em;
    padding: 0.10em;
    margin-top: 0.50em;
}
header#slide-header section.slide-width img.player-controls {
/*    position: absolute;
    height: 100%;*/
}
#player-controls-menu {
    position: absolute;
    height: 100%;
    border-right: 2px #fff solid;
}
#player-controls-help {
    float: right;
}
#logo {
    position: absolute;
    height: 50px;
    left: 28px;
    top: 18px;
}
#titulo {
    float: left;
}
#player-controls-audio-on, #player-controls-audio-off {
    float: right;
}
#player-controls-exit {
    height: 70%;
    margin: 0;
    position: absolute;
    right: 20px;
    top: 15px;
    z-index: 1000;
}
#player-controls-tools {
    height: 100%;
    margin: 0;
    position: absolute;
    right: 88px;
    top: 0;
    border-left: 2px solid #F2F2F2;
}
#player-controls-tools.selected {
    background-color: #F2F2F2;
}
#player-controls-home {
    display: none;
    float: right;
}

#slide-controls {
    z-index: 100;
    position: absolute;
    height: 1px;
    width: 100%;
}
#slide-previous-button{

}
#slide-next-button{

}

#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;
}

#closing-window {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba( 0, 0, 0, 0.5);
    z-index: 100000;
}
#closing-window-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate( -50%, -50%);
    max-width: 100%;
    padding: 1em 3em;
}
#closing-window-message p {
    display: block;
    margin: 0.5em auto;
    text-align: center;
}
#closing-window-yes, #closing-window-no {
    height: 3em;
    padding: 0.5em 1em;
}

#preload-images {
    display: none;
}

#progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 100%;
    z-index: 9999999;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
}
#progress-bar-cover {
    position: absolute;
    bottom: 0;
    right: 0;
    height: 100%;
    width: 100%;
}
#progress-bar-position {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100%;
    width: 0.5em;
    transform: translateX(-50%) scale(1, 2);
}

/*@media only screen and (max-width: 768px) {*/
@media only screen and (max-device-width : 1024px) and (orientation : landscape) {

}
