/* keeps the player from applying margin to bottom when clicked */
.demo-layout-content .jwplayer {
  margin-bottom: 0;
}

.video-wall {
  font-family: 'Quicksand', sans-serif;
  font-weight: 500;
  display: flex;
  /* margin: 0 auto; */
  flex-direction: column;
  background: transparent;
  overflow-y: auto;
  overflow-x: hidden;
  width: 340px;
  height: 640px;
  border-radius: 12px;
  margin: 0;
  padding: 0;
  position: relative;
  background-color: black;
  justify-self: center;
  overflow: auto;              /* Allows scrolling when content overflows */
  scrollbar-width: none;       /* Hides scrollbar in modern browsers (Chrome 121+, Firefox, Safari 18.2+) */
  -ms-overflow-style: none;
}

.row-flex-2,
.row-flex-6 {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.column {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.jwplayer {
  width: 100%;
  height: auto;
}

.thumb {
  width: 340px;
  height: 640px;
  margin: 0 auto;
  padding: 0;
  background-color: #000;
  position: relative;
  opacity: 1;
  background-size: calc(100% + 60px);
  background-repeat: no-repeat;
  transition: background-size .3s ease-in-out;
  -webkit-transition: background-size .3s ease-in-out;
  -ms-transition: background-size .3s ease-in;
  -o-transition: background-size .3s ease-in;
  cursor: pointer;
  /* border: 1px solid #000; */ 
  background-position: center;
}

.thumb.large {
  min-width: 500px;
  min-height: 281.25px;
  min-width: 250px;
  min-height: 140.63px;
}

.title-text {
  color: #000;
  text-align: left;
  font-size: 16px;
  padding: 10px;
  text-align: center;
  position: absolute;
  bottom: -20px;
  opacity: 1;
  width: 100%;
  pointer-events: none;
  transition: all .2s ease-in-out .1s;
  -webkit-transition: all .2s ease-in-out .1s;
  -ms-transition: all .2s ease-in-out .1s;
  -o-transition: all .2s ease-in-out .1s;
}

.thumb.large .title-text {
  font-size: 20px;
  padding: 10px;
}

.thumb:hover {
  background-size: calc(100% + 40px);
}

.thumb:hover .title-text {
  opacity: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  mix-blend-mode: exclusion;
  /* bottom: 0; */
}


@media screen and (max-width: 1400px) {
  .video-wall {
    width: 340px;
    margin: 0 auto;
    height: 640px;
    overflow-y: auto;
    overflow-x: hidden;
  }
}

@media screen and (max-width: 1200px) {
  .video-wall {
    width: 340px;
    margin: 0 auto;
    height: 640px;
    overflow-y: auto;
    overflow-x: hidden;
  }
}

@media screen and (max-width: 992px) {
  .video-wall {
    width: 340px;
    margin: 0 auto;
    height: 640px;
    overflow-y: auto;
    overflow-x: hidden;
  }
}



@media screen and (max-width: 768px) {
  .video-wall {
    width: 340px;
    margin: 0 auto;
    height: 640px;
    overflow-y: auto;
    overflow-x: hidden;
  }
  /*
  .jwplayer {
    width: 240px;
    height: auto;
  }
  */
}


@media screen and (max-width: 576px) {
  .video-wall {
    width: 340px;
    margin: 0 auto;
    height: 640px;
    overflow-y: auto;
    overflow-x: hidden;
  }
  /*
  .jwplayer {
    width: 100%;
    height: auto;
  }
  */
}

/*
1080 X 1920
540 X 960
360 X 640
240 X 426
*/
