.slideimage {
	z-index:1;
	position: relative;
}

.captiontext {
	font-size: 18px;
	padding: 10px;
	margin: 0;
	background-color: rgba(0,0,0,0.40);
	position: absolute;
	bottom: 10px;
	right: 10px;
	color: white;
	text-align: right;
	z-index: 100;
}
.slide-heading {
	font-size: 24px;
	padding: 20px 100px 20px 20px;
	margin: 0;
	background-color:black;
	position: absolute;
	top: 0px;
	left: 0px;
	color: white;
	text-align: left;
	z-index: 100;
}

#slideshow {
  overflow: hidden;
  height: 510px;
  width: 728px;
  margin: 0 auto;
}

.slide-wrapper {
  position: relative;
  width: 2912px;
  -webkit-animation: slide 18s ease infinite;
}

.slide {
  float: left;
  height: 510px;
  width: 728px;
  position:relative;
}

.slide:nth-child(1) {
  background: #D93B65;
}

.slide:nth-child(2) {
  background: #037E8C;
}

.slide:nth-child(3) {
  background: #36BF66;
}

.slide:nth-child(4) {
  background: #D9D055;
}

.slide-number {
  color: #000;
  text-align: center;
  font-size: 10em;
}

@-webkit-keyframes slide {
  20% {margin-left: 0px;}
  30% {margin-left: -728px;}
  50% {margin-left: -728px;}
  60% {margin-left: -1456px;}
  70% {margin-left: -1456px;}
  80% {margin-left: -2184px;}
  90% {margin-left: -2184px;}
}
