@import '../../../../assets/scss/abstracts/variables';
@import '../../../../assets/scss/abstracts/mixins';

@property --color-rdg-separator {syntax: "<color>";inherits: true;initial-value: #CCC;}

.rdg-blocks .rdg-separator {
    .preview-thumbs {
        background-image: url('../images/rdg-separator-template-preview.jpg');
    }
    width: calc(var(--vw, 1vw) * 100);
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    max-width: 99.55vw;

    .container.content {
        width: 100%;
        display: flex;
        flex-direction: column;
        padding-left: 20px;
        padding-right: 20px;

        hr {
            margin: 0;
            padding: 0;
            border-top: var(--hr-size) solid var(--color-rdg-separator);
        }
    }
}

.acf-block-preview {
    .rdg-separator {
        width: 100%;
        left: 0;
        right: 0;
        margin-left: 0;
        margin-right: 0;
    }
}
