.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;
}
.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: 0;
}

.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: 80px;
	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-slide--iframe .fancybox-content {
    width  : 100%;
    height : 100%;
}
.fancybox-slide--iframe {
	max-width  : 1000px;
	max-height: 95%;
	background-color: transparent;
    border: solid 1px #000000;
    border-radius: 5px;
    margin: 10px auto 10px auto;

}*/

/*.fancybox-thumbs {
   top: auto;
  width: auto;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  box-sizing: border-box;
 background: rgba(0, 0, 0, 0.3);
}

.fancybox-show-thumbs .fancybox-inner {
  right: 0;
  bottom: 95px;
  word-wrap: nowrap;
}*/
.fancybox-thumbs__list {
	position: absolute;
    left: 50%;
    transform: translateX(-50%);
}