.ace-gallery-frame{
    width: 580px;
    height: 390px;
    border: solid 1px #d0d0d0;
    padding: 10px;
    text-align: center;
    overflow: hidden;
    position: relative;
}
.ace-gallery-frame-small{
    width: 602px;
}
.ace-gallery-frame-wide{
    width: 602px !important;
    overflow: hidden;
}
.ace-gallery-frame .image-container{
    height: 320px;
    width: 100%;
    overflow: hidden;
    position: relative;
}
.ace-gallery-frame .images-holder{
    height: 320px;
    width: 100%;
    text-align: left;
    vertical-align: top;
    position: absolute;
    left: -5px;
    /*left: -600px;*/
}
.ace-button{
    width: 75px;
    position: absolute;
    bottom: 0;
    top: 0;
    cursor: pointer;
    z-index: 1000;
}
.ace-button i{
    transition-duration: .5s;
    margin-top: 140px;
    color: #fff;
    text-shadow: 0 0 1px rgba(0,0,0,.3);
    padding-left: 10px;
    padding-right: 12px;
}
.ace-button:hover i{
    transition-duration: .5s;
    margin-top: 140px;
    color: #fff;
    text-shadow: 0 0 2px rgba(0,0,0,.7);
}
.ace-button.left{
    left: 0;
    text-align: left;
}
.ace-button.right{
    right: 0;
    text-align: right;
}
#counter{
    position: absolute;
    top: 0;
    right: 40px;
    width: 50px;
    height: 20px;
    z-index: 996;
    color: #fff;
    text-shadow: 0 0 2px rgba(0,0,0,.5);
}
.images-holder div{
    vertical-align: top;
    width: 100%;
    display: inline-block;
    height: 320px;
    overflow: hidden;
    /*margin-right: 5px;
    margin-left: 5px;*/
    position: relative;
}
.images-holder .gallery-blur-bg{
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    -webkit-filter: blur(5px);
    -moz-filter: blur(5px);
    -o-filter: blur(5px);
    -ms-filter: blur(5px);
    filter: blur(15px);
    left: 0;
    top:0;
    z-index: 994;
}
.images-holder .gallery-img{
    background: rgba(0,0,0,.4);
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    left: 0;
    top:0;
    z-index: 995;
}
.gallery-open{
    max-width: 100%;
    max-height: 100%;
    overflow: hidden;
    padding: 0;
    margin: 0;
}
.full-gallery-bg{
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9996;
    background: rgba(0,0,0,.92);
}
.full-gallery-interface{
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border: solid 10px #000;
    z-index: 9997;
}
.full-gallery-image-container{
    margin: 1% 5%;
    height: 98%;
    width: 90%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.mclose{
    color: #fff;
    position: fixed;
    z-index: 9999;
    right: 0;
    top: 0;
    padding: 20px 30px;
    cursor: pointer;
}
.mclose i{
    color: #fff;
    font-size: 20px;
}
.mclose:hover i{
    color: #f00;
}
.mleft, .mright{
    width: 200px;
    /*border: solid 1px #f00;*/
    top: 12%;
    bottom: 0;
    position: fixed;
    z-index: 9998;
    color: #fff;
    cursor: pointer;
    vertical-align: middle;
    padding-top: calc(25% - 20px);
    /*border: solid 1px #f00;*/
}
.mleft i, .mright i{
    vertical-align: middle;
}
.mleft i{
    margin-left: 25px;
}
.mright i{
    margin-right: 25px;
}
.mleft{
    left: 0;
    text-align: left;
}
.mright {
    right: 0;
    text-align: right;
}
#counter-big{
    position: fixed;
    top: 20px;
    right: 60px;
    font-size: 16px;
    color: #fff;
    z-index: 9999;
}
.tumbnails-place{
    position: absolute;
    bottom: 7px;
    left: 7px;
    right: 17px;
    height: 50px;
    overflow: hidden;
    z-index: 6;
}
.tumbnails-place img{
    height: 50px;
    width: auto;
    opacity: .7;
    transition-duration: .5s;
    cursor: pointer;
    margin-top: 5px;
    margin-left: 5px;
}
.tumbnails-place img:hover{
    opacity: 1;
    transition-duration: .5s;
}
.small-left, .small-right{
    position: absolute;
    background-color: rgba(0,0,0,.9);
    bottom:7px;
    height: 50px;
    width: 25px;
    z-index: 9;
    color: #fff;
    text-align: center;
    line-height: 50px;
    cursor: pointer;
}
.small-left{
    left: 7px;
}
.small-right{
    right: 17px;
}
.tumbnails-images.active{
    opacity: 1;
    transition-duration: .5s;
}
.tumbnails-images{

}