@media screen and (min-width: 0px) and (max-width:2500px) {
    #mainSectionContainer {
     padding-top: 56px;
     display: flex;
     justify-content: center;
     padding-left: 73px;
    }
    #mainContentContainer {
     padding: 0 0 0 1.5%;
     display: block;
     margin: 0;
     width: 98.5%;
     position: relative;
     float: left;
    }
    .videoGridItem .thumbnail .duration {
    bottom: 0;
    right: 0;
    position: absolute;
    margin: 4px;
    color: #fff;
    background-color: rgba(17, 17, 17, 0.8);
    opacity: 0.8;
    padding: 2px 4px;
    border-radius: 2px;
    letter-spacing: 0.5px;
    font-size: 12px;
    font-weight: 500;
    line-height: 12px;
    display: block;
   }

   
}



@media screen and (min-width: 0px) and (max-device-width:640px) {
    #mainSectionContainer {
     padding-top: 56px;
     display: flex;
     justify-content: center;
     padding-left: 0px;
    }
    #mainContentContainer {
     padding: 0 0 0 0.0%;
     display: block;
     margin: 0;
     width: 98.5%;
     position: relative;
     float: left;
    }
    
    

}


#mastHeadContainer .logoContainer {
    width: 150px;
    padding-right: 220px;
}

.nav-tabs {
    border-bottom: 0px solid #dee2e6;
    padding-top: 85px;
}
.profileHeader .userInfo {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 20px;
}

.profilePicture {
    height: 100%;
    border-radius: 80px;
    width: 160px;
    height: 160px;
    margin-block: 20px;
}

.profileHeader .userInfoContainer .profileImage {
    height: 160px;
    width: 160px;
    border-radius: 80px;
}

.videoGrid.large .videoGridItem .thumbnail {
    width: 1015px;
    height: 600px;
    margin-right: 16px;
    margin-bottom: 15px;
} 
 .videoGridItem .thumbnail {
  width: 371px;
  height: 208px;
  position: relative; 
 }
  .videoGridItem {
  height: 370px;
  margin-right: 15px;
  margin-bottom: 400;
 }
 .videoGridItem {
    height: 370px;
    margin-right: 15px;
    margin-bottom: auto;
    }
    #sideNavContainer {
    background-color: white;
    padding-top: 56px;
    position: fixed;
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    width: 208px;
    box-shadow: 11.6px 3.3px 10px rgba(0, 0, 0, 0.03), 93px 26px 80px rgba(0, 0, 0, 0.0);
    margin-block: 20px;
    display: auto;
    }
    .videoGrid.large .videoGridItem {
    height: auto;
    display: flex;
    flex-direction: row;
    }
   .videoGrid.large .videoGridItem .thumbnail {
    width: 370px;
    height: 208px;
    margin-right: 16px;
}    
.navShowHide {
    padding: 0.6rem;
    font-size: 0.7rem;
    cursor: pointer;
}           
#mastHeadContainer .logoContainer img {
    height: 22px !important;
    margin-left: 16px;
}
#mastHeadContainer .rightIcons img {
    cursor: pointer;
    width: 40px;
    height: 40px;
    padding: 8px;
    box-sizing: border-box;
    border: none;
    background-color: transparent;
}
#mastHeadContainer .searchBarContainer .searchBar {
    flex: 1;
    max-width: 550px;
    color: #111;
    padding: 4px 10px;
    font-size: 14px;
    font-weight: 100;
    border: 1px solid #ccc;
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
    border-right: none;
    height: 40px;
    box-shadow: #eee 0px 1px 2px 0px inset;
}
#mastHeadContainer .searchBarContainer .searchButton {
    height: 40px;
    background-color: #f8f8f8;
    border: 1px solid #d3d3d3;
    border-bottom-right-radius: 25px;
    border-top-right-radius: 25px;
    cursor: pointer;
    width: 65px;
}

.videoGridHeader {
    display: flex;
    margin: 10px 0;
    padding-bottom: 10px;
    border-bottom: 0px solid #e8e8e8;
}

#mastHeadContainer {
    width: 100%;
    height: 56px;
    position: fixed;
    top: 0;
    left: 0;
    padding: 7px 22px;
    box-sizing: border-box;
    border-bottom: 0px solid #e8e8e8;
    background-color: #fff;
    z-index: 2;
    display: flex;
    align-items: center;
}

.watchLeftColumn .videoPlayer {
    width: 100%;
    aspect-ratio: 0;
    background-color: #000;
    border-radius: 10px;
}

#mainContentContainer {
    padding: 0px 25.5px;
    display: flex;
    flex: 1;
}

.videoGridItem .details .title {
    margin: 8px 0;
    max-height: 39px;
    overflow: hidden;
    font-size: 14.5px;
    font-weight: 500;
    line-height: 16.9px;
    color: #212529;
}

.videoGrid.large .videoGridItem .thumbnail {
    width: 373px;
    height: 200px;
    margin-right: 16px;
}

.secondaryInfo {
    border-bottom: 0px solid #dedede;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.commentSection .header .commentForm .postComment, .itemContainer .commentForm .postComment, .itemContainer .commentForm .cancelComment {
    height: 33px;
    background-color: #2692e6;
    color: #fff;
    font-weight: 500;
    border: none;
    padding: 0 15px;
    border-radius:10px;
}

.secondaryInfo .topRow .button {
    padding: 6px 15px;
    cursor: pointer;
    font-weight: 500;
    border-radius: 10px;
    border: none;
    font-size: 14px;
}

#sideNavContainer {
    background-color: white;
    padding-top: 56px;
    position: fixed;
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    width: 208px;
    box-shadow: 11.6px 3.3px 10px rgba(0, 0, 0, 0.03), 93px 26px 80px rgba(0, 0, 0, 0.0);
}

.coverPhotoContainer .coverPhoto {
    width: 100%;
    object-fit: cover;
    max-height: 158px;
    vertical-align: middle;
    border-radius: 20px
}

.nav-tabs {
    border-bottom: 0px solid #dee2e6;
}

.profileContainer .channelContent {
    padding: 20px;
    background-color: #fff;
    border: 0px solid #ddd;
    border-top: none;
}

.nav-tabs .nav-link {
    border: 0px solid transparent;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
}

.profileHeader .buttonContainer .buttonItem button {
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

.suggestions {
    max-width: 460px;
    flex-grow: 1;
    height: 100%;
    padding-left: 24px;
}

.videoGridItem .thumbnail img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.h2, h2 {
    font-size: 1rem;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.5rem;
    font-family: inherit;
    font-weight: 100;
    line-height: 1.2;
    color: inherit;
}

.videoGridItem .details .title {
    margin: 8px 0;
    max-height: 39px;
    overflow: hidden;
    font-size: 15.4px;
    font-weight: 500;
    line-height: 19.9px;
    color: #212529;
    font-variant: normal; 
}

*, ::after, ::before {
    box-sizing: inherit;
}

.videoGridItem {
    height: 350px;
    margin-right: 15px;
    margin-bottom: 0px;
}

.watchLeftColumn .videoPlayer {
    width: 100%;
    aspect-ratio: 0;
    background-color: #000;
    border-radius: 10px;
}

.watchLeftColumn {
    flex: 1;
}

.suggestions {
    max-width: 399px;
    flex-grow: 1;
    height: 100%;
    padding-left: 24px;
}


.suggestions .videoGridItem .thumbnail {
    margin-right: 8px;
    width: auto;
    height: auto;
}

.videoGrid.large .videoGridItem .thumbnail {
    width: 370px;
    height: 208px;
    margin-right: 16px;
}

.tab-content>.active .thumbnail {
    display: block;
    width: auto;
    height: auto;
}

#mainContentContainer {
    padding: 0px 0.0px;
    display: flex;
    flex: 1;
    padding-block: 4px;
}

#sideNavContainer .navigationItem a {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 0px;
    flex-direction: column;
}

#sideNavContainer .navigationItem span {
    flex: 1;
    color: #111;
    font-size: 10px;
}

#sideNavContainer .navigationItem img {
    height: 18px;
    margin-right: 27px;
    padding-left: 30px;
}

.sidenav-img-compress {
    margin-right: revert-layer;
}

#sideNavContainer .navigationItem {
    height: 50px;
    display: flex;
}
@media only screen and  (max-width: 807px) {
 #sideNavContainer {
    background-color: white;
    padding-top: 56px;
    position: fixed;
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    width: 208px;
    box-shadow: 11.6px 3.3px 10px rgba(0, 0, 0, 0.03), 93px 26px 80px rgba(0, 0, 0, 0.0);
    margin-block: 20px;
    display: none;
    }
    
    .videoGrid.large .videoGridItem .details .title {
    font-size: 17px;
    line-height: 20px;
    }
    
    
}


#sideNavContainer .navigationItem img {
    height: 18px;
    margin-right: 2px;
    padding-left: 2px;
}

.tab-content>.active .thumbnail {
    display: block;
    width: 250px;
    height: 141px;
}

@media screen and (min-device-width: 0px) and (max-device-width:2500px) {
   
    .videoGrid.large .videoGridItem .thumbnail {
        height: 100%;
        width:60%;
        float: left;
        margin: 0 2% 0% 0;
        position: relative;
        display: block;
    }

    video#videoElementID  {
        width: 100%;
        padding: 0;
        margin: 0;
        height: 100%;
        border-radius: 10px !important;
    }

    .thumbnail {
        min-height: 60px;
    }

    .videoGrid {
        width: 100%;
        margin-left: 0%;
        flex-wrap: nowrap;
        display: block;
    }

        

        

    

}  
*, ::after, ::before {
    box-sizing: border-box;
}



.videoGridItem .thumbnail {
    width: 373px;
    height: 208px;
    position: relative;
}

/* для Chrome/Edge/Safari */
*::-webkit-scrollbar {
  height: px;
  width: px;
}
*::-webkit-scrollbar-track {
  background: white;
}
*::-webkit-scrollbar-thumb {
  background-color: #555;
  border-radius: 5px;
  border: 0px solid orange;
}
@media only screen and (max-device-width : 0px) {
    
    .videoGridItem .thumbnail { 
    width: 1025px;
    height:600px;
    position: relative; 
    }
    .videoGridItem {
    height: 360px;
    margin-right: 15px;
    margin-bottom: 10px;
    }
    #sideNavContainer {
    background-color: white;
    padding-top: 56px;
    position: fixed;
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    width: 208px;
    box-shadow: 11.6px 3.3px 10px rgba(0, 0, 0, 0.03), 93px 26px 80px rgba(0, 0, 0, 0.0);
    margin-block: 20px;
    display: none; 
    }
    .videoGrid.large .videoGridItem .thumbnail {
    width: px;
    height: px;
    margin-right: 16px;
    }
    .videoGrid.large .videoGridItem {
    height: auto;
    display: flex;
    flex-direction: column;
    }
    #sideNavContainer {
        background-color: white;
        padding-top: 56px;
        position: fixed;
        top: 0;
        bottom: 0;
        display: flex;
        flex-direction: column;
        width: 0px;
        box-shadow: 0px 0px 0px rgb(0 0 0 / 3%), 0px 0px 0px rgb(0 0 0 / 0%);
        margin-block: 20px;
        display: block;
        z-index: 1;
       }
       #mainSectionContainer.leftPadding {
        padding-left: 0px !important;
       }
       #mainContentContainer {
       padding: 0px 0.0px;
       display: flex;
       flex: 1;
       padding-block: 4px;
       }
       
       video#videoElementID {
       width: 100%;
       padding: 0;
       margin: 0;
       height: 100%;
       border-radius: 0px !important;
       }
   
       *::-webkit-scrollbar {
       height: 0px;
       width: 0px;
       }


       .videoGridItem .details .title {
        
        max-height: 73px;
        overflow: hidden;
        font-size: 24.4px;
        font-weight: 500;
        line-height: 25.9px;
        color: #212529;
        font-variant: normal;
        padding-block: 10px;
        margin-bottom: 5px;
        }
    
        .videoGridItem .thumbnail .duration {
        bottom: 0;
        right: 0;
        position: absolute;
        margin: 13px;
        color: #fff;
        background-color: rgba(17,17,17,0.8);
        opacity: 0.8;
        padding: 2px 4px;
        border-radius: 2px;
        letter-spacing: 0.5px;
        font-size: 21px;
        font-weight: 500;
        line-height: 19px;
        }
    
        .videoGridItem .details {
        padding-right: 24px;
        position: relative;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        width: 900px;
        padding-left: 0px;
        margin-block: -8px;
       }
    
       #notificationTable .videoGridItem .details .username, .videoGridItem .details .stats, #requestStatusTable .videoGridItem .details .username, .videoGridItem .details .stats {
        font-size: 20px !important;
       }

       .videoGridItem .details .username, .videoGridItem .details .stats {
        color: rgba(17,17,17,0.6);
        font-size: 20px;
        overflow-x: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
       }

       .sideNavContainer-compress {
        width: 300px !important;
        }

        .sidenav-span-compress {
            font-size: 23.4px !important;
            padding-left: 27px;
        }

        #sideNavContainer .navigationItem {
            height: 60px;
            display: flex;
        }
        #sideNavContainer {
            background-color: white;
            padding-top: 66px;
            position: fixed;
            top: 0;
            bottom: 0;
            display: flex;
            flex-direction: column;
            width: 300px;
            z-index: 10;
        }

        #sideNavContainer .navigationItem img {
            height: 18px;
            margin-right: 27px;
        }

        #sideNavContainer .navigationItem span {
            flex: 1;
            color: #111;
            font-size: 23px;
            
        }

        #sideNavContainer .navigationItem {
            height: 60px;
            display: flex;
        }
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
       .sidenav-span-compress {
        font-size: 23.4px !important;
        padding-left: 27px;
        }
    
        #sideNavContainer .navigationItem img {
        height: 40px;
        margin-right: 0px;
        padding-left: 0px;
        }
    
        #sideNavContainer .navigationItem {
        height: 60px;
        display: flex;
        }
    
        .sidenav-mainItem-compress {
        margin: 20px 0 !important;
        }
    
        .sideNavContainer-compress {
        width: 300px !important;
        }
    





































}

}

   

   


}
    

@media screen and (max-device-width :900px) {

    .tab-content>.active .thumbnail {
    display: block;
    width: 1025px;
    height: 600px;
    } 
    
    
    
    
    
    
    @media screen and (max-device-width :900px) {
        .videoGrid.large .videoGridItem .thumbnail {   
            width: 100%;
            padding: 0;
            margin: 0;
            height: 100%;
            border-radius: 10px !important;
        }

        #mainSectionContainer {
            padding-top: 56px;
            display: flex;
            justify-content: center;
            padding-left: 0px;
            }
            
            #sideNavContainer {
            display: none;
            }
            
            
            #sideNavContainer {
            display: none;
            }
            
            .videoGridItem .thumbnail {
            width: 1025px;
            height: 600px;
            position: relative;
            }
            
            #sideNavContainer {
            background-color: white;
            padding-top: 56px;
            position: fixed;
            top: 0;
            bottom: 0;
            display: flex;
            flex-direction: column;
            width: 208px;
            box-shadow: 11.6px 3.3px 10px rgba(0, 0, 0, 0.03), 93px 26px 80px rgba(0, 0, 0, 0.0);
            margin-block: 20px;
            display: none;
            }
           
            .videoGrid.large .videoGridItem {
            height: auto;
            display: flex;
            flex-direction: column;
            }
            #mainSectionContainer {
            padding-top: 56px;
            display: flex;
            justify-content: center;
            padding-left: 0px;
            }
            
            #mastHeadContainer {
            width: 99%;
            height: 56px;
            position: fixed;
            top: 0;
            left: 0;
            padding: 7px 22px;
            box-sizing: border-box;
            border-bottom: 0px solid #e8e8e8;
            background-color: #fff;
            z-index: 1;
            display: flex;
            align-items: center;
            }
            
            #mastHeadContainer .searchBarContainer .searchBar {
            flex: 1;
            max-width: 600px;
            color: #111;
            padding: 4px 10px;
            font-size: 14px;
            font-weight: 100;
            border: 1px solid #ccc;
            border-top-left-radius: 15px;
            border-bottom-left-radius: 15px;
            border-right: none;
            height: 40px;
            box-shadow: #eee 0px 1px 2px 0px inset;
            }
            
            
            .thumbnail {
            min-height: 160px;
            }
            
            .videoGridItem {
            height: 100%;
            width: 100%;
            margin: 0 0 6% 0;
            float: left;
            position: relative;
            display: block;
            }
            .videoGridItem .thumbnail {
            border-radius: 15px;
            width: 100%;
            height: auto;
            margin: 0;
            padding: 0;
            min-width: 100%;
            grid-template-columns: repeat(auto-fill, minmax(100%, 1fr))!important;
            }
            video#videoElementID {
            width: 100%;
            padding: 0;
            margin: 0;
            height: 100%;
            border-radius: 15px !important;
            }
            
            .videoGrid {
            width: 100%;
            flex-wrap: nowrap;
            display: block;
            }
            
           
            
       
    }


@media screen and (max-device-width :0px) {
   .videoGrid.large .videoGridItem .thumbnail {
    width: 370px;
    height: 208px;
    margin-right: 16px;
   }
    .profilePicture {
    height: 100%;
    border-radius: 50px;
    }
    .profileHeader .userInfoContainer .profileImage {
    height: 140px;
    width: 140px;
    border-radius: 50px;
}
}
}    


.videoGrid.large .videoGridItem {
    height: auto;
    display: flex;
   
    padding-bottom: 15px;
}


@media screen and (min-width:1366px) {
 
 .videoGridItem .thumbnail {
  width: 399px;
  height: 225px;
  position: relative; 
 }
 #mainContentContainer {
    padding: 0px 25.5px;
    display: flex;
    flex: 1;
    padding-block: 4px;
}

.videoGridItem .thumbnail {
 height:371px;
 width: 208px;
}

.tab-content>.active .videoPlayer {
    display: block;
    width: 250px;
    height: 140px;
}

.videoGrid.large .videoGridItem {
    height: auto;
    display: flex;
    margin: 5px;
}
.videoGrid.large .videoGridItem .thumbnail {
   
    margin-right: 16px;
    margin-bottom: -10px;
}

@media screen and (max-width: 1366px) {
 
 .videoGridItem .thumbnail {
 width: 399px;
 height: 225px;
 position: relative; 
 }
 #mainContentContainer {
 padding: 0px 20.5px;
 display: flex;
 flex: 1;
 padding-block: 4px;
 }
 .videoGrid.large .videoGridItem .thumbnail {
    width: 373px;
    height: 208px;
    margin-right: 16px;
}

@media only screen and (max-width: 600px) {



#sideNavContainer {
display: none; 
} 

}

.dropbtn {
background-color: #4CAF50;
color: white;
padding: 16px;
font-size: 16px;
border: none;
}

.dropdown {
position: relative;
display: inline-block;
}

.dropdown-content {
display: none;
position: absolute;
background-color: #f1f1f1;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
}

.dropdown-content a {
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
}

.dropdown-content a:hover {background-color: #ddd;}

.dropdown:hover .dropdown-content {display: block;}

.dropdown:hover .dropbtn {background-color: #3e8e41;}







@media only screen and (max-width: 600px) {



#sideNavContainer {
display: none; 
} 

}

.dropbtn {
background-color: #4CAF50;
color: white;
padding: 16px;
font-size: 16px;
border: none;
}

.dropdown {
position: relative;
display: inline-block;
}

.dropdown-content {
display: none;
position: absolute;
background-color: #f1f1f1;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
}

.dropdown-content a {
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
}

.dropdown-content a:hover {background-color: #ddd;}

.dropdown:hover .dropdown-content {display: block;}

.dropdown:hover .dropbtn {background-color: #3e8e41;}


