﻿@media only screen and (max-width: 767px) {
    html, body {
        width: 100%;
        height: 100%;
    }

    #page-content {
        width: 100% !important;
        position: absolute !important;
    }

    #page-sidebar {
        width: 100%;
        height: auto;
        min-height: 100%;
        position: absolute;
        top: auto;
        left: 0;
        right: 0;
        bottom: 0;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

        #page-sidebar:before {
            content: '';
            padding-bottom: 100%;
            display: block;
        }

    #page-content #renderer canvas.rendering {
        position: inherit;
        margin-left: auto;
        margin-right: auto;
    }

    #page-sidebar .box {
        background-color: #FFFFFF;
    }

    section#page-sidebar::after {
        height: 42px !important;
    }
}
