.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;
  -o-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;
  -o-transition: -o-transform 0.3s ease-out;
  transition: -webkit-transform 0.3s ease-out;
  -o-transition: transform 0.3s ease-out;
  transition: 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;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    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;
  -o-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 * {
  -moz-transition: 0.5s;
  -webkit-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}

#bpmb-pro-shortcode-page-content {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-justify-content: space-between;
  -ms-flex-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: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-justify-content: center;
  -ms-flex-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%;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -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;
}
