#wppm-overlay{
position:fixed;
inset:0;
background:rgba(0,0,0,.55);
display:flex;
align-items:center;
justify-content:center;
z-index:-1;
opacity: 0;
pointer-events: none;
cursor: default;
transition: all 0.35s;
}

#wppm-overlay.wppm-active{
    z-index: 99999;
    opacity: 1;
    pointer-events: all;
    cursor: default;
}

.wppm-modal{
width: calc(100% - 30px);
max-width:1000px;
background:#fff;
border-radius:20px;
overflow:hidden;
display:flex;
justify-content: center;
position:relative;
}

.wppm-image{
width:50%;
}

.wppm-image img{
width:100%;
height:100%;
object-fit:cover;
border-radius: 0;
}

.wppm-content{
    width:50%;
    padding:50px;
    overflow: auto;
    display: flex;
    flex-flow: column;
    justify-content: center;
    min-height: 500px;
}

.wppm-content-detail{
    max-height: 335px;
    overflow: auto;
}

.wppm-content h2{
font-size:32px;
line-height: 130%;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.wppm-btn{
display:block;
margin-left: auto;
margin-right: auto;
background:#5873b2;
color:#fff;
padding:15px 45px;
border-radius:8px;
width: 250px;
text-align: center;
text-decoration:none;
margin-top:40px;
transition: all 0.35s;
border: #5873b2 solid 2px;
}

.wppm-btn:hover{
    background: #FFF;
    color: #5873b2;
}

.wppm-close{
position:absolute;
right:20px;
top:15px;
font-size:35px;
border:0;
background:none;
cursor:pointer;
}

@media(max-width:960px){
    .wppm-modal{
        display:block;
        border-radius: 10px;
    }
    .wppm-image,
    .wppm-content{
        width:100%;
    }
    .wppm-content{
        padding: 3vw;
        min-height: 44vw;
    }

    .wppm-close{
        width: 30px;
        height: 30px;
        right: 5px;
        top: 5px;
        font-size: 18px;
        background: #FFF;
        border-radius: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}


@media (max-width: 767px) {
    .wppm-content{
        height: 95vw;
        padding: 30px 15px;
    }

    .wppm-content h2{
        font-size: 24px;
    }

    .wppm-btn{
        width: 200px;
        margin-top: 30px;
        padding: 15px;
    }
}

