:root {
  --orange: #e76021;
  /* page color (Background color of movie ribbon & 'All Video' button) */
  --page-color-id: var(--orange);
}

.subject_link {
  color: var(--page-color-id) !important;
  padding-right: 1.25em;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23e76021' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m8 4 4 4-4 4'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: 100%;
}
.subject_link:hover {
  color: var(--page-color-id) !important;
}

/*************** Full width Banner ***************/
.fwBanner {
  margin: 25px 0;
  position: relative;
}
.fwBanner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fwBanner .owl-carousel .fwBanner-item {
  position: relative;
  height: 355px;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
}
.fwBanner .owl-carousel .fwBanner-item::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
}
.fwBanner .owl-carousel .fwBanner-item img {
  transition: all 500ms ease-in-out;
}
.fwBanner .owl-carousel .fwBanner-item:hover img {
  transform: scale(1.1);
}
.fwBanner .owl-carousel .fwBanner-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  padding: 2rem 2rem 5rem;
  color: #ffffff;
  z-index: 100;
  cursor: default;
}
.fwBanner .owl-carousel .owl-dots {
  position: absolute;
  bottom: 1rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
}
.fwBanner .owl-carousel .owl-dot {
  display: block;
  width: 40px;
  height: 3px;
  background-color: #f9f9f980;
  margin: 0 4px;
  border-radius: 1.5px;
  z-index: 1;
  overflow: hidden;
}
.fwBanner .owl-carousel .owl-dot span {
  display: block;
  width: 100%;
  height: 100%;
  transform: translate(-100%,0);
  background-color: #ffffff;
}
.fwBanner .owl-carousel .owl-dot:not(.active) span {
  width: 0 !important;
}
.fwBanner .owl-carousel .owl-dot.active span {
  animation-name: owlBannerDot ;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
}
@keyframes owlBannerDot {
  from {
    transform: translate(-100%,0);
  }
  to {
    transform: translate(0, 0);
  }
}

/*************** Movies Section ***************/
.movie {
  margin: 25px 0;
}
.movie .owl-item img {
  border-radius: 8px;
  object-fit: cover;
}
.movie .owl-stage {
  padding-left: 11px !important;
}
.movie .owl-item {
  margin-right: 0.4rem !important;
}
.movie .movie-item {
  position: relative;
}
.movie .movie-item a::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
}
.movie .movie-item .movie-title {
  color: #ffffff;
  font-size: 18px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
}
.movie .movie-item .movie-title.title-scroll {
  margin-right: 0.5rem;
  margin-left: 0.5rem;
  padding-right: 0;
  padding-left: 0;
}
.movie .movie-item .movie-title span {
  display: inline-block;
}
.movie .movie-item .movie-ribbon {
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 40px;
  border-radius: 8px 0 8px 0;
  overflow: hidden;
  color: #ffffff;
  font-size: 20px;
  font-weight: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.movie .movie-item .movie-ribbon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--page-color-id);
  z-index: -1;
  opacity: .5;
}


.text-scroll span {
  animation-name: titleAnimation ;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-duration: var(--animationTime);
}

@keyframes titleAnimation {
  from {
    transform: translateX(var(--fromPosition));
  }
  to {
    transform: translateX(var(--toPosition));
  }
}


/*************** CTA All Video button ***************/
.cta-video {
  margin: 30px 0;
}
.cta-video .btn-all-video {
  background-color: var(--page-color-id);
  border-color: var(--page-color-id);
  font-size: 28px;
  padding: 8px 48px;
  border-radius: 8px;
  color: #ffffff;
}
.cta-video .btn-all-video:hover {
  background-color: #ffffff;
  border-color: var(--page-color-id);
  color: var(--page-color-id);
}
.cta-video .btn-all-video svg  {
  width: 12px;
}
.cta-video .btn-all-video:hover svg path {
  fill: var(--page-color-id);
}

/*************** Social Media Section ***************/
.social-media {
  margin: 25px 0 -20px;
}
.social-media-item {
  padding: 0 0.2rem;
  margin-bottom: 20px;
}
.social-media .custom_btn {
  font-size: 15px;
  padding: 5px 25px;
  margin-right: 10px;
  transition-delay: 0s !important;
  transition: 0.3s linear !important;
}
.social-media .custom_btn > span {
  transition-delay: 0s !important;
  transition: 0.3s linear !important;
}
.social-media .custom_btn > span:first-child {
  display: block;
}
.social-media .custom_btn > span:last-child {
  display: none;
}
.social-media .custom_btn.followed {
  background-color: #E2E2E2 !important;
  color: var(--red) !important;
}
.social-media .custom_btn.followed > span:first-child {
  display: none;
}
.social-media .custom_btn.followed > span:last-child {
  display: block;
}
.social-media-box {
  position: relative;
}
.social-media-box .social-media-image {
  width: 100%;
  height: 56.25%;
  position: relative;
  z-index: 1;
  border-radius: 8px;
  overflow: hidden;
}
.social-media-box .social-media-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.social-media-box .content {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  width: 100%;
  height: 100% !important;
  display: flex;
  align-items: end;
  -moz-align-items: flex-end;
  -ms-align-items: flex-end;
  -webkit-align-items: flex-end;
  -o-align-items: flex-end;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
  color: #ffff;
  padding: 10px;
  border-radius: 8px;
}
.social-media-box:hover .social-media-play {
  animation: pulse 0.3s;
}
.social-media-title {
  margin-bottom: 0;
  font-size: 18px;
  display: flex;
  align-items: center;
  color: #fff;
  cursor: pointer;
}
.social-media-profile {
  position: relative;
}
.social-media-profile img {
  position: absolute;
  left: 0;
  top: -3px;
  width: 65px;
  height: 65px;
  object-fit: cover;
  border-radius: 50%;
  overflow: hidden;
}
.social-media-play {
  position: absolute;
  z-index: 3;
  left: 5px;
  top: 5px;
  width: max-content;
  cursor: pointer;
  transition: 0.3s;
}

/*************** Music Section ***************/
.music {
  margin: 25px 0;
}
.music .music-item {
  position: relative;
}
.music .owl-stage {
  padding-left: 0.55rem !important;
}
.music .owl-item {
  margin-right: 0.4rem !important;
}
.music .music-item a::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
}
.music .music-item img {
  border-radius: 8px;
  object-fit: cover;
}
.music .music-item .music-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.5rem;
  color: #ffffff;
  font-size: 18px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
}
.music .music-item .music-title.title-scroll {
  margin-right: 0.5rem;
  margin-left: 0.5rem;
  padding-right: 0;
  padding-left: 0;
}
.music .music-item .music-title span {
  display: inline-block;
}

/*************** Eulogy Section ***************/
.eulogy {
  margin: 25px 0;
}
.eulogy .eulogy-item {
  position: relative;
}
.eulogy .eulogy-item a>div::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
}
.eulogy .eulogy-item img {
  border-radius: 8px;
  object-fit: cover;
}
.eulogy .eulogy-item .eulogy-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.5rem;
  color: #ffffff;
  font-size: 18px;
  text-align: center;
  text-decoration: underline;
}
.eulogy .col {
  padding: 0.2rem;
}

@media only screen and (max-width: 768px) {
  /*************** Full width Banner ***************/
  .fwBanner {
    margin: 25px 3px;
  }
  .fwBanner .owl-carousel .fwBanner-item {
    height: 200px;
  }
  .fwBanner .owl-carousel .fwBanner-text {
  padding: 1rem 1rem 1.5rem;
  font-size: 16px;
}

  /*************** CTA All Video button ***************/
  .cta-video .btn-all-video {
    font-size: 16px;
    padding: 6px 22px;
  }
  .cta-video .btn-all-video svg {
    width:6px;
  }

  /*************** Movies Section ***************/
  .movie {
    margin: 25px 3px;
  }
  .movie .movie-item .movie-title {
    font-size: 12px;
  }
  .movie .movie-item .movie-ribbon {
    font-size: 11px;
    width: 29px;
    height: 20px;
  }
  .movie .owl-stage {
    padding-left: 5px !important;
  }

  /*************** Music Section ***************/
  .music {
    margin: 25px 3px;
  }
  .music .music-item .music-title {
    font-size: 11px;
  }
  .music .owl-stage {
    padding-left: 0.2rem !important;
  }

  /*************** Social Section ***************/
  .social-media-item {
    margin-bottom: 20px;
  }
  .social-media-item .custom_btn {
    font-size: 9px;
    padding: 4px 18px;
    margin-right: 7px;
    margin-top: 2px;
  }
  .social-media-item > div:last-child {
    margin-top: 5px !important;
  }
  .social-media-box .content {
    padding: 8px;
  }
  .social-media-play svg {
    width: 27px;
    height: 27px;
  }
  .social-media-title {
    font-size: 11px;
  }
  .social-media-profile img {
    left: 0;
    top: -3px;
    width: 40px;
    height: 40px;
  }

  /*************** Eulogy Section ***************/
  .eulogy {
    margin: 25px 3px;
  }
  .eulogy .container-fluid {
    padding: 0;
  }
  .eulogy .container-fluid .subject {
    margin-right: 0.2rem;
  }
  .eulogy .eulogy-item .eulogy-title {
    font-size: 11px;
  }
}


@media only screen and (min-width: 768px) and (max-width: 1200px) {
  /*************** Full width Banner ***************/
  .fwBanner .owl-carousel .fwBanner-item {
    height: 300px;
  }

  /*************** CTA All Video button ***************/
  .cta-video .btn-all-video {
    font-size: 20px;
    padding: 6px 28px;
  }
  .cta-video .btn-all-video svg {
    width:10px;
  }
  

  /*************** Movies Section ***************/
  .movie .movie-item .movie-title {
    font-size: 14px;
  }
  .movie .movie-item .movie-ribbon {
    font-size: 12px;
    width: 45px;
    height: 30px;
  }

  /*************** Music Section ***************/
  .music .music-item .music-title {
    font-size: 14px;
  }

  /*************** Social Section ***************/
  .social-media-item {
    margin-bottom: 20px;
  }
  .social-media-item .custom_btn {
    font-size: 14px;
    padding: 3px 20px;
    margin-right: 7px;
  }
  .social-media-item > div:last-child {
    margin-top: 5px !important;
  }
  .social-media-box .content {
    padding: 8px;
  }
  .social-media-play svg {
    width: 27px;
    height: 27px;
  }
  .social-media-title {
    font-size: 14px;
  }
  .social-media-profile img {
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
  }

  /*************** Eulogy Section ***************/
  .eulogy .eulogy-item .eulogy-title {
    font-size: 14px;
  }
}
