.fancybox-bg {
	background-color: #ffffff;
}
.fancybox-is-open .fancybox-bg {opacity: 1;}
.fancybox-thumbs.fancybox-thumbs {
	background: rgba(255,255,255,0.2);
	left: 0;
	right: 0;
	bottom: 0;
	top: auto;
	padding: 0px 5px;
	width: 100%;
	box-sizing: border-box;
	height: 100px;
	overflow-x: auto;
    overflow-y: hidden;
    border: solid rgba(0,0,0,0.1);
    border-width: 0px 0px 0px 0px;    
}
.fancybox-thumbs__list a {
	background-size: cover;
	background-position: top center;
	height: 80px;
	width: 80px;
	border: solid 1px rgba(255,255,255,0.3);
	margin: 10px 5px;
	opacity: 1;
}
.fancybox-thumbs__list a:before {
	border: none;
}
.fancybox-thumbs__list a.fancybox-thumbs-active {
	opacity: 1;
	border: solid 2px red;
}
.fancybox-show-thumbs .fancybox-inner {
  right: 0;
  bottom: 100px;
}

.fancybox-button, 
.fancybox-button:link, 
.fancybox-button:visited {
	color: #000000;
	background-color: rgba(255,255,255,0.5);
}
.fancybox-button:hover {
	color: #000000;
}

.fancybox-caption {
	background: none;
	color: #000;
	font-weight: bold;
	bottom: 0px;
	text-shadow: -1px -1px 0px rgba(255, 255, 255, 1), 1px 1px 0px rgba(255, 255, 255, 1), 1px -1px 0px rgba(255, 255, 255, 1), -1px 1px 0px rgba(255, 255, 255, 1), 0px 0px 5px rgba(255, 255, 255, 0.5);
}
.fancybox-container {
	z-index: 20000001;
}
.fancybox-thumbs__list {
	position: absolute;
    left: 50%;
    transform: translateX(-50%);
}