.video_caption{
    border: 8px solid #FFF;
    border-radius: 2px;
    -webkit-box-shadow: 0px 0px 10px 5px rgb(0 0 0 / 6%);
    box-shadow: 0px 0px 10px 5px rgb(0 0 0 / 6%);
    margin-bottom: 15px;
    max-height: 300px;
    min-height: 280px;
}
.video_caption h4{
    color: #353535;
    font-size: 14px;
    padding: 5px 0px;
    font-family: 'Poppins-Medium',sans-serif;
    text-align: center;
    line-height: 1.6;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}
.album.album_video > ul > li a {
    /*border: 8px solid #FFF;
    border-radius: 2px;*/
    /*
    overflow: hidden;
    padding: 0;
    min-height: 200px;
    max-height: 200px;
    justify-content: center;
    display: flex;
    align-items: center;
    -webkit-box-shadow: 0px 0px 10px 5px rgb(0 0 0 / 6%);
    box-shadow: 0px 0px 10px 5px rgb(0 0 0 / 6%);*/
    margin-bottom: 10px;
    display: block;
    position: relative;
    border: 0;
    border-radius: 0px;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.album > ul {
    margin-bottom: 0;
}
/*.album > ul > li {
    float: left;
    margin-bottom: 15px;
    margin-right: 20px;
    width: 200px;
}*/
.album > ul > li a {
    border: 8px solid #FFF;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    padding: 0;
    min-height: 200px;
    max-height: 200px;
    justify-content: center;
    display: flex;
    align-items: center;
    -webkit-box-shadow: 0px 0px 10px 5px rgb(0 0 0 / 6%);
    box-shadow: 0px 0px 10px 5px rgb(0 0 0 / 6%);
    margin-bottom: 15px;
}
.album > ul > li a > img {
    -webkit-transition: -webkit-transform 0.55s ease 0s;
    -moz-transition: -moz-transform 0.55s ease 0s;
    -o-transition: -o-transform 0.55s ease 0s;
    transition: transform 0.55s ease 0s;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
    height: 100%;
    width: 100%;
}
.album > ul > li a:hover > img {
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1);
}
.album > ul > li a:hover .album-poster > img {
    opacity: 1;
}
.album > ul > li a .album-poster {
    background-color: rgba(0, 0, 0, 0.1);
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    -webkit-transition: background-color 0.15s ease 0s;
    -o-transition: background-color 0.15s ease 0s;
    transition: background-color 0.15s ease 0s;
}
.album > ul > li a .album-poster > img {
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    opacity: 0;
    position: absolute;
    top: 50%;
    -webkit-transition: opacity 0.3s ease 0s;
    -o-transition: opacity 0.3s ease 0s;
    transition: opacity 0.3s ease 0s;
}
.album > ul > li a:hover .album-poster {
    background-color: rgba(0, 0, 0, 0.5);
}
.album .justified-gallery > a > img {
    -webkit-transition: -webkit-transform 0.15s ease 0s;
    -moz-transition: -moz-transform 0.15s ease 0s;
    -o-transition: -o-transform 0.15s ease 0s;
    transition: transform 0.15s ease 0s;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
    height: 100%;
    width: 100%;
}
.album .justified-gallery > a:hover > img {
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1);
}
.album .justified-gallery > a:hover .album-poster > img {
    opacity: 1;
}
.album .justified-gallery > a .album-poster {
    background-color: rgba(0, 0, 0, 0.1);
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    -webkit-transition: background-color 0.15s ease 0s;
    -o-transition: background-color 0.15s ease 0s;
    transition: background-color 0.15s ease 0s;
}
.album .justified-gallery > a .album-poster > img {
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    opacity: 0;
    position: absolute;
    top: 50%;
    -webkit-transition: opacity 0.3s ease 0s;
    -o-transition: opacity 0.3s ease 0s;
    transition: opacity 0.3s ease 0s;
}
.album .justified-gallery > a:hover .album-poster {
    background-color: rgba(0, 0, 0, 0.5);
}
.album .video .album-poster img {
    height: 48px;
    margin-left: -24px;
    margin-top: -24px;
    opacity: 0.8;
    width: 48px;
}
.album.dark > ul > li a {
    border: 3px solid #04070a;
}
.not_found{
    margin: 0 auto;
    display: block;
    width: 30%;
    border: 1px solid #f5f5f5;
    padding: 10px;
    border-radius: 10px;
}
.grid-item a{
    position: relative;
    overflow: hidden;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.grid-item a > img {
    -webkit-transition: -webkit-transform 0.55s ease 0s;
    -moz-transition: -moz-transform 0.55s ease 0s;
    -o-transition: -o-transform 0.55s ease 0s;
    transition: transform 0.55s ease 0s;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
}
.grid-item a:hover > img {
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1);
}

@media screen and (max-width:767px) { 
    .album > ul > li a{
        margin-bottom: 1rem;
    }
    .not_found {
        width: 100%;
    }
    .fancybox-slide{top:0%;height:100%}
    .video_caption{
        max-height: initial;
        min-height: auto;
    }
}