@keyframes progress {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

.special-offer {
  background: #d31e38;
  padding: 3px 7px;
}

.carousel-inner > .carousel-item {
  height: 100%;
  background: white;
}

.paused {
  -webkit-animation-play-state: paused;
  -moz-animation-play-state: paused;
  -o-animation-play-state: paused;
  animation-play-state: paused;
}

.description {
  font-size: 10px;
}

.news_carousel--btn {
  background: #ff9f25;
  border: none;
}
.news_carousel--btn:hover {
  background: #ff940c;
  border: none;
}

.active.news_carousel--indicator {
  margin: 0;
}

.active.news_carousel--indicator > div {
  background: #3a4347;
  position: relative;
  height: 100%;
  width: 100%;
  flex-grow: 1;
  animation-name: progress;
  animation-duration: 10s;
  animation-timing-function: linear;
}

.news_carousel--description_sub::-webkit-scrollbar {
  display: none;
}

.news_carousel--description_sub {
  max-height: 200px;
  margin-bottom: 5px;
}

.news_carousel--description_background {
  background-size: cover;
  background-position: center center;
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  z-index: -1;

  filter: blur(50px);
}

.news_carousel--description_foreground {
  height: 220px;
  gap: 20px;
  flex-direction: row;
}

.news_carousel--description {
  display: flex;
  flex-direction: column;
}

.news_carousel--promoted_room_description {
  background: #000000a6;
  color: white;
  padding: 10px;
}

.flex_centre_items > img {
  height: 220px;
}

.flex_centre_items {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.hotel-name {
  font-size: 16px;
}

.news_carousel--item {
  height: 100%;
  display: flex;
  flex-direction: row;

  background-size: cover;
  background-repeat: no-repeat;
}

.news_carousel--indicator_container {
  border: 0;
  display: flex;
  flex-direction: row;
  padding: 0;
  width: 100%;
  position: relative;
  margin: 24px 0 0 0;
  left: 0;
  gap: 4px;
  justify-content: space-between;
}

.carousel-indicators li.news_carousel--indicator:hover {
  height: 10px;
  background: #80808073;
  transition: 0.3s;
}
.carousel-indicators li.news_carousel--indicator.active:hover {
  background: #d3d3d35c;
}

.carousel-indicators li.news_carousel--indicator {
  background: #d3d3d35c;
  flex-basis: inherit;
  list-style: none;
  height: 7px;
  width: 100%;
  border-radius: 0;
  cursor: pointer;
  margin: 0;
  border: 0;
  /* overflow:hidden; */
}

/* ========== Mobile Responsive ========== */

/* Tablet and below */
@media (max-width: 768px) {
  /* Override the inline height:260px on the carousel wrapper */
  .col-xs-12.col-sm-6.col-md-12[style*="height:260px"],
  .col-xs-12.col-sm-6.col-md-12[style*="height: 260px"] {
    height: auto !important;
    min-height: 200px;
  }

  .news_carousel--description_foreground {
    flex-direction: column;
    height: auto;
    gap: 10px;
  }

  .flex_centre_items > img {
    height: auto;
    max-width: 100%;
    max-height: 140px;
    object-fit: cover;
  }

  .news_carousel--description_foreground .news_carousel--description {
    padding: 0 10px 10px;
  }

  .news_carousel--description_foreground .news_carousel--description h4 {
    font-size: 14px;
    margin: 0 0 5px;
  }

  .news_carousel--description_foreground .news_carousel--description p {
    font-size: 12px;
    margin: 0 0 8px;
  }

  .carousel-inner > .carousel-item {
    height: auto;
    min-height: 200px;
  }

  .news_carousel--item {
    height: auto;
    min-height: 200px;
    flex-direction: column;
    background-position: center;
  }

  .news_carousel--description_sub {
    max-height: none;
    overflow-y: visible;
  }

  /* Bigger touch targets for indicators */
  .carousel-indicators li.news_carousel--indicator {
    height: 12px;
    min-height: 12px;
  }

  .news_carousel--indicator_container {
    margin-top: 14px;
  }

  .hotel-name {
    font-size: 14px;
  }

  .news_carousel--promoted_room_description {
    min-height: 200px;
    padding: 8px;
    font-size: 13px;
  }
}

/* Phone */
@media (max-width: 480px) {
  #home-title {
    font-size: 20px;
    padding: 0 10px;
  }

  .flex_centre_items > img {
    max-height: 110px;
  }

  .news_carousel--description_foreground .news_carousel--description p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .news_carousel--promoted_room_description {
    padding: 6px;
    font-size: 12px;
  }

  .special-offer {
    font-size: 12px;
    padding: 2px 5px;
  }

  .news_carousel--btn {
    font-size: 12px;
    padding: 4px 10px;
  }

  .carousel-indicators li.news_carousel--indicator {
    height: 14px;
  }
}
