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

/* Slider */
#slider{
  width:1183.270px;
  height:576.500px;
  position:fixed;
  overflow:hidden;
  margin:auto;
  top: 60px;
  left: 50px;
  z-index: 150;
  border:1px solid white;
}
.slides{
  width:600%;
  right:500%;
  height:100%;
  position:relative;
  -webkit-animation:slide 30s infinite;
  -moz-animation:slide 30s infinite;
  animation:slide 30s infinite;
}
.slider{
  width:16.66%;
  height:100%;
  float:left;
  position:relative;
  z-index:1;
  overflow:hidden;
}
.slide img{
  width:100%;
  height:100%;
}
.slide img{
  width:100%;
  height:100%;
}
.images{
  width:100%;
  height:100%;
}
.images > img{
  width:100%;
  height:100%;
}

/* Legend 
.legend{
  border:500px solid transparent;
  border-left:800px solid rgba(52, 73, 94, .7);
  border-bottom:0;
  position:absolute;
  bottom:0;
}
*/

/* Contents */
.content{
  width:100%;
  height:100%;
  position:absolute;
  overflow:hidden;
}
.content-txt{
  width:400px;
  height:119px;
  float:left;
  position:relative;
  top:418px;
  -webkit-animation:content-s 5s infinite;
  -moz-animation:content-s 5s infinite;
  animation:content-s 5s infinite;
}
.content-txt {
  border-radius: 5px;
  background: rgba(0,0,0,0.7); /* For browsers that do not support gradients */
  background: -webkit-linear-gradient(left, rgba(0,0,0,0.7) , rgba(165,152,152,0.41) ); /* For Safari 5.1 to 6.0 */
  background: -o-linear-gradient(right, rgba(0,0,0,0.7), rgba(165,152,152,0.41) ); /* For Opera 11.1 to 12.0 */
  background: -moz-linear-gradient(right, rgba(0,0,0,0.7), rgba(165,152,152,0.41) ); /* For Firefox 3.6 to 15 */
  background: linear-gradient(to right, rgba(0,0,0,0.7) , rgba(165,152,152,0.41) ); /* Standard syntax */
}

.content-txt h1{
  //font-family:Intro;
//font-family: 'Ubuntu', sans-serif;
  font-family: 'Source Sans Pro', sans-serif;
  
  font-size:20px;
  color:#fff;
  text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
  text-align:left;
  margin-left:30px;
  padding-bottom:10px;
}
.content-txt h2{
  font-family:Quicksand;
  font-weight:normal;
  font-size:14px;
  font-style:italic;
  color:#fff;
  text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;

  text-align:left;
  margin-left:30px;
}

/* Switch */
.switch{
  width:120px;
  height:10px;
  position:absolute;
  bottom:50px;
  z-index:99;
  left:30px;
}
.switch > ul{
  list-style:none;
}
.switch > ul > li{
  width:10px;
  height:10px;
  border-radius:50%;
  background:#333;
  float:left;
  margin-right:5px;
  cursor:pointer;
}
.switch ul{
  overflow:hidden;
}
.on{
  width:100%;
  height:100%;
  border-radius:50%;
  background:#f39c12;
  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%;
  }
  12%{
    margin-left:0%;
  }
  20%{
    margin-left:100%;
  }
  28%{
    margin-left:100%;
  }
  36%{
    margin-left:200%;
  }
  44%{
    margin-left:200%;
  }
  52%{
    margin-left:300%;
  }
  60%{
    margin-left:300%;
  }
  68%{
    margin-left:400%;
  }
  76%{
    margin-left:400%;
  }
  84%{
    margin-left:500%;
  }
  92%{
    margin-left:500%;
  }
}


@-moz-keyframes slide{
  0%,100%{
    margin-left:0%;
  }
  12%{
    margin-left:0%;
  }
  20%{
    margin-left:100%;
  }
  28%{
    margin-left:100%;
  }
  36%{
    margin-left:200%;
  }
  44%{
    margin-left:200%;
  }
  52%{
    margin-left:300%;
  }
  60%{
    margin-left:300%;
  }
  68%{
    margin-left:400%;
  }
  76%{
    margin-left:400%;
  }
  84%{
    margin-left:500%;
  }
  92%{
    margin-left:500%;
  }
}
@keyframes slide{
  0%,100%{
    margin-left:0%;
  }
  12%{
    margin-left:0%;
  }
  20%{
    margin-left:100%;
  }
  28%{
    margin-left:100%;
  }
  36%{
    margin-left:200%;
  }
  44%{
    margin-left:200%;
  }
  52%{
    margin-left:300%;
  }
  60%{
    margin-left:300%;
  }
  68%{
    margin-left:400%;
  }
  76%{
    margin-left:400%;
  }
  84%{
    margin-left:500%;
  }
  92%{
    margin-left:500%;
  }
}

@-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;
  }
}




@media only screen and (max-device-width: 480px) {
    /* STYLES HERE */
#slider{
  width:1183.270px;
  height:576.500px;
  position:fixed;
  overflow:hidden;
  margin:auto;
  top: 12em;
  left: 50px;
  z-index: 150;
  border:1px solid white;
}

}
