    /* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */


/* Carousel base class */

.carousel {
    font-family: 'Microsoft Yahei', 'Arial Black';
    height: 350px;
    margin-bottom: 0px;
}


/* Since positioning the image, we need to help out the caption */

.carousel-caption {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 10;
    background: rgba(0,0,0, 0.5);
    text-align: center;
    padding-top: 0;
    padding-bottom: 6px;
}

.carousel-caption h3 a {
    color: #fff;
}
.carousel-caption h1 {
    text-align: center;
    line-height: 30px;
}

.carousel-caption h1 a{
    color:#fff;
    font-size:20px;
}

.carousel-caption h1 a:hover{
    font-weight:bold;
}


.carousel-caption p {
    position: absolute;
    right: 50px;
    top: -320px;
    margin: 10px 50px;
    font-size: 14px;
    color: #fff;
    text-align: left;
    text-indent: 2em;
    background: rgba(0,0,0, 0.5);
    width: 35%;
    padding: 10px 10px;
    overflow: hidden;
    word-wrap: nowrap;
    white-space: ellipsis;
}


/* Declare heights because of positioning of img element */

.carousel .item {
    height: 350px;
    background-color: #777;
}

.carousel-inner > .item > img {
    position: absolute;
    top: 0;
    left: 0;
	width:100%;
    min-width: 100%;
    height: 350px;
}

.carousel-indicators {
    position: absolute;
    bottom: 65px;
}

.carousel-control.left {
    background: transparent;
}

.carousel-control.right {
    background: transparent;
}
.carousel-caption h3 a {
    color: #fff;
}

/* RESPONSIVE CSS
-------------------------------------------------- */
@media screen and (max-width: 390px) {
    .carousel {
        height: 300px;
    }
    .carousel .item {
        height: 300px;
    }

    .carousel-inner > .item > img {
        height: 300px;
    }    
}
@media (max-width: 768px) {
    /* Bump up size of carousel content */
    .carousel-caption h1 {
        text-align: center;
        font-size: 20px;
    }
	 .carousel-caption p {
        margin-bottom: 20px;
        font-size: 12px;
        line-height: 1.2;
        right: 20px;
        top: -320px;
        margin: 10px 30px;
        text-align: justify;     
        line-height: 1.4;   
    }
}
@media (min-width: 768px) {
    /* Bump up size of carousel content */
    .carousel-caption p {
        margin-bottom: 20px;
        font-size: 14px;
        line-height: 1.4;
    }
}
@media (min-width: 992px) {
    /* Bump up size of carousel content */
    .carousel-caption p {
        margin-bottom: 20px;
        font-size: 14px;
        line-height: 1.6;
    }
}
@media (min-width: 1800px) {
    .carousel,.carousel .item,.carousel-inner > .item > img {
        height: 400px;
    }  
    .carousel-caption p {
        margin-bottom: 20px;
        font-size: 14px;
        line-height: 1.6;
    }    
}