/* http://www.menucool.com */
.slider {
  max-width: 100vw;
  height: 600px;
  margin: 0 auto;
  position: relative;
}
.slide1,.slide2,.slide3,.slide4,.slide5 {
  position: absolute;
  width: 100%;
  height: 100%;
}
.slide1 {
  background: url(/images/headers/bb1.jpg)no-repeat center;
      background-size: cover;
    animation:fade 24s infinite;
-webkit-animation:fade 24s infinite;

} 
.slide2 {
  background: url(/images/headers/bb3.jpg)no-repeat center;
      background-size: cover;
    animation:fade2 24s infinite;
-webkit-animation:fade2 24s infinite;
}
.slide3 {
    background: url(/images/headers/bb4.jpg)no-repeat center;
      background-size: cover;
    animation:fade3 24s infinite;
-webkit-animation:fade3 24s infinite;
}
@keyframes fade
{
  0%   {opacity:1}
  33.333% { opacity: 0}
  66.666% { opacity: 0}
  100% { opacity: 1}
}
@keyframes fade2
{
  0%   {opacity:0}
  33.333% { opacity: 1}
  66.666% { opacity: 0 }
  100% { opacity: 0}
}
@keyframes fade3
{
  0%   {opacity:0}
  33.333% { opacity: 0}
  66.666% { opacity: 1}
  100% { opacity: 0}
}

#sliderFrame, #sliderFrame div {
    box-sizing: content-box;
}
#sliderFrame 
{
    max-width:500px;
    width: 50vw;
    margin:0 auto; /*center-aligned*/
}
@media only screen and (max-width: 770px) {
    #sliderFrame {width: 90vw;}
}

#slider, #slider .sliderInner {
    max-width:1280px;
    width: 100%;
    height:450px;/* Must be the same size as the slider images */
    border-radius:3px;
}

#slider {
    
    position:relative;
    margin:0 auto; /*center-aligned*/
    transform: translate3d(0,0,0);
   
}

/* the link style (if an image is wrapped by a link) */
#slider a.imgLink, #slider .video {
    z-index:2;
    cursor:pointer;
    position:absolute;
    top:0px;left:0px;border:0;padding:0;margin:0;
    width:100%;height:100%;
}
#slider .video {
    background:transparent url(video.png) no-repeat 50% 50%;
}

/* Caption styles */
#slider .mc-caption {
    position:absolute;
    width:100%;
    height:100%;
    padding:0px 0;/* 10px will increase the height.*/
    left:0px;
    bottom:0px;top:100px;
    overflow:hidden;
    font: bold 22px/30px Arial;
    color:#EEE;
    text-align:center;
    
}
.mc-caption {
    
}
.slider-text-style-1{
    background-color: #24a012;
}
.slider-text-style-2{
    font: bold 50px/70px Arial;
}

.slider-text-style-4{
    background-color: black;
}
#slider .mc-caption a {
    color:#FB0;
}
#slider .mc-caption a:hover {
    color:#DA0;
}


/* ------ built-in navigation bullets wrapper ------*/
#slider .navBulletsWrapper  {
    top:320px;
    text-align:center;
    background:none;
    position:relative;
    z-index:3;
}

/* each bullet */
#slider .navBulletsWrapper div 
{
    width:11px; height:11px;
    font-size:0;color:White;/*hide the index number in the bullet element*/
    background:transparent url(bullet.png) no-repeat 0 0;
    display:inline-block; *display:inline; zoom:1;
    overflow:hidden;cursor:pointer;
    margin:0 6px;/* set distance between each bullet*/
}

#slider .navBulletsWrapper .active {background-position:0 -11px;}


/* --------- Others ------- */

#slider img, #slider>b, #slider a>b {
    position:absolute; border:none; display:none;
}

#slider .sliderInner {
    overflow:hidden;
    position:absolute; top:0; left:0;
}

#slider>a, #slider video, #slider audio {display:none;}
#slider div {-webkit-transform: translate3d(0,0,0);transform: translate3d(0,0,0);}

