.cta-trigger {
    transition: opacity 0.1s;
    will-change: opacity;
}
.cta-trigger.cta-active {
    opacity: 0;
}

.cta-modal {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    z-index: 9999999999;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: 200ms ease;
    overflow: auto;
}
.cta-modal.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.cta-modal-header {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    padding: 24px;
}
.cta-modal-body {
    padding: 0 24px 24px 24px;
}
.cta-dialog {
    min-width: 300px;
    left: 50%;
    right: auto;
    top: 30%;
    bottom: auto;
    box-shadow: 0 0 0 3000px rgba(0,0,0,0.4);
    transform: translateX(-50%);
}
.cta-sidebar {
    left: auto;
    width: 300px;
    transform: translateX(100%);
    opacity: 1;
    visibility: visible;
}
.cta-sidebar.show {
    transform: translateX(0);
}
.cta-sidebar__block {
    border-radius: 5px;
    background: white;
    opacity: 0.3;
    margin-top: 32px;
}

.cta-modal-close {
    display: block;
    padding: 0;
    margin: 0;
    width: 32px;
    height: 32px;
    line-height: 1;
    border-radius: 64px;
    opacity: 0.5;
    cursor: pointer;
    transition: 0.3s ease;
}
.cta-modal-close:hover {
    opacity: 1;
}
