/* Fades in the slideshow. Hides the initial animation on the li tag. Ooops!! */

/* CROSSBROWSER ANIMATION CSS3 PROGRAMMING FADEIN */
/*@keyframes fadeIn{
	0% {
		opacity: 0;

	}

	50% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}

@-ms-keyframes fadeIn {
	0% {
		opacity: 0;

	}

	50% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}


@-moz-keyframes fadeIn {
	0% {
		opacity: 0;

	}

	50% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}


@-webkit-keyframes fadeIn {
	0% {
		opacity: 0;

	}

	50% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}
*/

.box {
	text-align: left;
	position: fixed;
	width: 380px;
	margin: 335px auto 0 5px;
	background: #000;
	border: 10px solid #000;
	-webkit-box-shadow: #131313 0px 2px 10px;
	-moz-box-shadow: #131313 0px 3px 10px;
	box-shadow: #131313 0px 3px 10px;
	/*-webkit-animation-name: fadeIn;
  -webkit-animation-duration: 3s;
  -webkit-animation-iteration-count: 1;
  -webkit-animation-delay: 0s; */
	-webkit-animation: fadeIn 3s 1 0s;
	-moz-animation: fadeIn 3s 1 0s;
	-ms-animation: fadeIn 3s 1 0s;
  animation:fadeIn 3s 1 0s;
}

ul.slider{
	-webkit-border-radius: 0px;
	border-radius: 0px;
	margin: 0px;
	padding: 0px;
	list-style: none;
	position: relative;
	width: 640px;
	height: 426px;
	overflow: hidden;
}

ul.thumb {
	padding: 0px;
	list-style: none;
	background: #000;
	overflow: hidden;
	width: 400px;
	position: fixed;
	bottom: 70px;
  z-index: 999999;
  height: 60px;
	opacity: 0;
}

ul.thumb a {
	border: 1px solid #979797;
	width: 35px;
	height: 35px;
	display: block;
	overflow: hidden;
	float: left;
	margin: 10px 0px 0px 10px;
	opacity: 0.75;
}

ul.thumb a:hover {
	opacity: 1;
}

ul.thumb li a img{

	width:35px;
	height:35px;

}

ul.slider li {
	width: 640px;
	height: 426px;
	position: absolute;
}

ul.slider li p {
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: inherit;
	color: #fff;
	background: rgba(0, 0, 0, .5);
	width: 100%;
}

ul.slider li p span {
	line-height: 1.2em;
	padding: 10px;
	display: block;
}

/* Animation for the :target image. Slides the image in.
   CROSSBROWSER ANIMATION CSS3 PROGRAMMING FADEIN */

@keyframes moveTarget{
	0% {
		left:-700px;

	}

	100% {
		left:0px;
	}
}

@-ms-keyframes moveTarget {
	0% {
		left:-700px;

	}

	100% {
		left:0px;
	}
}

@-moz-keyframes moveTarget {
	0% {
		left:-700px;

	}

	100% {
		left:0px;
	}
}

@-webkit-keyframes moveTarget {
	0% {
		left:-700px;

	}

	100% {
		left:0px;
	}
}


ul.slider li:target {
	/*-webkit-animation-name: moveTarget;
	-webkit-animation-duration: .5s;
	-webkit-animation-iteration-count: 1;*/
	-webkit-animation: moveTarget .5s 1;
	-moz-animation: moveTarget .5s 1;
	-ms-animation: moveTarget .5s 1;
	animation: moveTarget .5s 1;
	top:0px;
	left: 0px;
	z-index: 10;
}

/*
Animation for the current image. Slides it out the frame and back to the starting position.
Adds a lower z-index than the now current image.
*/

@keyframes moveIt {
	0% {
		left:0px;

	}
	50% {
		left:700px;

	}
	100% {
		left:-700px;
		z-index: 5;
	}
}


@-ms-keyframes moveIt {
	0% {
		left:0px;

	}
	50% {
		left:700px;

	}
	100% {
		left:-700px;
		z-index: 5;
	}
}

@-moz-keyframes moveIt {
	0% {
		left:0px;

	}
	50% {
		left:700px;

	}
	100% {
		left:-700px;
		z-index: 5;
	}
}

@-webkit-keyframes moveIt {
	0% {
		left:0px;

	}
	50% {
		left:700px;

	}
	100% {
		left:-700px;
		z-index: 5;
	}
}

ul.slider li:not(:target) {
/*-webkit-animation-name: moveIt;
  -webkit-animation-duration: 1.5s;
  -webkit-animation-iteration-count: 1;*/
	-webkit-animation: moveIt 1.5s 1;
	-moz-animation: moveIt 1.5s 1;
	-ms-animation: moveIt 1.5 1;
	animation: moveIt 1.5 1;

	top:0px;
	left: 0px;
}
