.c-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    width: 100%;
    height: 100%;
}

.c-popup .popup {
    display: none;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
    width: 100%;
    opacity: 0;
    top: 40%;
    transition: all .3s 0s;
    border: 1px solid Gray;
    border-radius: 4px;
}

.c-popup .popup .popup-wrap {
    background: white;
    height: 100%;
    box-shadow: 0 3px 7px 0 rgba(0,0,0, 0.25);
}

.c-popup .popup .popupContent {
    padding: 20px;
}

.c-popup .popup .c-close {
    position: absolute;
    top: -25px;
    right: -25px;
    z-index: 999;
    font-size: 20px;
    color: white;
    width: 36px;
    height: 36px;
    background: black;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.c-popup .popup .c-close:hover {
    color: white;
}

.c-popup .popup.popup--full-screen {
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    height: 100%;
    padding: 0;
    max-width: none;
}

.c-popup .popup.active {
    top: 50%;
    opacity: 1;
    transition-delay: .3s;
}

.c-popup .overlay {
    display: block;
    height: 100%;
    width: 100%;
    background: transparent;
    transition: all .3s;
}

.c-popup.popup--open .overlay {
    background: rgba(0,0,0, 0.6);
}

.c-close {
    display: inline-block;
    width: 38px;
    height: 38px;
}

.c-popup .popup.sm-popup {
    width: 500px;
}

.c-popup .popup.md-popup {
    width: 750px;
}

.c-popup .popup.lg-popup {
    width: 1220px;
}

.overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0, 0.6);
    z-index: 0;
}
