/* Added by tperezramirez */
#youtube-old-races {
  margin-bottom: 30px;
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* 16:9 aspect ratio */
  height: 0;
}
#home-youtube-old-races {
  position: relative;
  width: 50%;
  padding-bottom: calc(33.3% - 30px);
  /* 16:9 aspect ratio */
  height: 0;
}

#youtube-player {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#youtube-playlist .vjs-playlist-name,
#youtube-playlist .vjs-playlist-title-container {
  font-style: normal !important;
}

#youtube-playlist .vjs-playlist-item {
  position: relative;
  cursor: pointer;
  overflow: hidden;
}


#youtube-playlist img {
  width: 100%;
  min-height: 54px;
}

#youtube-playlist .vjs-playlist-name {
  text-overflow: unset !important;
  overflow: visible !important;
  -webkit-transform: skew(27deg);
  transform: skew(27deg);
  margin-right: 10px;
  margin-left: 10px;
}

.vjs-playlist .vjs-playlist-name {
  display: block;
  max-height: 2.5em;
  padding: 0 0 4px 2px;
  font-style: normal;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  line-height: 20px;
}


/*MEDIA*/
@media only screen and (max-width: 319px) {
  .full-player-template #youtube-old-races{
    margin-bottom: 40vh;
  }
}

 @media only screen and (min-width: 320px) and (max-width: 480px){
  .full-player-template #youtube-old-races{
    margin-bottom: 34vh;
  }
}

@media only screen and (min-width: 481px) and (max-width: 760px){
  .full-player-template #youtube-old-races{
    margin-bottom: 20vh;
  }
}

@media (min-width: 521px) {
  #youtube-playlist img {
    min-height: 85px;
  }
}

@media only screen and (max-width: 767px) {
  #youtube-playlist .vjs-playlist .vjs-playlist-item {
    margin: 10px;
    max-width: 100%;
    width: 100%;
  }
}

@media only screen and (max-width: 1279px) {
  #youtube-playlist .vjs-playlist-name {
    text-overflow: ellipsis !important;
    overflow: hidden !important;
  }
}

@media only screen and (max-width: 992px) {
  #youtube-player {
    height: 405px;
  }
}

/* End Added by tperezramirez */