/***********/
/* preview */
/***********/
.qui-control-listPreview-preview {
    position: absolute;
    top: 0;
    z-index: 1;
    cursor: initial;
    opacity: 0;
    display: none;
}

.qui-control-listPreview-preview.open-direction-right {
    left: 100%;
}

.qui-control-listPreview-preview.open-direction-left {
    right: 100%;
}

.qui-control-listPreview-preview-inner {
    position: relative;
    background: #fff;
    border: 1px solid #ddd;
}

.qui-control-listPreview-preview-image img {
    max-width: initial;
    max-height: initial;
    object-fit: cover;
}

header.qui-control-listPreview-preview-content-title {
    margin-top: 0;
}

.qui-control-preview-close {
    width: 2rem;
    line-height: 2rem;
    text-align: center;
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
}

/* dark */
.qui-control-listPreview-preview-inner {
    background: #332d2d;
    color: #fff;
}

.qui-control-listPreview-preview-content-short {
    color: #d2cccc;
}

.qui-control-listPreview-preview-link {
    color: #d2cccc;
}

.qui-control-listPreview-preview-link:hover {
    color: #fff;
}

@media screen and (max-width: 767px) {
    .qui-control-listPreview-preview {
        right: initial;
        max-width: 100%;
    }
}