
.new__popup {
    position: fixed;
    z-index: 100; 
    top: 50%; 
    left: 50%;
    width: 50vw; 
    height: auto; 
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    border-top: 4px solid RGB(23,86,129) !important;
    -moz-box-shadow: 4px 4px 30px #130507;
    -webkit-box-shadow: 4px 4px 30px #130507;
    box-shadow: 4px 4px 30px #130507;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.top_border_white {
    border-top-color: #fff !important;
}
/*
.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; 
    opacity:0.7;
    -moz-transition:opacity 800ms;
    -o-transition:opacity 800ms;
    -webkit-transition:opacity 800ms;
    transition:opacity 800ms;
}

.popup__header {
    padding: 0; 
}

.p_content { 
    width: 100%; 
    background: #eee;
    text-align: justify; 
    font-size: 14px; 
    padding: 20px; 
}

.popup__footer {
    padding: 10px 20px;  
    text-align: center;
}

.p_close { 
    position: absolute; 
    top: 4px; 
    right: 16px; 
    width: 16px; 
    height: 12px; 
    padding: 15px 11px 0 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;
    z-index: -1 !important; /* bug fix (that appears white-line even height is 0 */
}

.js__fadeout { 
    height:0; 
    overflow:hidden; 
    opacity:0; 
}

@media screen and (max-width : 768px) {
    .popup {
        width: 100%;
        height: 100vh;
    }

    .js__slide_top { 
        height:0; 
        overflow:hidden;
        top: 0; 
        right:0;
        bottom: 0;
        left: 0;
    }
}

/* Customized style */
.column{
z-index:99;
}

.new__popup{
margin:0;
width:auto;
/*border: 1px solid #eee;*/
-webkit-box-shadow:none;
box-shadow:none;
z-index:999;
}
/*
.p_content iframe{
border-top: 4px solid RGB(23,86,129) !important;
border-radius: 5px;
}
*/
.js__popup{
visibility:visible;
/*display:none;*/
}

.p_content{
background:transparent;
width:600px;
padding: 10px 40px 10px 40px;
}

.js__p_body{
z-index:100;
}

.js__p_close{
    position: absolute;
    top: 15px;
    background: url(/segmentpro_static/segmentpro/img/sprite.png) no-repeat -430px -27px transparent;
    right: 15px;
    width: 20px;
    height: 20px;
    padding:0;
}

a.p_close.js__p_close:hover {
    background-position: -430px -75px;
}

@media only screen and (max-width: 768px) {
        .new__popup{width:100% !important;}
        .p_content{height:600px; overflow:auto;}
}

