.panWrapper {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    left: 0;
    top: 0;
    display: none;
    cursor: move;
}

.panWrapper * {
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.panWrapper a.controls {
    background-size: 100%;
    width: 32px;
    height: 32px;
    display: block;
    position: absolute;
    left: 50%;
    z-index: 2;
    bottom: 30px;
    cursor: pointer;
}
.panWrapper a.go.next:before {
    content: "\f054";
    font-family: Font Awesome\ 5 Pro;
    color:#fff;
    font-size: 35px;
    width:60px;
    height:60px;
    background: rgba(0,0,0,0.5);
    border-radius:50%;
    display:flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    right:30px;
    cursor: pointer;
}

.panWrapper a.go.prev:before {
    content: "\f053";
    font-family: Font Awesome\ 5 Pro;
    color:#fff;
    font-size: 35px;
    width:60px;
    height:60px;
    background: rgba(0,0,0,0.5);
    border-radius:50%;
    display:flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    left:30px;
    cursor: pointer;
}


.panWrapper a.controls.in:before {
    content: "\f067";
    font-family: Font Awesome\ 5 Pro;
    color:#fff;
    font-size: 35px;
    width:60px;
    height:60px;
    background: rgba(0,0,0,0.5);
    border-radius:50%;
    display:flex;
    align-items: center;
    justify-content: center;
    margin-left: -50px;
}

.panWrapper a.controls.out:before {
    content: "\f068";
    font-family: Font Awesome\ 5 Pro;
    color:#fff;
    font-size: 35px;
    width:60px;
    height:60px;
    background: rgba(0,0,0,0.5);
    border-radius:50%;
    display:flex;
    align-items: center;
    justify-content: center;
    margin-left: 40px;
}

.panWrapper a.controls.close {
    width:60px;
    height:60px;
    background: rgba(0,0,0,0.5);
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity:1;
    left: auto;
    right: 30px;
    top: 30px;
}
.panWrapper a.controls.close:hover {
    opacity:1;
}
.panWrapper .loading {
    z-index: 3;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -50px 0 0 -50px;
    width: 100px;
    height: 100px;
    background-image: url(img/loading.gif);
    background-repeat: no-repeat;
    background-size: 100%;
    display: block;
}

.panWrapper img {
    max-width: unset !important;
}