

/* Smartphones (portrait and landscape) ----------- */
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 480px) {
    .my-gallery {
        margin: 1em 0;
    }
    .my-gallery {
        max-width: 1023px;
    }
    .my-gallery img {
        max-width: 100%;
        height: auto;
        vertical-align: bottom;
    }
    .pswp__button--share {
        display: none;
    }
}
/* Smartphones (landscape) ----------- */
@media only screen 
and (min-width : 321px) {
    .my-gallery {
        margin: 1em 0;
    }
    .my-gallery {
        max-width: 1023px;
    }
    .my-gallery img {
        max-width: 100%;
        height: auto;
        vertical-align: bottom;
    }
    .pswp__button--share {
        display: none;
    }
}
/* Smartphones (portrait) ----------- */
@media only screen 
and (max-width : 320px) {
    .my-gallery {
        margin: 1em 0;
    }
    .my-gallery {
        max-width: 1023px;
    }
    .my-gallery img {
        max-width: 100%;
        height: auto;
        vertical-align: bottom;
    }
    .pswp__button--share {
        display: none;
    }
}
/* iPads (portrait and landscape) ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) {
    .my-gallery {
        margin: 1em 0;
    }
    .my-gallery {
        max-width: 1023px;
    }
    .my-gallery img {
        max-width: 100%;
        height: auto;
        vertical-align: bottom;
    }
    .pswp__button--share {
        display: none;
    }
}
/* iPads (landscape) ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape) {
    .my-gallery {
        margin: 1em 0;
    }
    .my-gallery {
        max-width: 1023px;
    }
    .my-gallery img {
        max-width: 100%;
        height: auto;
        vertical-align: bottom;
    }
    .pswp__button--share {
        display: none;
    }
}
/* iPads (portrait) ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) {
    .my-gallery {
        margin: 1em 0;
    }
    .my-gallery {
        max-width: 1023px;
    }
    .my-gallery img {
        max-width: 100%;
        height: auto;
        vertical-align: bottom;
    }
    .pswp__button--share {
        display: none;
    }
}
/* iPad 3 (portrait and landscape) ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (-webkit-min-device-pixel-ratio : 2),
only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (min-resolution: 192dpi) {
    .my-gallery {
        margin: 1em 0;
    }
    .my-gallery {
        max-width: 1023px;
    }
    .my-gallery img {
        max-width: 100%;
        height: auto;
        vertical-align: bottom;
    }
    .pswp__button--share {
        display: none;
    }
}
/* Desktops and laptops ----------- */
@media only screen 
and (min-width : 1224px) {
    .my-gallery {
        margin: 1em 0;
    }
    .my-gallery {
        max-width: 1023px;
    }
    .my-gallery img {
        max-width: 100%;
        height: auto;
        vertical-align: bottom;
    }
    .pswp__button--share {
        display: none;
    }
}
/* Large screens ----------- */
@media only screen 
and (min-width : 1824px) {
    .my-gallery {
        margin: 1em 0;
    }
    .my-gallery {
        max-width: 1023px;
    }
    .my-gallery img {
        max-width: 100%;
        height: auto;
        vertical-align: bottom;
    }
    .pswp__button--share {
        display: none;
    }
}
/* Retina displays ----------- */
@media  only screen 
and (-webkit-min-device-pixel-ratio : 2), 
only screen 
and (min-resolution: 192dpi) {
    .my-gallery {
        margin: 1em 0;
    }
    .my-gallery {
        max-width: 1023px;
    }
    .my-gallery img {
        max-width: 100%;
        height: auto;
        vertical-align: bottom;
    }
    .pswp__button--share {
        display: none;
    }
}

