body:not(.elementor-editor-active) .afeb-template-popup {
    display: none
}

.afeb-template-popup {
    align-items: center;
    display: flex;
    justify-content: center;
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999999
}

.afeb-template-popup-inner {
    position: relative
}

.afeb-popup-container {
    background-color: #fff;
    box-shadow: 2px 8px 23px 3px rgba(0, 0, 0, .2);
    display: flex;
    height: auto;
    max-height: 100vh;
    max-width: 100vw;
    overflow: auto;
    padding: 0;
    position: relative;
    width: 640px
}

.afeb-popup-container-inner {
    width: 100%
}

.afeb-popup-overlay {
    background: rgba(0, 0, 0, .5);
    bottom: 0;
    height: 100%;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    z-index: -1
}

.afeb-popup-close-btn {
    background-color: #000;
    border-style: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    font-size: 20px;
    height: 30px;
    justify-content: center;
    position: absolute;
    right: 0;
    top: 0;
    width: 30px;
    z-index: 99
}

.afeb-popup-close-btn>i {
    line-height: 30px
}