.viewer-backdrop {
    background-color: rgba(0,0,0,.7);
}
.viewer-toolbar>ul>li:focus, .viewer-toolbar>ul>li {
    background-color: rgba(255,255,255,.9);
}
.viewer-toolbar>ul>li:focus, .viewer-toolbar>ul>li:hover{
    background-color: rgba(255,255,255,.9);
}
.viewer-footer{
    width: 100%;
    max-width: 270px;
    left: 50%;
    bottom: 45%;
    -webkit-transform: translate(-50%, -60%);
    transform: translate(-50%, -60%);
    overflow: visible   ;
}
.viewer-zoom-in,.viewer-zoom-out,.viewer-one-to-one,.viewer-reset,.viewer-play,.viewer-large,.viewer-flip-horizontal,.viewer-flip-vertical{
    display: none;
}
.viewer-canvas > img{
    max-width: 80px;
}
.viewer-toolbar,.viewer-toolbar>ul{
    /* width: 200%; */
    width: 100%;
    overflow: visible;
}
.viewer-toolbar ul{
    display: flex;
    justify-content: space-between;
}
.viewer-toolbar>ul>li{
    width: 38px;
    height: 38px;
    border: 1px solid #000;
}
.viewer-prev::before,.viewer-next::before{
    /* width: 100px; */
    background-image: none;
    font-family: 'FontAwesome';
    color: #000;
    display: block;
    /* margin-top: 30px; */
    font-size: 22px;
    position: absolute;
    left: 50%;
    bottom: 45%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    height: 0;
}
.viewer-prev,.viewer-next{
    /* font-size: 22px; */
    position: relative;
}
.viewer-prev{
    left: -50px;
}
.viewer-next{
    right: -45px;
}
.viewer-prev::before{
    content: '\f104';
    padding-right: 8px;
}
.viewer-next::before{
    content: '\f105';
}

.viewer-close{
    background-color: rgba(0,0,0,.9);
    width: 30px;
    height: 30px;
    left: calc(50% + 140px);
    top: calc(50% - 170px);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    border: 2px solid #fff;
}
.viewer-close::before{
    bottom: 5px;
    left: 5px;
}

@media (max-width: 349px){
	.viewer-footer{
        width: 100%;
        left: 50%;
        bottom: 10%;
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        overflow: visible   ;
    }
    .viewer-prev{
        left: -5px;
    }
    .viewer-next{
        right: 0px;
    }
    .viewer-close{
        background-color: rgba(0,0,0,.9);
        width: 30px;
        height: 30px;
        right: -5px;
        left: initial;
        bottom: 70%;
    }
}
