_blog.scss 3.81 KB
.section-blog-index {
  height: 379px;
  background: url("../images/blog/blog-bg.jpg") 50% 50% no-repeat;
  color: #fff;
  margin-top: -69px;
  padding-top: 67px;
  position: relative;
  z-index: 2;
}
.title-blog-index, .title-blog-view, .read-more-blog-view {
  font-size: 24px;
  color: inherit;
  text-transform: uppercase;
  font-family: 'Times New Roman';
}

.blog-page {
  .section-breadcrumb {
    z-index: 3;
  }
  ul.breadcrumb {
    &:before {
      display: none;
    }
    li {
      color: #fff;
    }
  }
}

.blog-tags {
  float: left;
  margin-left: -10px;
  li {
    float: left;
    margin-left: 10px;
    a {
      display: block;
      line-height: 30px;
      padding: 0 20px;
      border: 1px solid #cccccc;
      border-radius: 2px;
      text-transform: uppercase;
      font-size: 13px;
      font-weight: 700;
      text-decoration: none !important;
      &:hover {
        color: #333;
      }
    }
    &.active {
      a {
        color: #333;
        background: #ccc;
      }
    }
  }
}

.section-blox-index-next {
  margin-top: 60px;
}

.blog-items-img {
  text-align: center;
  img {
    max-width: 458px;
    width: 100%;
  }
}

.icons-blog-wr {
  span {
    display: block;
    float: left;
    line-height: 18px;
    padding-left: 26px;
    color: #888888;
    margin-right: 28px;
    background-repeat: no-repeat;
    background-position-x: 0;
    background-position-y: 50%;
    background-size: 18px 18px;
    &:last-child {
      margin-right: 0;
    }
    &:nth-child(1) {background-image: url('/images/blog/blog-ico-1.svg')}
    &:nth-child(2) {background-image: url('/images/blog/blog-ico-2.svg');background-size: 18px 11px;}
    &:nth-child(3) {background-image: url('/images/blog/blog-ico-3.svg')}
  }
}

.blog-list-title {
  margin-top: 24px;
  a {
    font-size: 24px;
    font-weight: 700;
    color: $main-color;
    font-family: 'Times New Roman';
    line-height: 29px;
  }
}

.blog-list-txt {
  margin-top: 14px;
  max-height: 103px;
  overflow: hidden;
  margin-bottom: 2px;
  p {
    font-size: 15px;
    line-height: 20px;
    margin-top: 20px;
    &:first-child {
      margin-top: 0;
    }
  }
}

.blog-list-more {
  margin-top: 21px;
}

.items-blog-tags {
  margin-top: 12px;
  a {
    float: left;
    //color: #888;
    text-decoration: none !important;
    display: block;
    height: 22px;
    line-height: 20px;
    padding: 0 6px;
    margin-right: 10px;
    border: 1px solid #cccccc;
    &:hover {
      color: #333;
    }
  }
}

.border-blog-items {
  margin-top: 20px;
  position: relative;
  &:before {
    width: 100%;
    height: 1px;
    content: '';
    display: block;
    background: #cccccc;
  }
}

.blog-items-width {
  //max-width: 458px;
  width: 100%;
  text-align: left;
  display: inline-block;
}
.blog-items {
  margin-top: 30px;
}

.blog-tags {
  margin-bottom: 10px;
}

.title-blog-view {
  text-transform: uppercase;
}

.border-blog-comments {
  &:after {
    width: 100%;
    height: 1px;
    background: #cccccc;
    content: '';
    margin-top: 28px;
    display: block;
  }
}
.read-more-blog-view {
  margin-top: 63px;
  font-weight: 700;
}

.items-blog-view-wr{
  text-align: center;
}
.items-blog-view {
  margin-top: 4px;
  width: 100%;
  display: inline-block;
  max-width: 360px;
  text-align: left;
  img {
    width: 100%;
    max-width: 100%;
  }
}

.title-items-blog-view {
  margin-top: 10px;
  width: 100%;
  float: left;
  p {
    font-size: 24px;
    font-weight: 700;
    color: $main-color;
    font-weight: 700;
    font-family: 'Times New Roman';
    line-height: 20px;
    margin-top: 13px;
  }
}



.blog-view-section {
  .items-blog-tags {
    margin-top: 17px;
  }
}

@media (max-width: 767px) {
  .blog-items-width {
    margin-top: 19px;
    max-width: 458px;
  }
  .read-more-blog-view {
    text-align: center;
  }
  .blog-view-section .blog-view img {
    float: none !important;
  }
}