.gallery-sidebar {
    a {
        color: #7D818C;
        &:hover {
            color: $blue;
        }
    }

    ul ul ul {
        margin-left: 1em;
    }
    li {
        margin: .25em 0em;
    }

    li.active > a, a.active {
        color: $blue;
    }
    >h4:first-of-type {
        margin-top: 0px;
    }
}

.galleries-cards {
    display: grid;
    grid-gap: $gutter-width;
    figure {
        margin: 0 !important;
        padding:0 !important;
    }
    img {
        width: 100%;
    }
}



.gallery-grid {
    margin: 0em auto 3em auto;
    display: grid;
    grid-gap: $gutter-width/2;
    grid-template-columns: repeat(auto-fill, minmax(284px, 1fr) ); 
    figure {
        margin: 0 !important;
        padding:0 !important;
    } 
    figcaption {
        display: none !important;
    }
}

@media only screen and (max-width: $small-screen-up) {
    .archive-filters.entry-navigation {
        position: relative;
        width: 100%;
    }
    .gallery-buttons-list {
        padding: 0px $outer-padding;
        margin-left: -$outer-padding;
        margin-right: -$outer-padding;
  white-space: nowrap; /* [1] */
  overflow-x: auto; /* [2] */
  -webkit-overflow-scrolling: touch; /* [3] */
  -ms-overflow-style: -ms-autohiding-scrollbar; /* [4] */ }

/* [5] */
.gallery-buttons-list::-webkit-scrollbar {
  display: none; }
}

@media only screen and (min-width: $small-screen-up) {
    .galleries-cards {
        grid-template-columns: 1fr 1fr;
    }
}



.pagination-nav {
    text-align:center;
    li {
        display: inline-block;

    }
    a {
        padding: .25em;
        &:hover {
            color: $off-black;
        }
    }
}