

.container_ {
  display: flex;
  flex-direction: row;
  height: 70vh;
}

.main-video {
  /*flex: 3;*/
  flex: 4;
  padding: 10px;
}

.video-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  background: black;
  border-radius: 10px;
  overflow: hidden;
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  display: block;
}

.loader {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70px;
  height: 70px;
  margin: -25px 0 0 -25px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 10;
  display: none;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.video-list {
/*display:none !important;*/
  flex: 1;
  overflow-y: auto;
  /*background: #102c54;*/
  padding: 10px;
}

.video-item {
  cursor: pointer;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #1b3a6d;
  padding: 5px;
  border-radius: 5px;
  transition: 0.3s;
}

.video-item:hover {
  background: #285a9e;
}

.video-item img {
  width: 100%;
  border-radius: 5px;
}

.video-item p {
  margin-top: 5px;
  font-size: 14px;
  text-align: center;
  color:#fff;
}

@media (max-width: 768px) {
  .container_ {
    flex-direction: column;
  }
  .video-list {
    display: flex;

    flex: none;
    flex-direction: row;
    overflow-x: auto;
    height: auto;
  }
  .video-item {
    min-width: 150px;
    margin-right: 10px;
  }

    
}
