.wizzgallerywrap{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.wizzgalleryitemwrap{
	padding: 10px;
	box-sizing: border-box;
	width: 320px;
}

.wizzgalleryitem{
	border: 1px solid rgba(222,222,222);
	display: block;
	width: 300px;
	box-sizing: border-box;
	display: block;
	padding: 10px;
	cursor: pointer;
}

.wizzgalleryitem .image{
	height: 280px;
	width: 100%;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: auto 100%;
}

.wizzgalleryitem .title{
	text-align: center;
}

.wizzgalleryhoverwrap{
	display: none;
	position: fixed;
	z-index: 1000000000;
	background-color: rgba(0,0,0,0.7);
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	box-sizing: border-box;
}

.wizzgalleryhoverwrap .innerwrap{
	background-color: rgba(255,255,255,1);
	width: 100%;
	height: 100%;
	max-width: 1000px;
	max-height: 800px;
	overflow: auto;
	margin: auto;
	position: relative;
}

.wizzgalleryhoverwrap .icon i{
	position: absolute;
	font-size: 20px;
	line-height: 30px;
	text-align: center;	
	color: rgb(0,0,0);
	display: block;
	height: 30px;
	width: 30px;
	cursor: pointer;
	z-index: 1000;
	background-color: rgb(255,255,255);
	border-radius: 100px;
}

.wizzgalleryhoverwrap .cross i{
	top: 6px;
	right: 6px;
}

.wizzgalleryhoverwrap .prev i{
	top: 50%;
	left: 20px;
}
.wizzgalleryhoverwrap .next i{
	top: 50%;
	right: 20px;
}

.wizzgallerysinglewrap .title{
	text-align: center;
	width: 100%;
	position: relative;
}

.wizzgallerysinglewrap .mainimg{
	width: 100%;
	position: relative;
	height: 500px;
	max-height: 80%;
	max-width: 800px;
	margin: 0 auto;
	background-repeat: no-repeat;
	background-size: auto auto;
	background-position: center center;
}


.wizzgallerysinglewrap .fotos{
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.wizzgallerysinglewrap .fotos .fotowrap{
	max-width: 100px;
	max-height: 100px;
	margin: 10px;
	position: relative;
	cursor: pointer;
}

.wizzgallerysinglewrap .dlbutton a{
	display: block;
	height: 30px;
	width: 30px;
	position: absolute;
	background-color: rgb(255,255,255);
	border-radius: 100px;
	top: 6px;
	left: 50%;
	color: rgb(0,0,0);
	font-size: 20px;
	line-height: 30px;
	text-align: center;
}