.ipModuleDesign {
    padding: 10px;

    ._selectedTheme {
        float: left;
        width: 448px;

        ._preview {
            background: #acacac url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAcAAAAAKCAIAAACsQxlCAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAMRJREFUeNrs1jsKg1AUhOH4QLC94i7E0tYNuwg3YCO6CUURG4MPbg6W0RBDrC7/Vw1Md4rhWFrraZrKsuy6TsIDAPCZ7/tBEMRxLMEaxzHP83meuQsAXOR5Xpqmdl3XrCcA/ERmU8bTbZrm2IVhGEWRhKqq2rb9vwIAw8h42suyHIskSdROwi0VABhmXVf7tNBav4U/KwAwz/mAFkXx3Em4pQIA81hZlnEFALjtAwUAfOUOw6CU2raNWwDARY7j9H3/EmAAeaWBzdwERhwAAAAASUVORK5CYII=) no-repeat center top; // source: bg_theme_preview.png
            border-bottom: 1px solid #acacac; // making virtual border
            max-height: 278px;
            padding: 10px 1px 0 1px; // making virtual border
            overflow: hidden;
        }

        ._preview img {
            width: 100%;
        }

        ._actions {
            float: right;
            margin-top: 10px;
            text-align: right;
        }

        .@{fa-css-prefix}-check {
            color: #92c131;
        }

        ._plugins {
            padding-top: 10px;
        }
    }

    ._themes {
        border: 1px solid #ccc;
        margin-left: 468px; /* space for selected theme column */
    }

    ._market {
        background-color: #d5d5d5;
        background-image: url(data:image/gif;base64,R0lGODlhAgACAIAAANXV1fn5+SH5BAAAAAAALAAAAAACAAIAAAIDDBAFADs=); // source: ../../Content/assets/admin/img/bg_upload.gif
        color: #000;

        ._wrapper {
            padding: 20px;
            text-align: center;
        }

        ._title {
            background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAZCAYAAAAxFw7TAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2hJREFUeNqUlWtIk2EUx/+7pDln5syy4WWhiIWYdpEluuyCFSntQ1qZSlSUFEVFGITfoigI0k9RnypY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9nbg6CDXv2+SfAAHYnJXLjtG7tAAAAAElFTkSuQmCC) no-repeat; // source: logo_market.png
            display: inline-block;
            font-size: 18px;
            font-weight: bold;
            line-height: 25px;
            margin-bottom: 15px;
            padding-left: 30px;
            text-transform: uppercase;
            text-shadow: 1px 1px #eee, -1px -1px #eee, -1px 1px #eee, 1px -1px #eee;
        }

        ._notice {
            display: block;
            margin-bottom: 5px;
            text-shadow: 1px 1px #eee, -1px -1px #eee, -1px 1px #eee, 1px -1px #eee;
        }
    }

    ._localThemes {
        background-color: #f3f3f3;
        border-top: 1px solid #ccc; // separator
        padding: 15px 20px;

        ._list {
            list-style: none;
            margin: -20px 0 0 -20px;
            padding: 0;

            li {
                float: left;
                margin: 20px 0 0 20px;
                position: relative;
                width: 212px;

                &:hover {
                    ._actions {
                        display: block;
                    }
                    ._preview {
                        border-color: #019bd4;
                        outline: 1px solid #019bd4;
                    }
                }
            }

            ._actions {
                display: none;
                left: 0;
                position: absolute;
                text-align: center;
                top: 50px;
                width: 100%;
            }

            ._preview {
                border: 1px solid #fff;
                height: 132px;
                overflow: hidden;

                img {
                    width: 100%;
                }
            }

            ._title {
                display: block;
                font-size: 12px;
                font-weight: bold;
                margin-top: 4px;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
            }
        }
    }

    ._popup {
        background-color: #fff;
        height: 100%;
        left: 0;
        position: fixed; // 'absolute' breaks if parent pages is scrolled down
        top: @navbar-height; // start just below navbar
        width: 100%;
        z-index: (@zindex-navbar-fixed - 1); // should be lower than top navbar for menu to be visible

        ._back {
            position: absolute;
            left: 10px;
            top: 10px;
        }

        ._close {
            position: absolute;
            right: 20px;
            top: 10px;
        }

        ._container,
        iframe {
            height: 100%;
            width: 100%;
        }
    }
}
