body {
    font-family: "Lato", sans-serif;
}

.container {
    padding: 0;
}

.container-header {
    
}

.container-dates {
    
}

.container-content {
    
}



.sidebar {
    border: 1px solid var(--primary-color);
}

.sidebar .btn:hover {
    a {
        color: white;
    }    
    a:focus, a:hover {
        color: white;
        text-decoration: none;
    }
}

.sidebar .btn.active {
    a {
        color: white;
    }    
    a:focus, a:hover {
        color: white;
        text-decoration: none;
    }
}

.sidebar .btn.active:hover {
    a {
        color: white;
    }
    a:focus, a:hover {
        color: white;
        text-decoration: none;
    }
}

.btn-group-vertical {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.component-title {
    color: red;
    border: 1px solid red;
    text-align: center;
    font-size: larger;
}

.list-group {    
    max-height: calc(100vh - 400px);
    max-height: 100%;
    
    overflow-y: auto;
}

.navbar>.container {
    border-bottom: 3px solid var(--primary-color);
}

.video {
    aspect-ratio: 16 / 9;
    width: 100%;
}

.video-author {
    font-size: 14px;
    color: #666;
}

.video-details {
    margin-left: 15px;
    flex-grow: 1;
}

.video-position {
    color: white;
    background-color: var(--primary-color);
    margin-left: 5px;
    margin-right: 5px;
    flex-grow: 0;
}

.video-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border: 1px solid #ddd;

    cursor: pointer;
}

.video-player__playing {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: white;
    margin: 0;
    padding: 0;
}

.video-player__playing .ratio {
    width: 100%;
    margin: 0 auto;
}

.video-order {
    font-size: 24px;
    color: #999;
    margin-right: 10px;
}

.video-thumbnail {
    position: relative;
    flex-shrink: 0;
    border-radius: 5px;
    overflow: hidden;
}

.video-thumbnail img {
    width: 140px;
    height: 96px;
    object-fit: cover;
}

.video-thumbnail .video-duration {
    position: absolute;
    bottom: 15px;
    right: 25px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 12px;
    padding: 2px 5px;
    border-radius: 3px;
}

.video-thumbnail.is-new::after {
    content: "NEW";
    position: absolute;
    top: 10px;
    right: -40px;
    transform: rotate(45deg);
    background: red;
    color: white;
    font-weight: bold;
    padding: 5px 45px;
    font-size: 12px;
    z-index: 1;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.video-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 3px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.youtube-modal-body {
    text-align: center;
}

.youtube-modal-dialog,
.youtube-modal-body {
    background-color: red;
}

.youtube-video img {
    width: 100%;
    height: auto;
}

.youtube-video iframe {
    width: 200px;
}