.fancybox-bg {
	background:#fff;
}
.fancybox-is-open .fancybox-bg {
	opacity:1;
}
.fancybox-caption::before {
	background-image:none;
}

body .fancybox-loading {
	opacity:1;	
	width:80px;
	height:80px;
	border:7px solid #F7F6F4;
	border-bottom-color:#A8CF45;	
	left:calc(50% - ((80px + 7px) / 2)); /* širina + border, na pola */
	top:calc(50% - ((80px + 7px) / 2)); /* visina + border, na pola */		
	margin-left:0; /* reset */
	margin-top:0;
}

.fancybox-button, .fancybox-button div,
.fancybox-thumbs, .fancybox-thumbs__list, .fancybox-thumbs__list a, .fancybox-thumbs__list a::before  {
	-webkit-transition:all 0.3s ease-in-out;
	transition:all 0.3s ease-in-out;	
}

.fancybox-thumbs {
	background:#E6E6E6;
}

.fancybox-thumbs__list a::before {
/* 	border-color:#fff; */
	border-color:transparent;
}
.fancybox-thumbs__list a.fancybox-thumbs-active::before {
	background:#ff9900;
	opacity:0.5;
/* 	border:5px solid #ff9900; */
}
.fancybox-progress {
	background:#cccccc;
}

.fancybox-caption {
	color:#000;
	font-size:14px;
	font-size:1.4rem;
	background-color:rgba(255,255,255,0.7);	
}
.fancybox-caption em {
	display:block;
	font-style:normal;
	font-size:12px;
	font-size:1.2rem;
	color:#888;
	margin-top:3px;
}
@media (max-width:950px) {	
	.fancybox-caption {
		font-size:13px;
		font-size:1.3rem;
	}
	.fancybox-caption em {
		font-size:12px;
		font-size:1.2rem;
	}		
}

.fancybox-button {
/* 	color:#fff; */
}
.fancybox-infobar, .fancybox-button, .fancybox-button:visited, .fancybox-button:link {
	color:#000;
}
.fancybox-button[disabled], .fancybox-button[disabled]:hover {
	color:#999;
	color:#eee;
}

.fancybox-button {
	background-color:transparent;
}
.fancybox-button:hover, .fancybox-button:focus, .fancybox-button:active {
	background-color:#A8CF45;
	color:#fff;	
}