#bonnews {
  padding-top: 20px;
}


#bonnews.bon-home {
  background-color: #F2F2F2;
  display: block;
  padding-bottom: 96px;
}

#bonnews.bon-home .products-section-title {
  border-bottom: 1px solid #ededed;
}

.bonnews-home-title:hover {
  color: var(--gray-black);
}

#bonnews .title-block {
  text-align: center;
}

#bonnews.bon-main .author strong {
  margin: 0 10px;
}

/* home */
#bonnews.bon-home {
  padding-top: 70px;
}

@media screen and (max-width: 1920px) {
  #bonnews.bon-home {
    padding-top: calc(40px + (70 - 40) * ((100vw - 320px) / (1920 - 320)));
    padding-bottom: calc(40px + (96 - 40) * ((100vw - 320px) / (1920 - 320)));
    ;
  }
}

#bonnews.bon-home .bonnews-btn:hover {
  background: var(--gray);
}

#bonnews.bon-home .bonnews-btn:hover {
  background: var(--gray);
}

#bonnews.bon-home .bonnews-btn {
  border: 1px solid var(--gray);
  background-color: transparent;
  border-radius: 40px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  transition: all .3s ease;
  margin-left: 20px;
}

#bonnews.bon-home .box-bonnews {
  text-align: left;
  background: white;
}

.box-bonnews-img {
  overflow: hidden;
}

#bonnews.bon-home .bonnews-item-footer {
  display: flex;
  align-items: center;
  color: var(--gray);
  font-weight: 500;
  line-height: 140%;
  letter-spacing: 0.16em;
}

#bonnews.bon-home .box-bonnews h3 {
  line-height: 150%;
  color: var(--gray-black);
  font-weight: 500;
  position: relative;
  transition: all .3s;
}

#bonnews .box-bonnews h3:hover {
  color: RGB(var(--brand-primary));
}

#bonnews.bon-home .author-date {
  background: RGB(var(--brand-primary));
  color: white !important;
  padding: 5px 14px;
  font-size: 14px;
}

#bonnews.bon-home .bonnews-item-footer {
  display: block;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0.16em;
  display: flex;
  align-items: center;
  color: var(--gray-black);
  transition: all .2s ease;
}

#bonnews.bon-home .bonnews-item-footer:hover {
  color: RGB(var(--brand-primary));
}

@media screen and (max-width: 1920px) {
  #bonnews.bon-home .bonnews-item-footer {
    font-size: calc(16px + (20 - 16) * ((100vw - 320px) / (1920 - 320)));
  }
}

/* home end */

#bonnews button:focus,
#bonnews button:active {
  outline: none !important;
}

#bonnews .news-slider {
  margin-top: 20px;
  margin-left: -10px;
  margin-right: -10px;
}

#bonnews .bonnews-item-description .author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

#bonnews .bonnews-item-description .author span {
  display: flex;
  align-items: center;
}

#bonnews .bonnews-item-description h3 {
  text-transform: capitalize;
}


#bonnews.bon-home .box-bonnews p {
  line-height: 1.3;
  color: #666666;
  font-size: 18px;
  font-weight: 400;
}

#bonnews.bon-home a img {
  transform: scale(1);
  transition: all .5s linear;
}

#bonnews.bon-home a:hover img {
  transform: scale(1.1);
  transition: all 2.3s linear;
}

#bonnews.bon-home .title-block {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 25px;
  justify-content: center;
}

#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: 15px;
  position: absolute;
  left: 0;
}

#bonnews a.read-more {
  position: relative;
  color: RGB(var(--brand-primary));
}

#bonnews a.read-more:after {
  content: "";
  width: 100%;
  height: 1px;
  background-color: RGB(var(--brand-primary));
  position: absolute;
  bottom: 0;
  left: 0;
  transition: all .3s ease;
}

#bonnews a.read-more:hover:after {
  width: 0;
  left: auto;
  right: 0;
}

#bonnews .bon-news-li {
  font-size: 15px;
  padding-left: 25px;
  position: relative;
  color: #7a7a7a;
}

#bonnews .bon-news-li:before {
  content: "\E5CA";
  font-family: Material Icons;
  color: var(--gray-black);
  font-size: 15px;
  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: var(--gray-black);
  transform: translateX(-15px);
}

#bonnews .comment-counter:hover a {
  color: #7a7a7a;
}

#bonnews .author .comment-counter i {
  font-size: 16px;
  color: var(--gray-black);
  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: 15px;
}

#bonnews .bonnews-cover-img,
#bonnews .bonnews-image {
  display: block;
  overflow: hidden;
  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 {
  overflow: hidden;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* main page */
#bonnews.bon-main .bonnews-image,
#bonnews.bon-main .bonnews-video {
  margin-bottom: 20px;
}

/* post page */

@media (min-width: 1200px) {
  #module-bonnews-post .bonpost.container {
    width: 1200px;
  }
}

#bonnews .top-post {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#bonnews.bonpost .bonnews-video,
#bonnews.bonpost .bonnews-image {
  margin-bottom: 30px;
}

#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;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid rgba(0, 0, 0, .1);
}

.bonnews-show-all:hover:after {
  color: RGB(var(--brand-primary));
}

.bonpost .row:after {
  display: none;
}

/*slider*/
#bonnews .slick-dots li button:before {
  font-size: 1rem;
}

#bonnews .slick-next {
  right: 5px;
}

#bonnews .slick-next:before {
  content: '\e804';
}

#bonnews .slick-prev:before {
  content: '\e802';
}

#bonnews .slick-next:before,
#bonnews .slick-prev:before {
  font-family: "Mercury";
  color: #bcbcbc;
  font-size: 20px;
  transition: all 0.3s ease;
  opacity: 0.75;
}

#bonnews .slick-next,
#bonnews .slick-prev {
  transition: all 0.3s ease;
  z-index: 10;
  width: 50px;
  height: 50px;
  position: absolute;
  top: -10%;
  text-align: center;
}

#bonnews .slick-prev {
  right: 40px;
  left: unset;
}

#bonnews .slick-prev:hover:before {
  color: RGB(var(--brand-primary));
}

#bonnews .slick-next:hover:before {
  color: RGB(var(--brand-primary));
}

#bonnews .slick-next.white-arrow:before,
#bonnews .slick-prev.white-arrow:before {
  color: var(--gray-black);
}

#module-bonnews-post .bonnews-post-description .btn {
  color: var(--gray);
}

#module-bonnews-post .bonnews-post-description .btn:hover {
  color: RGB(var(--brand-hover));
}

/* responsive */
@media screen and (min-width: 1881px) {
  .bonnews-show-all {
    font-size: 12px;
    padding: 18px 40px;
  }

  #bonnews.bon-home .bonnews-btn {
    width: 36px;
    height: 36px;
  }

  #bonnews .bonnews-item-description .author {
    margin-top: 16px;
  }

  #bonnews .bonnews-item-description .author span:not(:last-child) {
    margin-right: 30px;
  }

  #bonnews.bon-home .box-bonnews {
    padding: 24px;
  }



  #bonnews.bon-home .box-bonnews h3 {
    font-size: 24px;
    margin-bottom: 15px;
  }
}

@media screen and (max-width: 1880px) {
  #bonnews.bon-home .bonnews-btn {
    width: calc(20px + (36 - 20) * ((100vw - 320px) / (1880 - 320)));
    height: calc(20px + (36 - 20) * ((100vw - 320px) / (1880 - 320)));
  }

  #bonnews.bon-home .box-bonnews p {
    font-size: calc(14px + (18 - 14) * ((100vw - 320px) / (1880 - 320)));
  }

  .bonnews-show-all {
    font-size: calc(10px + (12 - 10) * ((100vw - 320px) / (1880 - 320)));
    padding: calc(10px + (18 - 10) * ((100vw - 320px) / (1880 - 320))) calc(20px + (40 - 20) * ((100vw - 320px) / (1880 - 320)));
  }

  #bonnews .bonnews-item-description .author {
    margin-top: calc(10px + (16 - 10) * ((100vw - 320px) / (1880 - 320)));
  }

  #bonnews .bonnews-item-description .author span:not(:last-child) {
    margin-right: calc(15px + (30 - 15) * ((100vw - 320px) / (1880 - 320)));
  }

  #bonnews .bonnews-item-description .author span svg {
    margin-right: calc(7px + (14 - 7) * ((100vw - 320px) / (1880 - 320)));
  }

  #bonnews.bon-home .author-date {
    font-size: calc(11px + (14 - 11) * ((100vw - 320px) / (1880 - 320)));
  }
}

@media screen and (min-width: 991px) and (max-width: 1880px) {
  #bonnews.bon-home .box-bonnews {
    padding: calc(10px + (24 - 10) * ((100vw - 991px) / (1880 - 991)));
  }

  #bonnews.bon-home .bonnews-item-footer {
    font-size: calc(14px + (20 - 14) * ((100vw - 991px) / (1880 - 991)));
  }

  #bonnews.bon-home .box-bonnews h3 {
    font-size: calc(16px + (24 - 16) * ((100vw - 991px) / (1880 - 991)));
    margin-bottom: calc(10px + (24 - 10) * ((100vw - 991px) / (1880 - 991)));
  }
}

@media screen and (min-width: 768px) and (max-width: 990px) {
  #bonnews.bon-home .box-bonnews {
    padding: calc(10px + (24 - 10) * ((100vw - 768px) / (990 - 768)));
  }

  #bonnews.bon-home .bonnews-item-footer {
    font-size: calc(14px + (20 - 14) * ((100vw - 768px) / (990 - 768)));
  }

  #bonnews.bon-home .box-bonnews h3 {
    font-size: calc(16px + (24 - 16) * ((100vw - 768px) / (990 - 768)));
    margin-bottom: calc(10px + (24 - 10) * ((100vw - 768px) / (990 - 768)));
  }
}

@media screen and (max-width: 767px) {
  #bonnews.bon-home .box-bonnews {
    padding: calc(10px + (24 - 10) * ((100vw - 320px) / (767 - 320)));
  }

  #bonnews.bon-home .bonnews-item-footer {
    font-size: calc(14px + (20 - 14) * ((100vw - 320px) / (767 - 320)));
  }

  #bonnews.bon-home .box-bonnews h3 {
    font-size: calc(16px + (24 - 16) * ((100vw - 320px) / (767 - 320)));
    margin-bottom: calc(10px + (24 - 10) * ((100vw - 320px) / (767 - 320)));
  }

  #bonnews.bon-home .author-date {
    padding-top: 4px;
    padding-bottom: 4px;
  }

  #bonnews .slick-next:before,
  #bonnews .slick-prev:before {
    font-size: 15px;
  }
}

@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 (max-width: 767px) {
  #bonnews .bonnews-image {
    margin-bottom: 25px;
  }

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

  #bonnews .vertical-dots li button {
    width: 25px;
    height: 3px;
  }

  #bonnews .author {
    flex-wrap: wrap;
  }
}

@media screen and (max-width: 576px) {
  #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;
  }
}