#wpbody-content > *:not(#wpupg-template, #wprm-template, .wprm-wrap),
#wpfooter {
    display: none;
}

#update-nag,
.update-nag,
.updated,
.error,
.is-dismissible {
    display: none;
}

.rtl {
    #wprm-template-main {
        .wprm-setting-required {
            border-radius: 3px;
            margin-left: 0;
        }
    }
}

#wprm-template-menu,
.wprm-template-properties,
.wprm-main-container {
    background-color: white;
    border-radius: 5px;
}

#wprm-template-buttons {
    text-align: center;
    padding-top: 10px;

    background-color: white;
    border-radius: 5px;

    p {
        font-weight: bold;
        margin-top: 0;
    }

    button {
        display: inline-block;
        margin: 0 3px;
        margin-bottom: 10px;
    }
}

#wprm-template-main {
    .wprm-main-container {
        padding: 0 25px 25px 25px;
        margin-bottom: 20px;

        &:last-child {
            margin-bottom: 0;
        }
    }

    .wprm-main-container-name {
        text-align: center;
    }
    .wprm-main-container-name {
        padding: 20px 10px 0 10px;
        padding-bottom: 0;
        margin: 5px 0;
        font-size: 1.8em;
        font-weight: 400;
    }
}

@media screen and (min-width: 783px) {
    .rtl {
        #wprm-template-main {
            margin-right: 225px;
            margin-left: 0;
        }
    }

    #wprm-template-sidebar {
        position: fixed;
        width: 200px;
        max-height: calc(100% - 50px);
        overflow-y: scroll;
    }

    #wprm-template-main {
        margin-left: 225px;
    }
}

@media screen and (min-width: 1024px) {
    .rtl {
        #wprm-template-main {
            margin-right: 275px;
            margin-left: 0;
        }
    }
    #wprm-template-sidebar {
        width: 250px;
    }

    #wprm-template-main {
        margin-left: 275px;
    }
}