#fancybox-thumbs {
	position: fixed;
	left: 0;
	width: 100%;
	overflow: hidden;
	z-index: 8050;
}

#fancybox-thumbs.bottom {
	bottom: 2px;
}

#fancybox-thumbs.top {
	top: 2px;
}

#fancybox-thumbs ul {
	position: relative;
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
}

#fancybox-thumbs ul li {
	display: inline-block;
	padding: 1px;
	opacity: 0.25;
	float: none;
}

#fancybox-thumbs ul li.active {
	opacity: 0.75;
	padding: 0;
	border: 1px solid #fff;
}

#fancybox-thumbs ul li:hover {
	opacity: 1;
}

#fancybox-thumbs ul li a {
	display: block;
	position: relative;
	overflow: hidden;
	border: 1px solid #222;
	background: #111;
	outline: none;
}

#fancybox-thumbs ul li img {
	display: block;
	position: relative;
	border: 0;
	padding: 0;
	max-width: none;
}


/*extra styles*/

.fancybox-close {
  right: 0px;
  top: 47px;
}

.fancybox-inner {
  position: relative;
}

.fancybox-wrap:not(.fancybox-type-iframe) .fancybox-inner {
  position: relative;
  width: 100% !important;
  height: auto !important;
}

.fancybox-overlay * {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

#fancybox-thumbs .prev {
  background-size: 11px 75px;
  height: 52px;
  width: 15px;
  display: none;
  float: left;
  position: absolute;
  left: -50px;
  cursor: pointer;
  z-index: 2;
  top: 39px;
}

#fancybox-thumbs .next {
  background-size: 11px 75px;
  height: 52px;
  width: 15px;
  display: none;
  float: right;
  position: absolute;
  right: -50px;
  cursor: pointer;
  top: 39px;
}

.fancybox-inner .dl_links {
  padding-top: 10px;
  margin-left: auto;
  margin-right: auto;
  float: none;
  width: 95%;
  color: #010000;
  padding-bottom: 8px;
}

.fancybox-inner .dl_links .fancy_title {
  text-align: center;
  font-size: 1em;
  width: 100%;
  float: left;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-style: italic;
  margin-bottom: 7px;
  line-height: 19px;
}

#fancybox-thumbs {
  position: relative;
  bottom: 0;
  display: table;
  width: auto;
  max-width: 100%;
  overflow: visible;
  display: block;
  padding-right: 20px;
  float: left;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

#fancybox-thumbs .ul_wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin: 0 auto;
}

#fancybox-thumbs .ul_wrap > div {
  float: left;
  margin-left: 0px;
  min-width: 100%;
  text-align: center;
}

#fancybox-thumbs.bottom {
  bottom: 0;
  width: auto;
  padding-right: 0px;
  width: 100%;
  float: none;
  margin-left: auto;
  margin-right: auto;
  margin-top: 15px;
}

#fancybox-thumbs ul {
  float: none;
  left: 0;
  display: inline-block;
}

.fancybox-skin {
  background: #000;
  border-radius: 0;
}

.fancybox-skin.titlecaption .fancybox-inner .dl_links .fancy_texts,
.fancybox-skin.titleonly .fancybox-inner .dl_links .fancy_texts {
	width: 100%;
}

.fancybox-skin.titlecaption .fancybox-inner .dl_links .fancy_title,
.fancybox-skin.titleonly .fancybox-inner .dl_links .fancy_title {
	text-align: center;
}

.fancybox-skin.titleonly.has_thumbs {
	/* padding-bottom: 151px !important; */
}

.fancybox-wrap.notitle.wide,
.fancybox-wrap.notitle {
	min-width: 0 !important;
}

.fancybox-wrap.notitle .fancybox-skin.titleonly,
.fancybox-wrap.notitle .fancybox-skin {
  /* padding-bottom: 0 !important; */
}

.fancybox-type-iframe .fancybox-nav {
  height: 80%;
}

#fancybox-thumbs ul li.active,
#fancybox-thumbs ul li {
  padding: 0 0px 0 0;
  border: none;
  margin: 0;
}

#fancybox-thumbs ul li.active {
  opacity: 1;
}

#fancybox-thumbs ul li a {
  border: none;
}

.fancybox-image {
	height: auto !important;
	width: auto !important;
	max-width: 100% !important;
	margin: 0 auto !important;
}

.fancybox-wrap.fancybox-type-iframe .dl_links {
	display: none;
}

.fancybox-wrap {
	min-width: 710px;
}

.fancybox-wrap .eda_share_buttons ul {
	z-index: 9000;
	margin-top: 48px !important;
	position: absolute !important;
	left: -13px;
}

@media only screen and (max-width: 1023px) {
	.fancybox-inner .prev {
		left: 2%;
	}
	.fancybox-inner .next {
		right: 2%;
	}
}

@media only screen and (max-width: 767px) {
	.fancybox-inner .prev {
		left: 0%;
	}
	.fancybox-inner .next {
		right: 0%;
	}
	.fancybox-wrap {
		min-width: 90%;
	}
	.fancybox-inner .dl_links {
		padding-bottom: 0;
	}
	.fancybox-inner .dl_links .links_inner {
		display: none;
	}
	/*.fancybox-skin {
		padding: 5px !important;
	}*/
	.fancybox-type-iframe .fancybox-skin {
		background-color: #fff;
	}
	.fancybox-type-iframe .fancybox-inner {
		overflow: scroll;
		-webkit-overflow-scrolling: touch;
	}
	.fancybox-wrap .eda_share_buttons ul {
		left: 0;
		bottom: -30px;
	}
	#fancybox-thumbs ul li a {
		width: 100px !important;
		height: 100px !important;
	}
}
