.video-recomm__body {
  background-color: rgba(29, 29, 29, 0.6);
  margin: 0;
  font-size: 14px;
  font-family: Monserrat, Helvetica, Arial;
  line-height: 1.5;
  color: #4a4a4a;
  width: 100%
}

.video-recomm__header {
  background-color: #000;
  width: 100%;
  padding: 17px 0 0;
  display: block
}

.video-recomm__header img {
  padding: 15px 0;
  width: 15%;
  vertical-align: middle;
  border: 0;
  display: inline-block;
  margin-left: 10px
}

.video-recomm__header h3 {
  color: #fff;
  padding-left: 8px;
  width: 55%;
  vertical-align: middle;
  display: inline-block;
  height: 22px;
  margin: 0;
  font-weight: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word
}

.video-recomm__button {
  width: 120px;
  margin-top: 6px;
  float: right;
  vertical-align: middle;
  text-decoration: none;
  font-size: 15px;
  color: #fff
}

.video-recomm__button img {
  width: 5%;
  margin-left: 10px
}

.video-recomm__button:hover {
  opacity: 0.8
}

.video-recomm__button:hover img {
  opacity: 0.8
}

.video-recomm__box {
  display: block;
  width: 100%
}

.video-recomm__title {
  color: #fff;
  font-size: 12px;
  margin: 0;
  display: block;
  line-height: 140%;
  width: 100%;
  height: 28px;
  overflow: hidden;
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 10% 5px 5px;
  padding-top: 10%;
  background: -moz-linear-gradient(top, transparent 0%, rgba(13, 13, 13, 0.4) 18%, rgba(14, 14, 14, 0.41) 19%, rgba(14, 14, 14, 0.8) 98%);
  background: -webkit-linear-gradient(top, transparent 0%, rgba(13, 13, 13, 0.4) 18%, rgba(14, 14, 14, 0.41) 19%, rgba(14, 14, 14, 0.8) 98%);
  background: linear-gradient(to bottom, transparent 0%, rgba(13, 13, 13, 0.4) 18%, rgba(14, 14, 14, 0.41) 19%, rgba(14, 14, 14, 0.8) 98%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#0e0e0e', GradientType=0);
  display: none;
  box-sizing: border-box;
  height: max-content
}

.video-recomm__icon {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px
}

.video-recomm__icon img {
  width: 20px;
  vertical-align: middle
}

.video-recomm__item {
  width: calc(100% / 3);
  float: left;
  box-sizing: border-box;
  text-decoration: none;
  padding: 10px 5px 5px;
  position: relative
}

.video-recomm__time {
  position: absolute;
  top: 5px;
  left: 5px;
  color: #fff;
  padding: 3px 5px 2px;
  font-size: 11px;
  background: rgba(0, 0, 0, 0.75)
}

.video-recomm__scale {
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease
}

.video-recomm__scale:hover {
  transform: scale(1.1)
}

.video-recomm__item:hover .video-recomm__title {
  display: block
}

.clearfixdv:before,
.clearfixdv:after {
  content: " ";
  display: table
}

.clearfixdv:after {
  clear: both
}

.progress_bar {
  height: 5px;
  background: #bf1f25;
  width: 0%;
  -moz-transition: all 10s linear;
  -webkit-transition: all 10s linear;
  transition: all 10s linear
}

.ratiobox>.ratiobox_content {
  -webkit-transition: all 200ms linear 0s;
  -moz-transition: all 200ms linear 0s;
  -ms-transition: all 200ms linear 0s;
  -o-transition: all 200ms linear 0s;
  transition: all 200ms linear 0s
}

.ratiobox.ratio_16_9:after {
  padding-top: 56.25%
}

.ratiobox.ratio_4_3:after {
  padding-top: 75%
}

.ratiobox.ratio_3_4:after {
  padding-top: 133%
}

.ratiobox.ratio_9_16:after {
  padding-top: 178%
}

.ratiobox {
  display: block;
  position: relative
}

.ratiobox:after {
  content: "";
  display: block;
  padding-top: 100%;
  overflow: hidden
}

.ratiobox>.ratiobox_content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden
}

.ratiobox>.ratiobox_content img {
  height: 100%;
  max-width: 100%
}

@media only screen and (max-width: 520px) {
  .video-recomm__header {
    padding: 5px 0 0
  }
  .video-recomm__header img {
    width: 20%;
    display: inline-block;
    margin-left: 10px;
    padding: 5px 0
  }
  .video-recomm__header h3 {
    padding: 5px;
    width: 55%;
    line-height: 17px;
    height: 17px;
    font-size: 13px;
    box-sizing: unset;
  }
  .video-recomm__button span {
    display: none
  }
  .video-recomm__button img {
    position: absolute;
    top: 10px;
    right: 35px;
    width: 2%
  }
  .progress_bar {
    height: 5px;
    position: relative;
    bottom: -26px;
  }
  .video-recomm__item {
    padding: 0;
    display: none;
    width: calc(100% / 2)
  }
  .video-recomm__item:nth-child(1) {
    display: block
  }
  .video-recomm__item:nth-child(2) {
    display: block
  }
  .video-recomm__icon {
    top: 5px;
    right: 5px
  }
  .video-recomm__title {
    display: block;
    max-height: 100px;
    overflow: hidden
  }
  .ratiobox.ratio_16_9:after {
    padding-top: 70%
  }
}

/* tambahan dari mas Ahmad utk proyek 20detik iframe jadi div */

.logo_related_20detik {
  width: 15% !important;
  margin-left: 10px !important;
  height: auto !important;
  position: relative !important;
}

.arrow_related_20detik {
  width: auto !important;
}

.video-recomm__button {
  width: 150px;
  margin-top:5px;
}

.logo_related_20detik{
  width: 15% !important;
  margin-left: 10px !important;
  height: auto !important;
  position: relative !important;
}

.arrow_related_20detik{
  width: 5% !important;
  margin-left: 6px !important;
  height: auto !important;
  position: relative !important;
}

@media only screen and (max-width: 520px) {
  .after_ratiobox_portal:after {
    padding-top: 56.25%!important;
  }

  .arrow_related_20detik {
    width: 8px !important;
    margin-left: 18px !important;
    height: auto !important;
    position: relative !important;
    margin-top: 3px;
  }

  .video-recomm__button {
    width: 20px;
    margin-top: 10px;
    position: relative;
    top: -19px;
  }

}

/* tambahan lagi dari mas Ahmad */

video-recomm__header{
  position:relative;
  height:32px;
}
.progress_bar{
  bottom:0 ;
}

