.carousel-caption{
    max-height: 100vh;!important;
    overflow: hidden;!important;
    /*bottom: 120px;*/
    background: rgba(0, 0, 0, 0.2);
}
.carousel-caption *{
    color: #ffffff;
}


#myCarousel {
    position: relative;
    margin-top: 140px;
}

.carousel-inner,
.carousel-inner .item {
    overflow: hidden;
    height: 70vh;
    transition: .7s;
}

.carousel-inner img:not(.logo-white) {
    width: 100%;
    height: auto;
    margin: auto;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, .6);
    position: absolute;
    top: 40%;
    transform: translate(0, -50%);
}
.carousel-caption > hr{
    width: 200px ;
    color: white ;
    margin: 12px auto;
    text-shadow: 2px 2px 8px #000000;
}
.carousel-caption > h3{
    text-shadow: 2px 2px 8px #000000;
}
.carousel-caption p{
    text-shadow: 2px 2px 8px #000000;
}
/*--左右控制鈕--*/
.carousel-button {
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    z-index: 2;
    opacity: 0;
    transition: all 1s;
}

.button-left {
    left: 5%;
}

.button-right {
    right: 5%;
}

.carousel-button div {
    background: #fff;
    width: 60px;
    height: 60px;
    opacity: 1;
    transition: all 1s;
    overflow: hidden;
}
.carousel-button div:before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(0, 0, 0, .8);
    font-weight: 100;
    font-size: 30px;
    transition: all 1s;
}

.button-left:hover .glyphicon-chevron-left:before{
    left: -150%;
}

.button-right:hover .glyphicon-chevron-right:before{
    left: 150%;
}
.carousel-button:hover div {
    background: #cfb094;
}

.carousel-indicators {
    opacity: 0;
    transition: all 1s;
}

#myCarousel:hover > * {
    opacity: 1;
}
/*----*/
@media (max-width: 1200px){
    .carousel-inner, .carousel-inner .item {
        overflow: hidden;
        height: 55vh;
    }
}
@media (max-width: 991px){
    #myCarousel{
        margin-top: 140px;
    }
    .carousel-inner,
    .carousel-inner .item {
        height: 40vh;
    }

}
@media (max-width: 767px) {
    .carousel-inner,
    .carousel-inner .item {
        height: 30vh;
    }
    #myCarousel{
        margin-top: 60px;
    }
}
@media (max-width: 520px){

    .carousel-inner,
    .carousel-inner .item {
        height: calc(100vw * 0.6);
    }
    .carousel-indicators {
        bottom: 0;
    }
    /*.carousel-inner,
    .carousel-inner .item {
        height: 30vh;
    }*/
    .carousel-caption > h3{
        font-size: 16px;
    }
    .carousel-caption > p{
        font-size: 14px
    }
    .carousel-caption >hr{
        width: 100px;
    }
    .carousel-button div{
        width: 30px;
        height: 30px;
    }
    .carousel-button div:before,
    .carousel-button div:after{
        font-size: 15px;
    }
}