.bp-member-blog-pro-popup-main {
    text-align: center;
    overflow: hidden;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    /* z-index: 1050; */
    -webkit-overflow-scrolling: touch;
    outline: 0;
    opacity: 0;
    -webkit-transition: opacity 0.15s linear, z-index 0.15;
    transition: opacity 0.15s linear, z-index 0.15;
    z-index: -1;
    overflow-x: hidden;
    overflow-y: auto;
}

.model-open {
    z-index: 99999;
    opacity: 1;
    overflow: hidden;
}

.bp-member-blog-pro-popup-inner {
    -webkit-transform: translate(0, -25%);
    -ms-transform: translate(0, -25%);
    transform: translate(0, -25%);
    -webkit-transition: -webkit-transform 0.3s ease-out;
    transition: -webkit-transform 0.3s ease-out;
    transition: transform 0.3s ease-out;
    -webkit-transition: -webkit-transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
    transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
    display: inline-block;
    vertical-align: middle;
    width: 380px;
    margin: 30px auto;
    max-width: 100%;
}

.bp-member-blog-pro-popup-wrap {
    display: block;
    width: 100%;
    position: relative;
    background-color: #fff;
    border-radius: 8px;
    background-clip: padding-box;
    outline: 0;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    max-height: -webkit-calc(100vh - 70px);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
}

h2.bp-member-blog-pro-popup-heading {
    margin: 0 0 5px;
    font-size: 25px;
}

.bp-member-blog-pro-popup-content-wrap {
    font-size: 18px;
    display: block;
    margin-bottom: 20px;
    color: #000;
}

.model-open .bp-member-blog-pro-popup-inner {
    -webkit-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    transform: translate(0, 0);
    position: relative;
    z-index: 999;
}

.bp-member-blog-pro-popup-main .model-open .bg-overlay {
    background: rgba(0, 0, 0, 0.6);
    z-index: 99;
}

.bp-member-blog-pro-popup-main .bg-overlay {
    background: rgba(0, 0, 0, 0.5);
    height: 100vh;
    width: 100%;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    -webkit-transition: background 0.15s linear;
    transition: background 0.15s linear;
}

.bp-member-blog-pro-popup-inner .close-btn {
    cursor: pointer;
    z-index: 99;
    font-size: 18px;
    color: #fff;
    background: #FDB046;
    width: 100%;
    padding: 12px;
    line-height: 24px;
    border-radius: 8px;
}



@media screen and (min-width: 800px) {
    .bp-member-blog-pro-popup-main:before {
        content: "";
        display: inline-block;
        height: auto;
        vertical-align: middle;
        margin-right: -0px;
        height: 100%;
    }
}

@media screen and (max-width: 799px) {
    .bp-member-blog-pro-popup-inner {
        margin-top: 45px;
    }

    .model-open .bp-member-blog-pro-popup-inner {
        top: 35%;
    }
}

/*YOUR CSS*/
#bpmb-pro-shortcode-page-content * {
    -webkit-transition: 0.5s;
    transition: 0.5s;
}

#bpmb-pro-shortcode-page-content {
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-direction: row;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-direction: row;
    -ms-flex-pack: justify;
    -webkit-box-pack: justify;
    justify-content: space-between;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
}

.bpmb-pro-shortcode-page-frame {
    cursor: pointer;
    width: 24.5%;
    overflow: hidden;
    position: relative;
}

.bpmb-pro-shortcode-page-frame.medium {
    width: 29.5%;
}

.bpmb-pro-shortcode-page-frame.large {
    width: 100%;
}

.bpmb-pro-shortcode-page-frame:nth-child(-n + 2) {
    margin-bottom: 10px;
}

.bpmb-pro-shortcode-page-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.bpmb-pro-shortcode-page-restriction-content {
    position: absolute;
    cursor: pointer;
    color: #fff;
    font-size: 1.3em;
    font-family: inherit;
    text-transform: uppercase;
    text-align: center;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-direction: column;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    -ms-flex-align: center;
    -webkit-box-align: center;
    align-items: center;
    -ms-flex-pack: center;
    -webkit-box-pack: center;
    justify-content: center;
}

.bpmb-pro-shortcode-page-restriction-content span {
    border: 2px solid #fff;
    padding: 10px 25px;
}

.bpmb-pro-shortcode-page-restriction-content .introHeading {
    font-size: 1.5em;
    font-family: inherit;
    text-transform: uppercase;
    padding: 0;
    margin-bottom: 15px;
    border: 0px;
}

.intro-text {
    font-family: inherit;
    font-size: 1.1em;
    line-height: 1.5em;
    text-transform: none;
    padding: 0 50px;
    width: 100%;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

.intro-text p {
    display: block;
    width: 100%;
    max-width: 100%;
}

.bpmb-pro-shortcode-page-restriction-content a {
    font-size: 1em;
    font-family: inherit;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    border: 2px solid #fff;
    display: inline-block;
    padding: 10px 25px;
    margin-top: 15px;
}

.bpmb-pro-shortcode-page-frame .bpmb-pro-shortcode-page-restriction-content {
    background: rgba(0, 0, 0, 0.3);
}

/* Hover Effects */

.bpmb-pro-shortcode-page-frame .bpmb-pro-shortcode-page-restriction-content:hover {
    background: rgba(0, 0, 0, 0.75);
}

@media all and (max-width: 950px) and (min-width: 701px) {
    .bpmb-pro-shortcode-page-frame.large {
        width: 69%;
    }

    .bpmb-pro-shortcode-page-restriction-content {
        font-size: 1em;
    }

    .intro-text {
        font-size: 0.8em;
        line-height: 1.1rem;
        padding: 0 30px;
    }
}

@media all and (max-width: 700px) {
    #bpmb-pro-shortcode-page-content {
        width: 100%;
        display: block;
        margin: 0 auto;
    }

    .bpmb-pro-shortcode-page-frame,
    .bpmb-pro-shortcode-page-frame.medium {
        margin-bottom: 0px;
        overflow: hidden;
        width: 49.5%;
        display: inline-block;
    }

    .bpmb-pro-shortcode-page-frame.large,
    .bpmb-pro-shortcode-page-frame.medium {
        margin-bottom: 0px;
        overflow: hidden;
        width: 100%;
        display: inline-block;
        max-height: 150px;
    }

    .bpmb-pro-shortcode-page-frame .bpmb-pro-shortcode-page-restriction-content span {
        font-size: 0.8em;
        padding: 10px;
    }

    .bpmb-pro-shortcode-page-frame.large {
        min-height: 280px !important;
    }

    .bpmb-pro-shortcode-page-frame.large .bpmb-pro-shortcode-page-restriction-content {
        font-size: 0.9em;
        line-height: 1.3em;
        padding: 20px;
    }

    .bpmb-pro-shortcode-page-frame.large .bpmb-pro-shortcode-page-restriction-content span {
        font-size: 1.2em;
    }

    .bpmb-pro-shortcode-page-frame img {
        display: block;
    }
}

.loader-image {
    width: 100px;
}

#bp_member_blog_pro_filter {
    float: right;
}

.rg-filter {
    margin-bottom: 20px;
}

/* Custom Fields */
#bp-member-post .bp_member_blog_edit_section_custom_fields .bp-member-blog-field-container .bp-member-blog-field>label {
    display: inline-block;
    font-weight: 500;
    margin: 0 0 10px;
    padding: 0;
}

.bp_member_blog_edit_section_custom_fields .bp-member-blog-field {
    font-size: 14px;
}

.bp_member_blog_edit_section_custom_fields .bp-member-blog-field-container select,
.bp_member_blog_edit_section_custom_fields .bp-member-blog-field-container input[type=color],
.bp_member_blog_edit_section_custom_fields .bp-member-blog-field-container input[type=date],
.bp_member_blog_edit_section_custom_fields .bp-member-blog-field-container input[type=datetime-local],
.bp_member_blog_edit_section_custom_fields .bp-member-blog-field-container input[type=datetime],
.bp_member_blog_edit_section_custom_fields .bp-member-blog-field-container input[type=email],
.bp_member_blog_edit_section_custom_fields .bp-member-blog-field-container input[type=month],
.bp_member_blog_edit_section_custom_fields .bp-member-blog-field-container input[type=number],
.bp_member_blog_edit_section_custom_fields .bp-member-blog-field-container input[type=password],
.bp_member_blog_edit_section_custom_fields .bp-member-blog-field-container input[type=range],
.bp_member_blog_edit_section_custom_fields .bp-member-blog-field-container input[type=search],
.bp_member_blog_edit_section_custom_fields .bp-member-blog-field-container input[type=tel],
.bp_member_blog_edit_section_custom_fields .bp-member-blog-field-container input[type=text],
.bp_member_blog_edit_section_custom_fields .bp-member-blog-field-container input[type=time],
.bp_member_blog_edit_section_custom_fields .bp-member-blog-field-container input[type=url],
.bp_member_blog_edit_section_custom_fields .bp-member-blog-field-container input[type=week],
.bp_member_blog_edit_section_custom_fields .bp-member-blog-field-container textarea {
    width: 100%;
}

.bp_member_blog_edit_section_custom_fields .bp-member-blog-field-container #bp_member_blog_custom_fieldcustom_iframe {
    min-height: 120px;
}

.bp_member_blog_edit_section_custom_fields .bp-member-blog-field-description,
.bp_member_blog_edit_section_custom_fields .bp-member-blog-field-description p {
    font-size: 13px;
    display: block;
    margin: 0;
    margin-top: 10px;
    color: #667085;
}

.bp_member_blog_edit_section_custom_fields .bp-member-blog-field-radio .bmbpro-radio-field-wrapper,
.bp_member_blog_edit_section_custom_fields .bp-member-blog-field-checkbox .bmbpro-checkbox-field-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-flow: wrap;
    flex-flow: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-top: 10px;
    gap: 20px;
}

.bp_member_blog_edit_section_custom_fields .bp-member-blog-field-checkbox [type=checkbox],
.bp_member_blog_edit_section_custom_fields .bp-member-blog-field-radio [type=radio] {
    width: 22px !important;
    height: 22px !important;
    vertical-align: bottom;
    margin-right: 8px;
}

.bp_member_blog_edit_section_custom_fields .bp-member-blog-field-type-image-wrap,
.bp_member_blog_edit_section_custom_fields .bp-member-blog-field-type-file-wrap,
.bp_member_blog_edit_section_custom_fields .bp-member-blog-field-type-video-wrap,
.bp_member_blog_edit_section_custom_fields .bp-member-blog-field-type-gallery-wrap {
    background: rgba(0, 0, 0, .05);
    border: 1px dashed rgba(0, 0, 0, .2);
    border-radius: 6px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-flow: wrap;
    flex-flow: wrap;
    font-size: 16px;
    margin: 0;
    padding: 40px 0;
}

.bp_member_blog_edit_section_custom_fields .bp-member-blog-field-type-image-preview,
.bp_member_blog_edit_section_custom_fields .bp-member-blog-field-type-file-preview,
.bp_member_blog_edit_section_custom_fields .bp-member-blog-field-type-video-preview,
.bp_member_blog_edit_section_custom_fields .bp-member-blog-add-gallery-images-btn-wrap {
    width: 100%;
    text-align: center;
}

.bp_member_blog_edit_section_custom_fields .bp-member-blog-field-type-image-preview .image-preview-wrapper,
.bp_member_blog_edit_section_custom_fields .bp-member-blog-pro-gallery-media-item .image-preview-wrapper {
    position: relative;
    display: inline-block;
    margin: 0 0 15px;
}

.bp_member_blog_edit_section_custom_fields .bp-member-blog-field-type-image-preview .image-preview-wrapper img {
    max-width: 400px;
}

.bp_member_blog_edit_section_custom_fields .bp-member-blog-field-type-image-preview a.bp-member-blog-image-delete-btn,
.bp_member_blog_edit_section_custom_fields .bp-member-blog-pro-gallery-media-item a.bp-member-blog-image-delete-btn {
    display: block;
    position: absolute;
    top: 5px;
    right: 5px;
}

.bp_member_blog_edit_section_custom_fields .bp-member-blog-field-type-image-preview a.bp-member-blog-image-delete-btn svg,
.bp_member_blog_edit_section_custom_fields .bp-member-blog-pro-gallery-media-item a.bp-member-blog-image-delete-btn svg,
.bp_member_blog_edit_section_custom_fields .bp-member-blog-field-type-file-preview a.bp-member-blog-file-delete-btn svg,
.bp_member_blog_edit_section_custom_fields .bp-member-blog-field-type-video-preview a.bp-member-blog-video-delete-btn svg {
    background: #fff;
    border-radius: 4px;
}

.bp_member_blog_edit_section_custom_fields .bp-member-blog-field-type-image-preview a.bp-member-blog-image-delete-btn:hover svg,
.bp_member_blog_edit_section_custom_fields .bp-member-blog-pro-gallery-media-item a.bp-member-blog-image-delete-btn:hover svg,
.bp_member_blog_edit_section_custom_fields .bp-member-blog-field-type-file-preview a.bp-member-blog-file-delete-btn:hover svg,
.bp_member_blog_edit_section_custom_fields .bp-member-blog-field-type-video-preview a.bp-member-blog-video-delete-btn:hover svg {
    background: #ff0000;
}

.bp_member_blog_edit_section_custom_fields .bp-member-blog-field-type-image-preview a.bp-member-blog-image-delete-btn:hover svg path,
.bp_member_blog_edit_section_custom_fields .bp-member-blog-pro-gallery-media-item a.bp-member-blog-image-delete-btn:hover svg path,
.bp_member_blog_edit_section_custom_fields .bp-member-blog-field-type-file-preview a.bp-member-blog-file-delete-btn:hover svg path,
.bp_member_blog_edit_section_custom_fields .bp-member-blog-field-type-video-preview a.bp-member-blog-video-delete-btn:hover svg path {
    stroke: #fff;
}

.bp-member-blog-field-type-file-preview .file-preview-wrapper,
.bp-member-blog-field-type-video-preview .video-preview-wrapper {
    margin: 0 20px 15px;
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.03);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border-radius: 4px;
}

.bp-member-blog-field-type-video-preview .video-preview-wrapper.edit-post {
    justify-content: center;
}

.bp-member-blog-field-type-video-preview .video-preview-wrapper.edit-post a.bp-member-blog-video-delete-btn {
    margin-left: 15px;
}

.bp-member-blog-field-type-file-preview .file-preview-wrapper::before {
    content: "";
    background-image: url(../img/file.svg);
    background-repeat: no-repeat;
    background-position: left;
    width: 25px;
    height: 25px;
    display: inline-block;
    background-size: 25px;
    vertical-align: middle;
    margin-right: 10px;
}

/* .bp-member-blog-field-type-video-preview .video-preview-wrapper::before {
    content: "";
    background-image: url(../img/file-video.svg);
    background-repeat: no-repeat;
    background-position: left;
    width: 25px;
    height: 25px;
    display: inline-block;
    background-size: 25px;
    vertical-align: middle;
    margin-right: 10px;
} */

.bp-member-blog-field-type-file-preview a.bp-member-blog-file-delete-btn,
.bp-member-blog-field-type-video-preview a.bp-member-blog-video-delete-btn {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-left: auto;
}

.bp_member_blog_edit_section_custom_fields p.bp-member-blog-add-gallery-images-btn-wrap {
    margin: 0;
}

.bp_member_blog_edit_section_custom_fields .bp-member-blog-field-type-gallery-wrap {
    padding-left: 15px;
    padding-right: 15px;
}

.bp_member_blog_edit_section_custom_fields ul.bp-member-blog-field-type-gallery-images-list {
    margin: 0 0 15px;
    padding: 0;
    list-style: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-flow: wrap;
    flex-flow: wrap;
}

.bp_member_blog_edit_section_custom_fields ul.bp-member-blog-field-type-gallery-images-list li.bp-member-blog-pro-gallery-media-item {
    margin-right: 15px;
}

.bp_member_blog_edit_section_custom_fields .image-preview-wrapper img {
    border: 5px solid rgba(0, 0, 0, 0.03);
    -webkit-transition: all .3s;
    transition: all .3s;
}

.bp_member_blog_edit_section_custom_fields .image-preview-wrapper img:hover {
    border: 5px solid rgba(0, 0, 0, 0.1);
}

.bpmbpro-field-error {
    color: #ff0000;
    font-size: 13px;
    display: block;
    margin: 0;
    margin-top: 6px;
}

.bp_member_blog_edit_section .file-type-label {
    width: 100%;
    text-align: center;
    margin: 10px 0 0;
    font-size: 13px;
}