[id^=eh-popup] {
    position: fixed !important;
    z-index: 999999999999999999999999999999 !important;
    top: 50%;
    left: 50%;
    width: 90%;
    max-width: 800px;
    max-height: 90%;
    transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    padding-top: 20vh;
}
[id^=eh-popup]>* {
    max-width: 100% !important;
    max-height: calc( 100vh - 100px) !important;
    overflow: auto;
    background-color: #ffffff;
    object-fit: contain;
}
[id^=eh-popup]::before{
    width:30px;
    height:30px;
    content: "";
    position: fixed;
    top:50%;
    left:50%;
    transform: translate(50vw,-50vh);
    -webkit-transform: translate(50vw,-50vh);
    -moz-transform: translate(50vw,-50vh);
    -ms-transform: translate(50vw,-50vh);
    -o-transform: translate(50vw,-50vh);
    margin: 10px -50px;
    cursor: pointer;
    background-image: url('data:image/svg+xml,%3Csvg width="800px" height="800px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath fill-rule="evenodd" clip-rule="evenodd" d="M5.29289 5.29289C5.68342 4.90237 6.31658 4.90237 6.70711 5.29289L12 10.5858L17.2929 5.29289C17.6834 4.90237 18.3166 4.90237 18.7071 5.29289C19.0976 5.68342 19.0976 6.31658 18.7071 6.70711L13.4142 12L18.7071 17.2929C19.0976 17.6834 19.0976 18.3166 18.7071 18.7071C18.3166 19.0976 17.6834 19.0976 17.2929 18.7071L12 13.4142L6.70711 18.7071C6.31658 19.0976 5.68342 19.0976 5.29289 18.7071C4.90237 18.3166 4.90237 17.6834 5.29289 17.2929L10.5858 12L5.29289 6.70711C4.90237 6.31658 4.90237 5.68342 5.29289 5.29289Z" fill="%23ffffff"/%3E%3C/svg%3E');
    background-size: contain;
    background-position: center;
}
[id^=eh-popup]::after{
    position: fixed !important;
    z-index: -1;
    content: "";
    background: #000000c2;
    top:50%;
    left:50%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50vw,-50vh);
    -webkit-transform: translate(-50vw,-50vh);
    -moz-transform: translate(-50vw,-50vh);
    -ms-transform: translate(-50vw,-50vh);
    -o-transform: translate(-50vw,-50vh);
}
.eh-popup-show{
    padding-top:0px;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}
