/* Reset */
*{margin:0;padding:0;}

/* Slider */
#slider{
  width:100%;
  height:auto;
  position:relative;
  overflow:hidden;
}
@keyframes load{
  from{left:-100%;}
  to{left:0;}
}
.slides{
  width:500%; /* Need to updated depend on how many slide */
  height:100%;
  position:relative;
  
  /* Need to updated the 30s below depend on how many slide */
  -webkit-animation:slide 35s 4s infinite;
  -moz-animation:slide 35s 4s infinite;
  animation:slide 35s 4s infinite;
}
.slider{
  width:20%; /* Need to updated depend on how many slide */
  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:100%;
}

/* Legend */
.legend{
  border:490px solid transparent;
  border-left:800px solid rgba(52, 73, 94, .45);
  border-bottom:0;
  position:absolute;
  bottom:5PX;
  margin-left: 23.5%;
}

/* Contents */
.content-slide{
  width:100%;
  height:100%;
  position:absolute;
  overflow:hidden;
}
.content-txt{
  width:40%;
  height:150px;
  padding: 15px 15px 5px 0px;
  float:left;
  position:relative;
  margin-left: 23.5%;
  border: 0px solid #34495e;
  border-radius: 4px;
  /*
  -webkit-box-shadow: 0px 1px 6px #000;
  -moz-box-shadow: 0px 1px 6px #000;
  box-shadow: 0px 1px 6px #000;  
  */
  background: rgba(52, 73, 94, .35);
  top:330px;
  
  /* Need to updated the 35s/number of slide  */
  -webkit-animation:content-s 7s 4s infinite;
  -moz-animation:content-s 7s 4s infinite;
  -o-animation:content-s 7s 4s infinite;
  animation:content-s 7s 4s infinite;
}


#slider:hover .slides,
#slider:hover .content-txt,
#slider:hover .on {
  -webkit-animation-play-state: paused;
  -moz-animation-play-state: paused;
  -o-animation-play-state: paused;
  animation-play-state: paused;
}

.content-txt h1{
  font-family:Intro;
  font-size:1.8em;
  color:#02feba;
  text-shadow: 0px 1px 3px #000;
  text-align:left;
  margin-left:30px;
  padding-bottom:10px;
}
.content-txt h2{
  font-family:Quicksand;
  font-weight:normal;
  font-size:1.4em;
  text-shadow: 0px 1px 3px #000;
  font-style:italic;
  color:#ffffff;
  text-align:left;
  margin-left:30px;
  padding-bottom:10px;
}

span.special {
	color: #f9e509;
	font-size: 1.2em;
	text-shadow: 0px 1px 3px #000;
	font-weight: 650;
}

.content-txt a{
  display: inline-block;
  padding: 8px 3px 10px 3px;
  width: 42%;
  font-family:Quicksand;
  font-weight:600;
  font-size:1.4em;  
  text-decoration: none;
  text-shadow: 0px 1px 3px #000;
  color:#46e4fc;
  text-align:center;
  border: 1px solid #46e4fc;
  border-radius: 12px;
  background: rgba(255,255,255, .25);
  margin:10px 0px 0px 50px;
  transition: all .88s ease;
  -moz-transition: all .88s ease;
  -webkit-transition: all .88s ease;
  -ms-transition: all .88s ease;  
}

.content-txt a:hover{
  color: #fff;
  background: rgba(255,255,255, .20);
  border: 1px solid #fff;
}

/* Switch */
.switch-main-img{
  padding:0px;
  margin: 0px;
  width:120px !important;
  height:10px;
  position:absolute;
  bottom:50px;
  z-index:99999;
  left:50%;
}
.switch-main-img > ul.small-dot{
  width:120px !important;
  height:10px;
  list-style:none;  
}
.switch-main-img > ul.small-dot > li{
  margin: 0px;
  width:10px;
  height:10px;
  border-radius:50%;
  background:#333;
  float:left;
  display: inline;
  margin-right:5px;
  cursor:pointer;
}

.switch-main-img ul.small-dot {
	overflow: hidden;
}

.on{
  width:10px;
  height:10px;
  border-radius:50%;
  background:#f39c12;
  position:relative;
  /* Need to updated the 35s below depend on how many slide */
  -webkit-animation:on 35s 4s infinite;
  -moz-animation:on 35s 4s infinite;
  animation:on 35s 4s infinite;
}

/* Need to updated all keyframes below except content-s */
/* Animation */
@-webkit-keyframes slide{
  0%,100%{
    margin-left:0%;
  }
  16%{
    margin-left:0%;
  }
  20%{
    margin-left:-100%;
  }
  36%{
    margin-left:-100%;
  }
  40%{
    margin-left:-200%;
  }
  56%{
    margin-left:-200%;
  }
  60%{
    margin-left:-300%;
  }
  76%{
    margin-left:-300%;
  }
  80%{
    margin-left:-400%;
  }
  96%{
    margin-left:-400%;
  }  
}
@-moz-keyframes slide{
  0%,100%{
    margin-left:0%;
  }
  16%{
    margin-left:0%;
  }
  20%{
    margin-left:-100%;
  }
  36%{
    margin-left:-100%;
  }
  40%{
    margin-left:-200%;
  }
  56%{
    margin-left:-200%;
  }
  60%{
    margin-left:-300%;
  }
  76%{
    margin-left:-300%;
  } 
  80%{
    margin-left:-400%;
  } 
  96%{
    margin-left:-400%;
  }  
}
@keyframes slide{
  0%,100%{
    margin-left:0%;
  }
  16%{
    margin-left:0%;
  }
  20%{
    margin-left:-100%;
  }
  36%{
    margin-left:-100%;
  }
  40%{
    margin-left:-200%;
  }
  56%{
    margin-left:-200%;
  }
  60%{
    margin-left:-300%;
  }
  76%{
    margin-left:-300%;
  } 
  80%{
    margin-left:-400%;
  } 
  96%{
    margin-left:-400%;
  } 
}

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

@-webkit-keyframes on{
  0%,100%{
    margin-left:0px;
  }
  16%{
    margin-left:0px;
  }
  20%{
    margin-left:15px;
  }
  36%{
    margin-left:15px;
  }
  40%{
    margin-left:30px;
  }
  56%{
    margin-left:30px;
  }
  60%{
    margin-left:45px;
  }
  76%{
    margin-left:45px;
  }
  80%{
   margin-left:60px;
  }
  96%{
   margin-left:60px; 
  }  
}

@-moz-keyframes on{
  0%,100%{
    margin-left:0px;
  }
  16%{
    margin-left:0px;
  }
  20%{
    margin-left:15px;
  }
  36%{
    margin-left:15px;
  }
  40%{
    margin-left:30px;
  }
  56%{
    margin-left:30px;
  }
  60%{
    margin-left:45px;
  }
  76%{
    margin-left:45px;
  }
  80%{
   margin-left:60px;
  }
  96%{
   margin-left:60px; 
  }
}

@keyframes on{
  0%,100%{
    margin-left:0px;
  }
  16%{
    margin-left:0px;
  }
  20%{
    margin-left:15px;
  }
  36%{
    margin-left:15px;
  }
  40%{
    margin-left:30px;
  }
  56%{
    margin-left:30px;
  }
  60%{
    margin-left:45px;
  }
  76%{
    margin-left:45px;
  }
  80%{
   margin-left:60px;
  }
  96%{
   margin-left:60px; 
  }
}

@media screen and (max-width: 1100px) {
	.content-txt{
		top:270px;
	}

	.content-txt h1{
		font-size:1.6em;
		margin-left:20px;
	}
	.content-txt h2{
		font-size:1.2em;
		margin-left:20px;
	}

	.content-txt a{
		font-size:1.3em;  
	}
}

@media screen and (min-width:692px) and (max-width: 900px) {
	.content-txt{
		top:90px;		
		width: 45%;
		margin-left: 20.5%;		
	}

	.content-txt h1{
		font-size:1.4em;
		margin-left:20px;
	}
	.content-txt h2{
		font-size:.95em;
		margin-left:20px;
	}

	.content-txt a{
		font-size:.95em;
		padding: 5px 1px 7px 1px;
  		width: 35%;
	}
}

@media screen and (max-width: 691px) {
	.content-txt{
		top:25px;		
	}
	
	.content-txt{
		width: 90%;
		margin-left: 2%;
	}
	
	
	.content-txt h1{
		font-size:1.2em;
		margin-left:5px;
	}
	.content-txt h2{
		font-size:.90em;
		margin-left:5px;
	}

	.content-txt a{
		font-size:.95em;  
	}
}