.news-banner {
  background-repeat: repeat-x;
  background-position: 0 bottom;
  padding:30px 0;
  animation: bg-slide 50s linear infinite;
}




@keyframes bg-slide{
  0% {
      background-position: 0 bottom;
  }
  100% {
      background-position: -100% bottom;
  }

}

@-moz-keyframes bg-slide {
  0% {
      background-position: 0 bottom;
  }
  100% {
      background-position: -100% bottom;
  }
}

@-ms-keyframes bg-slide {
  0% {
      background-position: 0 bottom;
  }
  100% {
      background-position: -100% bottom;
  }
}


.news-banner-detail-area{
  background-color: #ffffff;
  min-height: 100%;
  max-height: 100%;
  padding:25px;
  position: relative;
  -webkit-box-shadow: 0px 0px 9px rgba(0,0,0,.30);
  -moz-box-shadow: 0px 0px 9px rgba(0,0,0,.30);
  box-shadow: 0px 0px 9px rgba(0,0,0,.30);
}


.news-banner-content {
  max-height: 300px;
  transition: all 0.7s ease .2s;
  -webkit-transition: all 0.7s ease .2s;
  -webkit-transform: translateY(30px);
  -moz-transform: translateY(30px);
  -ms-transform: translateY(30px);
  -o-transform: translateY(30px);
  transform: translateY(30px);
  opacity: 0;
  overflow: hidden;
}


.news-banner .owl-item.active .news-banner-content{
  opacity: 1;
  -webkit-transform: translateY(0px);
  -moz-transform: translateY(0px);
  -ms-transform: translateY(0px);
  -o-transform: translateY(0px);
  transform: translateY(0px);
}



.news-banner-title {
  font-weight: 700;
  color: #505050;
  font-size: 24px;
  line-height: 33px;
  padding-bottom: 15px;
  border-bottom: 1px solid #efefef;
  margin-bottom: 15px;
}

.news-banner-image:after{
  position: absolute;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f0d9";
  margin-top: 3px;
  z-index: 6;
  right: 395px;
  font-size: 55px;
  color: #ffffff;
  text-shadow: -3px 1px 5px rgba(0,0,0,.20);
  -webkit-text-shadow: -3px 1px 5px rgba(0,0,0,.20);
  -moz-text-shadow: -3px 1px 5px rgba(0,0,0,.20);
  top: 0;
}

.news-banner-short{
  font-size: 16px;
  color:#656565;
}

.news-banner-date {
  font-size: 14px;
  color:#505050;
  margin-top: 15px;

}



.news-banner-date i {
  margin-right: 5px;
  color: var(--base-color);
  font-size: 16px;
  /* margin-top: 1px; */
}

.news-banner-nav-bg{
  position: absolute;
  width: 100%;
  height: 45px;
  background-color: #dddddd;
  z-index: 5;
  left: 0;
  bottom: 0;

}


.news-banner-nav-bg .news-archive-button{
  display: inline-block;
  padding: 0 25px;
  line-height: 45px;
  font-size: 14px;
  color:#656565;
  text-decoration: none;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
}


.news-banner-nav-bg .news-archive-button i {
  font-size: 17px;
  margin-right: 5px;
  color:#656565;
  -webkit-transform: translateY(1px);
  -moz-transform: translateY(1px);
  -ms-transform: translateY(1px);
  -o-transform: translateY(1px);
  transform: translateY(1px);
}

.news-banner-nav-bg .news-archive-button:hover
{
  background-color: rgba(0,0,0,.10);
}


.news-banner-arrow {
  float: right;
  margin-top: -45px;
  z-index: 10;
  position: relative;
}

.news-banner-buttons {
  display: block;
  float: left;
  width: 65px;
  height: 45px;
  text-align: center;
  line-height: 45px;
  color:#ffffff;
  font-size: 20px;
  background-color: var(--base-color);
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  cursor:pointer;
}

.news-banner-buttons:hover {
  background-color: #9e0a13;
}

.news-banner-arrow .prev-banner{
  border-right: 1px solid rgba(0,0,0,.25);

}

.news-banner-arrow .news-archive-button{
  display: none;
}


.news-banner-carousel .owl-nav {
  display: block;
  position: absolute;
  right: 0;
  margin-top: -45px;
}

/* RESPONSIVE CSS */
@media (max-width: 1275px){

  .news-banner {
      padding:0px 0px 20px;
  }

  .container {
      max-width: 100% !important;
  }


  .news-banner > .container{
      max-width: 820px !important;
      width: 800px;
  }

  .news-banner-short {
      display: none;
  }


  .news-banner-image{
      -ms-flex: 0 0 820px;
      flex: 0 0 100%;
      max-width: 100%;
  }


  .news-banner-image:after {
      display: none;
  }

  .news-banner-detail-content {
      -ms-flex: 0 0 100%;
      flex: 0 0 100%;
      max-width: 100%;
  }


  .news-banner .item > .row {
      -webkit-box-pack: center!important;
      -ms-flex-pack: center!important;
      justify-content: center!important;
  }

}

/* iPad Air (Portrait - Dikey Mod) */
@media only screen and (min-width: 820px) and (max-width: 1180px) and (orientation: portrait) {
  .h-550px {
    height: 400px!important
}
}
/* iPad Mini (Portrait - Dikey Mod) */
@media only screen and (min-width: 768px) and (max-width: 834px) and (orientation: portrait) {
  .h-550px {
    height: 350px!important
}
}

@media (max-width: 830px){

  .news-banner > .container{
      max-width: 100% !important;
      width: 100%;
      padding:0;
  }
  .news-banner > .news-banner-carousel{
      max-width: 100% !important;
      width: 100% !important;
      padding:0;
  }

  .news-banner-nav-bg {
      display: none;
  }

  .news-banner-title {
      font-size: 20px;
      line-height: 26px;
      padding-bottom: 10px;
      margin-bottom: 2px;
      height: 81px;
      overflow: hidden;
  }

  .news-banner-date {
      margin-top: 8px;
  }

  .news-banner-detail-area {
      padding:15px 15px 14px;
  }

  .news-banner-arrow .news-archive-button {
      display: inline-block;
      float: left;
      line-height: 45px;
      padding: 0 20px;
      background-color: rgba(0,0,0,.15);
      color: #444;
      text-decoration: none !important;
      transition: all 0.3s ease;
      -webkit-transition: all 0.3s ease;
  }

  .news-banner-arrow .news-archive-button:hover {
      color:var(--base-color);
  }


  .news-banner-carousel .owl-nav {
      margin-top: -45px;
  }

  .news-banner-arrow {
      margin-right: 130px;
  }

}


@media(max-width: 500px){
  .news-banner-arrow .news-archive-button {
      padding: 0 6px;
      font-size: 13px;
      line-height: 35px;
  }

  .news-banner-buttons {
      width: 35px;
      height: 35px;
      line-height: 35px;
  }

  .news-banner-title {
      font-size: 15px;
      line-height: 18px;
      height: 58px;
  }
  .news-banner-detail-area {
      padding: 15px 15px 6px;
  }

  .news-banner-arrow {
      margin-top: -35px;
  }


  .news-banner-date {
      margin-top: 6px;
      font-size: 13px;
      padding-bottom: 2px;
  }

  .news-banner-carousel .owl-nav {
      margin-top: -35px;
  }

  .news-banner-arrow {
      margin-right: 70px;
  }
}
