/* body:not(.fullscreen) .rsFullscreenBtn {
    display: none;
} */

#omaaFS,
#omaaAC {
    position: fixed;
    top: 15px;
    left: 15px;
    width: 20px;
    height: 20px;
    background-image: url('../../images/menu/mnu_fullscreen-or8.png');
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: auto 20px;
    background-position-x: 0;
    background-position-y: 0;
    overflow: hidden;
    text-indent: -9999px;
    cursor: pointer;
}

#omaaFS,
#omaaFS.on {
    background-position-x: 0;
}

#omaaFS:hover {
    background-position-x: -20px;
}

#omaaAC {
    left: 55px;
    background-position-x: -40px;
}

#omaaAC:hover {
    background-position-x: -60px;
}

#omaaAC.on {
    background-position-x: -80px;
}

#omaaAC.on:hover {
    background-position-x: -100px;
}


/*.rsUni .rsFullscreenBtn {
    position: fixed !important;
}*/

.zzs {
    position: fixed !important;
    top: -300px !important;
    left: -300px !important;
    right: inherit !important;
    bottom: inherit !important;
    display: none !important;
}

body.fullscreen #aside {
    display: none;
}

body.fullscreen #main {
    margin: auto;
}

body.fullscreen #menu-main ul>li>a.disabled,
body.fullscreen #menu-main .sep.disabled,
body.fullscreen #footer {
    display: none;
}

body.fullscreen #thumbs>#size-thumbs {
    display: block;
}


/* Fullscreen options, very important ^^ */

body.fullscreen #main {
    top: 5px !important;
    bottom: 5px !important;
    z-index: 0 !important;
}

body.fullscreen #main>#main-content {
    padding: 0 !important;
    overflow: hidden;
}

.center1 {
    position: relative;
    z-index: 5010 !important;
}


/* body.fullscreen #container {
    width: 100%;
    max-width: inherit;
} */

body.fullscreen #menu-main ul#mnu1>li.r4 {
    margin-top: 5px;
}

body.fullscreen .rsSlide {
    text-align: center;
}

.rsOverflow {
    text-align: center;
}

@media (orientation: portrait) {
    /* .royalSlider.rsFullscreen {
        position: fixed !important;
        height: auto !important;
        width: auto !important;
        max-width: inherit !important;
        padding: 0 !important;
        top: 45px !important;
        left: 0 !important;
        bottom: 0 !important;
        right: 0 !important;
        z-index: 0 !important;
    } */
}

@media (orientation: landscape) {
    /* .royalSlider.rsFullscreen {
        position: fixed !important;
        height: auto !important;
        width: auto !important;
        max-width: 700px;
        margin: 0 !important;
        padding: 0 !important;
        top: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        right: 0 !important;
        z-index: 0 !important;
    } */
    body.fullscreen #aside-content #menu-main {
        width: 380px;
        max-width: inherit;
    }
    body.fullscreen #menu-main>ul#icons {
        bottom: 25px;
        left: 257px;
        right: inherit;
    }
    body.fullscreen #thumbs {
        width: 230px !important;
    }
    body.fullscreen #thumbs>#size-thumbs {
        top: 0 !important;
        padding-top: 0 !important;
        padding-left: 16px !important;
        margin: -5px 0 0 0 !important;
    }
    body.fullscreen #size-thumbs .rsThumb {
        width: 60px;
        height: 45px;
        margin: 5px 5px 0 0 !important;
    }
    body.fullscreen #aside-content #btn-autoplay,
    body.fullscreen #thumbs>#btn-autoplay,
    body.fullscreen #btn-autoplay {
        top: 6px !important;
    }
    body.fullscreen #thumbs>#size-thumbs {
        height: 60px !important;
    }
    body.fullscreen #aside #aside-content2,
    body.fullscreen #aside>#aside-content {
        min-height: inherit !important;
        float: none !important;
    }
}

@media (min-width: 1400px) {
    /* body,
    .rsUni .rsSlide {
        background: red;
    } */
    #container {
        width: 1300px;
    }
    /* .royalSlider.rsFullscreen {
        max-width: 1000px;
    } */
}


/* and (orientation: landscape) */

@media (max-height: 450px) {
    .royalSlider.rsFullscreen {
        top: 50px !important;
    }
    body.fullscreen .royalSlider.rsFullscreen {
        top: 37px !important;
        right: 0 !important;
    }
    #main {
        top: 75px !important;
    }
    body.fullscreen #main {
        top: 37px !important;
        bottom: 5px !important;
    }
    body.fullscreen #aside {
        min-height: inherit !important;
        height: 30px !important;
    }
    #aside-content #menu-main {
        min-height: 67px;
        height: 67px;
    }
    body.fullscreen #aside-content #menu-main {
        width: 340px;
        min-height: 40px;
        height: 40px;
    }
    body.fullscreen .mnu-left>#mc4,
    .mnu-left>#mc4 {
        top: 0 !important;
    }
    body.fullscreen #m_mnu2,
    #m_mnu2 {
        top: 0;
    }
    body.fullscreen #m_mnu2>div,
    #m_mnu2>div {
        height: 14px !important;
        margin: 0 0 2px 0 !important;
    }
    #aside-content2 {
        display: none;
    }
    body.fullscreen .mnu-left>#mc2 {
        position: absolute;
        top: 0px;
        left: 125px;
    }
    body.fullscreen .mnu-left>#mc3 {
        position: absolute;
        top: 16px;
        left: 125px;
    }
}

@media (max-height: 450px) and (orientation: portrait) {
    body.fullscreen #aside-content #menu-main {
        right: inherit !important;
    }
}

@media (max-width: 320px) {
    #aside-content #menu-main {
        right: inherit !important;
        min-width: inherit !important;
        width: 100%;
    }
}

@media (max-height: 450px) and (orientation: landscape) {
    body.fullscreen #m_mnu2 {
        display: none;
    }
}


/* @media (min-width: 768px) {
    body {
        background: purple !important;
    }
} */

@media (min-width: 768px) and (orientation: portrait) {
    /* body {
        background: crimson !important;
    } */
    #main {
        margin: 0;
    }
    body.fullscreen #main>#main-content {
        padding: 0 !important;
    }
    body.fullscreen #main {
        margin: 0;
    }
    .royalSlider.rsFullscreen {
        position: fixed !important;
        height: auto !important;
        width: auto !important;
        max-width: inherit !important;
        padding: 0 !important;
        top: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        right: 0 !important;
        z-index: 0 !important;
    }
    #aside {
        width: 310px;
        /* height: 100% !important;
        min-height: 100% !important; */
    }
    #aside #aside-content2,
    #aside>#aside-content {
        height: 100% !important;
        min-height: inherit !important;
    }
    #container {
        /* width: 100%;
        max-width: 1024px; */
        z-index: 0;
        margin: auto;
    }
}

@media (min-width: 768px) and (orientation: landscape) {
    /* body {
        background: crimson !important;
    } */
    #aside {
        width: 310px;
        height: 100% !important;
        min-height: 100% !important;
    }
    #aside #aside-content2,
    #aside>#aside-content {
        height: 100% !important;
        min-height: inherit !important;
    }
    #container {
        /* width: 100%;
        max-width: 1024px; */
        z-index: 0;
    }
}