
.popup {
    position: fixed;
    z-index: 999999999;
    top: 50%; 
    left: 50%;
    width:49vw; 
    height: auto; 
    background: #fff;
    border-radius: 5px;
     
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.top {
    -moz-transition:top 800ms;
    -o-transition:top 800ms;
    -webkit-transition:top 800ms;
    transition:top 800ms;
}

.right {
    -moz-transition:right 1800ms;
    -o-transition:right 1800ms;
    -webkit-transition:right 1800ms;
    transition:right 1800ms;
    -webkit-transform: translate(50%, -50%);
    -ms-transform: translate(50%, -50%);
    -o-transform: translate(50%, -50%);
    transform: translate(50%, -50%);
}

.bottom {
    -moz-transition:bottom 800ms;
    -o-transition:bottom 800ms;
    -webkit-transition:bottom 800ms;
    transition:bottom 800ms;
    -webkit-transform: translate(-50%, 50%);
    -ms-transform: translate(-50%, 50%);
    -o-transform: translate(-50%, 50%);
    transform: translate(-50%, 50%);
}

.left {
    -moz-transition:left 1800ms;
    -o-transition:left 1800ms;
    -webkit-transition:left 1800ms;
    transition:left 1800ms;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.p_body {
    position:fixed; 
    top:0; 
    left:0; 
    width:100%; 
    height:100%;
    background:#000; 
	z-index: 99999999;
    opacity:0.5;
    -moz-transition:opacity 800ms;
    -o-transition:opacity 800ms;
    -webkit-transition:opacity 800ms;
    transition:opacity 800ms;
}

.popup__header {
    padding: 10px 20px; 
	font-size: 16px;
	color: #99c729;
}

.p_content { 
    width: 100%; 
     
}
.p_content table{ 
	padding:10px;  
}
.p_content table td{ 
	padding:10px;  
}
.p_content table td input[type="text"]{ border:1px solid #EEE; padding:10px; font-size: 13px; color: #6d6d6d; width:280px; border-radius: 5px;}
.p_content table td input[type="email"]{ border:1px solid #EEE; padding:10px; font-size: 13px; color: #6d6d6d; width:280px; border-radius: 5px;}
.p_content table td input[type="number"]{ border:1px solid #EEE; padding:10px; font-size: 13px; color: #6d6d6d; width:280px; border-radius: 5px;}
.p_content table td textarea{ border:1px solid #EEE; height: 120px; padding:10px; font-size: 13px; color: #6d6d6d; width:600px; border-radius: 5px;}
.p_content table td select{ border:1px solid #EEE; padding:10px; font-size: 13px; color: #6d6d6d; width: 300px; border-radius: 5px;}


.p_content table td input[type="submit"]{ border:none;padding:10px 25px; font-size: 13px; color: #FFF;background: #99c729; border-radius: 5px; cursor: pointer;}
.p_content table td input[type="submit"]:hover{ background: #6d6d6d;}






.p_close { 
    position: absolute; 
    top:15px; 
    right: 16px; 
    width: 16px; 
    height: 12px; 
    padding:0; 
}

.p_close span { 
    display: block; 
    width: 18px; 
    height: 5px; 
    background: #333; 
}

.p_close span:first-child {
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.p_close span:last-child {
    margin: -5px 0 0;
    -ms-transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
}

.js__slide_top { 
    height:0; 
    overflow:hidden;
    top: 0; 
    right:0;
    bottom: 0;
    left: 0;
}

.js__fadeout { 
    height:0; 
    overflow:hidden; 
    opacity:0; 
}

@media screen and (max-width : 768px) {
    .popup {
        width: 87%;
    	height: 68vh;
    }

    .js__slide_top { 
        height:0; 
        overflow:hidden;
        top: 0; 
        right:0;
        bottom: 0;
        left: 0;
    }
}
@media screen and (max-width : 425px) {
    .popup {
        width: 73%;
    	height: 77vh;
    }
	.p_content table td {
		padding: 10px;
		display: block;
	}
	.p_content table td input[type="text"] {width: 240px;}
	.p_content table td input[type="email"] {width: 240px;}
	.p_content table td input[type="number"] {width: 240px;}
	.p_content table td select {width: 260px;}
	.p_content table td textarea {width: 240px; height: 60px;}

    .js__slide_top { 
        height:0; 
        overflow:hidden;
        top: 0; 
        right:0;
        bottom: 0;
        left: 0;
    }
}
@media screen and (max-width : 360px) {
    .popup {
        width: 92%;
    	height: 77vh;
    }
	.p_content table td {
		padding: 10px;
		display: block;
	}
	.p_content table td textarea { 
		height:60px; 
		width: 280px; 
	}
	.p_content table td input[type="text"] {width: 240px;}
	.p_content table td input[type="email"] {width: 240px;}
	.p_content table td input[type="number"] {width: 240px;}
	.p_content table td select {width: 260px;}
	.p_content table td textarea {width: 240px;}
    .js__slide_top { 
        height:0; 
        overflow:hidden;
        top: 0; 
        right:0;
        bottom: 0;
        left: 0;
    }
}