 
/* Reset */
#slider, #slider *{margin:0;padding:0;}

/* Slider */
#slider{
  width:100%;
  height:480px;
  position:relative;
  overflow:hidden;
}
@media only screen and (min-width: 980px) { #slider{ height:340px;}}
@media only screen and (min-width: 1200px) { #slider{ height:500px;}}
@media only screen and (min-width: 1600px) { #slider{ height:580px;}}
@media only screen and (min-width: 1900px) { #slider{ height:720px;}}




@keyframes load{
  from{left:-100%;}
  to{left:0;}
}
.slides{
  width:400%;
  height:100%;
  position:relative;
  -webkit-animation:slide 30s infinite;
  -moz-animation:slide 30s infinite;
  animation:slide 30s infinite;
}
.slider{
  width:25%;
  height:100%;
  float:left;
  position:relative;
  z-index:1;
  overflow:hidden;
  background:#ccc;
  
}
.slide img{
  width:auto;
  height:100%;
  max-width: inherit;
}

.image{
  width:auto;
  height:100%;
}

.image img{
  width:100%;
  height:auto;
   max-width: inherit;
}

/* Legend */
.legend{
  border:320px solid transparent;
  border-left:700px solid rgba(252,252,242, 0.3);
  border-bottom:0;

  position:absolute;
  bottom:0;
}

@media only screen and (min-width: 86em) {
.legend{
  border:480px solid transparent;
 }	
}
/* Contents */
#slider .content{
  width:100%;
  height:100%;
  position:absolute;
  overflow:hidden;
  padding-left: 350px;
}

#slider .content a {display: block; padding-top: 20px;}

.content-txt{
  width:60%;
  height:250px;
 text-align: center;
  position:relative;
 
  top:72px;
  -webkit-animation:content-s 7.5s infinite;
  -moz-animation:content-s 7.5s infinite;
  animation:content-s 7.5s infinite;
}

@media only screen and (min-width: 86em) {
.content-txt{
  top:120px;
 }	
}
.content-txt h2{
 
  font-size:54px;
  color:#fff;
  text-align:center;
  margin-left:30px;
  padding-bottom:10px;
}
.content-txt h3, .content-txt p{

  font-weight:normal;
  font-size:16px;

  color:#fff;
  text-align:center;
  margin-left:30px;
}

/* Switch */
.switch{
  width:120px;
  height:10px;
  position:absolute;
  bottom:10px;
  z-index:99;
  left:50px;
}
.switch > ul{
  list-style:none;
}
#slider .switch > ul > li{
  width:10px;
  height:10px;
  border-radius:50%;
  background:#aaa;
  float:left;
  margin-right:5px;padding:0px;
  cursor:pointer;
}
.switch ul{
  overflow:hidden;
}
.on{
  width:100%;
  height:100%;
  border-radius:50%;
  background:#990000;
  position:relative;
  -webkit-animation:on 30s infinite;
  -moz-animation:on 30s infinite;
  animation:on 30s infinite;
}

/* Animation */
@-webkit-keyframes slide{
  0%,100%{
    margin-left:0%;
  }
  21%{
    margin-left:0%;
  }
  25%{
    margin-left:-100%;
  }
  46%{
    margin-left:-100%;
  }
  50%{
    margin-left:-200%;
  }
  71%{
    margin-left:-200%;
  }
  75%{
    margin-left:-300%;
  }
  96%{
    margin-left:-300%;
  }
}
@-moz-keyframes slide{
  0%,100%{
    margin-left:0%;
  }
  21%{
    margin-left:0%;
  }
  25%{
    margin-left:-100%;
  }
  46%{
    margin-left:-100%;
  }
  50%{
    margin-left:-200%;
  }
  71%{
    margin-left:-200%;
  }
  75%{
    margin-left:-300%;
  }
  96%{
    margin-left:-300%;
  }
}
@keyframes slide{
  0%,100%{
    margin-left:0%;
  }
  21%{
    margin-left:0%;
  }
  25%{
    margin-left:-100%;
  }
  46%{
    margin-left:-100%;
  }
  50%{
    margin-left:-200%;
  }
  71%{
    margin-left:-200%;
  }
  75%{
    margin-left:-300%;
  }
  96%{
    margin-left:-300%;
  }
}

@-webkit-keyframes content-s{
  0%{left:-420px;}
  10%{left:0px;}
  30%{left:0px;}
  40%{left:0px;}
  50%{left:0px;}
  60%{left:0px;}
  70%{left:0;}
  80%{left:-420px;}
  90%{left:-420px;}
  100%{left:-420px;}
}
@-moz-keyframes content-s{
  0%{left:-420px;}
  10%{left:0px;}
  30%{left:0px;}
  40%{left:0px;}
  50%{left:0px;}
  60%{left:0px;}
  70%{left:0;}
  80%{left:-420px;}
  90%{left:-420px;}
  100%{left:-420px;}
}
@keyframes content-s{
  0%{left:-420px;}
  10%{left:20px;}
  15%{left:0px;}
  30%{left:0px;}
  40%{left:0px;}
  50%{left:0px;}
  60%{left:0px;}
  70%{left:0;}
  80%{left:-420px;}
  90%{left:-420px;}
  100%{left:-420px;}
}

@-webkit-keyframes on{
  0%,100%{
    margin-left:0%;
  }
  21%{
    margin-left:0%;
  }
  25%{
    margin-left:15px;
  }
  46%{
    margin-left:15px;
  }
  50%{
    margin-left:30px;
  }
  71%{
    margin-left:30px;
  }
  75%{
    margin-left:45px;
  }
  96%{
    margin-left:45px;
  }
}

@-moz-keyframes on{
  0%,100%{
    margin-left:0%;
  }
  21%{
    margin-left:0%;
  }
  25%{
    margin-left:15px;
  }
  46%{
    margin-left:15px;
  }
  50%{
    margin-left:30px;
  }
  71%{
    margin-left:30px;
  }
  75%{
    margin-left:45px;
  }
  96%{
    margin-left:45px;
  }
}

@keyframes on{
  0%,100%{
    margin-left:0%;
  }
  21%{
    margin-left:0%;
  }
  25%{
    margin-left:15px;
  }
  46%{
    margin-left:15px;
  }
  50%{
    margin-left:30px;
  }
  71%{
    margin-left:30px;
  }
  75%{
    margin-left:45px;
  }
  96%{
    margin-left:45px;
  }
}
