*{
	margin:0;
	padding:0;
}

#container{
	width:100%;
	max-width:400px;
	height:300px;
	position:relative;
	background:#000;
}

#container ul{
	width:100%;
	height:100%;
	list-style:none outside none;
	position:relative;
	overflow:hidden;
}

#container li:first-child{
	display:block;
	position:absolute;
	width:100%;
}

#container li{
	position:absolute;
	display:none;
	width:100%;
}

.gallery{
	min-width:100%;
	height:300px;
	background-size:cover;
	background-position:center top;
	background-repeat: no-repeat;
}