.nb-page-title-wrap {
  margin-bottom: 60px;
  margin-top: -60px;
  padding: 15px 0;
  border-bottom: 1px solid #e1e1e1;
 // box-shadow: 0 -2px 5px 0px rgba(0,0,0,.1);

  @include media-breakpoint-down(md) {
    padding: 45px 0;
  }

  h1 {
    margin-top: 0;
    margin-bottom: 0;

    @include media-breakpoint-down(md) {
      margin-bottom: 10px;
    }
  }
}
.nb-page-title {
  @include make-row();
  align-items: center;
  h1 {
    @include make-col-ready();
    @include media-breakpoint-up(lg) {
      @include make-col-md(8)
    }
  }
  .woocommerce-breadcrumb {
    @include make-col-ready();
    @include media-breakpoint-up(lg) {
      @include make-col-md(4);
      text-align: right;
    }
  }
}
.single-post {
  .nb-page-title-wrap {
    background: url(../../images/bg-page-title.jpg);
    background-size: cover;
  }
  .nb-page-title {
    display: flex;
    flex-direction: column;
    // padding-top: 45px;
    // padding-bottom: 70px;
    .entry-meta{
      order: 2;
      text-transform: none !important;
      margin-top: 15px;
      span{
        color: #fff;
        &:not(:last-child){
          margin-right: 15px;
        }
      }
    }
    .entry-title{
      order: 1;
      
      a{
        color: #fff;
      }
     
     
    }
    .entry-cat {
      a {
        display: inline-block;
        padding: 8px;
      }
    }
  }
  .entry-content{
    .entry-meta{
      text-transform: none !important;
      margin-bottom: 30px;
      span{
        &:not(:last-child){
          margin-right: 15px;
        }
      }
    }
  }

}
.bg_title_post_category{
  .nb-page-title{
    h1{
      flex: 0 0 100%;
      max-width: 100%;
      text-align: center;
      color: #fff;
    }
  }
}
.single-post {
  .nb-page-title {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    .entry-meta, .entry-title, .entry-cat {
      flex: 0 0 100%;
      max-width: 100%;
    }
    h1 {
      margin-top: 15px;
      margin-bottom: 15px;
    }
    .entry-meta {
      font-size: .9em;
      text-transform: uppercase;
      .posted-on:not(:last-child):after {
        font-family: 'fontello';
        content: '\e80c';
        margin-left: 5px
      }
    }
  }
}
.bg_title_pages{
  
  .nb-page-title{
    color: #fff;
    h1{
      color: #fff;
      text-align: center;
      flex: 0 0 100%;
      max-width: 100%;
    }
    .woocommerce-breadcrumb{
      color: #fff;
      *{
        color: #ffffff;
      }
    }
  }
}
.bg_title_services{
  .nb-page-title{
      justify-content: center;
      .entry-title{
          text-align: center;
          flex: 0 0 100%;
          max-width: 100%;
          color: #fff;
          a{
              color: #fff;
          }
          .woocommerce-breadcrumb{
              flex: 0 0 100%;
              max-width: 100%;
              color: #fff;
          }
      }
  }
}
.nb-page-title-wrap{
  margin-top: -60px;
  position: relative;
  &.bg_img{
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    &::before{
    content: '';
    position: absolute;
    display: block;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(0,0,0,0.35);
    }
    .nb-page-title{
      h1{
        display: inline-block;
        position: relative;
        &::before{
          content: '';
          position: absolute;
          display: block;
          left: 50%;
          transform: translate(-50%,0);
          height: calc(100% + 10px);
          width: 150px;
          border-bottom-width: 5px;
          border-bottom-style: solid;
        }
      }
    }
  }
}
