.top-banner {
	display: flex;
}

.top-banner .banner {
	content: url("../img/banner/banner1.jpg");
	display: inline-block;
	width:100%;
	height:auto;
	position:relative;
	overflow:hidden;
}
/* Slider */
#slider{
  width:100%;
  height:auto;
  position:relative;
  overflow:hidden;
  background-image: linear-gradient(to right, #f7f8f3, #f6f7f2, #f4f6f1, #eef5ee, #edf3ef, #e5f2eb, #e2f1ea, #e4f1ea, #e9f2ed, #eef5ee, #f1f6f0, #f7f8f3);
}
@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;
}
.slide img{
  width:100%;
  height:100%;
}
.image{
  width:100%;
  height:100%;
}
.image img{
  width:100%;
  height:auto;
}

.banner1-img {
	content: url("../img/banner/banner1.jpg");
	display: inline-block;
}
.banner2-img {
	content: url("../img/banner/banner1.jpg");
	display: inline-block;
}
.banner3-img {
	content: url("../img/banner/banner1.jpg");
	display: inline-block;
}
.banner4-img {
	content: url("../img/banner/banner1.jpg");
	display: inline-block;
}

/* Legend */
.legend{
	position: absolute;
    bottom: 0;
    background: rgba(0, 0, 0, .0);
    width: 100%;
    height: 100%;
}

/* Contents */
.content{
  width:100%;
  height:100%;
  position:absolute;
  overflow:hidden;
  top: -40px;
  display: none;
}
.content-txt{
  width:500px;
  height:150px;
  float:left;
  position:relative;
  top:300px;
  -webkit-animation:content-s 7.5s infinite;
  -moz-animation:content-s 7.5s infinite;
  animation:content-s 7.5s infinite;
  margin-left: 360px;
}
.content-txt h2{
  font-family:Arial;
  text-transform:uppercase;
  font-size:40px;
  color:#fff;
  text-align:center;
  margin-left:30px;
  padding-bottom:5px;
  font-family: 'Arsenal', sans-serif;
  text-shadow: 2px 2px 10px #000;
}
.content-txt h3{
  font-family:arial;
  font-weight:normal;
  font-size:16px;
  font-style:italic;
  color:#fff;
  text-align:center;
  margin:10px;
  font-family: 'Arsenal', sans-serif;
}

/* Switch */
.switch{
  width:260px;
  height:10px;
  position:absolute;
  bottom:45px;
  z-index:99;
  left:550px;
  margin-top: 20px;
}
.switch > ul{
  list-style:none;
}
.switch > ul > li{
  width:55px;
  height:3px;
  border-radius:0;
  background:#FFF;
  float:left;
  margin-right: 5px;
  cursor:pointer;
}
.switch ul{
  overflow:hidden;
  padding-left: 10px;
}
.on{
  width:100%;
  height:100%;
  border-radius:0;
  background:rgb(255,49,16);
  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:-850px;}
  10%{left:0px;}
  30%{left:0px;}
  40%{left:0px;}
  50%{left:0px;}
  60%{left:0px;}
  70%{left:0;}
  80%{left:-850px;}
  90%{left:-850px;}
  100%{left:-850px;}
}
@-moz-keyframes content-s{
  0%{left:-850px;}
  10%{left:0px;}
  30%{left:0px;}
  40%{left:0px;}
  50%{left:0px;}
  60%{left:0px;}
  70%{left:0;}
  80%{left:-850px;}
  90%{left:-850px;}
  100%{left:-850px;}
}
@keyframes content-s{
  0%{left:-850px;}
  10%{left:20px;}
  15%{left:0px;}
  30%{left:0px;}
  40%{left:0px;}
  50%{left:0px;}
  60%{left:0px;}
  70%{left:0;}
  80%{left:-850px;}
  90%{left:-850px;}
  100%{left:-850px;}
}

@-webkit-keyframes on{
  0%,100%{
    margin-left:0%;
  }
  21%{
    margin-left:0%;
  }
  25%{
    margin-left:60px;
  }
  46%{
    margin-left:60px;
  }
  50%{
    margin-left:120px;
  }
  71%{
    margin-left:120px;
  }
  75%{
    margin-left:180px;
  }
  96%{
    margin-left:180px;
  }
}

@-moz-keyframes on{
  0%,100%{
    margin-left:0%;
  }
  21%{
    margin-left:0%;
  }
  25%{
    margin-left:60px;
  }
  46%{
    margin-left:60px;
  }
  50%{
    margin-left:120px;
  }
  71%{
    margin-left:120px;
  }
  75%{
    margin-left:180px;
  }
  96%{
    margin-left:180px;
  }
}

@keyframes on{
  0%,100%{
    margin-left:0%;
  }
  21%{
    margin-left:0%;
  }
  25%{
    margin-left:60px;
  }
  46%{
    margin-left:60px;
  }
  50%{
    margin-left:120px;
  }
  71%{
    margin-left:120px;
  }
  75%{
    margin-left:180px;
  }
  96%{
    margin-left:180px;
  }
}

@media only screen and (max-width:320px){
	.banner1-img {content: url("../img/banner/mbanner1.jpg");}
	.banner2-img {content: url("../img/banner/mbanner1.jpg");}
	.banner3-img {content: url("../img/banner/mbanner1.jpg");}
	.banner4-img {content: url("../img/banner/mbanner1.jpg");}
	.top-banner .banner {content: url("../img/banner/mbanner1.jpg");}
}

@media only screen and (max-width:400px) and (min-width:360px) {
	.banner1-img {content: url("../img/banner/mbanner1.jpg");}
	.banner2-img {content: url("../img/banner/mbanner1.jpg");}
	.banner3-img {content: url("../img/banner/mbanner1.jpg");}
	.banner4-img {content: url("../img/banner/mbanner1.jpg");}
	.top-banner .banner {content: url("../img/banner/mbanner1.jpg");}
}

@media only screen and (max-width:667px) and (min-width:400px) {
	.banner1-img {content: url("../img/banner/mbanner1.jpg");}
	.banner2-img {content: url("../img/banner/mbanner1.jpg");}
	.banner3-img {content: url("../img/banner/mbanner1.jpg");}
	.banner4-img {content: url("../img/banner/mbanner1.jpg");}
	.top-banner .banner {content: url("../img/banner/mbanner1.jpg");}
}

