/* Public style */
.display-sec h3,
.display-sec p {
    color: #ffffff;
}

a.carousel-control:hover,
a.carousel-control:focus {
    color: #fff !important;
}

.carousel-inner .item img {
    width: 100%;
}

.display-sec {
    margin-bottom: 25px;
}

.display-sec h3 {
    font-size: 18px;
    margin: 0;
    line-height: 1.3;
}

.display-sec p {
    margin-bottom: 1.5em;
    font-size: 14px;
    line-height: 1.4;
}

/* Responsive styles */
@media (min-width: 768px) {
    .slide .carousel-caption {
        width: 100%;
        right: 0;
        left: 0;
        background: rgba(0, 0, 0, 0.5);
        padding-bottom: 0;
        bottom: 0;
    }

    .slide .display-sec h3 {
        margin: 8px auto;
    }

    .display-sec h3 {
        font-size: 18px;
    }

    .display-sec p {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .slide .display-sec h3 {
        margin: 8px auto;
        font-size: 16px;
    }

    .display-sec h3 {
        font-size: 16px;
    }

    .display-sec p {
        font-size: 13px;
        margin-bottom: 1.2em;
    }

    .slide .carousel-caption {
        position: relative;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 10;
        padding-top: 15px;
        padding-bottom: 15px;
        color: #fff;
        text-align: center;
        background: rgba(0, 0, 0, 0.5);
        top: 0;
    }
}

@media (max-width: 576px) {
    .slide .carousel-caption {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .display-sec h3 {
        font-size: 14px;
        margin: 4px auto;
    }

    .display-sec p {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        opacity: 0.6;
    }
}