/*
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: 400px;
    background-color: #CD1619;
}
.fade-carousel .carousel-inner .item {
    height: 400px;
}
.fade-carousel .carousel-indicators > li {
    margin: 0 2px;
    background-color: #CD1619;
    border-color: #CD1619;
    opacity: .6;
    width: 10px;
    height: 10px;
}
.fade-carousel .carousel-indicators > li.active {
    opacity: 1;
}

/********************************/
/*          Hero Headers        */
/********************************/
.hero {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    color: #fff;
    text-align: center;
    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);
}
.hero h1 {
    text-transform: uppercase;
    font-size: 4em;
    /*font-weight: bold;*/
    margin: 0;
    padding: 0;
}

.fade-carousel .carousel-inner{
    /*z-index: 3;*/
}

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

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

/********************************/
/*          Custom Buttons      */
/********************************/
.btn.btn-lg {padding: 10px 40px;}
.btn.btn-hero {
    color: #f5f5f5;
    background-color: #CD1619;
    border-color: #be1619;
    outline: none;
    margin: 20px auto;
}
.btn.btn-hero:hover,
.btn.btn-hero:focus{
    background-color: #e41619;
}

/********************************/
/*       Slides backgrounds     */
/********************************/
.fade-carousel .slides .slide {
    height: 400px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    /*background-color: #CD1619;*/
    background-blend-mode: soft-light;
}

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