@charset "utf-8";
/* CSS Document */

.content-slider a{
color:#fff;
/*transition-property*/
-webkit-transition-property:color;
   -moz-transition-property:color;
    -ms-transition-property:color;
     -o-transition-property:color;
        transition-property:color;
/*transition-duration*/
-webkit-transition-duration:0.7s;
   -moz-transition-duration:0.7s;
    -ms-transition-duration:0.7s;
     -o-transition-duration:0.7s;
        transition-duration:0.7s;
/*transition-timing-function*/
-webkit-transition-timing-function:ease-in;
   -moz-transition-timing-function:ease-in;
    -ms-transition-timing-function:ease-in;
     -o-transition-timing-function:ease-in;
        transition-timing-function:ease-in;
/*transition-delay*/
-webkit-transition-delay:0.3s;
   -moz-transition-delay:0.3s;
    -ms-transition-delay:0.3s;
     -o-transition-delay:0.3s;
        transition-delay:0.3s;
}

.content-slider a:hover { color: #fff; }

.content-slider {
  
/*animation-name*/
-webkit-animation-name:move;
   -moz-animation-name:move;
    -ms-animation-name:move;
     -o-animation-name:move;
        animation-name:move;
/*animation-duration*/
-webkit-animation-duration:1s;
   -moz-animation-duration:1s;
    -ms-animation-duration:1s;
     -o-animation-duration:1s;
        animation-duration:1s;
/*animation-timing-function*/
-webkit-animation-timing-function:ease-in-out;
   -moz-animation-timing-function:ease-in-out;
    -ms-animation-timing-function:ease-in-out;
     -o-animation-timing-function:ease-in-out;
        animation-timing-function:ease-in-out;
/*animation-delay*/
-webkit-animation-delay:0.5s;
   -moz-animation-delay:0.5s;
    -ms-animation-delay:0.5s;
     -o-animation-delay:0.5s;
        animation-delay:0.5s;
/*animation-iteration-count*/
-webkit-animation-iteration-count:2;
   -moz-animation-iteration-count:2;
    -ms-animation-iteration-count:2;
     -o-animation-iteration-count:2;
        animation-iteration-count:2;
/*animation-direction*/
-webkit-animation-direction:alternate;
   -moz-animation-direction:alternate;
    -ms-animation-direction:alternate;
     -o-animation-direction:alternate;
        animation-direction:alternate;
}


/* This is the animation code. */

@-webkit-keyframes move {
   from { -webkit-transform: translateX(0); }
   to { -webkit-transform: translateX(100px); }
}

@-moz-keyframes move {
   from { -moz-transform: translateX(0); }
   to { -moz-transform: translateX(100px); }
}

@-ms-keyframes move {
   from { -ms-transform: translateX(0); }
   to { -ms-transform: translateX(100px); }
}

@-o-keyframes move {
   from { -o-transform: translateX(0); }
   to { -o-transform: translateX(100px); }
}

@keyframes move {
   from { transform: translateX(0);  }
   to { transform: translateX(100px);}
}

/* SLIDER STRUCTURE */

.wrapper{ 	position: relative;	width:90%; background-color:#cccccc; height:0; padding-bottom:25.5%; margin-right:auto; margin-left:auto; float:none;  	}

#slider{		width: 100%;	padding-left:0;	background:#fff url(file:///C|/Users/smithfamily/Documents/jenny/ebenezer/ebe2016/images/slide1.jpg) center no-repeat; 	margin-right:auto; margin-left:auto;	overflow:visible;	}

#mask {  height:100%;}


/* IMAGE LIST */

#slider ul { margin: 0;   padding: 0;   position: relative;}

#slider li { 
   width: 100%;  /* Width Image */
   height: auto; /* Height Image */
   position: absolute;
   top: -32.5%;	/* Original Position - Outside of the Slider */
   list-style: none;
}

#slider img {width:100%; border:0;}

#slider li.firstanimation{
/*animation*/
-webkit-animation:cycle 25s linear infinite;
   -moz-animation:cycle 25s linear infinite;
    -ms-animation:cycle 25s linear infinite;
     -o-animation:cycle 25s linear infinite;
        animation:cycle 25s linear infinite;
}
#slider li.secondanimation{
/*animation*/
-webkit-animation:cycletwo 25s linear infinite;
   -moz-animation:cycletwo 25s linear infinite;
    -ms-animation:cycletwo 25s linear infinite;
     -o-animation:cycletwo 25s linear infinite;
        animation:cycletwo 25s linear infinite;
}
#slider li.thirdanimation{
/*animation*/
-webkit-animation:cyclethree 25s linear infinite;
   -moz-animation:cyclethree 25s linear infinite;
    -ms-animation:cyclethree 25s linear infinite;
     -o-animation:cyclethree 25s linear infinite;
        animation:cyclethree 25s linear infinite;
}
#slider li.fourthanimation{
/*animation*/
-webkit-animation:cyclefour 25s linear infinite;
   -moz-animation:cyclefour 25s linear infinite;
    -ms-animation:cyclefour 25s linear infinite;
     -o-animation:cyclefour 25s linear infinite;
        animation:cyclefour 25s linear infinite;
}


#slider li.fifthanimation{
/*animation*/
-webkit-animation:cyclefive 25s linear infinite;
   -moz-animation:cyclefive 25s linear infinite;
    -ms-animation:cyclefive 25s linear infinite;
     -o-animation:cyclefive 25s linear infinite;
        animation:cyclefive 25s linear infinite;
}


#slider li.sixthanimation{
/*animation*/
-webkit-animation:cyclesix 25s linear infinite;
   -moz-animation:cyclesix 25s linear infinite;
    -ms-animation:cyclesix 25s linear infinite;
     -o-animation:cyclesix 25s linear infinite;
        animation:cyclesix 25s linear infinite;
}


/* ANIMATION */

@-webkit-keyframes cycle {
   0%  { top: 0px; } /* When you start the slide, the first image is already visible */
   4%  { top: 0px; } /* Original Position */
   16% { top: 0px; opacity:1; z-index:0; } /* From 4% to 16 % = for 3 seconds the image is visible */
   20% { top: 32.5%; opacity: 0; z-index: 0; } /* From 16% to 20% = for 1 second exit image */
   21% { top: -32.5%; opacity: 0; z-index: -1; } /* Return to Original Position */
   92% { top: -32.5%; opacity: 0; z-index: 0; }
   96% { top: -32.5%; opacity: 0; } /* From 96% to 100% = for 1 second enter image*/
   100%{ top: 0px; opacity: 1; }
}

@-webkit-keyframes cycletwo {
   0%  { top: -32.5%; opacity: 0; } /* Original Position */
   16% { top: -32.5%; opacity: 0; }/* Starts moving after 16% to this position */
   20% { top: 0px; opacity: 1; }
   24% { top: 0px; opacity: 1; }  /* From 20% to 24% = for 1 second enter image*/
   36% { top: 0px; opacity: 1; z-index: 0; }   /* From 24% to 36 % = for 3 seconds the image is visible */
   40% { top: 32.5%; opacity: 0; z-index: 0; } /* From 36% to 40% = for 1 second exit image */
   41% { top: -32.5%; opacity: 0; z-index: -1; }   /* Return to Original Position */
   100%{ top: -32.5%; opacity: 0; z-index: -1; }
}

@-webkit-keyframes cyclethree {
   0%  { top: -32.5%; opacity: 0; }
   36% { top: -32.5%; opacity: 0; }
   40% { top: 0px; opacity: 1; }
   44% { top: 0px; opacity: 1; } 
   56% { top: 0px; opacity: 1; } 
   60% { top: 32.5%; opacity: 0; z-index: 0; }
   61% { top: -32.5%; opacity: 0; z-index: -1; } 
   100%{ top: -32.5%; opacity: 0; z-index: -1; }
}

@-webkit-keyframes cyclefour {
   0%  { top: -32.5%; opacity: 0; }
   56% { top: -32.5%; opacity: 0; }
   60% { top: 0px; opacity: 1; }
   64% { top: 0px; opacity: 1; }
   76% { top: 0px; opacity: 1; z-index: 0; }
   80% { top: 32.5%; opacity: 0; z-index: 0; }
   81% { top: -32.5%; opacity: 0; z-index: -1; }
   100%{ top: -32.5%; opacity: 0; z-index: -1; }
}
@-webkit-keyframes cyclefive {
   0%  { top: -32.5%; opacity: 0; }
   76% { top: -32.5%; opacity: 0; }
   80% { top: 0px; opacity: 1; }
   84% { top: 0px; opacity: 1; }
   96% { top: 0px; opacity: 1; z-index: 0; }
   100%{ top: 32.5%; opacity: 0; z-index: 0; }
}

@-webkit-keyframes cyclesix {
   0%  { top: -32.5%; opacity: 0; }
   76% { top: -32.5%; opacity: 0; }
   80% { top: 0px; opacity: 1; }
   84% { top: 0px; opacity: 1; }
   96% { top: 0px; opacity: 1; z-index: 0; }
   100%{ top: 32.5%; opacity: 0; z-index: 0; }
}

@-moz-keyframes cycle {
   0%  { top: 0px; } /* When you start the slide, the first image is already visible */
   4%  { top: 0px; } /* Original Position */
   16% { top: 0px; opacity:1; z-index:0; } /* From 4% to 16 % = for 3 seconds the image is visible */
   20% { top: 32.5%; opacity: 0; z-index: 0; } /* From 16% to 20% = for 1 second exit image */
   21% { top: -32.5%; opacity: 0; z-index: -1; } /* Return to Original Position */
   92% { top: -32.5%; opacity: 0; z-index: 0; }
   96% { top: -32.5%; opacity: 0; } /* From 96% to 100% = for 1 second enter image*/
   100%{ top: 0px; opacity: 1; }
}

@-moz-keyframes cycletwo {
   0%  { top: -32.5%; opacity: 0; } /* Original Position */
   16% { top: -32.5%; opacity: 0; }/* Starts moving after 16% to this position */
   20% { top: 0px; opacity: 1; }
   24% { top: 0px; opacity: 1; }  /* From 20% to 24% = for 1 second enter image*/
   36% { top: 0px; opacity: 1; z-index: 0; }   /* From 24% to 36 % = for 3 seconds the image is visible */
   40% { top: 32.5%; opacity: 0; z-index: 0; } /* From 36% to 40% = for 1 second exit image */
   41% { top: -32.5%; opacity: 0; z-index: -1; }   /* Return to Original Position */
   100%{ top: -32.5%; opacity: 0; z-index: -1; }
}

@-moz-keyframes cyclethree {
   0%  { top: -32.5%; opacity: 0; }
   36% { top: -32.5%; opacity: 0; }
   40% { top: 0px; opacity: 1; }
   44% { top: 0px; opacity: 1; } 
   56% { top: 0px; opacity: 1; } 
   60% { top: 32.5%; opacity: 0; z-index: 0; }
   61% { top: -32.5%; opacity: 0; z-index: -1; } 
   100%{ top: -32.5%; opacity: 0; z-index: -1; }
}

@-moz-keyframes cyclefour {
   0%  { top: -32.5%; opacity: 0; }
   56% { top: -32.5%; opacity: 0; }
   60% { top: 0px; opacity: 1; }
   64% { top: 0px; opacity: 1; }
   76% { top: 0px; opacity: 1; z-index: 0; }
   80% { top: 32.5%; opacity: 0; z-index: 0; }
   81% { top: -32.5%; opacity: 0; z-index: -1; }
   100%{ top: -32.5%; opacity: 0; z-index: -1; }
}
@-moz-keyframes cyclefive {
   0%  { top: -32.5%; opacity: 0; }
   76% { top: -32.5%; opacity: 0; }
   80% { top: 0px; opacity: 1; }
   84% { top: 0px; opacity: 1; }
   96% { top: 0px; opacity: 1; z-index: 0; }
   100%{ top: 32.5%; opacity: 0; z-index: 0; }
}

@-moz-keyframes cyclesix {
   0%  { top: -32.5%; opacity: 0; }
   76% { top: -32.5%; opacity: 0; }
   80% { top: 0px; opacity: 1; }
   84% { top: 0px; opacity: 1; }
   96% { top: 0px; opacity: 1; z-index: 0; }
   100%{ top: 32.5%; opacity: 0; z-index: 0; }
}

@-ms-keyframes cycle {
   0%  { top: 0px; } /* When you start the slide, the first image is already visible */
   4%  { top: 0px; } /* Original Position */
   16% { top: 0px; opacity:1; z-index:0; } /* From 4% to 16 % = for 3 seconds the image is visible */
   20% { top: 32.5%; opacity: 0; z-index: 0; } /* From 16% to 20% = for 1 second exit image */
   21% { top: -32.5%; opacity: 0; z-index: -1; } /* Return to Original Position */
   92% { top: -32.5%; opacity: 0; z-index: 0; }
   96% { top: -32.5%; opacity: 0; } /* From 96% to 100% = for 1 second enter image*/
   100%{ top: 0px; opacity: 1; }
}

@-ms-keyframes cycletwo {
   0%  { top: -32.5%; opacity: 0; } /* Original Position */
   16% { top: -32.5%; opacity: 0; }/* Starts moving after 16% to this position */
   20% { top: 0px; opacity: 1; }
   24% { top: 0px; opacity: 1; }  /* From 20% to 24% = for 1 second enter image*/
   36% { top: 0px; opacity: 1; z-index: 0; }   /* From 24% to 36 % = for 3 seconds the image is visible */
   40% { top: 32.5%; opacity: 0; z-index: 0; } /* From 36% to 40% = for 1 second exit image */
   41% { top: -32.5%; opacity: 0; z-index: -1; }   /* Return to Original Position */
   100%{ top: -32.5%; opacity: 0; z-index: -1; }
}

@-ms-keyframes cyclethree {
   0%  { top: -32.5%; opacity: 0; }
   36% { top: -32.5%; opacity: 0; }
   40% { top: 0px; opacity: 1; }
   44% { top: 0px; opacity: 1; } 
   56% { top: 0px; opacity: 1; } 
   60% { top: 32.5%; opacity: 0; z-index: 0; }
   61% { top: -32.5%; opacity: 0; z-index: -1; } 
   100%{ top: -32.5%; opacity: 0; z-index: -1; }
}

@-ms-keyframes cyclefour {
   0%  { top: -32.5%; opacity: 0; }
   56% { top: -32.5%; opacity: 0; }
   60% { top: 0px; opacity: 1; }
   64% { top: 0px; opacity: 1; }
   76% { top: 0px; opacity: 1; z-index: 0; }
   80% { top: 32.5%; opacity: 0; z-index: 0; }
   81% { top: -32.5%; opacity: 0; z-index: -1; }
   100%{ top: -32.5%; opacity: 0; z-index: -1; }
}
@-ms-keyframes cyclefive {
   0%  { top: -32.5%; opacity: 0; }
   76% { top: -32.5%; opacity: 0; }
   80% { top: 0px; opacity: 1; }
   84% { top: 0px; opacity: 1; }
   96% { top: 0px; opacity: 1; z-index: 0; }
   100%{ top: 32.5%; opacity: 0; z-index: 0; }
}

@-ms-keyframes cyclesix {
   0%  { top: -32.5%; opacity: 0; }
   76% { top: -32.5%; opacity: 0; }
   80% { top: 0px; opacity: 1; }
   84% { top: 0px; opacity: 1; }
   96% { top: 0px; opacity: 1; z-index: 0; }
   100%{ top: 32.5%; opacity: 0; z-index: 0; }
}

@-o-keyframes cycle {
   0%  { top: 0px; } /* When you start the slide, the first image is already visible */
   4%  { top: 0px; } /* Original Position */
   16% { top: 0px; opacity:1; z-index:0; } /* From 4% to 16 % = for 3 seconds the image is visible */
   20% { top: 32.5%; opacity: 0; z-index: 0; } /* From 16% to 20% = for 1 second exit image */
   21% { top: -32.5%; opacity: 0; z-index: -1; } /* Return to Original Position */
   92% { top: -32.5%; opacity: 0; z-index: 0; }
   96% { top: -32.5%; opacity: 0; } /* From 96% to 100% = for 1 second enter image*/
   100%{ top: 0px; opacity: 1; }
}

@-o-keyframes cycletwo {
   0%  { top: -32.5%; opacity: 0; } /* Original Position */
   16% { top: -32.5%; opacity: 0; }/* Starts moving after 16% to this position */
   20% { top: 0px; opacity: 1; }
   24% { top: 0px; opacity: 1; }  /* From 20% to 24% = for 1 second enter image*/
   36% { top: 0px; opacity: 1; z-index: 0; }   /* From 24% to 36 % = for 3 seconds the image is visible */
   40% { top: 32.5%; opacity: 0; z-index: 0; } /* From 36% to 40% = for 1 second exit image */
   41% { top: -32.5%; opacity: 0; z-index: -1; }   /* Return to Original Position */
   100%{ top: -32.5%; opacity: 0; z-index: -1; }
}

@-o-keyframes cyclethree {
   0%  { top: -32.5%; opacity: 0; }
   36% { top: -32.5%; opacity: 0; }
   40% { top: 0px; opacity: 1; }
   44% { top: 0px; opacity: 1; } 
   56% { top: 0px; opacity: 1; } 
   60% { top: 32.5%; opacity: 0; z-index: 0; }
   61% { top: -32.5%; opacity: 0; z-index: -1; } 
   100%{ top: -32.5%; opacity: 0; z-index: -1; }
}

@-o-keyframes cyclefour {
   0%  { top: -32.5%; opacity: 0; }
   56% { top: -32.5%; opacity: 0; }
   60% { top: 0px; opacity: 1; }
   64% { top: 0px; opacity: 1; }
   76% { top: 0px; opacity: 1; z-index: 0; }
   80% { top: 32.5%; opacity: 0; z-index: 0; }
   81% { top: -32.5%; opacity: 0; z-index: -1; }
   100%{ top: -32.5%; opacity: 0; z-index: -1; }
}
@-o-keyframes cyclefive {
   0%  { top: -32.5%; opacity: 0; }
   76% { top: -32.5%; opacity: 0; }
   80% { top: 0px; opacity: 1; }
   84% { top: 0px; opacity: 1; }
   96% { top: 0px; opacity: 1; z-index: 0; }
   100%{ top: 32.5%; opacity: 0; z-index: 0; }
}

@-o-keyframes cyclesix {
   0%  { top: -32.5%; opacity: 0; }
   76% { top: -32.5%; opacity: 0; }
   80% { top: 0px; opacity: 1; }
   84% { top: 0px; opacity: 1; }
   96% { top: 0px; opacity: 1; z-index: 0; }
   100%{ top: 32.5%; opacity: 0; z-index: 0; }
}



@keyframes cycle {
   0%  { top: 0px; } /* When you start the slide, the first image is already visible */
   4%  { top: 0px; } /* Original Position */
   16% { top: 0px; opacity:1; z-index:0; } /* From 4% to 16 % = for 3 seconds the image is visible */
   20% { top: 32.5%; opacity: 0; z-index: 0; } /* From 16% to 20% = for 1 second exit image */
   21% { top: -32.5%; opacity: 0; z-index: -1; } /* Return to Original Position */
   92% { top: -32.5%; opacity: 0; z-index: 0; }
   96% { top: -32.5%; opacity: 0; } /* From 96% to 100% = for 1 second enter image*/
   100%{ top: 0px; opacity: 1; }
}

@keyframes cycletwo {
   0%  { top: -32.5%; opacity: 0; } /* Original Position */
   16% { top: -32.5%; opacity: 0; }/* Starts moving after 16% to this position */
   20% { top: 0px; opacity: 1; }
   24% { top: 0px; opacity: 1; }  /* From 20% to 24% = for 1 second enter image*/
   36% { top: 0px; opacity: 1; z-index: 0; }   /* From 24% to 36 % = for 3 seconds the image is visible */
   40% { top: 32.5%; opacity: 0; z-index: 0; } /* From 36% to 40% = for 1 second exit image */
   41% { top: -32.5%; opacity: 0; z-index: -1; }   /* Return to Original Position */
   100%{ top: -32.5%; opacity: 0; z-index: -1; }
}

@keyframes cyclethree {
   0%  { top: -32.5%; opacity: 0; }
   36% { top: -32.5%; opacity: 0; }
   40% { top: 0px; opacity: 1; }
   44% { top: 0px; opacity: 1; } 
   56% { top: 0px; opacity: 1; } 
   60% { top: 32.5%; opacity: 0; z-index: 0; }
   61% { top: -32.5%; opacity: 0; z-index: -1; } 
   100%{ top: -32.5%; opacity: 0; z-index: -1; }
}

@keyframes cyclefour {
   0%  { top: -32.5%; opacity: 0; }
   56% { top: -32.5%; opacity: 0; }
   60% { top: 0px; opacity: 1; }
   64% { top: 0px; opacity: 1; }
   76% { top: 0px; opacity: 1; z-index: 0; }
   80% { top: 32.5%; opacity: 0; z-index: 0; }
   81% { top: -32.5%; opacity: 0; z-index: -1; }
   100%{ top: -32.5%; opacity: 0; z-index: -1; }
}
@keyframes cyclefive {
   0%  { top: -32.5%; opacity: 0; }
   76% { top: -32.5%; opacity: 0; }
   80% { top: 0px; opacity: 1; }
   84% { top: 0px; opacity: 1; }
   96% { top: 0px; opacity: 1; z-index: 0; }
   100%{ top: 32.5%; opacity: 0; z-index: 0; }
}

@keyframes cyclesix {
   0%  { top: -32.5%; opacity: 0; }
   76% { top: -32.5%; opacity: 0; }
   80% { top: 0px; opacity: 1; }
   84% { top: 0px; opacity: 1; }
   96% { top: 0px; opacity: 1; z-index: 0; }
   100%{ top: 32.5%; opacity: 0; z-index: 0; }
}


/* PROGRESS BAR */

.progress-bar { 
   position: relative;
   top: -1.5%;
   width: 100%; 
   height: 3%;
   background: #000;
   -webkit-animation:fullexpand 25s ease-out infinite;
   -moz-animation:fullexpand 25s ease-out infinite;
    -ms-animation:fullexpand 25s ease-out infinite;
     -o-animation:fullexpand 25s ease-out infinite;
        animation:fullexpand 25s ease-out infinite;
}



/* ANIMATION BAR */

@keyframes fullexpand {
   /* In these keyframes, the progress-bar is stationary */
   0%, 20%, 40%, 60%, 80%, 100% { width: 0%; opacity: 0; }

   /* In these keyframes, the progress-bar starts to come alive */
   4%, 24%, 44%, 64%, 84% { width: 0%; opacity: 0.3; }

   /* In these keyframes, the progress-bar moves forward for 3 seconds */
   16%, 36%, 56%, 76%, 96% { width: 100%; opacity: 0.7; }

   /* In these keyframes, the progress-bar has finished his path */
   17%, 37%, 57%, 77%, 97% { width: 100%; opacity: 0.3; }

   /* In these keyframes, the progress-bar will disappear and then resume the cycle */
   18%, 38%, 58%, 78%, 98% { width: 100%; opacity: 0; }
}


/*TOOLTIPS*/
#slider .tooltip {
   background: rgba(0,0,0,0.7);
   width: 85.7%;
   height: 17.1%;
   position: relative;
   bottom: 21.4%;
   left: 88.8%;
}

#slider .tooltip h1 {
   color: #fff;
   font-size: 150%;
   font-weight: 300;
   line-height: 37.5%;
   padding: 0 0 0 1%;
 
}


#slider .tooltip{
/*transition*/
-webkit-transition:all 0.3s ease-in-out;
   -moz-transition:all 0.3s ease-in-out;
    -ms-transition:all 0.3s ease-in-out;
     -o-transition:all 0.3s ease-in-out;
        transition:all 0.3s ease-in-out;
}


#slider li #first: hover .tooltip, 
#slider li #second: hover .tooltip, 
#slider li #third: hover .tooltip, 
#slider li #fourth: hover .tooltip, 
#slider li #fifth: hover .tooltip
slider li #sixth: hover .tooltip {
   left: 0px;
}

/* PAUSE AND RESTART */

#slider: hover li, 
#slider: hover .progress-bar {
 /*animation-play-state*/
-webkit-animation-play-state:paused;
   -moz-animation-play-state:paused;
    -ms-animation-play-state:paused;
     -o-animation-play-state:paused;
        animation-play-state:paused;
}

@media screen and (max-width: 600px) {

#slider{ float:none; 	}
.wrapper{width:100%;}	
	
}

@media only screen and (min-width: 601px) and (max-width: 800px)  {
.wrapper{width:100%;}	
}


