:host {
    position: absolute;
    top: 0;
    height: 100vh;
    width: 100vw;
}

.layouter-box {
    transition: all 0.3s;
    background-color: #fff;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    transform-origin: center bottom;
    display: flex;
    flex-direction: column;

    &.scale {
        border-radius: 15px;
        box-shadow: 0 0 5px #ccc;
    }
}

[device-bg] {
    position: absolute;
    background-color: #fff;
    top: 0;

    img {
        height: 100%;
        width: 100%;
    }
}

[device-box] {
    width: 100vw;
    flex-grow: 1;
    overflow: scroll;
}

[device-header] {
    min-height: 45px;
}

[device-footer] {
    min-height: 15px;
}

gridster {
    background: transparent;
    overflow: unset !important;

    gridster-item {
        background: none;
        overflow: unset;
        
        &.editMode {
            box-shadow: 0px 0px 5px #ccc;
        }

        &.selected {
            box-shadow: 0px 0px 15px #0042a5;
        }
    }
}

.flexbox {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

[box-margin] {
    margin: 3px;
}

.edit {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    z-index: 9;
}

.layouter-bar {
    bottom: 0;
    position: absolute;
    z-index: 999;
    width: 100%;
}