html, body, main, section {
    height: 100%;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    max-height: 100%;
}

.main-preview-player {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    max-height: 100%;
}

.video-js,
.playlist-container {
    position: relative;
    min-width: 300px;
    min-height: 150px;
    max-height: 100%;
    padding: 0;
    margin: 0;
}

.video-js {
    margin:0;
    flex: 3 1 70%;
    height: 100%;
}

.playlist-container {
    flex: 1 1 20%;
    height: 100%;
}

.vjs-playlist {
    margin: 0;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    overflow-y: scroll;
}

#playlist-container {
    padding: 0;
    height: 100%;
    background-color: black;
}

#playlist {
    padding: 0;
    padding-left: 2px;
    height: 80%;
    margin: auto;
    border: 1px outset lightgrey;
    border-left: 0px;
    border-radius: 5px;
}

#preview-player {
    max-height: 100%;
    height: 100%;
    padding: 0;
}

.vjs-playlist-item-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 2px;
}

.vjs-playlist-item {
    border-radius: 5px;
}

.vjs-playlist::-webkit-scrollbar {
    width: 1em;
}

.vjs-playlist::-webkit-scrollbar {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

.vjs-playlist::-webkit-scrollbar-thumb {
  background-color: darkgrey;
  outline: 1px solid slategrey;
  border-radius: 10px;
}
