.ed-popup-wrap .mfp-content{
    max-width: 650px;
    width: 100%;
    margin: 0 auto;
    /*overflow: hidden; */
    height: auto;
}
.ed-popup-wrap .mfp-content img{    
    width: 100%;
    max-width: 100%;
}
.ed-popup-wrap .mfp-content img.wpcf7-captchac{    
    width: auto;
    max-width: none;
}
.ed-popup-wrap .mfp-content .mfp-close{
    font-size: 34px;
    width: 32px;
    height: 32px;
    line-height: 32px;
    font-size: 36px;
}

/*Image Popup*/
.ed-popup-wrap.ed-popup-image .mfp-content{
    background-color: #272727;
    padding: 34px 10px 10px;
    text-align: center;
}
.ed-popup-wrap.ed-popup-image .mfp-content img{
    width: 100%;
    max-width: 100%;   
}
.ed-popup-wrap.ed-popup-image .mfp-content .mfp-close{
    color: #fff;
    /*font-size: 40px;*/
}


/*Video Popup*/
.ed-popup-wrap.ed-popup-video .mfp-content{
    background-color: #111;
    padding: 34px 10px 10px;
    text-align: center;
}
.ed-popup-wrap.ed-popup-video .mfp-content iframe{  
    width: 100%;        
    height: 325px;
}
.ed-popup-wrap.ed-popup-video .mfp-content .mfp-close{
    color: #fff;
    /*font-size: 40px;*/
}



/*form popup*/
.ed-popup-wrap.ed-popup-form .mfp-content form img.ajax-loader{
    display: none;
}
.ed-popup-wrap.ed-popup-form .mfp-content {
    margin: 0 auto; 
}

/*html popup*/
.ed-popup-wrap.ed-popup-html .mfp-content{    
    text-align: center;
    margin: 0 auto;
    height: auto;
    line-height: inherit;
}

/*Sticky popup*/
.ed-popup[popup-type="sticky-popup"],
.ed-popup[issticky="yes"]{
    position: fixed;
    bottom: -400px;
    width: 100%;
    margin:0 auto;
    display: block;
    z-index: 99999;
    padding: 10px;
    background-color: #000;
}
span.ed-popup-sticky-popup-close-button {
    position: absolute;
    right: 25px;
    top: 25px;
    cursor: pointer;
}

/*custom-form-1 popup*/
.ed-popup-wrap.ed-popup-custom-form-1 .mfp-content{
    background-color: #fff;    
    padding: 10px;
    text-align: center;
    margin: 0 auto;
    height: auto;
    line-height: inherit;
}
.ed-popup-wrap.ed-popup-custom-form-1 .mfp-content .custom-form-1-image{
    width: 100%;
    max-width: 100%;
}
@media (min-width: 768px){
    img.popunder-mobile {
        display: none;  
    }
    img.popunder-desktop {
        width: 100%;
        display: block;
    }
}
@media (max-width: 768px){
    img.popunder-desktop {
        display: none;  
    }
    img.popunder-mobile {
        width: 100%;
        display: block; 
    }
}
.ed-popup[popup-type="sticky-popup"],
.ed-popup[issticky="yes"]{
    padding: 0px !important;
}
