/*Fancybox 3 CSS for thumbs*/
.fancybox-show-thumbs .fancybox-thumbs {
    display: block;
}
.fancybox-thumbs {
    top: auto;
    width: auto;
    bottom: 0;
    left: 0;
    right : 0;
    height: 95px;
    padding: 10px;
    box-sizing: border-box;
    background: transparent;
    position: absolute;
}

.fancybox-show-thumbs .fancybox-inner {
    right: 0;
    bottom: 95px;
}
.fancybox-thumbs>ul {
    text-align: center;
    padding: 0;
}
.fancybox-thumbs>ul>li {
    float: none;
    display: inline-block;
    overflow: hidden;
    max-width: 50%;
    padding: 0;
    margin: 0;
    width: 70px;
    height: 70px;
    position: relative;
    cursor: pointer;
    outline: none;
    border: 5px solid transparent;
    border-top-width: 0;
    border-right-width: 0;
    -webkit-tap-highlight-color: transparent;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    box-sizing: border-box;
}
.fancybox-thumbs>ul>li:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: 2px;
    border: 4px solid #4ea7f9;
    z-index: 99991;
    opacity: 0;
    transition: all .2s cubic-bezier(.25,.46,.45,.94);
}
.fancybox-thumbs>ul>li.fancybox-thumbs-active:before {
    opacity: 1;
}
.fancybox-thumbs>ul>li>img {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    max-width: 100%;
    max-height: 100%;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.fancybox-caption-wrap{
    text-align: center;
    background: transparent;
}
.fancybox-caption {
    border: 0;
}
.fancybox-caption-wrap{
    opacity: 1;
    visibility: visible;
    transition: opacity .25s,visibility 0s;
}
.fancybox-is-open .fancybox-bg {
    opacity: .94;
}
/*Fancybox 3 Custom Modal Buttons for Font Awesome*/
/*
.fancybox-arrow{
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: #000;
    color: #fff;
    width:45px;
    height:45px;
    margin-top:-22px;
    border-radius: 50px;
    border:2px solid #a3b541;
    font-size: 20px;
}
.fancybox-show-nav .fancybox-arrow{
    opacity: 1;
}
.fancybox-arrow--left{
    left:15px;
}
.fancybox-arrow--right{
    right:15px;
}
.fancybox-arrow:after{
    background: none;
    left: 14px;
    top:11px;
    content:"\f054";
    width: 14px;
    height: 20px;
}
.fancybox-arrow--right:after{
    left:auto;
    right:11px;
}
.fancybox-toolbar {
    top: 10px;
    right: 15px;
}
.fancybox-button--close:before,
.fancybox-button--close:after{
    -webkit-transform: none;
    transform: none;
    height:auto;
    width:auto;
    background: transparent;
}
.fancybox-button--close{
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: transparent;
    color: #fff;
    width:34px;
    height:37px;
    margin-top:-17px;
    font-size: 30px;
}
.fancybox-button--close:before{
    content: "\f00d";
}
.fancybox-button--close:hover:not([disabled]){ background: transparent;}
.fancybox-show-toolbar .fancybox-button--close:before{
    opacity:1;
}*/
/*Fancybox 3 Buttons - Image Version*/
.fancybox-arrow:after{
    background-image:url('https://lib.store.yahoo.net/lib/yhst-60816651543391/image-viewer-right.png');
    background-size: 46px 46px;
    width: 46px;
    height: 46px;
}
.fancybox-button--close,
.fancybox-button:hover:not([disabled]){
    background: transparent url('https://lib.store.yahoo.net/lib/yhst-60816651543391/image-viewer-close.png') no-repeat center center;
}
.fancybox-button--close:before,
.fancybox-button--close:after{
    display: none;
}
.fancybox-show-nav .fancybox-arrow {
    opacity: 1;
}
.fancybox-toolbar {
    top: 10px;
    right: 15px;
}