.dhbtnwrap {
    width: 100%;
    display: table;
    margin-bottom: 25px;
    margin-top: 10px;
}


.dhbtnwrap {
    width: 100%;
    display: table;
    margin-bottom: 25px;
    margin-top: 10px;
}

.dhmodwrap {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999999;
    width: 100%;
    height: 100%;
    padding: 50px;
    display: flex;
    transition: all 0.5s ease-in-out;
    pointer-events: none;
    opacity: 0;
}

.dhmodwrap.activemod {
    pointer-events: auto;
    opacity: 1;
}

.dhmodbg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.4;
}

.dhmodbody {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.dhstrip {
    background: #f1f2f4;
    text-align: center;
    padding: 15px;
    width:100%;
}

.dhmodwrapeditor .dhexporttrigger {
    width: 35px;
}

div#editor-container {
    height: 100% !important;
}

.dhbtnwrap:not(.dhbtnused) ~ * {
    display: none !important;
}

.dh-pages-preview {
    float: left;
    padding: 20px;
    gap: 20px;
    display: flex;
    flex-direction: column;
    background: #f7f7f7;
    width:48%;
    max-width:100%;
    position: relative;
}

@keyframes dhrotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
    } 

.dhloader {
    width: 48px;
    height: 48px;
    border: 5px solid var(--global-palette1, #781433);
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: dhrotation 1s linear infinite;
    display: none;
}

.dh-loading {
    height: 400px;
}

.dh-loading .dhloader {
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -24px;
    margin-top: -24px;
}

.dhexporttrigger {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 42px;
    background: #781433;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 11px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 300ms ease-in-out;
}

.dhexporttrigger:hover {
    opacity: 0.7;
}


.dhexporttrigger svg {
    width: 100%;
    height: auto;
}

.dhexportbody {
    background: #fff;
    width: 700px;
    padding: 20px;
    position: relative;
    z-index: 2;
    max-width: 100%;
}

form.dhexportform {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr 1fr;
}

.dhfieldgroup {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dhfieldgroup.dhconditemail, .dhexportwrap {
    grid-column: 1/3;
}

.dhfieldgroup input, .dhfieldgroup select {
    font-size: 16px;
    padding: 8px 12px;
}

.dhfieldgroup label {
    font-size: 16px;
    margin-bottom: 0px;
    font-weight: 600;
}

.dhmodbody {
    display: flex;
    justify-content: center;
    align-items: center;
}

.closerbox {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.dhfieldgrouptypewide {
    grid-column: 1/3;
}

.dhmodwraploading form.dhexportform {
    opacity: 0;
}

.dhmodwraploading span.dhloader {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -24px;
    margin-left: -24px;
}

@media(max-width: 720px) {
    .dh-pages-preview {
        width: 100%;
        margin-bottom: 20px;
    }
    .dhmodwrap {
        padding: 20px;
    }
}