html {
    width: 100%;
    height: 100%;
    min-height: 100%;
}
body {
    width: 100%;
    height: 100%;
	min-height: 100%;
    margin: 0;
    padding: 0;
	background: black;
}
.gallery {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    display: block;
    max-width: 1920px;
    min-width: 320px;
    overflow-x: hidden;
    position: relative;
}
.tile {
	float:left;	
	margin:0;
	padding: 0;
	position:relative;
	opacity: 0;
	transform: scale(1) translate(0, 0) rotate(0deg);
	transition: top .2s, left .5s;
    overflow: hidden;
}
.tile-inner {
	overflow: hidden;
	display: block;
    border: 0;
}
.tile.ftg-loaded {
	transform: scale(1) translate(0, 0) rotate(0deg) !important;
	opacity: 1;
}
.tile img {
	-moz-transition: -moz-transform .2s,  opacity .2s linear;
	-o-transition: -o-transform .2s, opacity .2s linear;
	-webkit-transition: -webkit-transform .2s,  opacity .2s linear;
	transition: transform .3s linear, opacity .2s linear;
	transform: scale(1);
	display:block;
	position:relative;
	width: 100%;
	opacity: 0;
}
.tile.ftg-enlarged img {
	display:block;
	margin:auto;
}
.tile.ftg-loaded img {
	opacity: 1;
}
.tile a:hover img {
	transform: scale(1.2)
}
.ftg-items .loading-bar {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    margin-left: -50px;
    margin-top: -50px;
	z-index: 10;
    background: none;
}
.ftg-items .loading-bar.visible {display: block !important;}
.ftg-items .loading-bar.hidden {display: none !important;}
.ftg-items .loading-bar i {
	display: block;
	padding: 0;
	margin: 0;
	background: #000;
	height: 100px;
	width: 100px;
	background: url(../images/loader.gif) 50% no-repeat;
	background-size: contain;
	opacity: 0;
	transition: all .3s;
}
.ftg-items .loading-bar.visible i {
	opacity: 1;
}
.notice {
    position: absolute;
    position: fixed;
    top: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    color: white;
    line-height: 1.2;
    max-width: 300px;
}
@media (max-width: 430px) {
	.ftg-items .loading-bar {
		width: 60px;
		height: 60px;
		margin-left: -30px;
		margin-top: -30px;
	}
	.ftg-items .loading-bar i {
		height: 60px;
		width: 60px;
	}
}