.hs-wrapper{
	  display: inline-block;
	width: 381px;
	height: 290px;
	position: relative;
 	margin:auto;
	overflow: hidden;
	box-shadow: 1px 1px 2px rgba(0,0,0,0.5);
	
}
.hs-wrapper img{
	top: 0px;
	left: 0px;
	position: absolute;
	-webkit-animation: showMe 4.8s linear infinite 0s forwards;
	-moz-animation: showMe 4.8s linear infinite 0s forwards;
	-o-animation: showMe 4.8s linear infinite 0s forwards;
	-ms-animation: showMe 4.8s linear infinite 0s forwards;
	animation: showMe 4.8s linear infinite 0s forwards;
	-webkit-animation-play-state: paused;
	-moz-animation-play-state: paused;
	-o-animation-play-state: paused;
	-ms-animation-play-state: paused;
	animation-play-state: paused;	
}
.hs-titles span{
	-webkit-animation: showMeTitle 4.8s linear infinite 0s forwards;
	-moz-animation: showMeTitle 4.8s linear infinite 0s forwards;
	-o-animation: showMeTitle 4.8s linear infinite 0s forwards;
	-ms-animation: showMeTitle 4.8s linear infinite 0s forwards;
	animation: showMeTitle 4.8s linear infinite 0s forwards;
	-webkit-animation-play-state: paused;
	-moz-animation-play-state: paused;
	-o-animation-play-state: paused;
	-ms-animation-play-state: paused;
	animation-play-state: paused;	
}
.hs-wrapper:hover .hs-titles span{
	-webkit-animation-play-state: running;
	-moz-animation-play-state: running;
	-o-animation-play-state: running;
	-ms-animation-play-state: running;
	animation-play-state: running;
	opacity: 0;
}
.hs-wrapper img:nth-child(1),
.hs-titles span:nth-child(1){
	z-index: 9;
}
.hs-wrapper img:nth-child(2),
.hs-titles span:nth-child(2){
    -webkit-animation-delay: 1.2s;
	-moz-animation-delay: 1.2s;
	-o-animation-delay: 1.2s;
	-ms-animation-delay: 1.2s;
	animation-delay: 1.2s;
	z-index: 8;
}
.hs-wrapper img:nth-child(3),
.hs-titles span:nth-child(3){
    -webkit-animation-delay: 2.4s;
	-moz-animation-delay: 2.4s;
	-o-animation-delay: 2.4s;
	-ms-animation-delay: 2.4s;
	animation-delay: 2.4s;
	z-index: 7;
}
.hs-wrapper img:nth-child(4),
.hs-titles span:nth-child(4){
    -webkit-animation-delay: 3.6s;
	-moz-animation-delay: 3.6s;
	-o-animation-delay: 3.6s;
	-ms-animation-delay: 3.6s;
	animation-delay: 3.6s;
	z-index: 6;
}
.hs-wrapper:hover img{
	-webkit-animation-play-state: running;
	-moz-animation-play-state: running;
	-o-animation-play-state: running;
	-ms-animation-play-state: running;
	animation-play-state: running;
}
.hs-overlay{
	position: absolute;
	width: 100%;
	height: 100%;
	opacity: 0;
	z-index: 500;
	background: rgba(0,0,0,0.6);
	box-shadow: 0 0 0 0 rgba(255,255,255,0.3) inset;
	pointer-events: none;
	-webkit-transition: all 0.3s linear;
	-moz-transition: all 0.3s linear;
	-o-transition: all 0.3s linear;
	-ms-transition: all 0.3s linear;
	transition: all 0.3s linear;
}
.hs-titles{
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	z-index: 1000;
}
.hs-overlay span{
	display: block;
	padding: 20px;
	position: absolute;
	width: 293px;
	left: 40px;
	top: 100px;
	color: #fff;
	-moz-box-sizing: border-box; 
	-webkit-box-sizing: border-box; 
	box-sizing: border-box;
	font-size: 38px;
	border-top: 1px solid rgba(255,255,255,0.3);
	border-bottom: 1px solid rgba(255,255,255,0.3);
	text-align: center;
	pointer-events: none;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
.hs-titles span{
	display: block;
	padding: 10px 20px;
	position: absolute;
	width: 293px;
	left: 20px;
	bottom: 10px;
	color: #fff;
	-moz-box-sizing: border-box; 
	-webkit-box-sizing: border-box; 
	box-sizing: border-box;
	font-size: 18px;
	background: #555;
	text-align: left;
	box-shadow: 1px 1px 2px rgba(0,0,0,0.1);
	pointer-events: none;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
.hs-wrapper:hover .hs-overlay{
	opacity: 1;
	box-shadow: 0 0 0 5px rgba(255,255,255,0.3) inset;
}
@-webkit-keyframes showMe {
    0% { visibility: visible; z-index: 100; }
	12.5% { visibility: visible; z-index: 100; }
	25% { visibility: hidden; z-index: 0; }
    100% { visibility: hidden; z-index: 0; }
}
@-webkit-keyframes showMeTitle {
    0% { visibility: visible; z-index: 1001; }
	12.5% { visibility: visible; z-index: 1001; }
	25% { visibility: hidden; z-index: 0; }
    100% { visibility: hidden; z-index: 0; }
}


@-moz-keyframes showMe {
    0% { visibility: visible; z-index: 100; }
	12.5% { visibility: visible; z-index: 100; }
	25% { visibility: hidden; z-index: 0; }
    100% { visibility: hidden; z-index: 0; }
}
@-moz-keyframes showMeTitle {
    0% { visibility: visible; z-index: 1001; }
	12.5% { visibility: visible; z-index: 1001; }
	25% { visibility: hidden; z-index: 0; }
    100% { visibility: hidden; z-index: 0; }
}


@-o-keyframes showMe {
    0% { visibility: visible; z-index: 100; }
	12.5% { visibility: visible; z-index: 100; }
	25% { visibility: hidden; z-index: 0; }
    100% { visibility: hidden; z-index: 0; }
}
@-o-keyframes showMeTitle {
    0% { visibility: visible; z-index: 1001; }
	12.5% { visibility: visible; z-index: 1001; }
	25% { visibility: hidden; z-index: 0; }
    100% { visibility: hidden; z-index: 0; }
}


@-ms-keyframes showMe {
    0% { visibility: visible; z-index: 100; }
	12.5% { visibility: visible; z-index: 100; }
	25% { visibility: hidden; z-index: 0; }
    100% { visibility: hidden; z-index: 0; }
}
@-ms-keyframes showMeTitle {
    0% { visibility: visible; z-index: 1001; }
	12.5% { visibility: visible; z-index: 1001; }
	25% { visibility: hidden; z-index: 0; }
    100% { visibility: hidden; z-index: 0; }
}


@keyframes showMe {
    0% { visibility: visible; z-index: 100; }
	12.5% { visibility: visible; z-index: 100; }
	25% { visibility: hidden; z-index: 0; }
    100% { visibility: hidden; z-index: 0; }
}
@keyframes showMeTitle {
    0% { visibility: visible; z-index: 1001; }
	12.5% { visibility: visible; z-index: 1001; }
	25% { visibility: hidden; z-index: 0; }
    100% { visibility: hidden; z-index: 0; }
}
