#bonnews {
  padding-top: 20px;
}
#bonnews.bon-home {
  background-color: #fff;
  display: block;
  padding: 0;
  margin: 45px 0 25px;
}
#bonnews.bon-home .news-slider-item > .bonnews-image:before {
  content: "";
  border-style: solid;
  position: absolute;
  top: 37px;
  z-index: 1;
}
#bonnews.bon-home .news-slider-item.item-first > .bonnews-image:before {
  border-width: 13.5px 13px 13.5px 0;
  border-color: transparent white transparent transparent;
  right: 0;
}
#bonnews.bon-home .news-slider-item.item-second > .bonnews-image:before {
  border-width: 13.5px 0 13.5px 13px;
  border-color: transparent transparent transparent white;
  left: 0;
}
#bonnews.bon-home h2:hover,
#bonnews.bon-home .author-date_post{
  color: #3C9ACE;
}
#bonnews.bon-home .slick-dots {
  bottom: -54px;
}
#bonnews.bon-home .slick-dots li button::before {
  transition: all .3s ease;
}

#bonnews .title-block {
  text-align: center;
}
#bonnews .title-block span {
  font-size: 14px;
  text-transform: none;
  padding-top: 7px;
  color: #777;
}
#bonnews .products-section-title::after {
  left: -27px;
  width: 114%;
}
#bonnews.bon-main .box-bonnews {
  padding-left: 15px;
}
#bonnews button:focus,
#bonnews button:active {
  outline: none !important;
}
#bonnews .news-slider {
  margin-top: 20px;
}
#bonnews.bon-home .box-bonnews {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#bonnews.bon-home .bonnews-item-description {
  text-align: center;
}
#bonnews.bon-home .bonnews-item-description h3 {
  font-weight: 500;
  color: #505050;
}
#bonnews.bon-home .bonnews-item-description .author {
  color: #7A7A7A;
  font-weight: 400;
}
#bonnews.bon-home .bonnews-item-description p:not(.author) {
  line-height: 140%;
  color: #7B7F83;
  letter-spacing: 0.02em;
}
#bonnews.bon-home .slick-dots {
  width: max-content;
}
#bonnews .bonnews-item-description {
  margin-top: -4px;
}
#bonnews .bonnews-item-description h3 {
  text-transform: capitalize;
}
#bonnews .bonnews-item-description .author{
  margin-top: 25px;
}
#bonnews .box-bonnews .read-more{
  color: #3C9ACE;
  position: relative;
  width: max-content;
}
#bonnews .bonnews-show-all {
  width: max-content;
  margin-left: auto;
  position: relative;
  color: #3C9ACE;
}
#bonnews .bonnews-show-all:after,
#bonnews .box-bonnews .read-more::after{
  content: "";
  width: 100%;
  height: 1px;
  background-color: #3C9ACE;
  position: absolute;
  bottom: 1px;
  left: 0;
  transition: all .3s ease;
}
#bonnews .bonnews-show-all:hover:after,
#bonnews .box-bonnews .read-more:hover::after{
  width: 0;
  right: 0;
  left: auto;
}
#bonnews.bon-home a:hover img {
  transform: scale(1.04);
}
#bonnews a:focus,
#bonnews a:active {
  outline: none !important;
  text-decoration: none !important;
}
#bonnews .bonnews-item {
  margin-bottom: 30px;
}
#bonnews .bonnews-items:before {
  content: "\E5CA";
  font-family: "Material Icons";
  color: #0376bd;
  font-size: 13px;
  position: absolute;
  left: 0;
}
/* #bonnews a.read-more:after {
  font-family: "Material Icons";
  content: "\e5c8";
  font-size: 15px;
  margin-left: 10px;
  vertical-align: -3px;
} */
#bonnews .bon-news-li {
  font-size: 13px;
  padding-left: 25px;
  position: relative;
  color: #7a7a7a;
}
#bonnews .bon-news-li:before {
  content: "\E5CA";
  font-family: Material Icons;
  color: #3a3a3a;
  font-size: 13px;
  position: absolute;
  left: 0;
}
/*type video*/
#bonnews .embed-responsive .embed-responsive-item,
#bonnews .embed-responsive embed,
#bonnews .embed-responsive iframe,
#bonnews .embed-responsive object,
#bonnews .embed-responsive video,
#bonnews .bonnews-image:after {
  position: relative;
  height: auto;
}
#bonnews .bonnews-cover-img {
  position: relative;
}
#bonnews .bonnews-cover-img::before {
  content: "";
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}
#bonnews .bonnews-video-link {
  width: 100%;
  height: 20px;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  text-align: center;
  z-index: 2;
  cursor: pointer;
}
#bonnews .bonnews-video-link {
  background: url("../img/play.png");
  background-size: contain;
  transition: all 0.3s ease;
  width: 90px;
  height: 90px;
  opacity: 0.7;
  background-repeat: no-repeat;
}
#bonnews .bonnews-cover-img:hover .bonnews-video-link {
  opacity: 1;
}
#bonnews .modal-dialog {
  max-width: 1200px;
}
#bonnews .modal-content {
  background: transparent;
  border: none;
}
#bonnews #video-element {
  width: 100%;
}
#bonnews:not(.bon-home) .author {
  display: flex;
  justify-content: space-between;
}
#bonnews .comment-counter {
  margin: 0;
  color: #3a3a3a;
  transform: translateX(-15px);
}
#bonnews .comment-counter:hover a {
  color: #7a7a7a;
}
#bonnews .author .comment-counter i {
  font-size: 16px;
  color: #3a3a3a;
  padding-right: 5px;
  vertical-align: -2px;
}
#bonnews .author a {
  min-width: max-content;
}
.bonnews-img-container {
  padding: 20px;
}
.img-responsive {
  width: 100%;
  height: auto;
  transition: all 0.3s linear;
}
.box-bonnews span,
time {
  font-size: 13px;
}
#bonnews .bonnews-image {
  overflow: hidden;
  display: block;
  position: relative;
}
#bonnews.bon-main .bonnews-image,
#bonnews.bonpost .bonnews-image,
#bonnews.bonpost .bonnews-video,
#bonnews.bon-main .bonnews-video,
#bonnews.bonpost .bonnews-cover-img,
#bonnews.bon-main .bonnews-cover-img {
  max-height: 305px;
  overflow: hidden;
}
/* post page */
#bonnews .top-post {
  display: flex;
  justify-content: space-between;
}
#bonnews.bonpost .bonnews-video,
#bonnews.bonpost .bonnews-image {
  float: left;
  width: auto;
  margin: 0 25px 20px 0;
}
#bonnews.bonpost .bonnews-post-description h3 {
  margin-bottom: 15px;
}
#bonnews.bonpost h2 {
  text-transform: capitalize;
}
.bonpost img.author {
  width: 54px;
  height: 54px;
  border-radius: 50%;
}
.bonpost .author {
  display: flex;
  align-items: center;
}
.bonpost .author p {
  margin-bottom: 0;
}
.bonpost .author img {
  margin-right: 20px;
}
.disqus-post-box {
  margin-top: 40px;
  text-align: center;
}
#bonnews .bon-prevnextpost i,
#bonnews .bottom-post i,
.bonpost .back-posts i {
  vertical-align: -5px;
  font-size: 18px;
}
.bottom-post {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 30px 0;
}
.bonpost .bonnews-social {
  display: flex;
  align-items: center;
}
.bonpost .bonnews-social ul {
  margin-bottom: 0;
  padding-top: 0;
}
.bonpost .bonnews-social p {
  margin-right: 20px;
  margin-bottom: 0;
}
#bonnews .next-post {
  margin-left: 20px;
}
.bonnews-show-all {
  display: flex;
  justify-content: flex-end;
}
#bonnews:not(.bon-home) .bonnews-show-all:after {
  font-family: "Mercury";
  font-size: 12px;
  transition: all 0.3s ease;
  content: "\e804";
  color: #7a7a7a;
}
.bonnews-show-all:hover:after {
  color: #3a3a3a;
}
.bonpost .row:after {
  display: none;
}
/*slider*/
#bonnews .slick-dots li button:before {
  font-size: 12px;
}
#bonnews .slick-dots li.slick-active button:before {
  font-size: 16px;
}
#bonnews .slick-dots li.slick-active button:before,
.slick-dots li button:hover::before, .slick-dots li button:focus::before {
  color: #3C9ACE;
  opacity: 1;
}
#bonnews .slick-next {
  transition: all 0.3s ease;
  z-index: 10;
  width: 50px;
  height: 50px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  opacity: 0;
  right: 5px;
  background: white;
  border-radius: 10px;
  border: 1px solid #eee;
}
#bonnews .slick-next:before {
  font-family: "Mercury";
  color: #777;
  font-size: 25px;
  transition: all 0.3s ease;
  opacity: 0.75;
  content: "\e804";
}
#bonnews .slick-prev {
  transition: all 0.3s ease;
  z-index: 10;
  width: 50px;
  height: 50px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  opacity: 0;
  left: 5px;
  background: white;
  border-radius: 10px;
  border: 1px solid #eee;
}
#bonnews .slick-prev:before {
  font-family: "Mercury";
  color: #777;
  font-size: 25px;
  transition: all 0.3s ease;
  opacity: 0.75;
  content: "\e802";
}
#bonnews .slick-prev:hover:before {
  color: #3a3a3a;
  opacity: 1;
}
#bonnews .slick-next:hover:before {
  color: #3a3a3a;
  opacity: 1;
}
#bonnews:hover .slick-next {
  right: 10px;
  opacity: 1;
}
#bonnews:hover .slick-prev {
  left: 10px;
  opacity: 1;
}
#bonnews .slick-next.white-arrow:before,
#bonnews .slick-prev.white-arrow:before {
  color: #3a3a3a;
}
/* responsive */
@media screen and (min-width: 1881px) {
  #bonnews .box-bonnews .read-more {
    font-size: 18px;
  }
  #bonnews.bon-home .author-date_post{
    font-size: 16px;
    margin: 0 0 20px 0;
  }
  #bonnews.bon-home .bonnews-item-description h3 {
    font-size: 25px;
    line-height: 30px;
    margin: 0 0 19px 0;
  }
  #bonnews.bon-home .bonnews-item-description .author {
    font-size: 16px;
    line-height: 20px;
    margin: 0 0 25px 0;
  }
  #bonnews.bon-home .bonnews-item-description p:not(.author) {
    font-size: 14px;
    margin: 0 75px 37px 75px;
  }
}
@media screen and (min-width: 769px) and (max-width: 1880px) {
  #bonnews .box-bonnews .read-more {
    font-size: calc(14px + (18 - 14) * ((100vw - 769px) / (1880 - 769)));
  }
  #bonnews.bon-home .author-date_post{
    font-size: calc(12px + (16 - 12) * ((100vw - 769px) / (1880 - 769)));
    margin: 0 0 calc(5px + (20 - 5) * ((100vw - 769px) / (1880 - 769))) 0;
  }
  #bonnews.bon-home .bonnews-item-description h3 {
    font-size: calc(15px + (25 - 15) * ((100vw - 769px) / (1880 - 769)));
    line-height: calc(16px + (30 - 16) * ((100vw - 769px) / (1880 - 769)));
    margin: 0 0 calc(7px + (19 - 7) * ((100vw - 769px) / (1880 - 769))) 0;
  }
  #bonnews.bon-home .bonnews-item-description .author {
    font-size: calc(13px + (16 - 13) * ((100vw - 769px) / (1880 - 769)));
    line-height: calc(12px + (20 - 12) * ((100vw - 769px) / (1880 - 769)));
    margin: 0 0 calc(10px + (25 - 10) * ((100vw - 769px) / (1880 - 769))) 0;
  }
  #bonnews.bon-home .bonnews-item-description p:not(.author) {
    font-size: calc(12px + (14 - 12) * ((100vw - 769px) / (1880 - 769)));
    margin: 0 calc(5px + (75 - 5) * ((100vw - 769px) / (1880 - 769))) calc(10px + (37 - 10) * ((100vw - 769px) / (1880 - 769))) calc(5px + (75 - 5) * ((100vw - 769px) / (1880 - 769)));
  }
}
@media (max-width: 1550px) {
  #bonnews .vertical-dots {
    justify-content: center;
    display: flex;
    top: auto;
    right: 0;
    bottom: -30px;
    width: 100%;
  }

  #bonnews .vertical-dots li button:before {
    width: 10px;
    height: 10px;
  }

  #bonnews .vertical-dots li {
    margin: 0 20px;
  }

  #bonnews .vertical-dots li button {
    margin: 20px 0;
  }
}

@media screen and (max-width: 991px) {
  #bonnews.bonpost .bonnews-video,
  #bonnews.bonpost .bonnews-image {
    margin: 0 0 20px 0;
    float: unset;
  }
}
@media screen and (min-width: 769px) {
  #bonnews.bon-home .news-slider-item {
    display: flex;
  }
  #bonnews.bon-home .news-slider-item > * {
    flex: 0 0 50%;
  }
  #bonnews.bon-home .news-slider-item.item-second {
    flex-direction: row-reverse;
  }
  #bonnews.bon-home .box-bonnews {
    padding: 0 10px;
  }
}
@media screen and (max-width: 768px) {
  #bonnews.bon-main .bonnews-image {
    margin-bottom: 25px;
  }

  #bonnews .vertical-dots li {
    margin: 0 15px;
  }

  #bonnews .vertical-dots li button {
    width: 25px;
    height: 3px;
  }
  #bonnews .slick-initialized .slick-slide {
    margin: 0 10px;
  }
  #bonnews .author {
    flex-wrap: wrap;
  }
  #bonnews.bon-home .box-bonnews {
    padding: calc(10px + (20 - 10) * ((100vw - 320px) / (768 - 320))) calc(5px + (10 - 5) * ((100vw - 320px) / (768 - 320)));
  }
  #bonnews .box-bonnews .read-more {
    font-size: calc(14px + (18 - 14) * ((100vw - 320px) / (768 - 320)));
  }
  #bonnews.bon-home .author-date_post{
    font-size: calc(13px + (16 - 13) * ((100vw - 320px) / (768 - 320)));
    margin: 0 0 calc(12px + (20 - 12) * ((100vw - 320px) / (768 - 320))) 0;
  }
  #bonnews.bon-home .bonnews-item-description h3 {
    font-size: calc(15px + (25 - 15) * ((100vw - 320px) / (768 - 320)));
    line-height: calc(16px + (30 - 16) * ((100vw - 320px) / (768 - 320)));
    margin: 0 0 calc(11px + (19 - 11) * ((100vw - 320px) / (768 - 320))) 0;
  }
  #bonnews.bon-home .bonnews-item-description .author {
    font-size: calc(13px + (16 - 13) * ((100vw - 320px) / (768 - 320)));
    line-height: calc(12px + (20 - 12) * ((100vw - 320px) / (768 - 320)));
    margin: 0 0 calc(14px + (25 - 14) * ((100vw - 320px) / (768 - 320))) 0;
  }
  #bonnews.bon-home .bonnews-item-description p:not(.author) {
    font-size: calc(12px + (14 - 12) * ((100vw - 320px) / (768 - 320)));
    margin: 0 calc(15px + (50 - 15) * ((100vw - 320px) / (768 - 320))) calc(20px + (37 - 20) * ((100vw - 320px) / (768 - 320))) calc(15px + (50 - 15) * ((100vw - 320px) / (768 - 320)));
  }
}
@media screen and (max-width: 575px) {
  #bonnews .comment-counter {
    padding-left: 15px;
    margin-top: 10px;
  }

  .bottom-post {
    display: block;
  }

  .bottom-post .author {
    margin-bottom: 20px;
  }

  #bonnews .top-post {
    flex-wrap: wrap;
  }
}
