﻿.blog-info {
  @extend .primary-color_bg;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  min-height: 510px; 
  width: 11.667%; 
  margin-right: 3%; 
  padding: 0;
  @media #{$max-small} {
    min-height: 70px;
    padding-top: 10px;
    width: 100%;
  }
  & > div {
    @extend .p-0-20;
  }
  a, & {
   color: #EEE; 
  }
  .arrow {
    border-style: solid;
    border-width: 15px 0 15px 15px;
    border-color: rgba(0, 0, 0, 0) $primary-color;
    position: absolute;
    right: -50px;
    top: 15px;
    width: 20px;
  }
  br {
    @media #{$max-small} {
      display: none;
    }
  }
  .date {
    padding: 15px;
    background: rgba(0, 0, 0, 0.15);
    margin-top: 100px;
    text-align: center;
    @media #{$max-small} {
      float: left;
      margin: 0 0 0 90px;
      padding: 7px 0 0 7px;
      width: 130px;
    }
    .day {
      font-size: 2.3em;
      color: #FFF;
      padding-bottom: 10px;
      display: block;
      @media #{$max-small} {
        float: left;
      }
    }
    .year {
      display: block;
      padding: 2px;
    }
  }
  .author {
    div {
      font-size: 1.3em;
      a {
        color: #FFF;
      }
    }
    @media #{$max-small} {
      float: left;
    }
    
    div {
      padding-top: 5px;
    }
  }
  .comment-count {
    margin-top: 100px;
    @media #{$max-small} {
      float: right;
      margin: 0;
    }
    div {
      font-size: 1em;
      color: #FFF;
      padding-bottom: 6px;
    }
  }
}

.blog-posts {
  .node-title {
    font-size: 2.05em;
    margin: 15px 0 10px;
  }
  .wp-post-image {
    padding: 10px 0;
    
  }
  width: 85.333%;
  @media #{$max-small} {
    width: 100%;
  }
  article > div {
    position: relative;
  }
  .fa-image {
    font-size: 3em;
    right: 10px;
    position: absolute;
    top: 10px;
    z-index: 2;
  }
}
.wp-post-image {
  width: 100%;
}
.blog-posts  .body {
    line-height: 1.6em;
    margin-top: 10px;
}
#respond, #comments {
  margin-top: 180px;
}
.blog-posts .body.field {
  margin-top: 15px;
}
code {
  
  background: none;
  border: none;
}
.wd-pagination {
  padding: 20px;
  text-align: center;
  a, span {
    margin: 2px;
    padding: 5px 10px;
  }
  a {
    border: 1px solid #ccc;
    color: #777;
  }
  span {
    background: #ee02b0;
    color: #fff;
  }
}
.simple-blog {
  .wd-carousel-container {
    overflow: hidden;
  }
}
.blog .wd-gallery-images-holder {
  margin-left: 0;
}






.blog-page {
  padding-right: 30px;
  .large-block-grid-3 > li {
    margin-bottom: 25px;
    padding: 0 15px 10px;
  }
  .post {
    position: relative;
    margin: 45px 0px;
    border-bottom: 1px solid rgb(242, 242, 242);
    padding: 0 0px 35px;
    &.has-post-thumbnail header {
      margin-bottom: 35px;
    }
    &:first-child {
      margin-top: 0;
    }&:last-child {
      border-bottom: none;
    }
  }
  article.sticky {
    border-left: 2px solid #F5C93E;
    background:#fafafa;
    padding-left:10px;
    padding-right:10px;
  }
  .post-left {
    float: left;
    text-align: center;
    width: 44px;
    margin-top: 28px;
    .day {
      background-color: #ececec;
      background-image: linear-gradient(center top , rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.03));
      padding: 6px 4px;
      font-size: 17px;
      color: #727272;
      border-radius: 2px 2px 0px 0px;
      border-bottom: 1px solid #FFF;
    }
    .month {
      background-color: $primary-color;
      background-image: linear-gradient(center top , rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.04));
      padding: 1px 4px 2px;
      color: #FFF;
      font-size: 13px;
      border-radius: 0px 0px 2px 2px;
      border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }
  }
  .post-right {
    margin-left: 70px;
    padding-top: 24px;
  }
  .article > a {
    display: block;
    overflow: hidden;
    text-align: center;
  }
  .article img {
    transition: all .5s ease;
  }
  .article a img:hover {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }
  &.blog-shortcode .article a img:hover, &.blog-shortcode .article .wd-gallery-image-holder img:hover{
    transform: scale(1.05);
  }
  &.blog-shortcode .article img, &.blog-shortcode .article .wd-gallery-image-holder img:hover {
    transition: all 1.5s ease 0s;
  }
  
  .article .user-picture img:hover {
    transform: none;
  }
  article .user-picture {
    border-radius: 50%;
    overflow: hidden;
    left: 7px;
    position: absolute;
    top: 122px;
    border: 1px solid rgb(255, 255, 255);
  }

  .post-infos {
    padding: 5px 0;
    margin: 0;
    line-height: 12px;
    li {
      border-right: 1px solid #ccc;
      float: left;
      margin-right: 10px;
      padding-right: 10px;
      color: #666;
      font-size: 13px;
      a {
        color: #666666;
      }
      &:last-child {
        border: none;
      }
    }
  }

  .post-author {
    a {
      color: #f0f0f0;
    }
    .post-categories {
      margin: 0;
    }
  }
  .postdate .day {
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1em;
  }
  .postdate .year {
    display: block;
    font-size: 13px;
    line-height: 1em;
  }
  .post-datas {
    /* background-color: #31AAE1;
    color: #FFF; */
    font-size: 13px;
    font-weight: 400;
    color: #727272;
    margin: 6px 20px 36px 10px;
    span {
      i {
        color: #1694CE;
        margin-right: 2px;
      }
    }
  }
  .blog-page .post-body {
    margin-top: 0;
  }
  article h2 {
    font-size: 22px;
    text-transform: uppercase;
    font-weight: 600;
    padding: 0px 20px 0px 0px;
    @media #{$small} {
      font-size: 28px;
    }
    font-weight: 700;
    a {
      color: #000;
    }
  }
  &.blog-shortcode {
    article h2 {
      clear: both;
      font-size: 17px;
      font-weight: 700;
      line-height: 20px;
    }
  }
  article .blog-body {
    clear: both;
    font-size: 14px;
    margin: 13px 0px 12px;
    p {
      color: #444;
      line-height: 26px;
    }
  }
  .read-more-link {
    color: $primary-color;
    display: block;
    margin-top: 20px;
    &:hover {
      color: #666;
      transition: all .2s;
    }
  }
  .gallery-container {
    position: relative;
    margin-bottom: 30px;
    .owl-controls {
      margin-top: -30px;
    }
    .owl-next {
      padding-left: 5px;
      padding-top: 10px;
    }
    .owl-prev {
      padding-top: 10px;
    }
  }
  .format-gallery .gallery-icon {
    font-size: 3em;
    position: absolute;
    top: 10px;
    z-index: 2;
    right: 10px;
    color: #fff;
  }
}
.owl-carousel {
  margin: 0;
}
.post-item article.article {
  border: 2px solid #f8f8f8;
}
.post-text {
  font-size: 14px;
  padding: 0px 12px 10px 10px;
}


.short-blog {
  article h2 {
    font-size: 1.25em;
    font-weight: 600;
    margin: 0 0 5px 60px;
  }
  article .post-author {
    padding-left: 45px;
  }
  .postdate {
    padding: 0px 6px;
  }
  .readmore {
    margin: 5px
  }
}

.share-post {
  margin: 14px 0;
}
.share-post span, .share-post > div {
  margin: 0 6px;
}
.share-post span i {
  color: #b7b7b7;
  font-size: 21px;
}
.share-post a {
  color: #b7b7b7;
}
.share i {
  font-size: 17px;
  margin-left: 4px;
  margin-right: 7px;
}


article.fixed {
  z-index: auto;
}


// ------------comments--------------
.box-comment {
  margin-top: 70px;
}
#submit_comment {
  border: 0;
    padding: 10px 20px;
    width: 100%;
    background: #eee;
    text-transform: uppercase;
    border: 1px solid #ddd;
    color: #333;
    cursor: pointer;
    border-radius: 4px;
    transition: all .5s ease;
    &:hover {
      color: #000;
      background-color: #FFF;
      border-color: #000;
    }
}
.comment {
  margin-bottom: 30px;
  list-style-type: none;
    p {
    font-family: "open sans", sans-serif;
    color: #666;
    font-size: 16px;
    line-height: 29px;
  }
}
#comments {
  margin-top: 100px;
  .commentlist {
    margin-top: 60px;
  }
}
section.comment {
  border-bottom: 1px solid #f4f4f4;
  margin-top: 20px;
  padding: 20px 30px;
}
#comments .author-meta img {
  margin-right: 10px;
}
#comments > h3 {
  margin-bottom: 30px;
}
.author-meta a {
  i {
    margin-right: 6px;
  }
  color: #777;
  font-size: 12px;
  font-family: "Open Sans", sans-serif;
}
.comment-reply-link {

  border-radius: 3px;
  color: #fff;
  float: right;
  font-size: 14px;
  padding: 3px 10px;
  &:hover {
    color: #64b8ef;
    background-color: #FFF;
    border-color: #64b8ef;
  }
}
.comment-author img {
  float: left;
  margin-right: 12px;
}

/********  Single ******/
.single-post {
  .body.field {
    padding-top: 40px;
    .thumbnail {
      margin-bottom: 30px;
    }
  }
  .titlebar {
    position: relative;
  }
  .title-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
  }
}
.blog-shortcode {
  .post-info {
    margin-top: 15px;
  }
}
.post-info {
  margin: 50px 0 18px 0;
  font-size: 16px;
  & > span {
    padding-right: 15px;
    i {
      padding-right: 5px;
    }
  }
}
.blog-page .post-datas::before {
  background-color: #F9BC16;
  content: " ";
  height: 4px;
  position: absolute;
  top: 40px;
  width: 40px;
}
.blog-shortcode .post-body {
  position: relative;
}


/*_____________  Blog Post List  ______________*/
.post-item article.article {
  border: 1px solid #f0f0f0;
  background-color: #f0f0f0;
  text-align: center;
  transition: all .3s;
}
.post-item article.article:hover {
  background-color: #282828;
}
.blog-page.blog-shortcode article h2 {
  font-weight: 500;
  font-size: 18px;
  text-transform: uppercase;
  padding-top: 30px;
}
.blog-page article h2 a {
  color: #000;
}
.blog-page .post-datas {
  color: #bbb;
}
.blog-page .post-datas::before {
  background-color: $primary-color;
  content: " ";
  height: 1px;
  position: absolute;
  top: 40px;
  width: 140px;
  left: calc(50% - 70px);
}
.post-text {
  color: #777;
  padding: 0px 12px 23px 10px;
}
.post-list .post-text .text-right{
  text-align: center !important;
}
.post-list .post-text .text-right a {
  color: $primary-color;
  font-style: italic;
}
.wd-small-blog .wd-thumbnail {
  float: left;
  max-width: 84px;
}
.blog-desc .blog-desc-header {
  font-family: "open sans";
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 20px;
  margin: 0 0 0.5rem;
  padding: 0;
  text-transform: uppercase;
}
.blog-desc {
  display: table-cell;
  padding: 0 0 0 1rem;
  text-align: left;
  vertical-align: top;
}
.wd-small-blog {
  display: table;
  padding: 0 20px 30px 6px;
}
.blog-page {
  .quote-format {
    blockquote{
      background-color: $primary-color;
      box-shadow: none;
      border-left:none;
      padding: 30px;
      position:  relative;
      margin: 80px 0 50px;
    }
    p{
      padding-left: 20px;
      color: #fff;
      font-size: 1.7em;
      font-style: normal;
      a {
        color: #f0f0f0;
        font-weight: 600;
      }
    }
    h2 {
      font-size: 0.8em;
      margin-left: 20px;
      float: right;
    }
    .quotes {
      color: rgba(0, 0, 0, 0.2);
      font-size: 4em;
      position: absolute;
    }
    .leftq {
      color: #fff;
      font-family: "FontAwesome";
      font-size: 2em;
      left: 20px;
      padding: 15px 0;
      top: 6px;
      transform: rotate(-45deg) translateX(-8px);
    }
    .rightq {
      bottom: 15px;
      right: 15px;
      color: #FFF;
    }
    .share-post a, .share-post span i {
      color: #FFF;
    }
  }
  .format-link .quote-format .leftq {
    left: 0;
    top: 6px;
    color: #BEBEBE;
    font-size: 2em;
    transform: rotate(-45deg) translateX(-8px);
    padding: 15px 0px;
  }
}

/********** 3- Recent News ******/
.sidebar .latest-posts ul li {
  list-style: none;
  padding: 10px 0;
  min-height: 6.5em;
}
.latest-posts ul li {
  list-style: none;
  padding: 10px 0;
  min-height: 77px;
}
.latest-posts ul li:first-child {
  padding-top: 0;
  min-height: 66px;
}
.latest-posts ul li:last-child {
  border: none;
}
.latest-posts .blog-image img {
  margin-right: 10px;
  width: 68px;
}
.sidebar .latest-posts .blog-image img {
  width: 70px;
}
.latest-posts .blog-title, .latest-posts .subheader {
  margin: 0;
  line-height: 20px;
}
.l-footer-columns .latest-posts .blog-title a {
  color: #eee;
}
.latest-posts ul {
  margin-left: 0;
}
.single-post {
  .blog-page {
    img {
      margin-bottom: 20px;
    }
  }
  .blog-body p {
    margin: 0px 0px 12px;
  }
}
#l-main.row .large-9 {
    margin-top: 80px;
}
.post-categories {
    display: inline-block;
}