/* ----------------------------------------------

                INDEX // HEADER 

---------------------------------------------- */
.mainbanner{
    box-sizing: border-box;
    max-width: 100%;
    height: 100vh;
    margin-left: 360px;
    background-color: rgb(0, 0, 0);
    overflow: hidden;
}

.mainbanner-block{
    position: relative;
}

.mask{
    width: 100%;
    position: absolute;
    height: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0) 80%, rgba(0, 0, 0, 0.8));
    z-index: 1;
}

.mainbanner-img{
    width: 100%;
    height: 100vh;
    opacity: 0.8;
}

.slogan{
    position: absolute;
    z-index: 2;
    color: white;
    margin-top: 13.5%;
    margin-left: 78px;
    height: 500px;
}

.slogan a{
    color: #FFF;
}

.slogan a:hover{
    /* text-decoration: underline; */
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.slogan a:hover img{
    -webkit-filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, 0.7));
    filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, 0.7));
}

.slogan h1{font-size: 60pt; text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);}
.slogan h2{font-size: 32pt; font-weight: bolder; text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);}
.slogan h2 img{margin-left: 10px;}

.slogan .line{border-top: 1px solid white; box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3); width: 100px; margin: 20px 0 60px 0;}


@media (max-width: 1900px) {
    /* .mainbanner-block img{
        width: auto;
        height: 100vh;
    } */
}

@media (max-width: 1366px) {
    /* HEADER 版面配置 */
    .navbar {width: 252px;}
    .mainbanner{margin-left: 252px;}
    
    nav .logo{
        /* padding: 50px 0;
        width: 100%; */
    }
    
    nav .logo img{width: 70%;}  

    .navbar-expand-lg .navbar-nav .nav-link, 
    .nav-item .nav-link, 
    .nav-bottom li{
        /* padding: 20px 0 20px 40px; */
    }
}

@media (max-width: 992px) {
    .navbar {width: 100%;}
    nav .logo{
        padding: 10px 0 10px 20px;
        width: 200px;
        text-align: left;
    }

    nav .logo img{width: 100%;}

    .navbar-toggler{
        margin: 20px 20px 0;
    }

    .navbar-nav{
        padding-top: 4rem;
    }

    .mainbanner{
        margin-left: 0;
        padding-top: 70px;
    }

    .slogan{
        top: 25%;
        left: 10%;
        margin-top: 0;
        margin-left: 0;
    }
    .slogan h1{font-size: 3rem;}
    .slogan h2{font-size: 2rem;}

    .slogan .line{margin: 20px 0 20px 0;}
}

@media (max-width: 767px) {
    .navbar {width: 100%;}
    nav .logo{
        padding: 10px 0 10px 20px;
        width: 200px;
        text-align: left;
    }

    nav .logo img{width: 70%;}

    .navbar-toggler{
        margin: 8px 10px 0;
    }

    .navbar-nav{
        padding-top: 2rem;
    }
}

@media (max-width: 320px) {
    .slogan{
        left: 5%;
    }

    .slogan h1{
        font-size: 2.75rem;
    }

    .navbar-expand-lg .navbar-nav .nav-link, .nav-item .nav-link, .nav-bottom li{
        padding: 10px 0 10px 20px;
    }
}

/* ----------------------------------------------

                INDEX // main 

---------------------------------------------- */
#main{
    width: 100%;
    clear: both;
    overflow: hidden;
}

/* ----------------------------------------------

                INDEX // Products 

---------------------------------------------- */
.products-title{
    overflow: hidden;
    box-sizing: border-box;
    color: #FFF;
    height: 332px;
    background-color: #406648;
    background-image: url("../images/img_index_products-title-text.png"), url("../images/img_index_products-title-bg.png");
    background-position: right 20% top 25%, center top;
    background-repeat: no-repeat, no-repeat;
    padding: 142px 0 85px 0;
}
.products-title h3{margin-bottom: 32px;}
.products-title span{display: block; width: 52%;}
.products-title .row{
    height: 332px;
}

.products{
    box-sizing: border-box;
    padding-top: 80px;
    padding-bottom: 110px;
}
.products .container-xxl{
    position: relative;
    min-height: 50vh;
}
.products-infotitle{
    left: 70px;
    top: 80px;
    z-index: 99;
}
.products-infotitle > div{ display: inline-block; }
.products-smus{
    float: left;
}

.products-infotitle-text{
    width: 50%;
    margin-left: 30px;
}

.products-carousel{
    margin-top: 3rem;
}

.products-morebtn{
    position: absolute;
    right: 0;
    bottom: 0;
    width: 130px;
    border-bottom: 3px #1ea660 solid;
}
.products-nav{
    position: absolute;
    top: 240px;
    right: 0;
}

/* 產品旋轉選單||產品說明 */
.products-item-spec{
    width: 84%;
    text-align: left;
    /* color: #00791e; */
    margin: 0 auto;
}

.products-item-spec .name{
    font-size: 1.5rem;
}

.products-item-spec .series{
    font-size: 1.25rem;
}

.products-item-spec .info{
    font-size: 0.9rem;
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: ellipsis; 
    padding-right: 50px;
    background: url(../images/img_products-item-icon.png) right no-repeat;
    background-size: auto 100%;
}

/* .products-item:hover .products-item-spec .info{
    background: url(../images/img_products-item-icon1.png) right no-repeat;
    background-size: auto 100%;
} */

/* 停用hover反應 */
.products-carousel .products-item a:hover{
    color: rgba(0, 0, 0, 0.9);
}

.products-item-spec .line{
    width: 100%;
    height: 3px;
    background-color: #00791e;
    margin-top: 0.5rem;
}

/* 產品旋轉選單||三角按鈕 */
.slider-pager li{
    width: 18px;
    height: 18px;
    overflow: hidden;
    padding: 0;
    margin-bottom: 18px;
}

.slider-pager li {
    transform: rotate(0deg);
    transition: transform .25s !important;
    display: block;
}
.slider-pager li:hover{
    transform: rotate(45deg);
}
.slider-pager li img{
    margin-bottom: 10px;
}
.slider-pager li img:nth-of-type(2) {
    display: none;
}
.slider-pager li:hover img:nth-of-type(1) { display: none; }
.slider-pager li:hover img:nth-of-type(2) { display: block; }

.slider-pager li.active{transform: rotate(45deg);}
.slider-pager li.active img:nth-of-type(1) { display: none; }
.slider-pager li.active img:nth-of-type(2) { display: block; }
/* 產品旋轉選單||三角按鈕 */

@media only screen and (max-width: 1366px) {
    .products-carousel #products-block{
        width: 90%;
    }
    .products-infotitle{
        width: 84%;
        margin: 0 auto;
    }
    .products-nav{
        right: 4rem;
    }
}

@media only screen and (max-width: 1024px) {
    .products .container-xxl{
        min-height: auto;
    }

    .products-infotitle-text{
        width: 68%;
    }

    .products-carousel #products-block{
        width: 90%;
    }

    .products-carousel #products-block{
        height: 620px;
    }

    .products-carousel .products-item{
        width: 260px;
    }

    .products-carousel .inner-block,
    .products-carousel .inner-block img{
        width: 100%;
        height: 260px;
    }

    .products-nav{
        right: 2.5rem;
    }
}

@media only screen and (max-width: 960px) {
    .products{
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .products-title{
        height: 250px;
        background-image: url("../images/img_index_products-title-text.png"), url("../images/img_index_products-title-bg.png");
        background-position: center top 15px,  center top;
        background-repeat: no-repeat, no-repeat;
        background-size: 90%;
        padding: 0;
    }

    .products-infotitle-text{
        width: 57%;
    }

    .products-title h3{
        text-align: center; 
        margin-top: 14.5%;
        font-size: 2.5rem;
    }
    .products-title span{
        width: 100%;
        margin-top: 2.5rem;
    }

    .products .container-xxl{
        position: relative;
        min-height: 50vh;
    }

    .products-carousel{
        margin-top: -6rem;
    }

    .products-carousel #products-block{
        height: 720px;
    }

    .products-carousel .products-item{
        width: 420px;
    }

    .products-carousel .inner-block,
    .products-carousel .inner-block img{
        width: 100%;
        height: 420px;
    }

    .next-button{
        position: absolute;
        right: 10%;
        bottom: 130px;
    }

    .previous-button{
        position: absolute;
        left: 10%;
        bottom: 130px;
    }

    .next-button:active,
    .previous-button:active{
        opacity: 0.5;
    }
}

@media only screen and (max-width: 767px) {
    .products{
        padding-bottom: 2rem;
    }

    .products .container-xxl{
        height: 85vh;
    }

    .products-title {
        background-position: center top 12%, center top;
    }

    .products-title h3{
        margin-bottom: 0;
    }

    .products-title span{
        width: 95%;
        text-align: justify;
        margin: 1.5rem auto 0 auto;
        font-size: 0.9rem;
    }

    .products-infotitle{
        text-align: center;
    }

    .products-smus{
        float: inherit;
    }

    .products-infotitle-text{
        width: 100%;
        margin-left: 0;
        font-size: 0.9rem;
        text-align: justify;
        margin: 2rem 0 6rem 0;
    }

    .products-carousel #products-block{
        position: static;
        width: 70%;
    }

    .products-carousel #products-block{
        height: 620px;
    }

    .products-carousel .products-item{
        width: 220px;
    }

    .products-carousel .inner-block,
    .products-carousel .inner-block img{
        width: 100%;
        height: 220px;
    }

    .next-button{
        position: absolute;
        right: 0%;
        bottom: 260px;
    }

    .next-button,
    .previous-button{
        width: 8%;
    }

    .previous-button{
        position: absolute;
        left: 0%;
        bottom: 260px;
    }

    .products-item-spec{
        width: 100%;
    }

    .products-item-spec .info{
        font-size: 0.5rem;
        margin-top: 0.5rem;
    }
    
}

@media (max-width: 374px) {
    .products-carousel .products-item{
        width: 180px;
        opacity: 0;
    }

    .products-carousel .inner-block,
    .products-carousel .inner-block img{
        width: 100%;
        height: 180px;
    }
}

/* ----------------------------------------------

                INDEX // About 
                
---------------------------------------------- */
.aboutus{
    position: relative;
    height: 870px;
    background: url("../images/img_index_aboutus-title-text.png") left 200px top 100px no-repeat, url("../images/img_index_aboutus_bg.png") right bottom no-repeat;
}
.aboutus-block:nth-child(1) .inner-block{
    position: absolute;
    color: #FFF;
    box-sizing: border-box;
    height: 620px;
    background: #213A25 url("../images/img_index_aboutus1.png") no-repeat;
    background-size: cover;
    z-index: 99;
}
.aboutus-title{
    position: absolute;
    text-align: justify;
    bottom: 50px;
    left: 80px;
    width: 486px;
}
.aboutus-title h3{
    margin-bottom: 40px;
    font-weight: bolder;
}
.aboutus-block:nth-child(2){
    width: 84%;
    position: absolute;
    bottom: 0;
}
.aboutus-block:nth-child(2) .inner-block{
    height: 620px;
}
.aboutus-block:nth-child(2) .inner-block:nth-child(1){
    background: #213A25 url("../images/img_index_aboutus2.png") no-repeat;
    background-size: cover;
}
.aboutus-block:nth-child(2) .inner-block:nth-child(2){
    background: #213A25 url("../images/img_index_aboutus3.png") no-repeat;
    background-size: cover;
}
.aboutus-morebtn{
    margin-top: 80px;
    float: right;
    width: 130px;
    border-bottom: 3px #FFF solid;
    cursor: pointer;
}

.aboutus-morebtn:hover{
    color: #1EA660;
    border-bottom: 3px #1EA660 solid;
}

.aboutus-morebtn.sp{
    position: absolute;
    width: 130px;
    border-bottom: 3px #1EA660 solid;
    right: 0;
    bottom: 0;
}

@media only screen and (max-width: 1366px) {
    .aboutus{
        height: 870px;
        background: url("../images/img_index_aboutus-title-text.png") left 100px top 110px no-repeat, url("../images/img_index_aboutus_bg.png") right bottom no-repeat;
        background-size: 48%, auto;
    }

    .aboutus-title{
        left: 50px;
        width: 470px;
    }
}

@media only screen and (max-width: 1024px) {
    .aboutus{
        height: 620px;
        background: url("../images/img_index_aboutus-title-text.png") left 60px top 100px no-repeat, url("../images/img_index_aboutus_bg.png") left 30px top 140px no-repeat;
        background-size: 48%, auto;
    }

    .aboutus-title{
        top: 140px;
        left: 50px;
        width: 340px;
    }

    .aboutus-morebtn{
        margin-top: 40px;
    }

    .aboutus-block:nth-child(1) .inner-block{
        height: 480px;
    }
    .aboutus-block:nth-child(2) .inner-block{
        height: 420px;
    }
}

@media only screen and (max-width: 960px) {
    /* .navbar-collapse.collapse.show .navbar-nav{
        border-top: #333 1px solid;
    } */

    .navbar{
        border-bottom: rgb(236, 236, 236) 1px solid;
    }

    .aboutus{
        padding-top: 4rem;
        padding-bottom: 2rem;
        height: auto;
        background: none, url("../images/img_index_aboutus_bg.png") center top no-repeat;
        background-size: auto, cover;
        position: relative;
    }

    .aboutus .container-fluid{
        padding: 0;
        margin: 0;
    }

    .aboutus-block:nth-child(1) .inner-block{
        position: inherit;
        height: 280px;
    }

    .aboutus-block:nth-child(2){
        position: initial;
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .aboutus-block:nth-child(2) .inner-block{
        height: 280px;
        padding: 0;
        margin: 0;
    }

    .aboutus-title{
        position: inherit;
        width: 86%;
        margin: 5rem auto 0 auto;
    }

    .aboutus-title-sp{
        position: absolute;
        background: url("../images/img_index_aboutus-title-text.png") center 1rem no-repeat;
        background-size: 86%;
        width: 100%;
        height: 120px;
        z-index: 99;
        top: 0;
        left: 0;
    }
}

@media only screen and (max-width: 767px) {
    .aboutus{
        padding-bottom: 4rem;
    }

    .aboutus-block:nth-child(1) .inner-block{
        height: 300px;
    }

    .aboutus-block:nth-child(2) .inner-block{
        height: 200px;
    }

    .aboutus .container-fluid{
        position: relative;
        padding-top: 1.75rem;
    }

    .aboutus-title-sp{
        background: url("../images/img_index_aboutus-title-text.png") center top no-repeat;
        background-size: 86%;
    }

    .aboutus-title{
        margin: 3rem auto 0 auto;
    }

    .aboutus-title h3{
        margin-bottom: 1rem;
    }

    .aboutus-title span{
        font-size: 0.9rem;
        line-height: 0.5rem;
    }

    .aboutus-morebtn.sp{
        bottom: 2rem;
    }
}

/* ----------------------------------------------------

        INDEX // HIT // 最新消息（首推、置頂、或最新更新） 
                
---------------------------------------------------- */
.hit{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 320px;
    background-image: linear-gradient(#F3F4EC 50%, #F8F8F8 50%);
}
.hit-block{
    width: 1340px;
    box-sizing: border-box;
    background-color: #FFF;
    padding: 33px 0 33px 0px;
    position: relative;
    overflow: hidden;
}
.hit-title, .hit-img, .hit-text{
    float: left;
}

.hit-title{
    width: 230px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bolder;
    color: #016119;
}
.hit-title span{
    border-right: #016119 1px solid;
    width: 100%;
    text-align: center;
}
.hit-text h4{
    color: #016119;
    width: 410px;
    white-space: nowrap;    
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer; 
}

.hit-text h4:hover{
    text-decoration: underline;
}

.hit-img{
    margin-left: 70px;
    margin-right: 20px;
    border: #D8D8D8 1px solid;
    cursor: pointer;
    box-sizing: content-box;
    width: 270px;
    height: 90px;
    overflow: hidden;
}

.hit-img img{
    width: 100%;
}

.hit-img:hover{
    border: #016119 1px solid;
}

.hit-date{
    margin: 18px 0 0 0;
    font-weight: bolder;
}
.hit-info{
    width: 80%;
    max-height: 24px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}
.hit-morebtn{
    position: absolute;
    width: 130px;
    /* border-bottom: 3px #808080 solid; */
    border-bottom: 3px #1EA660 solid;
    right: 0;
    bottom: 33px;
    float: right;
    cursor: pointer;
}

.hit-morebtn:hover,
.news-morebtn:hover{
    color: #1EA660;
    /* border-bottom: 3px #1EA660 solid; */
}

@media only screen and (max-width: 1024px) {
    .hit-title{
        width: 150px;
    }
    .hit-img{
        margin-left: 40px;
    }
}

@media only screen and (max-width: 960px) {
    .hit{
        height: 320px;
    }
    
    /* .hit-block{
        padding: 33px 0 132px 0px;
    } */

    .hit-title{
        width: 100%;
        margin-bottom: 2rem;
    }

    .hit-title span{
        width: auto;
        border-right: none;
        border-bottom: #016119 1px solid;
        padding-top: 1rem;
        padding-bottom: 1rem;
        margin-bottom: 2rem;
    }

    .hit-morebtn{
        position: initial;
        margin-top: 30px;
        margin-bottom: 30px;
        /* bottom: 66px; */
    }
}

/* ----------------------------------------------

        INDEX // NEWS // 最新消息 // 展覽訊息
                
---------------------------------------------- */

.news{
    position: relative;
    box-sizing: border-box;
    background-color: #f8f8f8;
    padding-bottom: 124px;
}

.news-img{
    float: left;
    margin-right: 16px;
    border: transparent 1px solid;
    width: 207px;
    height: 70px;
    overflow: hidden;
    box-sizing: content-box;
}

.news-img img{
    width: 100%;
}

.news-img:hover{
    border: #016119 1px solid;
    cursor: pointer;
}

.news-title{
    box-sizing: border-box;
    text-align: center;
    padding-top: 72px;
    padding-bottom: 80px;
    font-size: 2em;
    font-weight: bolder;
    color: #016119;
    background: url(../images/img_new-title-bg.png)center top no-repeat;
}

.news-innerblock{
    width: 95%;
    overflow: hidden;
    padding-top: 20px;
    padding-bottom: 20px;
    border-bottom: #a5a5a5 1px solid;
}

.news-text{
    float: right;
    width: 64%;
    margin-top: 12px;
}

.news-text h4{
    color: #016119;
    font-size: 1.125rem;
    line-height: 0rem;
    /* font-weight: 600; */
    cursor: pointer;
}

.news-text h4:hover{
    font-weight: bolder;
    text-decoration: underline;
}

.news-text span{
    font-size: 0.875rem;
    display: block;
}

.news-morebtn-block{
    width: 95%;
}

.news-morebtn{
    width: 130px;
    border-bottom: 3px #1EA660 solid;
    margin-top: 40px;
    float: right;
    cursor: pointer;
}

@media only screen and (max-width: 1366px) {
    .news-innerblock:nth-child(odd){
        margin-left: 30px;
    }

    .news-morebtn-block{
        width: 100%;
    }
}

@media only screen and (max-width: 1024px) {
    .news-block{
        padding-left: 30px;
        padding-right: 30px;
    }

    .news-innerblock{
        width: 100%;
    }

    .news-innerblock:nth-child(odd){
        margin-left: 0px;
    }

    .news-text{
        float: right;
        width: 50%;
        margin-top: 0;
    }

    .news-text h4{
        line-height: 1.25rem;
        padding: 0;
        margin: 0;
    }

    .news-morebtn-block{
        width: 100%;
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media only screen and (max-width: 960px) {
    .news{
        padding-bottom: 40px;
    }

    .news-title{
        padding-top: 130px;
        padding-bottom: 60px;
        background: url(../images/img_new-title-bg.png)center top 60px no-repeat;
    }

    .news-img{
        width: 100%;
        margin-bottom: 20px;
    }

    .news-text{
        float: left;
        width: 100%;
    }
}

@media only screen and (max-width: 767px) {
    .products .container-xxl,
    .aboutus,
    .hit-block,
    .news{
        position: initial;
        clear: both;
    }

    .products{
        padding-bottom: 0;
    }

    .products .container-xxl{
        height: auto;
    }

    .products-carousel {
        margin-top: -4.5rem;
    }

    .products-carousel #products-block{
        height: 450px;
    }

    .products-morebtn{
        position: initial;
        float: right;
        margin-bottom: 33px;
    }

    .aboutus-morebtn.sp{
        position: initial;
    }

    .aboutus-morebtn{
        margin: 22px 0;
    }

    .hit{
        display: block;
        height: auto;
    }

    .hit-morebtn{
        position: initial;
        float: right;
        margin: 33px 0;
    }

    .hit-block{
        width: 100%;
        padding: 0;
    }

    .hit-title{
        margin-bottom: 0;
    }

    .hit-img{
        margin-bottom: 2rem;
    }
    
    .hit-title, .hit-img, .hit-text{
        float: initial;
        width: 87%;
        overflow: hidden;
        margin: 1rem auto 0 auto;
    }

    .hit-text h4{
        width: auto;
        font-size: 1.25rem;
        white-space: initial;
        overflow: hidden;
    }

    .hit-date{
        margin: 0px 0 0 0;
    }

    .hit-info{
        text-overflow: ellipsis;
        overflow:hidden;
        width: 100%;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
    }

    .news{
        padding-bottom: 40px;
    }

    .news-img{
        margin-bottom: 8px;
        height: 44px;
    }

    .news-img img{
        width: 100%;    
    }

    .news-text h4{
        font-size: 0.9rem;
        line-height: 1rem;
        font-weight: bolder;
    }

    .news-text span:nth-child(3){
        font-size: 0.8rem;
    }
}

/* -------------------------------------------------------------

            INDEX // carousel // MainBanner旋轉木馬
                
------------------------------------------------------------- */
.carousel-indicators{
    display: block;
    margin-bottom: 70px;
    width: 40%;
    /* border: #fff 1px solid; */
    margin-right: 0;
    margin-left: 50%;
    text-align: center;
}

.carousel-indicators button:not(.active):hover{
    background-color: #c9e146;
    border: transparent 2px solid;
}

.carousel-indicators [data-bs-target]{
    width: 1rem;
    height: 1rem;
    border-radius: 100%;
    border: white 2px solid;
    background-color: transparent;
}

.carousel-indicators .active{
    border: transparent 2px solid;
    background-color: #c9e146;
}

.carousel-control{
    position: relative;
    bottom: 110px;
    width: 40%;
    left: 50%;
    z-index: 3;
}

.carousel-control-prev,
.carousel-control-next {
    /* position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 15%;
    padding: 0;
    color: #fff;
    text-align: center;
    background: none;
    border: 0;
    opacity: 0.5;
    transition: opacity 0.15s ease; */
    position: absolute;
    display: block;
    width: auto;
    height: 44px;
    padding: 0;
}

.carousel-control-next-icon, 
.carousel-control-prev-icon{
    width: 29px;
    height: 44px;
    cursor: pointer;
}

.carousel-control-prev-icon{
    background-image: url(../images/img_carousel-control-prev.png);
}

.carousel-control-next-icon{
    background-image: url(../images/img_carousel-control-next.png);
}

.carousel-control-prev:hover, 
.carousel-control-prev:focus,
.carousel-control-next:hover,
.carousel-control-next:focus {
    opacity: 1;
}

.carousel-control-prev:hover .carousel-control-prev-icon, 
.carousel-control-prev:focus .carousel-control-prev-icon{
    background-image: url(../images/img_carousel-control-prev1.png);
    background-repeat: no-repeat;
}

.carousel-control-next:hover .carousel-control-next-icon, 
.carousel-control-next:focus .carousel-control-next-icon{
    background-image: url(../images/img_carousel-control-next1.png);
    background-repeat: no-repeat;
}

@media (max-width: 992px) {
    .carousel-indicators{
        display: block;
        margin-bottom: 163px;
        width: 50%;
        /* border: #fff 1px solid; */
        margin-right: 0;
        margin-left: 25%;
        text-align: center;
    }
    
    .carousel-control{
        position: relative;
        bottom: 200px;
        width: 80%;
        left: 10%;
        z-index: 3;
    }

    .mask {
        width: 100%;
        position: absolute;
        height: 100%;
        background-image: linear-gradient(rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0.8));
        z-index: 1;
    }
}

/* Landscape */
@media only screen and (orientation: landscape) {
    .mainbanner,
    .mainbanner-img,
    .mainbanner-img{
        height: 100vh;
    }

    .slogan{
        top: 5%;
    }

    .carousel-control{
        bottom: 140px;
    }

    .carousel-indicators{
        margin-bottom: 100px;
    }
}

/* Landscape */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 568px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: landscape) {
    .mainbanner,
    .mainbanner-img,
    .mainbanner-img{
        height: 150vh;
    }
}