/*
Fade content bs-carousel with hero headers
Code snippet by maridlcrmn (Follow me on Twitter @maridlcrmn) for Bootsnipp.com
Image credits: unsplash.com
*/

/********************************/
/*       Fade Bs-carousel       */
/********************************/
.fade-carousel {
    position: relative;
    height: 100vh;
}
.fade-carousel .carousel-inner .item {
    height: 100vh;
}
.fade-carousel .carousel-indicators > li {
    margin: 0 2px;
    background-color: #f39c12;
    border-color: #f39c12;
    opacity: .7;
}
.fade-carousel .carousel-indicators > li.active {
  width: 10px;
  height: 10px;
  opacity: 1;
}

/********************************/
/*          Hero Headers        */
/********************************/
.hero {
    position: absolute;
    top: 70%;
    /* left: 0; */
    z-index: 3;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 1px 1px 0 rgba(0,0,0,.75);
    -webkit-transform: translate3d(-50%,-50%,0);
    -moz-transform: translate3d(-50%,-50%,0);
    -ms-transform: translate3d(-50%,-50%,0);
    -o-transform: translate3d(-50%,-50%,0);
    transform: translate3d(-50%,-50%,0);
    background: none;
    border: 9px solid #fff;
    border-style: double;
    right: 0;
    margin: 0 auto;
    width: 40% !important;
    padding: 30px 0 0 0;
    float: right;
}
.hero h1{
    font-size: 4em;    
    font-weight: bold;
    margin: 0;
    padding: 0;
    color:#fff!important;
}
.hero h3{
    color:#fff!important;
}


.fade-carousel .carousel-inner .item .hero {
    opacity: 0;
    -webkit-transition: 2s all ease-in-out .1s;
       -moz-transition: 2s all ease-in-out .1s; 
        -ms-transition: 2s all ease-in-out .1s; 
         -o-transition: 2s all ease-in-out .1s; 
            transition: 2s all ease-in-out .1s; 
}
.fade-carousel .carousel-inner .item.active .hero {
    opacity: 1;
    -webkit-transition: 2s all ease-in-out .1s;
       -moz-transition: 2s all ease-in-out .1s; 
        -ms-transition: 2s all ease-in-out .1s; 
         -o-transition: 2s all ease-in-out .1s; 
            transition: 2s all ease-in-out .1s;    
}

/********************************/
/*            Overlay           */
/********************************/
.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    background-color: #080d158a;
    opacity: .7;
}

/********************************/
/*          Custom Buttons      */
/********************************/
.btn.btn-lg {padding: 10px 40px;}
.btn.btn-hero, .btn.btn-hero:hover, .btn.btn-hero:focus {
    color: #fff;
    background-color: #000;
    border-color: none;
    outline: none;
    margin: 20px auto;
    padding: 10px 30px;
    letter-spacing: 3px;
    font-size: 14px;
}

/********************************/
/*       Slides backgrounds     */
/********************************/
.fade-carousel .slides .slide-1, 
.fade-carousel .slides .slide-2,
.fade-carousel .slides .slide-3 {
  height: 100vh;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.fade-carousel .slides .slide-1 {
  background-image: url(../images/slide-1.jpg); 
}
.fade-carousel .slides .slide-2 {
  background-image: url(../images/slide-2.jpg);
}
.fade-carousel .slides .slide-3 {
  background-image: url(../images/slide-3.jpg);
}

/********************************/
/*          Media Queries       */
/********************************/
@media screen and (min-width: 980px){
    .hero { width: 980px; }    
}
@media screen and (max-width: 640px){
    .hero h1 { font-size: 4em; }    
}

@media only screen and ( max-width: 479px){
  h2{
    font-size: 23px;
    line-height: 26px;
  }
  .hero{
    width: 100%;
    left: 50%;
  }
  .blacktext{
    font-size: 27px !important;
    line-height: 30px;
  }
  .hero h1{
    font-size: 3em;
  }
}

@media (max-width:1024px) {
.fade-carousel, .fade-carousel .carousel-inner .item{height:70vh;}
.hero h1{line-height:1;}
.hero h3{padding: 0 2%;}
}
@media (max-width:767px) {
 .hero h1{font-size:2.5em;} 
}
@media (max-width:359px) {
.fade-carousel, .fade-carousel .carousel-inner .item{height:100vh;}
}