#gallery{
	display: block;
	width: 100%;
	overflow: hidden;
	position: relative;
	background: #dfdfdf;
}
#gallery figure{
	width: 100%;
	display: block;
	background: midnightblue;
	position: relative;
}
#gallery figure img{
	display: none;
	float: left;
	width: 90%;
	opacity: .1;
	webkit-transition: opacity .3s linear;
	-moz-transition: opacity .3s linear;
	-o-transition: opacity .3s linear;
	transition: opacity .3s linear;
	position: relative;
	z-index: 2;
}
#gallery span.arrow{
	position: absolute;
	height: 30px;
	line-height: 30px;
	width: 30px;
	top: 40%;
	margin-top: -15px;
	border: 2px solid #fff;
	color: powderblue;
	text-align: center;
	z-index: 1;
	border-radius: 25px;
}
#gallery span.arrow-left{ left: 10%; margin-left: -15px;}
#gallery span.arrow-right{ right: 10%; margin-right: -15px;}
#gallery figure img:nth-of-type(1){
	display: block;
}
#gallery figure img.atv{
	opacity: 1;
}
#gallery nav.numbers{
	display: table;
	position: relative;
	padding: 15px 2.5%;
	z-index: 888;
	left: 50%;
	-webkit-transform: translateX(-50%);
	-moz-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	-o-transform: translateX(-50%);
	transform: translateX(-50%);
	margin: 0;
}
#gallery nav.numbers a{
	display: block;
	float: left;
	width: 10px;
	height: 10px;
	border: 5px solid #dfdfdf;
	margin: 2px;
	text-indent: -10000000px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	background: #71717a;
}
#gallery nav.numbers a:hover{
	background: #fff;
}
#gallery nav.numbers a.atv{
	background: #1f1f1f !important;
}

@media screen and (max-width: 1200px){
	#gallery span.arrow-left{ left: 5%;}
	#gallery span.arrow-right{ right: 5%;}
}

@media screen and (max-width: 900px){
	#gallery nav.numbers{
		display: none;
	}
}
@media screen and (max-width: 600px){
	#gallery span.arrow-left{ left: 2.5%;}
	#gallery span.arrow-right{ right: 2.5%;}
}

