.slimScrollBar{
z-index: 98 !important;
}

#mySidenav{
width: 254px;
flex: 0 0 254px;
position: sticky;
top: 90px;
align-self: flex-start;
background-color: var(--bg-2);
color: var(--fg-1);
border-radius: 10px;
border: 1px solid var(--border);
box-shadow: 0 4px 20px rgba(0,0,0,.08);
padding: 0 0 10px 0;
margin-top: 5px;
}

#mySidenav ul > a > li{
color: var(--fg-2);
font-size: 13px;
font-weight: 500;
padding: 10px 16px;
border-bottom: 1px solid var(--border);
transition: all .15s ease;
}

#mySidenav ul.sidebar-categories{
padding: 0;margin-bottom: 0;
height: 73vh;
}

#mySidenav ul > a > li:hover{
background-color: var(--bg-3);
color: var(--accent);
padding-left: 20px;
}

#mySidenav ul > a.active > li{
background-color: var(--bg-3);
color: var(--accent);
border-left: 3px solid var(--accent);
font-weight: 700;
}

#mySidenav ul > a:hover{
color: var(--accent);
text-decoration: none;
}

.sidenav .sidebar-title {
margin: 0;
font-size: 15px;
background-color: transparent;
padding: 14px 16px;
border-bottom: 1px solid var(--border);
border-radius: 0;
}

.movies-list-wrap{
overflow: visible !important;
}

.channels-content-area {
flex: 1;
min-width: 0;
}


/*for smaller screens sidebar should be left */
@media only screen and (max-width: 1324px) {
#mySidenav {
    position: fixed;
    top: 78px;
    left: 20px !important;
    width: 220px !important;
    max-height: calc(100vh - 85px);
    z-index: 9999;
    display: none;
    margin-top: 0 !important;
    float: none;
    border-radius: 8px;
}

#mySidenav.open {
    display: block;
}

.channels-parent-div {
    width: 100% !important;
}

a.channel-sidebar-open {
    display: block !important;
    position: fixed;
    top: 83px;
    left: 20px;
    z-index: 9998;
}

    a.channel-sidebar-close{
    display: block !important;
}

}

.ad-notif a{
color: var(--accent);
}

#filter .category-input-con .btn-group>.btn{
border: 1px solid var(--border) !important;
border-radius: 6px;
font-size: 14px;
padding: 9.5px 20px;
background: var(--bg-3) !important;
color: var(--fg-1) !important;
}

#filter .button_search button{
border: none !important;
border-radius: 6px;
background: var(--accent) !important;
color: #fff !important;
font-size: 15px;
}

#modal-channel-category input[type="radio"]{
height: 15px;
}

#modal-channel-category .radio-inline{
    font-weight: normal;
    background: var(--bg-3);
    color: var(--fg-1);
    padding-top: 10px;
    width: 100%;
    padding: 14px 31px;
    margin: 7px 0;
    border: 1px solid var(--border);
    border-radius: 8px;
}

#modal-channel-category .modal-header{
background: var(--bg-3);
color: var(--fg-1);
padding: 14px 24px;
border-bottom: 1px solid var(--border);
}

#modal-channel-category .modal-title{
font-weight: 700;
font-size: 20px;
color: var(--fg-1);
}

#modal-channel-category .modal-content{
background: var(--bg-2);
border: 1px solid var(--border);
border-radius: 12px;
color: var(--fg-1);
}

#modal-channel-category select{
border-radius: 8px;
height: auto;
font-size: 16px;
cursor: pointer;
background: var(--bg-3);
color: var(--fg-1);
border: 1px solid var(--border);
padding: 8px 12px;
}

#modal-channel-category [type="submit"]{
background: var(--accent);
color: white;
border-radius: 8px;
font-size: 15px;
font-weight: 600;
border: none;
padding: 10px 24px;
}

@media only screen and (max-width: 767px) {
#modal-channel-category .modal-dialog{
    margin: 10px auto;
}
}

.movies-list .ml-item{
overflow: hidden;
position: relative;
}

img.thumb.mli-thumb{
margin-left: 0 !important;
}

.channels-flex-layout {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.channels-content-area {
    flex: 1;
    min-width: 0;
}
.movies-list {
    width: 100%;
}

img.thumb.mli-thumb {
width: 100% !important;
height: auto !important;
object-fit: cover;
}

#filter {
padding: 18px 24px;
border: 1px solid var(--border);
box-shadow: none;
border-radius: 10px;
display: block;
margin-top: 65px;
background-color: var(--bg-2);
margin-bottom: 14px;
}

@media only screen and (max-width: 1324px) {
.channels-flex-layout { flex-direction: column; }
.channels-content-area { width: 100%; }
}