.gallery {
	width: 100%;
	list-style: none;
	padding: 0;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
}

.gallery li {
	display: block;
	float: left;
	padding: 7px;
	width: 32%;
	opacity: 0;
}
.gallery li a{
	transition: all 0.4s 0s ease;
}
.gallery li a:hover{
	opacity: 0.6;
}

.gallery li img{
	height: auto;
	width: 93%;
	margin-bottom: 30px;
}


@media screen and (max-width: 1099px) {
	.gallery {
		width: 100%;
	}

	.gallery li {
		width: calc(50% - 14px);
	}
	.gallery li img{
		height: auto;
		width: 100%;
		margin-bottom: 20px;
	}

}


@media screen and (max-width: 760px) {
	.gallery {
		width: 98%;
	}
	.gallery li {
		width: calc(50% - 14px);
	}
	.gallery li img{
		height: auto;
		width: 100%;
		margin-bottom: 5px;
	}
}

@media screen and (max-width: 400px) {
	.gallery {
		width: 98%;
	}
	.gallery li {
		width: calc(50% - 14px);
	}
	.gallery li img{
		height: auto;
		width: 100%;
		margin-bottom: 5px;
	}
}
.gallery li.shown,
.no-js .gallery li,
.no-cssanimations .gallery li {
	opacity: 1;
}

.gallery li a,{
	outline: none;
	border: none;
	display: block;
	max-width: 100%;
}

/* Effect 1: opacity */
.gallery.effect li.animate {
	-webkit-animation: fadeIn 2.0s ease forwards;
	animation: fadeIn 2.0s ease forwards;
}

@-webkit-keyframes fadeIn {
	0% { }
	100% { opacity: 1; }
}

@keyframes fadeIn {
	0% { }
	100% { opacity: 1; }
}


@-webkit-keyframes moveUp {
	0% { }
	100% { -webkit-transform: translateY(0); opacity: 1; }
}

@keyframes moveUp {
	0% { }
	100% { -webkit-transform: translateY(0); transform: translateY(0); opacity: 1; }
}


@-webkit-keyframes scaleUp {
	0% { }
	100% { -webkit-transform: scale(1); opacity: 1; }
}

@keyframes scaleUp {
	0% { }
	100% { -webkit-transform: scale(1); transform: scale(1); opacity: 1; }
}

@-webkit-keyframes fallPerspective {
	0% { }
	100% { -webkit-transform: translateZ(0px) translateY(0px) rotateX(0deg); opacity: 1; }
}

@keyframes fallPerspective {
	0% { }
	100% { -webkit-transform: translateZ(0px) translateY(0px) rotateX(0deg); transform: translateZ(0px) translateY(0px) rotateX(0deg); opacity: 1; }
}


@-webkit-keyframes fly {
	0% { }
	100% { -webkit-transform: rotateX(0deg); opacity: 1; }
}

@keyframes fly {
	0% { }
	100% { -webkit-transform: rotateX(0deg); transform: rotateX(0deg); opacity: 1; }
}


@-webkit-keyframes flip {
	0% { }
	100% { -webkit-transform: rotateX(0deg); opacity: 1; }
}

@keyframes flip {
	0% { }
	100% { -webkit-transform: rotateX(0deg); transform: rotateX(0deg); opacity: 1; }
}


@-webkit-keyframes helix {
	0% { }
	100% { -webkit-transform: rotateY(0deg); opacity: 1; }
}

@keyframes helix {
	0% { }
	100% { -webkit-transform: rotateY(0deg); transform: rotateY(0deg); opacity: 1; }
}

@-webkit-keyframes popUp {
	0% { }
	70% { -webkit-transform: scale(1.1); opacity: .8; -webkit-animation-timing-function: ease-out; }
	100% { -webkit-transform: scale(1); opacity: 1; }
}

@keyframes popUp {
	0% { }
	70% { -webkit-transform: scale(1.1); transform: scale(1.1); opacity: .8; -webkit-animation-timing-function: ease-out; animation-timing-function: ease-out; }
	100% { -webkit-transform: scale(1); transform: scale(1); opacity: 1; }
}
