/*** FULL PAGE SLIDER ***/
.ns-slide-1 .ns-slide-container {
    background: linear-gradient( rgba(20,20,20, .5), rgba(20,20,20, .4)), url( '../../img/slides/slide1.jpg' );
}

.ns-slide-2 .ns-slide-container {
    background: linear-gradient( rgba(20,20,20, .5), rgba(20,20,20, .4)), url( '../../img/slides/slide2.jpg' );
}

.ns-slide-3 .ns-slide-container {
    background: linear-gradient( rgba(20,20,20, .5), rgba(20,20,20, .2)), url( '../../img/slides/slide3.jpg' );
}

/* Control the header responsive content */
.ns-slide-container {
    padding-top: 100px;
    padding-bottom: 100px;
    padding-left: 25px;
    padding-right: 25px;
}

.slider-masthead h1,
.slider-masthead p,
.slider-masthead hr,
.slider-masthead .carousel-caption img {
    margin-bottom: 8px !important;
}

.slider-masthead h1 {
    font-size: 2.8rem;
}

.slider-masthead p {
    font-size: 1.5rem;
}

@media (min-width: 768px) {
    .ns-slide-container {
        padding-top: 150px;
        padding-bottom: 150px;
    }

    .slider-masthead .carousel-caption img,
    .slider-masthead h1,
    .slider-masthead p {
        margin-bottom: 15px !important;
    }

    .slider-masthead h1 {
        font-size: 3.2rem;
    }

    .slider-masthead p {
        font-size: 1.7rem;
    }
}

@media (min-width: 992px) {
    .ns-slide-container {
        padding-top: 180px;
        padding-bottom: 180px;
    }

    .slider-masthead h1 {
        font-size: 3.5rem;
    }

    .slider-masthead p {
        font-size: 1.8rem;
    }
}

@media (min-width: 1200px) {
    .slider-masthead h1 {
        font-size: 4rem;
    }

    .slider-masthead p {
        font-size: 1.9rem;
    }
}

/*** TESTIMONIALS CAROUSEL ***/
/* DO THE SAME FOR TESTIMONIAL SLIDER - AND PLACE WITHIN A ROW, AS WITH THE CAROUSEL WITH TITLES */
/* Make the cards the same height */
.carousels-custom-block .owl-stage {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.carousels-custom-block .owl-item {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    height: auto !important;
}

/* Make the cards the same height */
.ns-testimonials .card {
    height: 100%;
}

/* Testimonial header */
.ns-testimonials .card .card-header {
    background-color: #f7f7f7;
}

/* Testimonial header image */
.ns-testimonials img {
    width: 50% !important;
    max-width: 150px;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Testimonial quote icon */
.ns-testimonials .card .icon {
    color: #cccccc;
}