a[data-fancybox] {
    line-height: 0;
    display: block;
}
.fancybox-button {
    background: rgba(0, 0, 0, 0.5);
}
.fancybox-button,
.fancybox-button:visited,
.fancybox-button:link {
    color: #fff;
}
.fancybox-button:hover{
    color: red;
}
.fancybox-infobar {
    font-size: inherit;
    background: rgba(0, 0, 0, 0.5);
    mix-blend-mode: normal;
}
.fancybox-infobar > span:first-child {
    color: #eee;
}
.fancybox-thumbs {
    top: auto;
    width: auto;
    bottom: 0;
    left: 0;
    right : 0;
    height: 100px;
    padding: 10px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.7);
}
.fancybox-show-thumbs .fancybox-inner {
    width: 100%;
    height: 100%;
    right: 0;
    bottom: 100px;
}
.fancybox-slide--image {
    padding: 44px 0 !Important;
}
.fancybox-caption {
    background: none;
    top: 44px;
    bottom: auto;
    font-size: inherit;
    line-height: inherit;
    padding-top: 0;
}
.fancybox-caption--separate {
    margin-top: 0;
}
.fancybox-caption__body {
    max-height: calc(50vh - 44px);
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
}
.fancybox-thumbs__list {
    margin: 0 auto;
}
.fancybox-thumbs__list a {
    width: 60px;
    height: 60px;
    margin: 0 0 0 10px;
    max-height: none;
}
.fancybox-thumbs__list a::before {
    border: 2px solid #fff;
}
.fancybox-thumbs__list a:hover::before {
    border: 2px solid red;
    opacity: inherit;
}
.fancybox-thumbs__list a::after {
    position: absolute;
    opacity: 1;
    bottom: 0;
    content: '';
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 99991;
}
.fancybox-thumbs__list a:hover::after {
    opacity: 0;
}
.fancybox-thumbs__list a.fancybox-thumbs-active::after {
    opacity: 0;
}
.fancybox-progress {
    background: #fff;
}