@media screen and (max-width: 500px) {

    body {
        background-size: initial;
    }

    .mb-theme-bg {
        background-color: #{{colour_feature}} !important;
    }

    .mb-theme-bg-dark {
        background-color: #{{colour_feature_dark}} !important;
    }

    .container-small {
        width: 100%;
    }

    #register-logon-container {
        width: calc(100% - 2rem);
        left: 1rem;
        margin-left: 0px;
        top: 1rem;
    }
    #signin-background-image {
        background: lightblue url("/assets/images/res/signin-background-phone.jpg");
    }

    .link {
        right: -0.75rem;
    }

    .navigation-advanced-menu-container > .right {
        float: initial;
    }

    .content-container {
        padding: 0px;
    }

    .sub-container {
        width: 100%;
        border: none;
        padding: 1rem;
    }

    label.radio {
        padding-left: 1rem;
    }

    .sub-container-content {
        width: 100%;
        position: absolute;
        left: 100%;
        background-color: white;
        padding: 0px;
        -webkit-transition: .1s all ease-out;
        -moz-transition: .1s all ease-out;
        -o-transition: .1s all ease-out;
        transition: .1s all ease-out;
    }

    #back-button {
        position: fixed;
    }

    .dialog {
        width: 100% !important;
        height: 100% !important;
        top: 0px;
        left: 100%;
        margin-left: 0px !important;
    }

    .dialog-heading {
        border-top: none;
        border-left: none;
        border-right: none;
        border-radius: 0px;
    }

    .dialog-content-container, .dialog-container {
        border: none;
        border-radius: 0px;
        height: calc(100% - 3rem); /* 3 rem is the height of the dialog title */
    }

    .dialog-close {
        top: 0rem;
        right: 0rem;
        border: none;
    }

    .dialog.active {
        left: 0px;
    }

    .dialog.large.active {
        left: 0px;
        margin-left: 0px;
    }

    /* This will give a overlapping effect (similar to windows) */
    #dialog-1 {
        margin-top: 0rem;
        margin-left: 0rem;
    }

    #dialog-2 {
        margin-top: 0rem;
        margin-left: 0rem;
    }

    #confirmation {
        width: 90%;
        left: 5% !important;
    }

    .document.active {
        box-shadow: none;
        -webkit-box-shadow: none;
    }

    .document {
        top: 50px;
    }

    .sub-container-content.active {
        left: 0px;
    }

    h1.heading {
        margin-bottom: 1rem;
        margin-left: 0px;
    }

    /* .list-actions {
        padding: 1rem;
    } */

    .mb-text-right {
        text-align:right;
    }

    .mb-mg-top-0 {
        margin-top: 0px;
    }

    .mb-mg-bot-1 {
        margin-bottom: 1rem;
    }

    .mb-col-2 {
        width: 16.66%;
    }

    .mb-col-3 {
        width: 25%;
    }

    .mb-col-4 {
        width: 33.33%;
    }

    .mb-col-5 {
        width: 41.66%
    }

    .mb-col-6 {
        width: 50%;
    }

    .mb-col-7 {
        width: 58.33%
    }

    .mb-col-8 {
        width: 66.66%;
    }

    .mb-col-9 {
        width: 75%;
    }

    .mb-col-12 {
        width: 100%;
    }

    .mb-pad-hori-0 {
        padding-left: 0px;
        padding-right: 0px;
    }

    .mb-pad-vert-0_5 {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .mb-pad-1 {
        padding: 1rem;
    }

    .mb-pad-0 {
        padding: 0rem;
    }

    .mb-show {
        display: initial;
    }

    .mb-hide {
        display: none;
    }
}
