.soundways-gallery {
    display: inline-block;
    position: relative;
    width: 400px;
    max-width: 100%;
    padding-top: 100%;
    font-family: 'NovecentowideBookBold','Helvetica Neue',Helvetica,sans-serif;
}
.soundways-gallery img:not(.soundways-gallery-expand) {
    top: 0;
    bottom: 0;
    position: absolute;
    height: auto;
    width: 100%;
    opacity: 0;
    transition: 0.5s ease;
}
.soundways-gallery img:first-child {
    width: 100%;
    opacity: 1;
}
.soundways-gallery-menu {
    background: rgba(0, 0, 0, 0.6);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    align-items: center;
    justify-content: space-around;
    box-shadow: 0 0 40px rgba(0,0,0,0.8) inset;
}
.soundways-gallery-expand {
    height: 30%;
    width: 30%;
    border-radius: 10%;
    border: solid 1px rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    opacity: 0.5;
}
.soundways-gallery-expand:hover {
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.8) inset;
    opacity: 0.9;
}
.soundways-gallery-image-count {
    color: #ffffff;
    font-weight: bold;
    font-style:italic;
    position: absolute;
    bottom: 1em;
    left: 0;
    right: 0;
    font-size: 1.8em;
    text-align:center;
}
.soundways-gallery-backdrop {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9999;
}
.soundways-gallery-backdrop-img {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    filter: blur(20px);
    transform: scale(1.1);
}
.soundways-gallery-shadowbox {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: flex-start;
    font-family: 'NovecentowideBookBold','Helvetica Neue',Helvetica,sans-serif;
    z-index: 10000;
}
.soundways-gallery-close {
    cursor: pointer;
    color: #FFFFFF;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    padding: 1rem;
    font-size: 1.2em;
    z-index: 9000;
    text-align: center;
}
.soundways-gallery-close img {
	height: 2em;
}
.soundways-gallery-shadowbox-feature {
    position: fixed;
    top: 2em;
    right: 0;
    bottom: 130px;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 1em;
    margin: auto;
}

.soundways-gallery-shadowbox-feature img {
    max-height: 70%;
    box-shadow: 0 20px 80px 100px rgba(255, 255, 255, 0.10);
}
.soundways-gallery-feature-attribution {
    text-align: center;
    font-size: 1.2em;
    color: #FFFFFF;
    margin-top: 1.5rem;
    display: block;
    max-width: 95%;
}
.soundways-gallery-feature-attribution a {
    color: #FFFFFF;
    text-decoration: none;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px;
    border-radius: 10px;
    display: block;
}
.soundways-gallery-feature-attribution a.no-click {
    cursor: default !important;
}
.soundways-gallery-feature-attribution a:visited {
    color: #FFFFFF;
    text-decoration: none;
}
.soundways-gallery-shadowbox-cycle {
    display: none;
    position: fixed;
    bottom: 120px;
    width: 100px;
    height: 100px;
    z-index: 9000;
    border: 0px;
    background: rgba(0, 0, 0, 0);
    color: #FFFFFF;
    font-size: 4em;
    cursor: pointer;
    filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.5));
}
.soundways-gallery-shadowbox-cycle:focus {
    outline-style: none;
    box-shadow: none;
    border-color: transparent;
}
.soundways-gallery-shadowbox-prev {
    left: 0;
}
.soundways-gallery-shadowbox-next {
    right: 0;
}
.soundways-gallery-buttons {
    list-style-type: none;
    overflow-x: auto;
    white-space: nowrap;
    margin: 0;
    display: flex;
    flex-direction: row;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding-left: 0;
    padding-bottom: 20px;
}
.soundways-gallery-buttons li:first-child {
    margin-left: auto;
}
.soundways-gallery-buttons li:last-child {
    margin-right: auto;
}
.soundways-gallery-buttons img {
    height: 100px;
    width: auto;
    max-width: none;
    margin: 0 0.25rem;
    border: solid 1px rgba(255, 255, 255, 0);
    cursor: pointer;
}
.soundways-gallery-active {
    border: solid 1px rgba(255, 255, 255, 1) !important;
    box-shadow: 0 0 5px #FFFFFF;
}
.soundways-gallery-prev, .soundways-gallery-next {
    opacity: 0;
    position: absolute;
    top: 0;
    bottom: 0;
    width: 20%;
    background: #333333;
    color: #FFFFFF;
    border: 0px;
    font-weight: bold;
}
.soundways-gallery-prev img, .soundways-gallery-next img {
    top: 45% !important;
    max-width: 50%;
}
.soundways-gallery-prev:focus, .soundways-gallery-next:focus {
    outline: none;
}
.soundways-gallery-prev {
    left: 0;
}
.soundways-gallery-prev img {
    left: 0;
    padding-left: 25%;
}
.soundways-gallery-next {
    right: 0;
}
.soundways-gallery-next img {
    right: 0;
    padding-right: 25%;
}
.soundways-gallery:hover .soundways-gallery-prev {
    opacity: 0.3;
}
.soundways-gallery:hover .soundways-gallery-next {
    opacity: 0.3;
}
.soundways-gallery-prev:hover, .soundways-gallery-next:hover {
    opacity: 0.7 !important;
}
@media screen and (min-width: 768px) and (orientation: landscape) {
    .soundways-gallery-prev, .soundways-gallery-next {
        display: none;
    }
    .soundways-gallery:hover .soundways-gallery-menu {
        display: flex;
    }
    .soundways-gallery-close {
        padding: 2rem;
        left: auto;
        text-align: right;
    }
    .soundways-gallery-shadowbox-feature {
        top: 0;
        bottom: 170px;
    }
    .soundways-gallery-shadowbox-feature img {
        max-height: 85%;
        cursor: zoom-in;
    }
    .soundways-gallery-shadowbox-cycle {
        top: 40%;
        bottom: auto;
        display: block;
    }
    .soundways-gallery-shadowbox-prev {
        left: 30px;
    }
    .soundways-gallery-shadowbox-next {
        right: 30px;
    }
    .soundways-gallery-buttons {
        display: flex;
        flex-direction: row;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
    }
    .soundways-gallery-buttons img {
        height: 125px;
        margin: 0 0.5rem;
    }
}
.soundways-gallery-shadowbox-feature.zoom-mode {
    position: relative;
    overflow: hidden;
    bottom: 0;
    padding-top: 0;
    z-index: 100;
}
.soundways-gallery-shadowbox-feature img.zoom-mode {
    position: absolute;
    max-height: none;
    max-width: none;
    cursor: zoom-out;
}
.soundways-gallery-shadowbox-feature img.no-zoom {
    cursor: default !important;
}
@media screen and (min-width: 768px) and (orientation: landscape) {
    .soundways-gallery-shadowbox-feature.zoom-mode {
        margin: 10px;
    }
}