/* Modal shell owns width, inset and radius; WPBakery spacers own vertical gaps. */
.mfp-wrap .mfp-container .mfp-content .modal-content.decfort-inline-thanks {
    margin: auto;
    height: auto;
    overflow: hidden;
    box-sizing: border-box;
    width: 623px;
    max-width: calc(100vw - 32px);
    padding: 64px 40px 0;
    border-radius: var(--roundedM);
    background: #fff;
    color: var(--contentColor);
    --contentColor: #00000f;
    --contentOpacityColor: rgba(0,0,0,.5);
    --titleWeight: 500;
    --titleXStopT: -5px;
    --titleXSbottomT: -6px;
    --textMbottomT: -8px;
}
.decfort-inline-thanks .vc_column_container { align-items: center; }
.decfort-thanks-icon { display: flex; justify-content: center; height: 48px; flex-shrink: 0; }
.decfort-thanks-icon img { width: 48px; height: 48px; display: block; }
.decfort-inline-thanks > .mfp-close {
    width: 32px; height: 32px; top: 16px; right: 16px;
    font-size: 0; opacity: 1; padding: 0;
    background: url('../assets/form-thanks/close-desktop.svg') center / 32px 32px no-repeat;
}
.mfp-bg.decfort-thanks-active { background: rgba(0,0,0,.25) !important; opacity: 1 !important; backdrop-filter: none; -webkit-backdrop-filter: none; }
.mfp-wrap.decfort-thanks-active .mfp-container { display: flex; align-items: center; justify-content: center; padding: 0 16px; }
.mfp-wrap.decfort-thanks-active .mfp-container .mfp-content { display: block; width: 100%; height: auto; }
@media (max-width: 767px) {
    .mfp-wrap .mfp-container .mfp-content .modal-content.decfort-inline-thanks { width: 361px; padding: 52px 40px 0; border-radius: var(--roundedS); --titleXStopT: -5px; --titleXSbottomT: -3px; --textMbottomT: -5px; }
    .decfort-thanks-icon { height: 40px; }
    .decfort-thanks-icon img { width: 40px; height: 40px; }
    .decfort-inline-thanks > .mfp-close {
        width: 28px; height: 28px; top: 12px;
        background-image: url('../assets/form-thanks/close-mobile.svg');
        background-size: 28px 28px;
    }
}
