#blueimp-gallery > .pt-gallery-control {
    width: 40px;
    height: 40px;
    color: #fff;
    background-color: rgba(20, 20, 20, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    box-sizing: border-box;
    opacity: 0.82;
    transition: background-color 150ms ease, border-color 150ms ease, opacity 150ms ease;
}

#blueimp-gallery > .pt-gallery-navigation {
    margin-top: -20px;
    font-size: 16px;
}

#blueimp-gallery > .pt-gallery-corner-control {
    right: 16px;
    margin: 0;
    padding: 0;
    background-image: none;
    font-size: 18px;
}

#blueimp-gallery > .close {
    top: 16px;
}

#blueimp-gallery > .prev {
    left: 16px;
}

#blueimp-gallery > .next {
    right: 16px;
}

#blueimp-gallery > .play-pause {
    bottom: 16px;
}

#blueimp-gallery > .pt-gallery-control:hover {
    color: #fff;
    border-color: #fff;
    opacity: 1;
}

#blueimp-gallery > .pt-gallery-control:active,
#blueimp-gallery > .pt-gallery-control:focus-visible {
    background-color: rgba(53, 100, 127, 0.9);
    outline: none;
}

#blueimp-gallery > .pt-gallery-control:focus-visible {
    box-shadow: 0 0 0 3px rgba(53, 100, 127, 0.45);
}

.pt-gallery-control > .fa {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

#blueimp-gallery > .play-pause > .fa-play {
    margin-left: 1px;
}

#blueimp-gallery > .play-pause > .fa-pause,
#blueimp-gallery.blueimp-gallery-playing > .play-pause > .fa-play {
    display: none;
}

#blueimp-gallery.blueimp-gallery-playing > .play-pause > .fa-pause {
    display: inline-block;
}

#blueimp-gallery > .prev > .fa { margin-left: -1px; }
#blueimp-gallery > .next > .fa { margin-left: 1px; }