
article.default-style {
    .entry-media{
        position:relative;
    }
    .entry-wrapper {
      display: -webkit-flex;
      display: -webkit-box;
      display: -moz-flex;
      display: -moz-box;
      display: -ms-flexbox;
      display: flex;
      padding-top:40px;
      padding-left:40px;
      padding-bottom:40px;
      padding-right:30px;
      background-color: #fff;
    }

    .cl-category{
      font-weight: 500;
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 2px;
      padding: 0px 12px;
      line-height: 23px;
      border-radius: 13px;
      border: 2px solid var(--codeless-border-color);
      display: inline-block;
      margin-bottom:15px;
      @include transition(all 0.3s);
      a{
        @include transition(all 0.3s);
      }
      &:hover a{
        color:#fff;
      }

      &:hover{
        border: 2px solid var(--codeless-primary-color);
      }
    }
  
    .entry-wrapper-content {
      width: 100%;
      box-sizing: border-box;
      -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
      padding-left: 0px;
      z-index:999;
    }
    .media-wrapper{
      position:relative;
    }


    &.has-post-thumbnail .entry-wrapper-content{

    }

    &.format-gallery .entry-wrapper-content{

    }
  
    .entry-title{
      text-align:left;
      font-size:36px;
      font-weight:700;
      margin-bottom:15px;
    }
  
    .entry-content {
      margin-top: 10px;
      text-align:left;
    }
  
    .entry-media, .entry-overlay, .entry-media, .post-thumbnail {
      display: block;
    }
  
    &.sticky {
      border-width: 1px;
      border-style: solid;
    }
  
    .entry-readmore { 
      font-size: 12px;
      font-weight: 500;
      text-transform: uppercase;
      position:relative;
      i{
        padding-left: 5px;
        font-size: 16px;
        position: relative;
        top: 2px;
      }
    }

    .entry-meta{
      display: flex;
      align-items: center;
      .entry-meta-single{
        padding-right:35px;
        position:relative;
        text-transform: uppercase;
        letter-spacing: 2px;
        font-size:12px;
        font-weight:500;
        &:before{
          content: "";
          width: 4px;
          height: 4px;
          background: #657078;
          position: absolute;
          right: 16px;
          bottom: 12px;
          border-radius: 50%;
        }
        &:last-child:before{
          display:none;
        }
      }
    }

    .entry-footer{
      margin-top:20px;
      display:block;
    }
}

article.format-quote{
  .entry-wrapper-content{ margin: 0;}
  .entry-content{ 
  margin: 0;
  .quote-entry-content{
    padding: 0;
  }
  .quote-entry-content p{
    font-family: PT Serif;
    font-size: 20px !important;
    line-height: 32px !important;
    font-style: italic;
    font-weight: 400;
    color: #061020 !important;
  }
}
}

article{
  .post-thumbnail{
    figure{
      margin:0;
    }
  }
}


/* GRID STYLES */
/* Grid OVERALL */ 
@media (min-width: 768px) { 
  .grid-entries {
    margin-left:-10px;
    margin-right:-10px;
    &[data-grid-cols="4"] article {
      width: 25%;
    }

    &[data-grid-cols="3"] article {
      width: 33.3%;
    }

    &[data-grid-cols="2"] article {
      width: 50%;
    }

    &[data-grid-cols="5"] article {
      width: 20%;
    }

    &.blog-entries article{
      margin-bottom:0;
    }
  }
}

@media (min-width: 570px) and (max-width: 768px) {
  .grid-entries article {
    width: 50%;
  }
}

@media (max-width: 569px) {
  .grid-entries article {
    width: 100%;
  }
}

.blog-entries .grid-standard-style {
  

}


.blog-entries .grid-box-style {
  .grid-holder {

    padding:10px;

    .grid-holder-inner {
      text-align: left;
    }
  }
  .entry-media{
    position:relative;
  }
  .entry-wrapper {
    display: -webkit-flex;
    display: -webkit-box;
    display: -moz-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
  }

  .entry-wrapper-content {
    width: 100%;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    padding-left: 0px;
    z-index:999;
    padding:15px 20px; 
    background:#fff;
  }
  .media-wrapper{
    position:relative;
  }
  .category-colored{
    position:absolute;
    left:10px;
    bottom:10px;
  }

  .entry-meta-single{
    color:rgba(0,0,0,0.5);
    padding-right:20px;
    &:last-child{
      padding-right:0px !important;
    }

  }

  .entry-title{
    margin-top:8px;
    font-size:20px;
    line-height:32px;
    font-weight:400;
  }

  .entry-content {
    margin-bottom: 24px;
    opacity:0.5;
  }

  .entry-media, .entry-overlay, .entry-media, .post-thumbnail {
    display: block;
  }

  .entry-readmore { 
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    position:relative;
    i{
      padding-left:5px;
    }
  }

}


.blog-entries .grid-lateral-style {
  
  .grid-holder {

    padding:10px;

    .grid-holder-inner {
      text-align: left;
      display:flex;
    }
  }
  .media-wrapper{
    flex:10;
  }
  .entry-media{
    position:relative;
  }
  .entry-wrapper {
    padding-left:20px;
    flex:27;
  }

  .entry-wrapper-content {
    width: 100%;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    z-index:999;
  }
  .media-wrapper{
    position:relative;
  }
  .category-colored{
    position:static;
    display:inline-block;
  }

  .entry-title{
    margin-top:16px;
    font-size:18px;
    line-height:24px;
    font-weight:400;
  }


  .entry-media, .entry-overlay, .entry-media, .post-thumbnail {
    display: block;
  }

}


.blog-entries .lateral-style{
  display:flex;
  .media-wrapper{
    flex:1;
  }
  .entry-wrapper{
    flex:1;
    padding-left:30px;
  }

  .category-colored{
    position:static;
    display:inline-block;
  }

  .entry-title{
    font-size:28px;
    line-height:36px;
    margin-top:32px;
    margin-bottom:16px;
  }

  .entry-content{
    display:none;
    margin-top:32px;
    color:rgba(0,0,0,0.5);
    a.more-link{
      color:rgb(0,0,0) !important;
      font-weight:500;
    } 
  }

  .col-sm-12.cl_column > .cl_col_wrapper > .col-content > .cl_blog &{
    
    margin-bottom:80px;
    .entry-wrapper{
      padding-left:100px;
      display:flex;
      align-items:center;
    }
    .entry-title{
      font-size:36px;
      line-height:42px;
    }
    .entry-content{
      display:block;
    }
  }
}
 



/* Single Blogs */

.single-post {
  .single-author > h6, 
  .entry-single-related > h6, 
   #comments .comments-title, 
   #reply-title{
    position:relative;
    small{
      float:right;
      font-size: 16px;
      font-weight: 500;
      letter-spacing: 0;
      a:hover{
        color:#000;
      }
    }
  }
  .entry-content {
    
  }
  .related-wrapper .cl_blog {
    margin-top: 32px !important;

    .grid-holder-inner {
      border-width: 1px !important;
    }
    .owl-nav [class*=owl-]{
      background:#eee;
      &:before{
        background:#eee !important;
      }
    }
  }

  #content:not(.cl-layout-fullwidth) {
    .cl-comments-wrapper, .cl-comment-reply {
      width: 100%;
    }
  }

  

  .related-wrapper .cl_blog .entry-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  &.single-format-gallery article .entry-media {
    width: 100%;
  }

  #content.cl-layout-fullwidth .inner-content-row {
    padding-bottom: 0;
  }

  .entry-single-tools {
    display:flex;
    align-items:center;
    justify-content: space-between;
    padding-bottom:60px;
    border-bottom-width:1px;
    border-bottom-style: solid;
    .entry-single-share{
      .pre{
        opacity:0.5;
        margin-right:8px;
        font-size:14px;
      }
      .share-buttons{
        a{
          margin-right:24px;
          &:last-child{
            margin-right:0;
          }
        }
      }
    }
    .entry-single-tags{
      a{
        padding: 2px 15px;
        font-size: 11px;
        line-height: 21px;
        font-weight: 500;
        border-radius: 25px;
        letter-spacing: 0.2em;
        text-transform: uppercase;
        display: inline-block;
        border: 2px solid var(--codeless-border-color);
        margin-right: 10px;
        @include transition(all 0.3s);
        &:last-child{
          margin-right:0
        }
        &:hover{
          background:var(--codeless-primary-color);
          border:2px solid var(--codeless-primary-color);
          color:#fff;
        }
      }
    }
  }

  .entry-single-related {
    padding-top: 60px;
    padding-bottom: 60px;
    display: inline-block;
    width: 100%;

    .related-wrapper {
      margin-left: -15px;
      margin-right: -15px;
    }
  }

  .post-navigation {
    padding-top: 25px;
    padding-bottom: 25px;
    border-top-width: 1px;
    border-top-style: solid;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    margin-top: 35px;

    .nav-links {
      display: flex;
  
      > {
        .nav-previous a > .screen-reader-text {
          padding-left: 37px;
        }
  
        .nav-next a > .screen-reader-text {
          padding-right: 37px;
        }
  
        div a {
          > .screen-reader-text {
            color: #cfcfcf;
            text-transform: uppercase;
            font-size: 12px;
            display: block;
            width: 100%;
            line-height: 16px;
          }
  
          .nav-title {
            -webkit-transition: .25s ease-in-out;
            -moz-transition: .25s ease-in-out;
            -o-transition: .25s ease-in-out;
            transition: .25s ease-in-out;
          }
        }
      }
  
      .nav-title-icon-wrapper {
        position: relative;
        top: 1px;
      }
  
      > div a {
        font-weight: 600;
        font-size: 16px;
  
        i {
          font-size: 22px;
          padding-right: 15px;
        }
      }
  
      .nav-previous {
        width: 100%;
      }
  
      .nav-next {
        width: 100%;
  
        a {
          float: right;
        }
  
        span {
          float: right;
          text-align: right;
        }
      }
  
      > .nav-next a i {
        padding-right: 0;
        padding-left: 15px;
      }
    }
  }

  .comments-area {
    padding-top: 0px;
    padding-bottom: 25px;
    margin-top: 35px;
  }

  .cl-layout-fullwidth {
    .cl-comments {
      padding-top: 0px;
      margin-bottom: 60px;
    }

    .comments-area {
      padding-bottom: 80px;
    }
  }

  article {
    margin-bottom: 60px;
  }

  .inner-content-row {}


  .single-author {
    margin-top: 60px;
    margin-bottom: 60px;
    padding: 40px;
    background: #fff;
    h4{
      font-size: 24px;
      font-family: 'Rubik';
      line-height: 32px;
      font-weight: 500;
    }
    .author_wrapper {
      display: flex;
      flex-wrap: wrap;

      .author_avatar {
        width: 150px;

        img {
          border-radius: 50%;
          -webkit-border-radius: 50%;
          -moz-border-radius: 50%;
        }
      }

      .sub-title{
        font-size:12px;
        letter-spacing: 0.2em;
        text-transform: uppercase;
        margin-bottom: 8px;
      }

      .author_content {
        padding-left: 15px;
        
        flex:1;
        .bio{
          padding-bottom: 20px;
          border-bottom-width:1px;
          border-bottom-style:solid;
          margin-bottom: 20px;
        }
      }

      .author_links{
        margin-bottom:0px;
        a{
          font-size: 12px;
          text-transform: uppercase;
          font-weight: 500;
          &:hover{
          }
        }
      }
    }
  }

  .cl_page_header{
    max-height:70vh;
    .effect-wrapper{
      display: block;
      position: absolute;
      left: 0;
      bottom: 0;
      padding-bottom: 150px;
      padding-top: 150px;
      width: 100%;
      opacity: 1;
      text-align: left;
      color: #FFF;
      background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(0,0,0,0)), color-stop(100%, rgba(0,0,0,0.45)));
      background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.45) 100%);
      background: -webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,0)), to(rgba(0,0,0,0.45)));
      background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.45) 100%);
      filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 );
    }

    .entry-meta-single{
      display:inline-block;
      padding:10px;
      font-size:14px;
      color:#cecece;
      font-weight:400;
      a{
        color:#fff;
        text-transform:uppercase;
        font-weight:600;
        font-size:12px
      }
    }

    .entry-meta-prepend{
      text-transform:lowercase;
      font-size:12px
    }
  }

}

.inner-content.container > #comments > .cl-comments {
  background: #fff !important;
}

/* Single Comments */

.comment-list {
  list-style-type: none;
  padding: 0;
  margin-top: 0px;

  article {
    margin-top:40px;
    margin-bottom:40px;
    .comment-content{
      display:flex;
    }
    .post-meta{
      flex:1;
      padding-left:30px;
      max-width:100%;
      @media (max-width:991px){
        padding-left:15px;
      }
  
      .comment-author{
        display:flex;
        align-items:center;
        justify-content: space-between;
        font-size: 14px;
        font-weight: 500;
        @media (max-width:991px){
          display:block;
        }
        .cl-layout-fullwidth &{
          display:block;
        }
      }
      .comment-author-link{
        font-size: 18px;
        line-height: 24px;
        font-weight: 500;
        color:var(--codeless-secondary-color);
        &:hover{
          color:var(--codeless-primary-color);
        }
      }
      .right-part{
        
        time{
          margin-right:24px;
          opacity: 1;
        }
        a{
          opacity: 1;
          margin-right:24px;
          @include transition(all 0.3s);
          &:last-child{
            margin-right:0;
          }
          svg{
            margin-right:4px;
          }
  
          &:hover{
            opacity: 1;
          }
        }
      }
      > p{
        opacity: 1;
        margin-top:8px;
        margin-bottom:0px;
      }
    }
    .gravatar{
      margin:0;
      img{
        border-radius:50%;
        width:70px;
      }
    }
  
    .child-comments{
      position:relative;
      padding-left:100px;
      @media (min-width:1200px) and (max-width:1240px){
        padding-left:80px;
      }
      &:before{
        content:"";
        width:2px;
        height:100%;
        position:absolute;
        left:34px;
        top:-35px;
        background:#dee1e9;
      }
  
      article{
        position:relative;
        &:last-child:before{
          content:""; 
          height:2px;
          width:8px;
          position:absolute;
          left:-64px;
          top:33px; 
          background:#e5e5e5;
        }
      }
    }

    &.pingback{
      .gravatar{
          display:none !important;
      }
      .comment-meta{
          margin-left:0;
          padding-left:0px;
      }
      .comment-author-link{
        padding-right:30px;
        max-width:60%;
      }
      @media(max-width:767px){
        .right-part{
          display:none;
        }
        .comment-author-link{
          max-width:100%;
        }
      }
    }
    &.trackback{
      .gravatar{
          display:none !important;
      }
      .comment-meta{
          margin-left:0;
          padding-left:0px;
      }
      .comment-author-link{
        padding-right:30px;
        max-width:60%;
      }

      @media(max-width:767px){
        .right-part{
          display:none;
        }
        .comment-author-link{
          max-width:100%;
        }
      }
    }
  }
}



#respond.comment-respond {
  #commentform{
    margin-top:0px;
  }
  .comment-notes{
    opacity: 1;
    font-size: 14px;
  }
  .logged-in-as{ margin-top: 10px; }
  .logged-in-as a{
    
  }
  .comment-form-comment {
    label {
      display: none;
    }

    textarea {
      width: 100%;
      border-radius:4px;
      
      padding-left: 20px;
      padding-top:15px;
      height:130px;
      box-shadow:none;
      border-bottom:1px solid var(--codeless-border-color);
      border-radius:0px;
      @include placeholder{
        opacity: 1;
      }
    }
  }
  .comment-form-author, .comment-form-email {
    width: 49.65%;
    display: inline-block;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    padding-right: 10px;
    margin-top: 0;
    margin-bottom: 0;
  }
  .comment-form-email {
    padding-right:0 !important;
  }

  .comment-form-url {
    width: 32.7%;
    display: inline-block;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    padding-right: 10px;
    margin-top: 0;
    padding-right: 0;
  }

  .comment-form-author label, .comment-form-email label, .comment-form-url label {
    display: none;
    font-size:14px;
    line-height:24px;
    margin-bottom:8px;
  }

  .comment-form-author input, .comment-form-email input, .comment-form-url input {
    width: 100%;
      border-radius:4px;
      background:transparent;
      
      padding-left: 20px;
      box-shadow:none;
      border:none;
      
      height:48px;
      border-bottom:1px solid var(--codeless-border-color);
      border-radius: 0px;
      @include placeholder{
        opacity: 1;
      }
  }
  .comment-form-cookies-consent label{
    font-size: 14px;
  }
  .form-submit {
    margin-top: 22px;
    input{      
      background: var(--codeless-secondary-color);
      color: #fff;
      font-size: 12px;
      line-height: 28px;
      font-weight: 500;
      padding: 10px 40px;
      border-radius: 25px;
      text-transform: uppercase;
      transition: all 0.3s;
      &:hover{
        background:var(--codeless-primary-color);
      }
    }
  }
}

/* End Single BLogs */


/* Post Header */
.cl-post-header{
  
  h1{
    margin-top:10px;
    margin-bottom:10px;
  }
  
  .cl-category{
    font-weight: 500;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0px 12px;
    line-height: 23px;
    border-radius: 13px;
    border: 2px solid var(--codeless-border-color);
    display: inline-block;
    @include transition(all 0.3s);
    a{
      @include transition(all 0.3s);
    }
    &:hover a{
      color:#fff;
    }
  }

  .entry-meta{
    display: flex;
    align-items: center;
    .entry-meta-single{
      padding-right:35px;
      position:relative;
      text-transform: uppercase;
      letter-spacing: 2px;
      font-size:12px;
      font-weight:500;
      &:before{
        content: "";
        width: 4px;
        height: 4px;
        background: #657078;
        position: absolute;
        right: 16px;
        bottom: 12px;
        border-radius: 50%;
      }
      &:last-child:before{
        display:none;
      }
    }
  }

  .cl-single-blog-header-style-no_image.single-post &{
    padding-top:80px;
    padding-bottom:60px;
  }
  .cl-single-blog-header-style-with_image.single-post &{
    position:relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top:140px;
    padding-bottom:140px;
    .wrapper-layers{
      position:absolute;
      left:0;
      top:0;
      width:100%;
      height:100%;
      img{
        object-fit:cover;
        position:relative;
        width:100%;
        height:100%;
      }
      .overlay{
        background:rgba(0,0,0,0.38);
        position:absolute;
        left:0;
        top:0;
        width:100%;
        height:100%;
      }
    }
    h1{
      color:#fff;
    }
    .entry-meta{
      justify-content:center;
    }
    .entry-meta-single{
      color:#fff;
    }
    .cl-category{
      border:2px solid rgba(255, 255, 255, 0.18);
      color:#fff;
      &:hover{
        border:2px solid rgba(255, 255, 255, 0.18);
        background:transparent;
        color:#fff;
      }
    }
    .entry-meta-single:before{
      background:#fff;
    }
    .share-buttons a{
      color:#fff
    }
    .wrapper-content{
      width:100%;
      text-align:center;
    }
  }
}
.cl-single-blog-header-style-no_image .inner-content-row{
  padding-top:0;
}

.cl-single-blog-header-style-with_image .inner-content-row{
  padding-top:60px;
}


.cl-comment-reply{
  margin-top:80px;
}

@media(max-width:767px){
  article .entry-meta .entry-meta-single.entry-meta-author{
      display:none;
  }
  .single-post .single-author .author_wrapper{
      display:block !important
  }
  .single-post .single-author .author_wrapper .author_avatar{
      margin-bottom:20px;
  }
  .single-post .single-author .author_wrapper .author_content{
      padding-left:0px;
  }
  .cl-comment-reply.container{
    padding-left:0px;
    padding-right:0px;
  }
  .entry-single-share.entry-single-tool{
    display:none;
  }
  .single-post .entry-single-tools .entry-single-tags a{
    margin-bottom:10px;
  }
}