* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, Helvetica, sans-serif;
    scrollbar-width: thin;
    scrollbar-color: #4c8bcf; 
}
a{
    text-decoration: none;
    color: black;
}
.container {
    width: 100%; 
    max-width: 1200px; 
    margin: 0 auto; 
    display: flex  !important;

}
@media (max-width: 768px) {
    .container {
        padding: 15px; 
    }
}
@media (max-width: 576px) {
    .container {
        padding: 10px; 
    }
}
#mainVideo {
    width: 800px;
    margin: auto;
    display: flex;
}
.video-container{
display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    
}
.video-container .translations{
    display: flex;
    margin-top: 30px;
}
.video-container .translations a{
    margin-right: 15px;
    border: 1px solid #979797;
    width: 90px;
    padding: 12px 0;
    display: flex;
    font-size: 14px;
    border-radius: 20px;
    background-color: #f0f0f0;
    justify-content: center;
    align-items: center;
}
.video-container .translations a:hover{
    background-color: #747474;
    color: #ffffff;
    transition: .2s;
}
.video-content{
    max-width: 450px;
}
.tab {
    display: none; 
}
.tabs {
    display: flex;
    border-top: 1px solid #c3c3c3cc;
    padding: 10px;
    border-bottom: 1px solid #c3c3c3cc;
}
.tabs button {
    padding: 8px 18px;
    border: 1px solid #8d8d8d;
    outline: none;
    font-size: 12px;
    margin-right: 10px;
    cursor: pointer;
    border-radius: 15px;
}
.tabs button:hover{
    background-color:#8d8d8d;
    transition: .3s;
    color: white;
}
.tab-content{
    height: 400px;
    max-height: 400px;
    overflow-y: auto;
    padding: 10px 0;
    background-color: whitesmoke;
}
.tab-content ul {
    padding: 0 10px;
}
.tab-content ul li {
    list-style-type: none;
    display: flex;
    width: 430px;
    cursor: pointer;
    margin-bottom: 12px;
    background-color: white;
    border: 1px solid #e9e9e9;
}
.tab-content ul li:hover{
    background-color: #e4e4e4;
    transition: .3s;
}
.tab-content ul li .tab-vid-info {
    padding: 12px 10px;
    width: 100%;
    display: flex;
    flex-direction: column;
}
.tab-content ul li .tab-vid-info h4 {
    font-size: 12px;
    margin-bottom: 6px;
}
.tab-content ul li .tab-vid-info .session-title {
    width: 230px;
    font-size: 15px;
}
.tab-content ul li .tab-vid-info .session-date  {
    font-size: 12px;
    flex: 1;
    align-items: flex-end;
    display: flex;
    color: #7f7f7f;
    justify-content: space-between;
}
.tab-content ul li .tab-vid-info .session-date span{
        display: inline-block;
}
.tab-content ul li .tab-vid-info .vid-info-name {
    font-size: 10px;
    margin-bottom: 6px;
}
.tab-content ul li .tab-vid-info .vid-info-date {
    display: flex;
    justify-content: space-between;
    width: 100%;
    flex: 1;
    align-items: flex-end;
    font-size: 11px;
    color: #8f8f8fcc;
}
.tab.active {
    display: block;  
}
.tab-button.active {
    background-color: #4c8bcf; 
    color: white; 
    border-color: #4c8bcf;
}
.video-thumbnail {
    height: 100px !important;
    cursor: pointer;
    width: 200px;
}
.custom-thumbnail {
    cursor: pointer;
    width: 230px;
    height: 150px;
    object-fit: cover;
    border-radius: 20px 0px 0px 20px;
}

::-webkit-scrollbar {
    width: 8px ; 
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888; 
    border-radius: 10px; 
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.tab-button.active:hover{
    background-color: #4c8bcf;
    color: white;
    border-color: #4c8bcf;
}
.translations a.selected {
    background-color: #4c8bcf;
    color: white;
    border-color: #4c8bcf;
}
.translations a.selected:hover {
    background-color: #4c8bcf;
    color: #ffffff;
}
@media (max-width: 1368px) {
    .container {
        flex-direction: column;
    }
    .video-container .translations {
        display: flex;
        margin-top: 35px;
        justify-content: center;
        align-items: center;
    }
}


@media (max-width: 851px){
    .video-container iframe{
            width: 100%;
    }
    
}