/*
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: 50vh;
}

/*
.hero-unit{
    height: 50vh;
    }

.fade-carousel .carousel-inner .item {
    height: 50vh;
}

*/
.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: 50%;
    left: 50%;
    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);
}

.hero h1 {
    font-size: 6em;
    font-weight: bold;
    margin: 0;
    padding: 0;
}

.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: #080d15;
    opacity: .7;
}

/********************************/
/*          Custom Buttons      */
/********************************/
.hero-unit .btn.btn-lg{
    padding: 10px 40px;
    margin-top: 20px;
}

.btn.btn-hero,
.btn.btn-hero:hover,
.btn.btn-hero:focus {
    color: #f5f5f5;
    background-color: #1abc9c;
    border-color: #1abc9c;
    outline: none;
    margin: 20px auto;
}

/********************************/
/*       Slides backgrounds     */
/********************************/
.fade-carousel .slides .slide-1,
.fade-carousel .slides .slide-2,
.fade-carousel .slides .slide-3 {
    /* height: 50vh;*/
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.fade-carousel .slides .slide-1 {
    background-image: url(https://ununsplash.imgix.net/photo-1416339134316-0e91dc9ded92?q=75&fm=jpg&s=883a422e10fc4149893984019f63c818);
}

.fade-carousel .slides .slide-2 {
    background-image: url(https://ununsplash.imgix.net/photo-1416339684178-3a239570f315?q=75&fm=jpg&s=c39d9a3bf66d6566b9608a9f1f3765af);
}

.fade-carousel .slides .slide-3 {
    background-image: url(https://ununsplash.imgix.net/photo-1416339276121-ba1dfa199912?q=75&fm=jpg&s=9bf9f2ef5be5cb5eee5255e7765cb327);
}

/********************************/
/*          Media Queries       */
/********************************/
@media screen and (min-width: 980px) {
    .hero {
        width: 980px;
    }
}

@media screen and (max-width: 640px) {
    .hero h1 {
        font-size: 4em;
    }
}

/********************************/
/*   Homepage newsy slider      */
/********************************/

.camera_caption {
    /* bottom: 0; */
    display: block;
    position: absolute;
    width: 45vw;
    height: 100%;
}

.camera_caption > div {
    /*background: linear-gradient(to left, rgba(0,71,133, 0) 0%, rgba(0, 71, 133, 0.33) 10%,rgba(0,71,133, 0.75) 50%,rgb(0, 71, 133) 100%);*/
    height: 100%;
    margin-left: 18vw;
    background: rgba(241, 241, 241, 0.90);
}

.jumbotron h1, h2 {
    font-family: 'Open Sans', sans-serif !important;
    font-weight: 900;
    color:#004785 !important;
    margin-top: 0px;
    font-size: 2.5vw;
    text-transform: uppercase;
 /*   margin-top: 9vw;*/
}
/*
.camera_caption > div a,*/ .camera_caption > div p {
 font-family: 'Open Sans', sans-serif !important;
    margin-bottom: 10px;
    font-weight:400!important;
    color:#000;
    font-size:1.4em;
}

.camera_caption > div a {
    border-bottom: 2px dotted #004785;
    text-decoration: none;
    font-weight: bold;
}
.newsy-button {
    margin-top:25px;
    border-bottom: none!important;
    text-decoration: none;
    padding:10px 25px !important;
    background:#004785!important;
    color:#FFF;
}

.camera_caption > div a:hover {
    color: #94CE2E;
}

.no-border {
    border-bottom: none !important;
}

.btn {
    border-radius: 2px;
}

.vertical-align {
    vertical-align: middle;
}

.camera_wrap {
    border-bottom: 10px solid #94CE2E!important;
}

.cameraSlide img {
    /*max-width: 100% !important;*/
    width: auto !important;
    /* height: auto !important;*/
}

h2.newsHeader {
    font-weight:700;
    margin-top:70px;
}
@media (min-width: 360px) and (max-width: 991px) {
    /*   .camera_caption p {
        display: none;
    }

    .camera_caption p a {
        display: block;
    }
*/
    /* .camera_caption {
         height: 50%;
     }
 */

}
