body{
    background-color: #ffffff;
}

.content{
    padding-bottom: 50px;
    padding-left: 25px;
    font-family: 'Gilroy',Arial,sans-serif;
    background-color: #ffffff;
}
.content_wrapper {
    margin: 0 auto;
    max-width: 1100px;
    padding: 0px 20px;
    overflow: hidden;
}

.featured{
    position: relative;
}

.featured .items{
    margin-top: 25px;
    font-family: 'Roboto',Arial,sans-serif;
    padding-bottom: 20px;
    position: relative;
    visibility: hidden;
}

.featured .prev{
    z-index: 20;
    position: absolute;
    top: 65px;
    left: 0px;
    height: 40px;
    width: 25px;
    cursor: pointer;
    box-sizing: border-box;
    padding-top: 10px;
    color: #4a4a4a;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.featured .next{
    z-index: 20;
    position: absolute;
    top: 65px;
    right: 0px;
    height: 40px;
    width: 25px;
    cursor: pointer;
    box-sizing: border-box;
    padding-top: 10px;
    color: #4a4a4a;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.featured .item{
    width: 100px;
    margin-right: 20px;
    display: inline-block;
}

.featured a.item{
    color: #4a4a4a;
    text-decoration: none;
}

.featured .item .avatar{
    width: 50px;
    height: 50px;
    border-radius: 25px;
    display: block;
    margin: 0 auto;
    background-position: center;
    background-size: cover;
}

.featured .item .name{
    text-align: center;
    font-size: 12px;
    margin-top: 10px;
}

.section{
    padding-bottom: 50px;
}

.section .division{
    height: 1px;
    width: 90%;
    margin: 0 auto;
    background-color: #cccccc;
    float: left;
    margin: 30px 0 50px 5%;
}

.homeHeading {
  font-family: 'Roboto',Arial,sans-serif;
  font-size: 20px;
  font-weight: bold;
  text-align: left;
  color: #4a4a4a;
  margin-top: 50px;
  margin-bottom: 16px;
  position: relative;
}
.video_items{
    padding-bottom: 20px;
    overflow: hidden;
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    font-family: 'Gilroy',Arial,sans-serif;
}

.video_items .batch{
    display: flex;
    flex-wrap: wrap;
}

.video_items .search_video_wrapper{
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 40px;
    width: 100%;
}

.video_items .batch.hidden_batch{
    display: none;
}

.noItems{
    text-align: center;
    width: 100%;
    margin-top: 150px;
    font-weight: bold;
    font-family: 'Gilroy',Arial,sans-serif;
}
.videos{
    padding-top: 10px;
}

.banner_300_250{
    width: 300px;
    height: 250px;
    display: none;
    margin: 50px auto 25px auto;
}
.banner_768_90{
    width: 768px;
    height: 90px;
    display: block;
    margin: 80px auto 0px auto;
}
.videos_holder{
    font-size: 0px;
}
.videos_holder .videoItem {
    list-style-type: none;
    min-height: 235px;
    width: 210px;
    display: inline-block;
    vertical-align: top;
    margin-bottom: 30px;
    margin-right: 10px;
}
.video_items .videoItem {
    list-style-type: none;
    width: calc((100% / 4) - 29px);
    float: left;
    vertical-align: top;
    margin-top: 29px;
    margin-right: 14.5px;
    margin-left: 14.5px;
}
.videos_holder .videoItem div, .video_items .videoItem div{
    font-size: 10px;
    letter-spacing:1px;
    line-height: 1.5;
}
.videos_holder div.image,.video_items div.image{
    padding-top: 56%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    margin-bottom: 18px;
    position: relative;
    border-radius: 16px;
}
.video_items div.image .overlay{
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    background: transparent linear-gradient(145deg, #00000000 0%, #00000000 22%, #1F293695 100%) 0% 0% no-repeat padding-box;
    border-radius: 16px;
}
.video_items .details{
    font-size: 12px;
    overflow: hidden;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.video_items .details .creatorIcon{
    position: absolute;
    right: 0px;
    top: 0px;
    width: 32px;
    height: 32px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 50%;
}

.video_items .videoItem .channelText-link{
    float: left;
    margin-right: 20px;
    font-weight: 700;
    text-transform: uppercase;
}

.video_items .videoItem .views{
    float: left;
    margin-right: 20px;
    margin-bottom: 2px;
    font-weight: 600;
    text-transform: uppercase;
}

.video_items .videoItem .date{
    float: left;
    font-weight: 600;
    text-transform: uppercase;
}
.videos_holder .homepage_channel, .video_items .homepage_channel {
    overflow: hidden;
    max-height: 40px;
}
.videos_holder div.duration, .video_items div.duration{
    background-color: #000000;
    padding: 0px 4px;
    position: absolute;
    width: auto;
    color: #ffffff;
    bottom: 4px;
    right: 4px;
    line-height: 16px;
}
.videos_holder a, .video_items a {
    text-decoration: none;
}
.videos_holder div.videoname_linkdiv, .video_items div.videoname_linkdiv {
    margin-top: 8px;
    line-height: 1.5;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    overflow: hidden;
    float: left;
    width: 80%;
}
#homepage_splitter {
    border-top: solid 2px #e5e5e5;
    margin: 70px 0;
}

/* @media (max-width:1450px) {
    .video_items .videoItem {
        width: calc((100% / 5) - 20px);
    }

    .video_items .videoItem:nth-child(n+11) {
       display: none;
    }
} */

@media (max-width:1250px) {
    .video_items .videoItem {
        width: calc((100% / 3) - 29px);
    }

    /* .video_items .videoItem:nth-child(n+9) {
       display: none;
    } */
}

@media (max-width:1000px) {
    .video_items .videoItem {
        width: calc((100% / 2) - 29px);
    }

    /* .video_items .videoItem:nth-child(n+9) {
        display: block;
     } */

    /* .video_items .videoItem:nth-child(n+5) {
       display: none;
    } */
}

@media (max-width:550px) {
    .video_items .videoItem {
        width: calc((100%) - 29px);
    }

    /* .video_items .videoItem:nth-child(n+5) {
        display: block;
    } */

    /* .video_items .videoItem:nth-child(n+9) {
        display: none;
     } */
}

@media (max-width:1155px) {

    .videos_holder div.image{
        height: 150px;
    }

    .videos_holder .videoItem {
        width: calc(25% - 12px);
    }

    .videos_holder .videoItem:nth-child(4n){
        margin-right: 0px;
    }
    .videos_holder .videoItem:not(:nth-child(4n)){
        margin-right: 15px;
    }
}

@media (max-width:1104px) {
    .content > .links{
        padding-top: 250px;
    }
}

@media (max-width:940px) {
    .links .description{
        min-height: 75px;
    }
}

@media (max-width:935px) {
    .videos_holder div.image{
        height: 160px;
    }

    .videos_holder .videoItem {
        width: calc(33% - 8px);
    }

    .videos_holder .videoItem:nth-child(3n){
        margin-right: 0px;
    }
    .videos_holder .videoItem:not(:nth-child(3n)){
        margin-right: 15px;
    }
}

@media (max-width:875px) {
    .banner_300_250{
        display: block;
    }
    .banner_768_90{
        display: none;
    }
}


@media (max-width:800px) {
    .mainTitle{
        font-size: 36px;
    }
}
@media (max-width:715px) {
    .videos_holder div.image{
        height: 180px;
    }

    .videos_holder .videoItem {
        width: calc(50% - 8px);
    }

    .videos_holder .videoItem:nth-child(2n){
        margin-right: 0px;
    }
    .videos_holder .videoItem:not(:nth-child(2n)){
        margin-right: 15px;
    }

    .channels{
        width: 255px;
    }
    .channel{
        margin-right: 0px;
    }
}
@media (max-width:690px) {
    .links .description{
        min-height: 100px;
    }
}
@media (max-width:604px) {
    .mainTitle{
        font-size: 26px;
    }

    .homeHeading{
        font-size: 16px;
    }

    .links .link{
        width: 275px;
        float: none;
        margin: 0 auto;
    }
    .link:first-child{
        margin-bottom: 80px;
    }
    .homeHeading {
        margin-bottom: 26px;
    }
}

@media (max-width:499px) {
    .videos_holder div.image{
        height: 190px;
    }
    .videos_holder div.videoname_linkdiv {
        height: auto;
    }
    .videos_holder .videoItem {
        width: 100%;
    }
}

@media (max-width:432px) {
    .browse_all_link{
        position: absolute;
        margin-right: 0px;
        top: -40px;
        right: 0px;
    }
}

.banner_ads{
    width: 728px;
    height: 90px;
    display: block;
    margin: 0 auto;
    margin: 50px auto 25px auto;
    background-color: #d8d8d8;
    border: solid 1px #979797;
}
@media (min-width:320px)  and (max-width:768px){
    .banner_ads{
        width: 300px;
        height: 250px;
        display: block;
        margin: 0 auto;
        margin: 50px auto 25px auto;
        background-color: #d8d8d8;
        border: solid 1px #979797;
    }
    .desktop-video-preview .watch-later-button:after {
        content: '\A';
        position: relative;
        width: 24px;
        height: 24px;
        background: url("/assets/img/watchlater-static-box.png");
        background-repeat: no-repeat;
        background-size: cover;
        float: right;
    }
    .desktop-video-preview .added:after {
        content: '\A';
        position: relative;
        width: 24px;
        height: 24px;
        background: url("/assets/img/watchlater-added.png");
        background-repeat: no-repeat;
        background-size: cover;
        float: right;
    }
}