.wm {
    display: none;
    position: fixed;
    top: 0;
    height: 100vh;
    width: 100%;
    z-index: 1050;
}
.wm>.row {
    height: 100vh;
    align-items: center;
}

.wb.block {
    position: relative;
}

.ui-sortable-handle .wb.block {
    min-height: 40px;
}

.wb.block .block-title {
    height: 40px;
}

.ui-sortable-handle .wb.block .block-title {
    height: 40px;
    z-index: 1000;
    position: absolute;
    width: 100%;
    left: 20px;
    opacity: 0;
    transition: opacity 0.3s linear;
}

.ui-sortable-handle .wb.block:hover .block-title {
    opacity: 1;
}

.wb > .btn-group {
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
}

.CodeMirror {
    border: 1px solid #eee;
    height: auto;
}

.swal2-actions .btn {
    margin: 0 5px;
}

.block.wb-draft {
    border-style: dashed;
    background: #eee;
}

.wm .form-actions {
    margin-top: 15px;
    margin-bottom: 0;
    text-align: right;
}

.wm fieldset+.form-actions {
    margin-top: 0;
}

.switch.disabled {
    cursor: not-allowed;
}

.media-items {
    width: 150px;
}
.media-items h5 {
    height: 36px;
    overflow: hidden;
    line-height: 1.3;
    margin-bottom: 0;
}

.wb .block-content {
    padding-bottom: 20px;
}

.wb .block-content>p:last-child {
    margin-bottom: 0;
}

.wb .imagelistpicker {
    list-style-type: none;
    padding: 0;
}

.wb .imagelistpicker li {

}

.block-types-list .block-content {
    padding-bottom: 20px;
}

.block-types-list .btn {
    white-space: inherit;
}

.image-picker-wrapper {
    display: block;
    text-align: center;
}

@media (min-width: 768px) {
    .block-types-list {
        position: fixed;
        width: calc(25vw - 111px)
    }
    .block-types-list .block-content {
        max-height: 300px;
        overflow-y: auto;
        margin: 0 -10px 20px 0;
        padding: 0 10px 0 0;
    }
}

@media (min-width: 1200px) {
    .block-types-list {
        width: calc(16.667vw - 86px);
    }
    .block-types-list .block-content {
        max-height: 300px;
        overflow-y: auto;
        margin: 0 -10px 20px 0;
        padding: 0 10px 0 0;
    }
}
