@media (min-width: 576px) {
    .pshowgallery-album-list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 2rem;
    }

    .pshowgallery-album-list .img-responsive {
        width: 100%;
        min-height: 150px;
        max-height: 150px;
        object-fit: cover;
        object-position: 50% 50%;
        transition: all 0.5s ease;
        display: block;
    }

    .pshowgallery-album-list .title-of-album {
        margin-top: 10px;
    }

    .pshowgallery-album-list .overlay {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100%;
        width: 100%;
        opacity: 0;
        transition: .5s ease-in-out;
    }

    .pshowgallery-album-list .count-album-images {
        color: white;
        font-size: 2rem;
        font-weight: bold;
        position: absolute;
        top: 50%;
        left: 50%;
        z-index: 10;
        background-color: rgba(0, 0, 0, 0.1);
        padding: 20px;
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        text-align: center;
    }

    .pshowgallery-album-list .album-front-img {
        overflow: hidden;
    }

    .pshowgallery-album-list .album-front-img:hover .overlay {
        opacity: 1;
        transform: scale(1.1);
    }

    .pshowgallery-album-list .album-front-img:hover img.img-responsive {
        transform: scale(1.1);
    }
}

@media (max-width: 576px) {
    .pshowgallery-album-list .album-item .hidden-sm-up .thumbnails-list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
        grid-gap: 5px;
        margin-top: 10px;
    }

    .pshowgallery-album-list .album-item .hidden-sm-up .thumbnails-list img {
        width: 100%;
        height: 100%;
        max-height: 105px;
        object-fit: cover;
    }

    .pshowgallery-album-list .title-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        column-gap: 1rem;
    }

    .pshowgallery-album-list .title-container .title-container-right-side .flaticon-next::before {
        font-size: 1rem;
        margin: unset;
        color: #7a7a7a;
    }

    .pshowgallery-album-list .album-item {
        padding: 10px;
        border: 1px solid rgba(51, 51, 51, 0.1);
        border-radius: 5px;
        margin-bottom: 10px;
    }

    .pshowgallery-album-list .album-item:last-of-type {
        margin-bottom: 0;
    }

    .pshowgallery-album-list .album-item:only-of-type {
        margin-bottom: 10px;
    }

    .pshowgallery-album-list .album-item img.blurred-img {
        filter: blur(5px);
    }

    #thumbnails-list .album-item-image {
        overflow: hidden;
    }

    .pshowgallery-album-list .album-item .overlay {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100%;
        width: 100%;
    }

    .pshowgallery-album-list .album-item .rest-of-album-images {
        position: absolute;
        top: 50%;
        left: 50%;
        color: white;
        font-size: 2rem;
        font-weight: bold;
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        text-align: center;
        z-index: 5;
    }
}

.pshowgallery-album-list .subtitle-of-album {
    color: #7a7a7a;
}

.pshowgallery-album-list .subtitle-of-album .material-icons {
    font-size: unset;
    color: #000;
}

.pshowgallery-albums-wrapper {
    margin-bottom: 3rem;
}

.pshowgallery-album-list .subtitle-of-album {
    line-height: 1;
    margin-bottom: 5px;
}

.album-front-img,
#thumbnails-list .album-item-image {
    position: relative;
}

.pshowgallery-albums-info .badge {
    display: inline-block;
    padding: 0 10px;
    font-weight: 700;
    color: #555;
    background-color: #fff;
    border: solid 1px #d9d9d9;
    margin-left: 0.2em;
    border-radius: 20px;
}

.album-front-img .placeholder {
    border: 2px solid #d9d9d9;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.album-front-img .placeholder:hover {
    cursor: default;
}

.album-front-img .placeholder i.material-icons {
    color: #d9d9d9;
    font-size: 5rem;
}

.pshowgallerylink:hover {
    cursor: pointer;
}

.pshowgallerylink.no-hover:hover {
    cursor: default;
}