.pmodal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    text-align: left;
    background: rgba(0, 0, 0, .5);
    transition: opacity .25s ease;
	z-index:1000;
}
.pmodal p{padding: 1em 1.5em;}
.ptitle {
    padding: 8px 14px;
    margin: 0;
    background-color: #f7f7f7;
    border-bottom: 1px solid #ebebeb;
    border-radius: 5px 5px 0 0;
    padding:0.5em 1.5em;
    border-bottom: 1px solid #e5e5e5;
}
.ptitle h2{
	
    font-size: 18px;
    font-weight: 700;
	
}
.pmodal__bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    cursor: pointer;
}
.pmodal-state {
    opacity: 1;
    visibility: visible;
}
.pmodal__inner {
    transition: top .25s ease;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 50%;
    margin: auto;
    overflow: auto;
    background: #fff;
    border-radius: 5px;
    /*padding: 1em 2em;*/
    height: 30%;
	border:1px solid #e5e5e5;
}
.pmodal__body {padding:1em;}
.pmodal__close {
    position: absolute;
    right: 1em;
    top: 1em;
    width: 1.1em;
    height: 1.1em;
    cursor: pointer;
}
.pmodal__close:after,
.pmodal__close:before {
    content: "";
    position: absolute;
    width: 2px;
    height: 1.5em;
    background: #ccc;
    display: block;
    transform: rotate(45deg);
    left: 50%;
    margin: -3px 0 0 -1px;
    top: 0;
}
.pmodal__close:hover:after,
.pmodal__close:hover:before {
    background: #aaa;
}
.pmodal__close:before {
    transform: rotate(-45deg);
}
@media screen and (max-width: 768px) {
    .pmodal__inner {
        width: 90%;
        box-sizing: border-box;
    }
}