.jms-slideshow {
  position: relative;
  width: 80%;
  max-width: 1400px;
  min-width: 640px;
  margin: 20px auto;
  height: 520px;
}

.jms-wrapper {
  width: auto;
  min-width: 600px;
  height: 500px;
  -webkit-background-clip: padding;
  -moz-background-clip: padding;     
  background-clip: padding-box;
  outline: none;
  -webkit-transition: background-color 1s linear;
  -moz-transition: background-color 1s linear;
  -o-transition: background-color 1s linear;
  -ms-transition: background-color 1s linear;
  transition: background-color 1s linear;
}

.step {	
  width: 900px;
  height: 480px;
  display: block;
  -webkit-transition: opacity 1s;
  -moz-transition: opacity 1s;
  -ms-transition: opacity 1s;
  -o-transition: opacity 1s;
  transition: opacity 1s;
}

.step:not(.active) {
  opacity: 0;
  filter: alpha(opacity=0); /* internet explorer */
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=0)"; /*IE8*/
}

.jms-content {
  margin: 0px 20px 0px 20px;
  position: relative;
  clear: both;
}

.step .page {
  font-family: 'Aladin', cursive;
  font-size: 48px;
  font-weight: normal;
  letter-spacing: 4px;
  text-shadow: 1px 1px 1px rgba(0, 0 ,0, 0.5);
  margin: 1px 0;
  padding: 0;
  border-bottom: 1px solid #CFB56E;
}

.step p.shortparagraph  {
  width: 450px;
}

.step .quote {
  font-family: 'Merienda', cursive;
  font-size: 20px;
  margin: 56px 0 0 70px;
}

.step img {
  position: absolute;
  right: 0px;
  top: 80px;
}

.jms-dots{
  width: 100%;
  position: absolute;
  text-align: center;
  left: 0px;
  bottom: 20px;
  z-index: 2000;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}

.jms-dots span{
  display: inline-block;
  position: relative;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #CFB56E;
  margin: 3px;
  cursor: pointer;
}

.jms-dots span.jms-dots-current:after{
  content: '';
  width: 8px;
  height: 8px;
  position: absolute;
  top: 2px;
  left: 2px;
  border-radius: 50%;
  background: #256F40; /* Old browsers */
}

.jms-arrows{
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}

.jms-arrows span{
  position: absolute;
  top: 50%;
  margin-top: -40px;
  height: 40px;
  width: 40px;
  cursor: pointer;
  z-index: 2000;
}

.jms-arrows span.jms-arrows-prev{
  background: #CFB56E url(../images/arrow_left.png) no-repeat 50% 50%;
  border-radius: 20px;
  left: -60px;
}

.jms-arrows span.jms-arrows-next{
  background: #CFB56E url(../images/arrow_right.png) no-repeat 50% 50%;
  border-radius: 20px;
  right: -60px;
}

/* Not supported style */
.jms-wrapper.not-supported {
  background-color: #256F40;
}

.jms-wrapper.not-supported:after{
  content: 'The slideshow functionality is not supported on your device.';
  padding: 0px 0px 30px 0px;
  text-align: center;
  display: block;
}

.jms-wrapper.not-supported .step {
  display: none;
  position: relative;
  opacity: 1;
  filter: alpha(opacity=99); /* internet explorer */
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=99)"; /*IE8*/
  margin: 20px auto;
}

.jms-wrapper.not-supported .step:first-of-type {
  display: block;
}

.jms-wrapper.not-supported .step:not(.active) a.jms-link{
  opacity: 1;
  margin-top: 40px;
}