article .entry-thumb-wrap{
  font-size: 0;
  text-align: center;
  &.post-link{
    position: relative;
    background-color: var(--g5-secondary-color);
    padding: 30px 30px 30px 90px;
    border: 3px solid rgba(255,255,255,0.3);
    min-height: 50px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    >a{
      color: #fff;
      font-size: 18px;
      text-transform: none;
      -webkit-transition: all .3s;
      -moz-transition: all .3s;
      -ms-transition: all .3s;
      -o-transition: all .3s;
      transition: all .3s;
      &:hover{
        color: var(--g5-color-accent);
      }
    }
    i.pi-icon-link{
      font-size: 18px;
      color: #fff;
      line-height: .8;
      width: 42px;
      height: 42px;
      border: 1px solid #fff;
      position: absolute;
      left: 25px;
      top: 0;
      bottom: 0;
      margin: auto;
      border-radius: 50%;
      text-align: center;
      padding: 13px 10px;
      &:after {
        border: 1px solid #fff;
        border-radius: 50%;
        content: "";
        display: block;
        height: 46px;
        left: -3px;
        position: absolute;
        top: -3px;
        width: 46px;
      }
      &:hover{
        color: var(--g5-color-accent);
      }
    }
  }
  blockquote.quote-border-large{
    background-color: var(--g5-secondary-color);
    p{
      color: #fff;
    }
  }
}
.entry-thumb-wrap {
  margin-bottom: 30px;
}
h3.entry-post-title {
  text-transform: none;
  font-weight: bold;
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 5px;
  color: #000;
  a {
    color: #000;
  }
  a:hover {
    color: var(--g5-color-accent);
  }
}
.entry-post-meta {
  text-transform: capitalize;
  font-style: italic;
  font-size: 14px;
  line-height: 30px;
  color: #afafaf;
  margin-bottom: 8px;
  a, span, p {
    color: #AFAFAF;
  }
  a:hover {
    color: var(--g5-color-accent);
  }
  > div {
    display: inline-block;
  }
  > div + div {
    &:before {
      content: "/";
    }
  }
  .entry-meta-cat {
    &:before {
      margin-right: 3px;
    }
  }
}
.archive-wrap {
  article {
    .entry-excerpt {
      color: #848484;
      max-height: 90px;
      overflow: hidden;
      margin-bottom: 30px;
    }
    a.read-more-button {
      display: inline-block;
      font-size: 15px;
      font-weight: 700;
      height: 51px;
      line-height: 0.8;
      padding: 18px 30px;
      text-align: center;
      text-shadow: 1px 0 1px rgba(0, 0, 0, 0.3);
      background-color: var(--g5-color-accent);
      -webkit-border-radius: 3px;
      -moz-border-radius: 3px;
      border-radius: 3px;
      text-transform: capitalize;
      -webkit-transition: all .3s;
      -moz-transition: all .3s;
      -ms-transition: all .3s;
      -o-transition: all .3s;
      transition: all .3s;
      color: #ffffff;
      &:hover {
        background-color: #333;
      }
    }
    iframe {
      width: 100%;
    }
  }
  .slick-dots {
    margin: 0;
    position: absolute;
    bottom: 0;
    width: 100%;
  }
}
.archive-large-image {
  article + article {
    margin-top: 60px;
  }
}
//Video Play Popup
.entry-thumb-wrap.lightgallery-video.click-video-popup{
  position: relative;
  a.light-video{
    position: absolute;
    display: block;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 999;
  }
}
/**
* Masonry Layout
* ----------------------------------------------------------------------------
*/
.archive-masonry {
  .blog-wrap {
    margin-left: -10px;
    margin-right: -10px;
  }
  article {
    float: left;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 60px;
    border-bottom: none;
    &:after {
      content: '';
      display: block;
      position: absolute;
      bottom: 0;
      left: 10px;
      right: 10px;
    }
    .entry-content-wrap{
      padding: 20px 15px 20px 15px;
      border: 1px solid #f0f0f0;
    }
    .entry-thumb-wrap{
      margin-bottom: 0;
    }
    .entry-excerpt{
      margin-bottom: 20px;
    }
  }
}

@media (min-width: 992px) {
  /**
    * Article Grid 2 - 3 columns
    * ----------------------------------------------------------------------------
    */
  .archive-columns-2 {
    article.post-masonry {
      width: 50%;
    }
  }

  .archive-columns-3 {
    article.post-masonry {
      width: 33.33333333333333%;
    }
  }
}
@media (max-width: 991px) {
  article.post-masonry {
    width: 50%;
  }
}
@media (max-width: 767px) {
  article.post-masonry {
    width: 100%;
  }
}



/*Light Gallery*/
article.sticky{
  h3:before{
    content: "\f08d ";
    font-family: fontawesome;
    font-size: 18px;
    color: var(--g5-color-accent);
    margin-right: 10px;
  }
}
.image-link-hover {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  opacity: 0;
  -webkit-transition: all .3s;
  -moz-transition: all .3s;
  -ms-transition: all .3s;
  -o-transition: all .3s;
  transition: all .3s;
  text-align: center;
  background-color: rgba(0, 0, 0, .4);
  div > a {
    display: block;
    height: 36px;
    width: 36px;
  }
}
.light-gallery-link,
.light-gallery-hover {
  top: 0;
  bottom: 0;
  margin: auto;
  cursor: pointer;
  position: absolute;
  height: 40px;
  width: 40px;
  line-height: 38px;
  text-align: center;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 1);
  -webkit-transition: all .3s;
  -moz-transition: all .3s;
  -ms-transition: all .3s;
  -o-transition: all .3s;
  transition: all .3s;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  font-size: 14px;
  > i,
  a > i {
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
    color: #fff;
  }
  &:hover {
    background-color: var(--g5-color-accent);
    border-color: var(--g5-color-accent);
  }
  &:hover > i,
  &:hover a > i {
    color: #fff;
  }
}
.light-gallery-link {
  left: 100px;
  right: 0;
}
.light-gallery-hover {
  right: 100px;
  left: 0;
}
.entry-thumbnail {
  position: relative;
  display: inline-block;
  &:hover {
    .image-link-hover {
      opacity: 1;
      .light-gallery-link {
        left: 50px;
      }
      .light-gallery-hover {
        right: 50px;
      }
    }
  }
}
.logged-in.admin-bar {
  .lg-toolbar {
    margin-top: 32px;
  }
}
.play-video-hover {
  cursor: pointer;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, .4);
  i {
    border: 2px solid #fff;
    border-radius: 5px;
    padding: 0 10px 0 10px;
    height: 40px;
    width: 60px;
    text-align: center;
    line-height: 38px;
    font-size: 28px;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    color: #fff;
    -webkit-transition: all 2s;
    -moz-transition: all .2s;
    -ms-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s;
  }
  &:hover {
    i {
      border-color: var(--g5-color-accent);
      color: var(--g5-color-accent);
      -webkit-transform: scale(1.2);
      -moz-transform: scale(1.2);
      -ms-transform: scale(1.2);
      -o-transform: scale(1.2);
      transform: scale(1.2);
    }
  }
}

/*No Image*/
.no-image {
  background-color: #DFDFDF;
  .block-center-inner {
    text-transform: uppercase;
    font-size: 24px;
    letter-spacing: 0.05em;
  }
}
.medium-image {
  .no-image:before {
    padding-bottom: 56.1403%;
  }
}
.small-image {
  .no-image:before {
    padding-bottom: 79.16666666667%;
  }
  .no-image {
    width: 120px;
    .block-center-inner {
      font-size: 16px;
    }
  }
}
.embed-responsive.embed-responsive-16by9.embed-responsive-large-image{
  padding-bottom: 42.2077922077%;
}
.embed-responsive.embed-responsive-16by9.embed-responsive-medium-image{
  padding-bottom: 56.140350877%;
}
.embed-responsive.embed-responsive-16by9.embed-responsive-small-image{
  padding-bottom: 78.333333333%;
}

/*Paging navigation*/
.paging-navigation {
  padding-top: 30px;
  position: relative;
  text-align: center;
}
.paging-navigation,
.comment-navigation {
  font-size: 0;
  .page-numbers {
    margin-right: 5px;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    background-color: transparent;
    color: var(--g5-secondary-color);
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
    &.current,
    &:hover,
    &:focus {
      background-color: transparent;
      text-decoration: underline;
      color: var(--g5-color-accent);
    }
    &.next{
      right: 0;
    }
    &.prev{
      left: 0;
    }
    &.next,
    &.prev {
      position: absolute;
      width: auto;
      padding: 0 20px;
      border: 1px solid var(--g5-text-color);
      -webkit-border-radius: 3px;
      -moz-border-radius: 3px;
      border-radius: 3px;
      &:hover{
        background-color: var(--g5-secondary-color);
        color: #fff;
        text-decoration: none;
      }
    }
    i {
      font-size: 11px;
      font-weight: normal;
      letter-spacing: -0.02em;
      position: relative;
      top: -1px;
      padding: 0 5px;
    }
    &:last-child {
      margin-right: 0;
    }
  }
}

@media (max-width: 768px ){
  .paging-navigation,
  .comment-navigation {
    .page-numbers {
      width: 20px;
      &.next{
        span{
          display: none;
        }
      }
      &.prev{
        span{
          display: none;
        }
      }
      &.next,
      &.prev {
        padding: 0 10px;
      }
    }
  }
}

/*Single Blog*/
.single-blog-wrap,
.single-services-wrap{
  h3.entry-post-title{
    margin-bottom: 10px;
  }
  .entry-content{
    font-size: 14px;
    color: #848484;
    p{
      margin-bottom: 30px;
    }
  }
  .social-share{
    text-align: right;
    label{
      color: #000;
      font-weight: 600;
      margin: 0;
    }
    a{
      margin-left: 10px;
      color: #a5a5a5;
      &:hover{
        color: var(--g5-color-accent);
      }
    }
  }
  .entry-meta-share{
    border-top: 1px solid #EEEEEE;
    border-bottom: 1px solid #EEEEEE;
    padding: 15px 0;
    margin-top: 60px;
    .entry-post-meta{
      margin: 0;
      width: 70%;
    }
    .social-share{
      width: 30%;
    }
    .social-share,
    .entry-post-meta{
      float: left;
    }
  }
  .author-info{
    background-color: #f6f6f6;
    margin-top: 30px;
    .author-avatar{
      float: left;
      margin: 0;
      img{
        margin: 0 15px 0 0;
      }
    }
    .author-description{
      overflow: hidden;
      padding: 27px 5px 27px 0;
    }
    .social-profile{
      list-style: none;
      padding: 0;
      margin: 0;
      li{
        display: inline-block;
        i{
          font-size: 12px;
        }
        a{
          color: #c7c7c7;
          &:hover{
            color: var(--g5-color-accent);
          }
        }
      }
      li+li{
        margin-left: 10px;
      }
    }
    h2.author-title{
      line-height: 1.444444;
      font-size: 18px;
      font-weight: 600;
      color: #000000;
      margin-bottom: 5px;
      a{
        color: #000;
        &:hover{
          color: var(--g5-color-accent);
        }
      }
    }
    .author-bio{
      color: #848484;
      line-height: 1.714;
      margin-bottom: 8px;
    }
  }
  .comments-area{
    h4.widget-title{
      font-size: 20px;
      color: #000;
      line-height: 1.3;
      text-transform: capitalize;
      margin-bottom: 0;
      margin-top: 55px;
    }
    ol{
      padding-left: 100px;
      list-style: none;
    }
    ol.comment-list{
      padding: 0;
    }
    .comment-list{
      li{
        >div{
          padding: 20px 0;
          border-bottom: 1px solid #F0F0F0;
        }
        img.avatar{
          margin: 0;
          float: left;
          margin-right: 25px;
        }
        .comment-meta-content{
          overflow: hidden;
        }
      }
    }
    .comment-meta-wrap{
      line-height: 1;
      position: relative;
      .col-md-3{
        position: absolute;
        height: 100%;
        right: 0;
        text-align: right;
      }
      .content-middle{
        display: table;
        width: 100%;
        height: 100%;
      }
      .content-middle-inner{
        display: table-cell;
        vertical-align: middle;
        width: 100%;
      }
      .comment-meta{
        height: 100%;
        a+a{
          margin-left: 5px;
          padding-left: 10px;
          position: relative;
          &:before{
            content: "";
            position: absolute;
            left: 0;
            top: 2px;
            bottom: 2px;
            margin: auto;
            display: block;
            width: 1px;
            background-color: #1B2C3E;
          }
        }
        a:hover{
          color: var(--g5-color-accent);
        }
      }
      .comment-meta a,
      .comment-meta-date{
        margin-bottom: 2px;
        font-weight: 600;
        font-size: 13px;
        line-height: 2;
        color: #1B2C3E;
      }
    }
    .author-name{
      display: block;
      font-size: 18px;
      color: #000000;
      line-height: 1.4444;
      font-weight: bold;
    }
    .comment-text{
      margin: 0;
      p{
        color: #979797;
        font-size: 14px;
        line-height: 1.714;
        margin: 0;
      }
    }
  }
  .comment-respond{
    h4.widget-title{
      margin-top: 45px;
      margin-bottom: 25px;
    }
    .comment-notes,
    .logged-in-as{
      margin-bottom: 5px;
    }
  }
  .comment-form{
    .form-group{
      font-size: 0;
      float: right;
      width: 50%;
      padding-left: 15px;
      textarea{
        font-size: 14px;
        width: 100%;
        height: 180px;
        padding: 20px 15px;
      }
    }
    .insert-comment-form{
      width: 100%;
      float: left;
      >p{
        margin-bottom: 15px;
      }
    }
    .form-group+.insert-comment-form{
      width: 50%;
      padding-right: 15px;
    }
    .logged-in-as+.form-group{
      width: 100%;
      padding: 0;
    }
    .form-submit{
      margin-top: 15px;
      display: inline-block;
      input[type='submit']{
        text-transform: capitalize;
        font-size: 15px;
        -webkit-border-radius: 2px;
        -moz-border-radius: 2px;
        border-radius: 2px;
        font-weight: bold;
        padding: 10px 32px;
        line-height: 2;
      }
    }
  }
  .post-related-wrap{
    &:hover{
      .g5plus-slick-slider .slick-arrow{
        opacity: 1;
      }
      .g5plus-slick-slider .slick-prev{
        right: 65px;
      }
      .g5plus-slick-slider .slick-next{
        right: 15px;
      }
    }
  }
  .post-related-wrap article.post-related{
    .slick-dots{
      margin: 0;
      position: absolute;
      bottom: 0;
      width: 100%;
      li{
        margin: 0 3px !important;
      }
    }
    .slick-slide{
      padding-left: 0;
      padding-right: 0;
    }
    .entry-thumb-wrap{
      margin-bottom: 15px;
    }
    .entry-post-meta{
      margin-bottom: 0;
    }
    h3.entry-post-title{
      line-height: 1.3;
      max-height: 1.3em;
      overflow: hidden;
      font-size: 16px;
    }
  }
  .post-related-wrap h4.widget-title{
    margin-bottom: 25px;
    text-transform: capitalize;
  }

  .post-related-wrap .slick-arrow{
    -webkit-transform: none;
    -moz-transform: none;
    -ms-transform: none;
    -o-transform: none;
    transform: none;
    color: #000;
    height: 25px;
    line-height: 25px;
    i{
      display: none;
    }
    &.slick-next{
      display: block;
      left: inherit;
      right: inherit;
      bottom: 0;
      top: 0;
      top: -45px;
      right: -15px;
      &:before{
        content: '\f061';
        font-family: fontawesome;
      }
    }
    &.slick-prev{
      display: block;
      left: inherit;
      right: inherit;
      top: 0;
      bottom: 0;
      top: -45px;
      right: 95px;
      &:before{
        content: '\f060';
        font-family: fontawesome;
      }
    }
    &:hover{
      background-color: var(--g5-color-accent);
      i{
        color: var(--g5-color-accent);
      }
    }
  }
  /*Format Post*/
  article.format-gallery{
    .slick-dots{
      vertical-align: middle;
      margin: 0;
      position: absolute;
      width: 100%;
      bottom: 0;
    }
  }
  .post-single{
    >.captions >.entry-thumbnail >.image-link-hover >.light-gallery-link{
      display: none;
    }
    >.captions >.entry-thumbnail:hover >.image-link-hover >.light-gallery-hover{
      right: 0;
    }
  }
}

@media (max-width: 991px) {
  .single-blog-wrap .entry-meta-share .entry-post-meta,
  .single-services-wrap .entry-meta-share .entry-post-meta{
    width: 100%;
    text-align: center;
  }
  .single-blog-wrap .entry-meta-share .social-share,
  .single-services-wrap .entry-meta-share .social-share{
    width: 100%;
    text-align: center;
  }
}
@media (max-width: 600px) {
  .single-blog-wrap .comment-form .form-group + .insert-comment-form,
  .single-services-wrap .comment-form .form-group + .insert-comment-form{
    width: 100%;
    padding: 0;
  }
  .single-blog-wrap .comment-form .form-group,
  .single-services-wrap .comment-form .form-group{
    width: 100%;
    padding: 0;
  }
}
@media (max-width: 399px){
  .single-blog-wrap .author-info .author-avatar,
  .single-services-wrap .author-info .author-avatar{
    float: none;
    margin: 0;
    margin-bottom: 20px;
    img{
      width: 100%;
      height: auto;
    }
  }
  .single-blog-wrap .author-info .author-description,
  .single-services-wrap .author-info .author-description{
    overflow: inherit;
    padding: 0px 20px 25px 20px;
  }
}

/*Read more link*/
a.read-more-link {
  color: #000;
  font-style: italic;
  font-size: 14px;
  text-transform: capitalize;
  position: relative;
  display: inline-block;
  padding: 6px 0 8px 0;
  &:before{
    content: "";
    height: 2px;
    position: absolute;
    bottom: 0;
    background: var(--g5-color-accent);
    left: -9px;
    right: -25px;
  }
  &:after {
    content: "";
    height: 2px;
    position: absolute;
    bottom: 0;
    left: -9px;
    background: #000;
    @include transition05();
    right: 120%;
  }
  &:hover:after {
    right: -25px;
  }
  &:hover,
  &:hover i {
    color: var(--g5-color-accent);
  }
}
a.read-more-link i {
  margin-left: 12px;
}

.page-links {
  float: left;
  width: 100%;
}