.popup_bg_form {
    position:fixed;
    left:0;
    top: 50%;
    right:0;
    bottom: inherit;
    width:100%;
    max-width:700px;
    margin:auto;
    transform: translateY(-50%);
    opacity:0;
    visibility:hidden;
    -webkit-transition:opacity 0.3s 0s,visibility 0s 0.3s;
    -moz-transition:opacity 0.3s 0s,visibility 0s 0.3s;
    transition:opacity 0.3s 0s,visibility 0s 0.3s;
    overflow-y:auto;
    z-index:10000;
}
.popup_bg_form.is-visible {
    opacity: 1;
    visibility: visible;
    -webkit-transition: opacity 0.3s 0s, visibility 0s 0s;
    -moz-transition: opacity 0.3s 0s, visibility 0s 0s;
    transition: opacity 0.3s 0s, visibility 0s 0s;
}

.close-button {
    background: none;
    color: #000;
    width: 40px;
    cursor: pointer;
    font-size: 25px;
    height: 40px;
    position: absolute;
    z-index: 10000;
    top: 5%;
    border:0px;
    right: 9px;

}

.popup-form {
    position: relative;
    border-radius: 8px;

    margin: auto;
    overflow: hidden;
    background: white;


}
.inner-box-popup {
    position: relative;
}
.popup-form:before{
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 5px;
    z-index:5;
    padding: 2px;
    background: -webkit-linear-gradient(-45deg, #8223F2 0%, #E724F5 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    -webkit-linear-gradient(-45deg, #8223F2 0%, #E724F5 CONTAIN-INTRINSIC-BLOCK-SIZE: AUTO 100PX);
}
.hs-richtext {
    text-align: left;
}
.form-group{
    text-align:center;
    padding:30px;
    position: relative;
    z-index: 10;
    padding-top:0px;
}
.popup-form .input input{
    border-width:1px;
    padding:10px;
}
.heading-popup{
    padding:30px 30px;
    padding-right:42px;
    background-color: #f6f9fc
}



.pwr-header {

    z-index: 100;
}


.popup_bg_form_header,.popup_bg_form_header_mega-menu {
    position:fixed;
    left:0;
    top: 50%;
    right:0;
    bottom: inherit;
    width:100%;
    max-width:700px;
    margin:auto;
    transform: translateY(-50%);
    opacity:0;
    visibility:hidden;
    -webkit-transition:opacity 0.3s 0s,visibility 0s 0.3s;
    -moz-transition:opacity 0.3s 0s,visibility 0s 0.3s;
    transition:opacity 0.3s 0s,visibility 0s 0.3s;
    overflow-y:auto;
    z-index:99999999;

}

.popup_bg_form_header.is-visible,.popup_bg_form_header_mega-menu.is-visible {
    opacity: 1;
    visibility: visible;
    -webkit-transition: opacity 0.3s 0s, visibility 0s 0s;
    -moz-transition: opacity 0.3s 0s, visibility 0s 0s;
    transition: opacity 0.3s 0s, visibility 0s 0s;
}
.popup_bg_form_header       .inner-box-popup ,.popup_bg_form_header.is-visible       .inner-box-popup {
    position: relative;
}
.popup_bg_form_header    .popup-form:before, .popup_bg_form_header_mega-menu    .popup-form:before{
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 5px;
    z-index:5;
    padding: 2px;
    background: -webkit-linear-gradient(-45deg, #8223F2 0%, #E724F5 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    -webkit-linear-gradient(-45deg, #8223F2 0%, #E724F5 CONTAIN-INTRINSIC-BLOCK-SIZE: AUTO 100PX);
}
.popup_bg_form_header  .hs-richtext,.popup_bg_form_header_mega-menu  .hs-richtext {
    text-align: left;
}

.popup_bg_form_header   .form-group,.popup_bg_form_header_mega   .form-group{
    text-align:center;
    padding:30px;
    position: relative;
    z-index: 10;
    padding-top:0px;
}
.popup_bg_form_header  .popup-form .input input,.popup_bg_form_header_mega  .popup-form .input input{
    border-width:1px;
    padding:10px;
}
.popup_bg_form_header  .heading-popup,.popup_bg_form_header_mega  .heading-popup{
    padding:30px 30px;
    padding-right:42px;
    background-color: #f6f9fc
}

@media(max-width:767px){
    .popup_bg_form_header.mobile-width-90,.popup_bg_form_header_mega.mobile-width-90 {
        overflow-y: scroll;
        width: 90%;
        height: 90%;
    }
}

.form-group .actions {
    text-align: center !important;
}

