/* Videos Gallery Home  */
#homeVideosYoutubeLearn{
    margin: 50px auto;
}

#homeVideosYoutubeLearn .panel-body{
    padding: 15px 10px 15px 15px;   
}

#video-gallery-youtube{
    width: 100%;
    padding: 0;   
    text-align: center;
}

#video-gallery-youtube .content-video:nth-child(1){
    width: 70%;
    height: 350px;
    display: grid;
}

#video-gallery-youtube .content-video{
    float: left;  
    padding: 0 !important;  
}

#video-gallery-youtube .content-video .placeholder-img{
    width: 100%;       
    padding-bottom: 66.67%;
    background-position: center center !important;
    background-size: cover !important;
    transition: all 0.3s ease;
}

#video-gallery-youtube .content-video .placeholder-img img{
    display: none;
    width: 100%;
    height: auto;
}

#video-gallery-youtube a{
    overflow: hidden;
}

#video-gallery-youtube .content-video:hover .placeholder-img,
#video-gallery-youtube .content-video:focus .placeholder-img{
    transform: scale(1.1);
    opacity: 0.8;
}

@media (min-width: 320px) {
    #video-gallery-youtube .content-video{
        margin: 0 auto;
        text-align: center;
    }
    #video-gallery-youtube .content-video:nth-child(1){
        width: 100%;
        height: 200px;
        margin-bottom: 2px;
    }

    #video-gallery-youtube .content-video:nth-child(2),
    #video-gallery-youtube .content-video:nth-child(3),
    #video-gallery-youtube .content-video:nth-child(4){
        margin:  0 auto;
        width: calc(100% / 3);  
        height: calc(210px / 3);
        text-align: center;
    }

    #video-gallery-youtube .content-video:nth-child(3){
        padding: 0 2px;
    }
    
}

@media (min-width: 768px) {
    
}

@media (min-width: 992px) {
    #video-gallery-youtube .content-video:nth-child(1){
        width: 70%;
        height: 350px;
        display: grid;
    }

    #video-gallery-youtube .content-video:nth-child(2),
    #video-gallery-youtube .content-video:nth-child(3),
    #video-gallery-youtube .content-video:nth-child(4){
        width: 28%;
        display: grid;
        height: calc(330px / 3);
        margin: 0 0 10px 10px;
    }
}