/* PhocaGallery - verberg ongebruikte categorie-modal */
#pgCategoryModal:not(.show) {
    display: none !important;
}

/* Gewenste achtergrondkleur voor de website */
body.u-body {
    background-color: #E9F2FA !important;
}

/* PhocaGallery - paginering horizontaal */
#phocagallery .pagination ul {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center;
    align-items: center;
    gap: 6px;
    list-style: none !important;
    padding: 0 !important;
    margin: 20px 0 !important;
}

#phocagallery .pagination ul li {
    display: inline-block !important;
    margin: 0 !important;
}

/* PhocaGallery - Powered by rechts en kleiner */
#phocagallery.pg-categories-view > div[style*="text-align:right"] {
    text-align: right !important;
    margin-top: 15px !important;
    font-size: 11px !important;
    color: #aaa !important;
}

/* PhocaGallery - Powered by iets lager op gsm */
@media (max-width: 767px) {
    #phocagallery.pg-categories-view > div[style*="text-align:right"] {
        margin-top: 25px !important;
    }
}

/* Nicepage - onnodige minimale hoogte verwijderen */
#block-1 .u-sheet-1 {
    min-height: 0 !important;
    height: auto !important;
}

/* Phoca Gallery - terugknop boven album */
#phocagallery .pg-category-categories-top-box-title {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 10px 0 !important;
    text-align: left !important;
}

#phocagallery .pg-category-categories-top-box-title a {
    color: #333 !important;
    text-decoration: none !important;
    font-size: 15px !important;
}

#phocagallery .pg-category-categories-top-box-title svg {
    fill: currentColor;
    color: #477FAE !important;
}

/* Phoca Gallery - vertaal terugknop */
#phocagallery .pg-category-categories-top-box-title a {
    font-size: 0 !important;
}

#phocagallery .pg-category-categories-top-box-title a::after {
    content: "Terug naar albums";
    font-size: 15px;
    color: #477FAE;
}
