* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.fm-popup-open {
    overflow: hidden;
}
.custom-popup {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    height: 100%;
}
.custom-popup .popup-container {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    overflow: hidden;
    overflow-y: auto;
    position: relative;
    margin: auto;
    border-radius: 40px;
    padding: 16px;
    background-color: var(--sm-neutral-white);
}
.custom-popup .popup-wrapper {
    width: 95%;
    max-width: 1560px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    z-index: inherit;
    overflow: auto;
    height: 100%;
    display: flex;
}
.custom-popup .popup-image,
.custom-popup .popup-content {
    flex: 0 0 auto;
    width: 50%;
    position: relative;
}
.custom-popup .popup-image {
    border-radius: 32px;
    overflow: hidden;
}
.custom-popup .popup-image img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.custom-popup .popup-content {
    position: relative;
    padding: 80px 64px;
    background: #fff;
}
.custom-popup .popup-title {
    margin-bottom: 25px;
}
.custom-popup .popup-excerpt {
    margin-bottom: 30px;
}
.custom-popup .popup-button {
    margin-bottom: 30px;
}
.custom-popup ul {
    padding: 0;
    margin: 0 0 30px 0;
    list-style: none;
    position: relative;
}
.custom-popup .popup-list ul:last-child {
    margin-bottom: 0;
}
.custom-popup ul li {
    font-size: 1.6rem;
    line-height: 160%;
    margin-bottom: 17px;
    padding: 0 0 0 25px;
    position: relative;
}
.custom-popup ul li:after {
    content: "";
    background-image: url(../images/list-style.svg);
    background-size: contain;
    background-position: left top;
    background-repeat: no-repeat;
    display: inline-block;
    position: absolute;
    left: 0;
    top: 1px;
    width: 18px;
    height: 18px;
}
.custom-popup .popup-container .popup-close  {
    display: inline-block;
}
.custom-popup .popup-close {
    position: absolute;
    top: 45px;
    right: 45px;
    color: #fff;
    border: none;
    padding: 0;
    cursor: pointer;
    background-image: url(../images/close.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
    background-size: 24px;
    height: 44px;
    width: 56px;
    padding: 10px 16px;
    border-radius: 100px;
    background-color: #F2F2F2;
    z-index: inherit;
}
.popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
@media only screen and (max-width: 1199px) {
    .custom-popup .popup-title {
        font-size: 48px;
        line-height: 54px;
    }
    .custom-popup .popup-excerpt {
        font-size: 21px;
        line-height: 31px;
    }
    .custom-popup .popup-content {
        padding: 100px 50px 50px 50px;
    }
}
@media only screen and (max-width: 991px) {
    .custom-popup .popup-wrapper {
        padding: 50px 0;
    }
    .custom-popup .popup-close  {
        z-index: 99999;
        display: inline-block;
    }
    .custom-popup .popup-container .popup-close {
        display: none;
    }
    .custom-popup .popup-container {
        padding: 8px;
    }
    .custom-popup .popup-content {
        padding: 50px;
    }
    .custom-popup .popup-image, 
    .custom-popup .popup-content {
        width: 100%;
    }
    .custom-popup .popup-image {
        height: 450px;
    }
    .admin-bar .custom-popup .popup-close {
        top: 66px;
    }
    .custom-popup .popup-close {
        top: 31px;
        right: 2.5%;
    }
    .custom-popup .popup-title {
        font-size: 44px;
        line-height: 50px;
    }
    .custom-popup .popup-excerpt {
        font-size: 19px;
        line-height: 29px;
    }
}
@media only screen and (max-width: 767px) {
    .custom-popup .popup-image {
        height: 350px;
    }
    .custom-popup .popup-content {
        padding: 30px;
    }
    .custom-popup .popup-title {
        font-size: 39px;
        line-height: 44px;
        margin-bottom: 20px;
    }
    .custom-popup .popup-excerpt {
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 25px;
    }
    .custom-popup .popup-button {
        margin-bottom: 25px;
        padding-right: 80px;
    }
}
@media only screen and (max-width: 575px) {
    .custom-popup .popup-image {
        height: 302px;
    }
}
