@charset "UTF-8";

#carousel-example-generic {
    display: none;
    margin: -17px 0 30px 0;
}
#primary-img {
    margin-top: -17px;   
}
.primary-bg-img > a > img {
    width: 100%;
    height: auto;
}
.primary-section-img {
    padding: 5px;
    margin-bottom: 40px;
}
.primary-bg-img {
    position: relative;
    height: auto;
}
.flow-bg-img {
    position: relative;
    padding: 5px;
}
.bg-text {
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    
    color: #fff;
    background-color: rgba(0,0,0,0.5);
}

.bg-text:hover {
    background-color: rgba(0,0,0,0.8);
    transition: 0.5s;
}
.primary-bg-text {
    bottom: 0;
    padding: 10px 20px;
}
.primary-bg-text h3 {
    font-weight: bold;
}
.flow-bg-text {
    left: 5px;
    right: 5px;
    bottom: 5px;
    
    padding: 0 5px 10px 5px;
}
.media-left, .media-right, .media-body {
    display: table-cell;
    vertical-align: middle;
}
@media(max-width:767px) {
    #primary-img {
        display: none;
    }
    #carousel-example-generic {
        display: block;
    }
    .carousel-caption h3  {
    font-weight: bold;
    padding: 15px;
    background-color: rgba(0,0,0,0.6);
    }
    .carousel-caption h3 a {
        color: #fff;
    }
    .carousel-inner img {
        width: 100%;
    }
    
}

@media screen and (min-width:768px) and (max-width:991px) {
    .flow-bg-text h3 {
        font-size: 16px;
    }
}