.media_tabs .nav-tabs {
  width: max-content;
  margin: auto;
  border-radius: 8px;
  border: 1px solid #edf0f2;
}
.media_tabs .nav-tabs li {
  padding: 0 23px;
}
.media_tabs .nav-tabs li:first-child, .media_tabs .nav-tabs li:last-child {
  padding: 0;
}
.media_tabs .nav-tabs li a {
  border-color: transparent;
  border-radius: 8px;
  margin: 5px;
  color: #4d5e6a;
  padding: 14px 0;
  min-width: 160px;
  text-align: center;
}
.media_tabs .nav-tabs li a.active {
  background: var(--ffp-secondary-color);
  color: var(--ffp-white-color);
}
.media_tabs .tab-content {
  min-height: 500px;
}
.media_tabs .media-item {
  margin: 30px 0;
}
.media_tabs .media-item .ffp-pdf {
  display: flex;
  width: 295px;
  height: 251px;
  padding: 86px 0px 85px 0px;
  justify-content: center;
  align-items: center;
  background: #f7f9f9;
  border-radius: 8px;
  margin-bottom: 16px;
}
.media_tabs .media-item small {
  margin: 16px 0;
  display: flex;
  align-items: center;
}
.media_tabs .media-item small i {
  margin-right: 10px;
}
.media_tabs .media-item.video-item {
  position: relative;
  border-radius: 8px;
  border: 1px solid transparent;
  overflow: hidden;
}
.media_tabs .media-item.video-item figure {
  max-height: 290px;
}
.media_tabs .media-item.video-item i,
.media_tabs .media-item.video-item .content {
  position: absolute;
  left: 14px;
  bottom: 14px;
  font-weight: 700;
  color: var(--ffp-white-color);
  z-index: 5;
}
.media_tabs .media-item.video-item i {
  width: 30px;
  height: 30px;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: block;
  margin: auto;
  z-index: 4;
}
.media_tabs .media-item.video-item::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover !important;
  z-index: 1;
  background: linear-gradient(90deg, rgba(49, 94, 117, 0) 0.96%, rgba(49, 94, 117, 0.58) 22.15%, var(--ffp-primary-color) 94.45%), lightgray 50%/cover no-repeat;
  opacity: 0.5;
  z-index: 3;
}
@media (min-width: 768px) and (max-width: 991px), (min-width: 576px) and (max-width: 767px), (max-width : 575px), (min-width: 320px) and (max-width : 475px) {
  .media_tabs .nav-tabs {
    width: 100%;
    margin: 0;
    align-items: center;
    justify-content: center;
  }
}