
.dgwt-jg-gallery {
    width: 100%;
    position: relative;
    overflow: hidden
}

.dgwt-jg-item {
    position: absolute;
    display: inline-block;
    overflow: hidden;
    /* background: #888888; To have gray placeholders while the gallery is loading with waitThumbnailsLoad = false */
    filter: "alpha(opacity=10)";
    opacity: 0.1;
    margin: 0;
    padding: 0;
}
.dgwt-jg-item a,
.dgwt-jg-item .jg-no-link-wrapp{
    display: block;
    height: 100%;
    width: 100%;
    text-decoration: none;
}

.dgwt-jg-item img {
    border-radius: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: 0;
    padding: 0;
    border: none;
    filter: "alpha(opacity=0)";
    opacity: 0;
}

.dgwt-jg-gallery .entry-visible {
    filter: "alpha(opacity=100)";
    opacity: 1;
    background: none;
}
.dgwt-jg-gallery .entry-visible img {
    filter: "alpha(opacity=100)";
    opacity: 1;
    -webkit-transition: opacity 500ms ease-in;
    -moz-transition: opacity 500ms ease-in;
    -o-transition: opacity 500ms ease-in;
    transition: opacity 500ms ease-in;
}

.dgwt-jg-gallery .jg-filtered {
    display: none
}

.dgwt-jg-gallery .spinner {
    position: absolute;
    bottom: 0;
    margin-left: -24px;
    padding: 10px 0 10px 0;
    left: 50%;
    filter: "alpha(opacity=100)";
    opacity: 1;
    overflow: initial;
}

.dgwt-jg-gallery .spinner > span {
    display: inline-block;
    filter: "alpha(opacity=0)";
    opacity: 0;
    width: 8px;
    height: 8px;
    margin: 0 4px 0 4px;
    background-color: #000;
    border-radius: 6px;
}
body .pswp--open {
    z-index: 100040;
}
