/**
This file is not in use yet.
In future we will replace admin.css with this scss file.
So don't remove it.
*/

* {
    list-style-type: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}


#rmp-editor-wrapper {

    z-index: 999999;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    min-width: 0;
    background: #fff;
    overflow-y: scroll;

    &.expanded {
        margin-left: 350px;
    }

    & .collapse-sidebar {
        position: fixed;
        width: 48px;
        height: 48px;
        bottom: 50%;
        padding: 10px 0px 10px 15px;
        color: #656a6f;
        outline: 0;
        z-index: -1;
        left: -20px;
        line-height: 1;
        background: #ffffff;
        border: none;
        border-radius: 25px;
        cursor: pointer;

        .collapse-sidebar-arrow:before {
            display: block;
            content: "\f141";
            font: normal 28px/1 dashicons;
            color: #36BEF7;
            padding: 0;
        }

        .rmp-editor-overlay.collapsed .collapse-sidebar-arrow:before {
            transform: rotate(180deg);
        }
    }

    &.expanded .collapse-sidebar {
        left: 325px;
    }

    .rmp-editor-overlay, .rmp-editor-sidebar,
    .rmp-editor-overlay .collapse-sidebar,
    .rmp-editor-preview-main {
        transition-property: left, right, top, bottom, width, margin;
        transition-duration: 0.2s;
    }

    #rmp-editor-form {
        box-sizing: border-box;
        position: fixed;
        width: 350px;
        height: 100%;
        top: 0;
        bottom: 0;
        left: 0;
        padding: 0;
        margin: 0;
        z-index: 99;
        background: #fff;
        box-shadow: 0px 4px 30px 10px #eee;
        overflow: hidden;
        transition-property: left, right, top, bottom, width, margin;
        transition-duration: 0.2s;
    }

    // Menu editor header styles.
    #rmp-editor-header {
        text-align: center;
        background: #0D133D;
        position: relative;
        display: flex;
        align-items: center;
        height: 55px;
        z-index: 10;
        overflow: hidden;

        .rmp-editor-header-logo {
            display: inline-flex;
            height: 55px;
            width: 55px;
            align-items: center;

            img {
                max-width: 35px;
                max-height: 35px;
                margin: 5px auto;
            }
        }

        .rmp-editor-header-back {
            width: 100%;
            height: 100%;
            vertical-align: bottom;
            display: flex;
            justify-content: center;
            align-items: center;
            display: none;
            background: #F80668;
            color: #fff;
            font-weight: 900;
        }

        .rmp-editor-header-title{
            display: inline-block;
            font-family: Roboto, Arial, Helvetica, Verdana, sans-serif;
            font-size: 16px;
            font-weight: 500;
            color: #fff;
            padding: 0 1rem;
            text-transform: capitalize;
            transition: .15s color ease-in-out, .15s background-color ease-in-out, .15s border-color ease-in-out;
        }

        .rmp-editor-header-close{
            width: 55px;
            height: 55px;
            position: absolute;
            right: 0;
            display: flex;
            align-items: inherit;
            justify-content: center;
            font-weight: 900;
            font-size: 1.2rem;
            background: #F80668;
            color: #fff;
        }

    }

    #rmp-editor-footer{
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 45px;
        border-top: 1px solid #ddd;
        background: #fff;
        display: flex;
        align-items: center;

        #rmp-save-menu-options,
        #rmp-theme-action {
            height: 100%;
            width: max-content;
            padding: 0 2rem;
            background: #36BEF7;
            border: unset;
            color: #fff;
            font-size: 16px;
            font-weight: 900;
            cursor: pointer;
        }

        #rmp-theme-action {
            padding: 0 0.5rem;
            margin-left: 2px;
            color: white;
        }

        .rmp-footer-sub-menu-wrapper {
            position: absolute;
            bottom: 100%;
            width: -webkit-fill-available;
            background-color: #0d133d;
            padding: 1rem;
            -webkit-box-shadow: -2px -5px 8px rgba(0, 0, 0, 0.1);
            box-shadow: -2px -5px 8px rgba(0, 0, 0, 0.1);
            cursor: default;
            transition: all 0.3s;
            visibility: hidden;
            opacity: 0;
            transform: translateY(-10px);

            &.open {
                opacity: 1;
                transform: translateY(0px);
                transition: all 0.3s;
                z-index: 999;
                visibility: visible;
            }

            .rmp-footer-sub-menu {
                overflow: hidden;
                border-radius: 10px;

                a {
                    padding: 0.8rem;
                    background: #f5f6fa;
                    border-bottom: solid 2px #0d133d;
                    display: block;
                    color: #56606d;
                    font-weight: 600;
                    font-size: 14px;
                    text-align: left;
                    cursor: pointer;
                    text-transform: capitalize;
                }
            }

        }

        .rmp-preview-device-wrapper {
            position: relative;
            background: #fff;
            display: flex;
            width: max-content;
            float: right;
            height: 100%;
            align-items: center;
            padding: 0 2rem;
        }

        .rmp-preview-device-wrapper .rmp-device-preview.active {
            background: #56606d;
            border-radius: 4px;
        }

        .rmp-preview-device-wrapper .rmp-device-preview {
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            background: transparent;
            border: none;
            height: 35px;
            width: 35px;
            margin-left: 10px;
            transition: .15s color ease-in-out, .15s background-color ease-in-out, .15s border-color ease-in-out;
        }

        .rmp-device-preview.active svg path {
            fill: #fff;
        }



    }

    #rmp-editor-main {

        .rmp-editor-pane-parent {

            .rmp-tab-item {
                padding: 0 5%;
            }
        }
        .rmp-accordion-container {
            margin: 0;
            padding: 0;

            .rmp-accordion-item {
                margin: 5%;
            }
        }


        .rmp-order-item {
            margin: 5%;
            width: auto;
            font-family: Roboto;
            font-size: 14px;
            color: #464646;
            font-style: normal;
            background: #f5f6fa;
        }

        .rmp-order-item-description{
            padding: 3% 5%;
            background: #FFF8D3;
            color: #E8862B;
            font-size: 0.9rem;
            font-weight: 600;
        }
    }
}
