/*
Put this file in /static/css/hugo-easy-gallery.css
Documentation and licence at https://github.com/liwenyip/hugo-easy-gallery/
*/


/*
Grid Layout Styles
*/

@media only screen and (min-width: 365px) {
    /* Tablet view: 2 tiles */
}

@media only screen and (min-width: 480px) {
    /* Small desktop / ipad view: 3 tiles */
}

@media only screen and (min-width: 9999px) {
    /* Medium desktop: 4 tiles */
    .photobox {
        width: 25%;
        padding-bottom: 25%;
    }
}


/*
Transition styles
*/


/*
figure styles
*/

figure {
    position: relative;
    /* purely to allow absolution positioning of figcaption */
    overflow: hidden;
}


/*
img / a styles
*/

figure a {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    border-bottom: 0;
}


/*
figcaption styles
*/

figcaption p {
    margin: auto;
    /* override style in theme */
}

figure img {
    max-width: 100%;
}

figure figcaption a {
    position: relative;
    color: #CCC;
    /* text-decoration: none; */
}