.ce_gallery .content {
    background: rgba(255, 255, 255, 0.3);
}

/* ALBUM */

.gc-album-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
}

@media all and (max-width: 600px) {
    .gc-album-list {
        grid-template-columns: 1fr;
    }
}

.gc-album-list-inner {
    position: relative;
}

.gc-album-list-item {
    width: 100%;
    list-style: none;
    height: 26rem;
    overflow: hidden;
    position: relative;
}

.gc-album-list-facts {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 26%;
    background-color: rgba(0, 0, 0, .5);
    text-align: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
    color: white;
}

.gc-album-list-name {
    color: white;
    font-weight: bold;
}

.gc-album-list-inner,
.gc-album-list-figure,
.image_container,
.image_container img {
    height: 100%;
    object-fit: cover;
}

.gc-album-list-pictures-count {
    position: absolute;
    left: 0.5rem;
    top: 0.5rem;
    background-color: rgba(0, 0, 0, .5);
    text-align: center;
    margin: 0;
    padding: 0.2rem;
    z-index: 10;
    color: white;
}

/* Detail View */

.gc-album-detail-picture-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
}

@media all and (max-width: 600px) {
    .gc-album-detail-picture-list {
        grid-template-columns: 1fr;
    }
}

.gc-album-detail-picture-list-item {
    width: 100%;
    list-style: none;
    height: 26rem;
    overflow: hidden;
    position: relative;
}

/* Pagination detail view */

nav.pagination {
    margin: 1rem 0;
}

nav.pagination>ul {
    display: flex;
    flex-wrap: wrap;
}

nav.pagination>ul>li {
    margin-right: 0.3rem;
    margin-bottom: 0.5rem;
    list-style: none;
    color: black;
    float: left;
    text-decoration: none;
    transition: background-color .3s;
    border: 1px solid #ddd;
    text-align: center;
}

nav.pagination>ul>li>a,
nav.pagination>ul>li>strong {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0.3rem 2rem;
}

nav.pagination>ul>li>strong.active {
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
}

nav.pagination>ul>li:hover:not(.active) {
    background-color: #ddd;
}

/* remove filename in image popup from colorbox.js */
#cboxTitle {
    display: none !important;
}