.carousel-inner {z-index: 1;}
.fade:not(.show) {opacity: 1;}
.bs-slider{
    overflow: hidden;
    /*max-height: 845px;*/
    position: relative;
    background: #000000;
}
.bs-slider:hover {
    cursor: -moz-grab;
    cursor: -webkit-grab;
}
.bs-slider:active {
    cursor: -moz-grabbing;
    cursor: -webkit-grabbing;
}
.bs-slider .bs-slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background-color: rgba(0, 0, 0, 0.40);*/
}
.bs-slider > .carousel-inner > .item > img,
.bs-slider > .carousel-inner > .item > a > img {
    margin: auto;
    width: 100% !important;
}

/********************
*****Slide effect
**********************/

.fade {
    opacity: 1;
}
.fade .item {
    top: 0;
    z-index: 1;
    opacity: 0;
    width: 100%;
    position: absolute;
    left: 0 !important;
    display: block !important;
    -webkit-transition: opacity ease-in-out 1s;
    -moz-transition: opacity ease-in-out 1s;
    -ms-transition: opacity ease-in-out 1s;
    -o-transition: opacity ease-in-out 1s;
    transition: opacity ease-in-out 1s;
}
.fade .item:first-child {
    top: auto;
    position: relative;
}
.fade .item.active {
    opacity: 1;
    z-index: 2;
    -webkit-transition: opacity ease-in-out 1s;
    -moz-transition: opacity ease-in-out 1s;
    -ms-transition: opacity ease-in-out 1s;
    -o-transition: opacity ease-in-out 1s;
    transition: opacity ease-in-out 1s;
}
.fade .item > div.itv_0 {position: relative; z-index: 50;}
/*.fade .item > div.itv_0::before {content: ''; background: #fff; width: 520px; position: absolute; top: 0; left: 0; bottom: 0; z-index: 10;}*/





/*---------- LEFT/RIGHT ROUND CONTROL ----------*/
.control-round .carousel-control {
    top: calc(50% + 61px);
    opacity: 1;
    width: 35px;
    height: 70px;
    z-index: 99999;
    color: #ffffff;
    background: rgba(137, 137, 137, 0.3);
    display: block;
    font-size: 0; text-align: center!important;
    cursor: pointer;
    overflow: hidden;
    line-height: 0;
    text-shadow: none;
    position: absolute;
    font-weight: normal;
    /*background: rgba(0, 0, 0, 0.5);*/
}
.control-round:hover .carousel-control{
    opacity: 1;
}
.control-round .carousel-control.left {
    left: 0; border-radius: 0 70px 70px 0; /*display: none;*/
}
.control-round .carousel-control.right {
    right: 0; border-radius: 70px 0 0 70px; /*display: none;*/
}
.control-round .carousel-control.left:hover,
.control-round .carousel-control.right:hover{
    /*color: #fdfdfd;
    background: rgba(0, 0, 0, 0.5);
    border: 0px transparent;*/
    background: #d02027;
}
.control-round .carousel-control.left>span:nth-child(1){
    font-size: 0;
}
.control-round .carousel-control.left>span:nth-child(1)::before {content: ""; position: absolute; left: 11px; top:29px; width: 12px; height: 12px; border-width: 0 0 2px 2px;border-style: solid; border-color: #fff; transform: rotate(45deg);}
.control-round .carousel-control.right>span:nth-child(1){
    font-size: 0;
}
.control-round .carousel-control.right>span:nth-child(1)::after {content: ""; position: absolute; right: 11px; top:29px;  width: 12px; height: 12px; border-width: 2px 2px 0 0;border-style: solid; border-color: #fff; transform: rotate(45deg);}





/*---------- INDICATORS CONTROL ----------*/
.bootstrap-touch-link {position: absolute; bottom: 38px; left: 0; right: 0; z-index: 500; pointer-events: none; cursor: text;}
.bootstrap-touch-link > div {display: flex; flex-direction: row; align-items: center;}
.indicators-line .carousel-indicators {
	position: relative;
	left: auto;
	bottom: auto;
    width: 100%;
    font-size: 0;
	display: flex; flex-flow: wrap; justify-content: center; align-items: center;
	z-index: 555;
    margin: 0;
}
.indicators-line .carousel-indicators li {
    padding: 0;
    width: 15px;
    height: 3px;
    text-indent: 0;
    overflow: hidden;
    text-align: center;
    position: relative;
    background-color: #0062c1;
    margin: 5px;
    -webkit-transition: all 0.5s cubic-bezier(0.22,0.81,0.01,0.99);
    transition: all 0.5s cubic-bezier(0.22,0.81,0.01,0.99);
    z-index: 555;
    cursor:pointer;
    font-size: 0; line-height: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; opacity: 1; pointer-events: initial!important; cursor: pointer!important;
}
.indicators-line .carousel-indicators li::before {
    /*counter-increment:num; content:counter(num);*/
}
/*.indicators-line .carousel-indicators li:last-child{
    margin-right: 0;
}*/
.indicators-line .carousel-indicators .active{
    /*box-shadow: 0 0 0 2px #fff;*/
    background-color: #000;
    position: relative;
    -webkit-transition: box-shadow 0.3s ease;
    -moz-transition: box-shadow 0.3s ease;
    -o-transition: box-shadow 0.3s ease;
    transition: box-shadow 0.3s ease;
    -webkit-transition: background-color 0.3s ease;
    -moz-transition: background-color 0.3s ease;
    -o-transition: background-color 0.3s ease;
    transition: background-color 0.3s ease;

}
/*.indicators-line .carousel-indicators .active:before{
    transform: scale(0.5);
    background-color: #68cb1f;
    content:"";
    position: absolute;
    left:-1px;
    top:-1px;
    width:10px;
    height: 10px;
    border-radius: 50%;
    -webkit-transition: background-color 0.3s ease;
    -moz-transition: background-color 0.3s ease;
    -o-transition: background-color 0.3s ease;
    transition: background-color 0.3s ease;
}*/



/*---------- SLIDE CAPTION ----------*/
.slide_style_left {
    text-align: left !important;
}
.slide_style_right {
    text-align: right !important;
}
.slide_style_center {
    text-align: center !important;
}

.slide-text {
    left: 0;
    top: 58.47%;
	-moz-transform:translateY(-50%); -webkit-transform:translateY(-50%); -o-transform:translateY(-50%); -ms-transform:translateY(-50%); transform:translateY(-50%);
    right: 0;
    margin: auto;
    padding: 0px;
    position: absolute;
    text-align: left;
    z-index: 100;
}

.slide-text > div > h2 {
    color: #fff; font-family: "Montserrat", 'Noto Sans TC', sans-serif;
    font-size: 266.667%; font-weight: 500; letter-spacing: 3.2px; line-height: 1.0416666667; padding: 0; margin: 0 0 2.137% -5px;
    -webkit-animation-delay: 0.5s; animation-delay: 0.5s;
	-webkit-animation-duration:0.5s;animation-duration:0.5s;
	/*text-shadow: -1px -1px 8px rgba(0, 0, 0, 0.35),1px -1px 8px rgba(0, 0, 0, 0.35),-1px 1px 8px rgba(0, 0, 0, 0.35),1px 1px 8px rgba(0, 0, 0, 0.35);*/
}
.slide-text > div > p {
    color: #fff; font-family: "Montserrat", 'Noto Sans TC', sans-serif;
    font-size: 111.111%; font-weight: 600; line-height: 1.2; padding: 0; margin: 0;
    -webkit-animation-delay: 0.5s; animation-delay: 0.7s;
	-webkit-animation-duration:0.5s;animation-duration:0.7s;
	/*text-shadow: -1px -1px 8px rgba(0, 0, 0, 0.35),1px -1px 8px rgba(0, 0, 0, 0.35),-1px 1px 8px rgba(0, 0, 0, 0.35),1px 1px 8px rgba(0, 0, 0, 0.35);*/
}
.slide-text > div > p img {margin: 0 10px 0 0;}
.slide-text > div > a {
	-webkit-animation-delay: 0.7s; animation-delay: 0.7s;
	-webkit-animation-duration:1s;animation-duration:1s;
    margin: 2.805% 0 0 11px;
}
/*.slide-text > div > a:link, .slide-text > div > a:visited {width: 206px; background-color: #00a2f5; margin-top: 47px; -webkit-animation-delay: 2s; animation-delay: 2s; -webkit-animation-duration:0.8s;animation-duration:0.8s; box-shadow: 0 0 8px rgba(0, 0, 0, 0.35);}
.slide-text > div > a:active, .slide-text > div > a:hover {background-color: #0389ce;}
.slide-text > a.btn-default{
    color: #000;
    font-weight: 400;
    font-size: 13px;
    line-height: 15px;
    margin-right: 10px;
    text-align: center;
    padding: 17px 30px;
    white-space: nowrap;
    letter-spacing: 1px;
    display: inline-block;
    border: none;
    text-transform: uppercase;
    -webkit-animation-delay: 2s;
    animation-delay: 2s;
    -webkit-transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
    transition: background 0.3s ease-in-out, color 0.3s ease-in-out;

}
.slide-text > a.btn-primary{
    color: #ffffff;
    cursor: pointer;
    margin-left: 10px;
    text-align: center;
    padding: 17px 30px;
    white-space: nowrap;
    letter-spacing: 1px;
    background: #00bfff;
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    border: none;
    -webkit-animation-delay: 1.2s;
    animation-delay: 1.2s;
    -webkit-transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
    transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
}
.slide-text > a:hover,
.slide-text > a:active {
    color: #ffffff;
    background: #222222;
    -webkit-transition: background 0.5s ease-in-out, color 0.5s ease-in-out;
    transition: background 0.5s ease-in-out, color 0.5s ease-in-out;
}*/






/*------------------------------------------------------*/
/* RESPONSIVE
/*------------------------------------------------------*/

@media (max-width: 1600px) {
    .control-round .carousel-control {top: calc(50% + 35px);}
}
@media (max-width: 1200px) {
    .control-round .carousel-control {top: calc(50% - 35px);}
    .slide-text {top: 50%;}
    .slide-text > div > h2 {margin: 0 0 20px 0;}
}
@media (max-width: 992px) {
    .control-round .carousel-control {top: auto; bottom: 0px;}
    .slide-text {top: 10%; -moz-transform:translateY(0%); -webkit-transform:translateY(0%); -o-transform:translateY(0%); -ms-transform:translateY(0%); transform:translateY(0%);}
    .slide-text > div > h2 {font-size: 230%; margin: 0 0 15px 0;}
    .slide-text > div > p {font-size: 110%;}
}
@media (max-width: 768px) {
}
@media (max-width: 576px) {
    .slide-text > div > h2 {font-size: 200%;}
    .slide-text > div > p {font-size: 95%;}
}
@media (max-width: 430px) {
    .slide-text > div > h2 {font-size: 150%; margin: 0 0 10px 0;}
    .slide-text > div > p {font-size: 73.684%;}
}
@media (max-width: 350px) {
    .slide-text > div > p {font-size: 92.308%;}
}