.vjs-suggested-video-endcap {
    background: rgba(0, 0, 0, .7);
    display: none;
    height: 100%;
    left: 0;
    overflow: hidden;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    padding-bottom:30px;
  }
  .vjs-suggested-video-endcap.is-active {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }
  .vjs-suggested-video-endcap-container {
    padding: 10px 0 0 0;
    background-color: rgba(29, 78, 89, 0.5);;
    -webkit-align-content: stretch;
    align-content: stretch;
    -webkit-align-items: baseline;
    align-items: baseline;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: space-around;
    justify-content: space-around;
    max-height: 60%;
  }
  .vjs-suggested-video-endcap-header {
    margin: 0 auto 20px;
    text-align: center;
  }
  .vjs-suggested-video-endcap-link {
    font: 600 clamp(10px, 2vw, 13px) Arial, sans-serif;
    padding: 10px;
    /* font-size: calc(14px + 6 * ((100vw - 1200px) / 1020)); */
    position: relative;
    width: 30%;
    color:white;
    display:block;
  }
  .vjs-suggested-video-endcap-link:nth-of-type(4n),
  .vjs-suggested-video-endcap-link:last-of-type {
    margin-right: 0;
  }
  .vjs-suggested-video-endcap-img {
    height: auto;
    margin-bottom: 5px;
    margin-right: 5px;
    width: 100%;
    float:left;
  }
  @media only screen and (max-width: 600px) {
      .vjs-suggested-video-endcap-link:not(:first-child) {
        display: none;
      }
      .vjs-suggested-video-endcap-img {
        width: 30%;
      }
      .vjs-suggested-video-endcap-link {
        width: 100%;
      }
  }
    @media only screen and (max-width: 900px) and (min-width: 600px) {
      .vjs-suggested-video-endcap-link:last-child {
        display: none;
      }
      .vjs-suggested-video-endcap-img {
        width: 40%;
      }
      .vjs-suggested-video-endcap-link {
        width: 50%;
      }
    }
    