﻿.products-page-box{
    display: block;
    position: relative;
    width: 100%;
    min-height: calc(100vh - 80px);
    margin-top: 150px;
    font-size: 0;
}
.products-page-info-box{
    width: 1200px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
}
.products-page-path-box{
    width: 100%;
    display: block;
    position: relative;
}
.products-page-path-home{
    font-size: 14px;
    color: #79be3f;
    letter-spacing: 1px;
    line-height: 30px;
    display: inline-block;
    vertical-align: middle;
    width: 20px;
    position: relative;
    margin-right: 20px;
    transition: all .3s linear;
}
.products-page-path-home::after{
    content: '/';
    font-size: 14px;
    line-height: 30px;
    color: #888;
    position: absolute;
    right: -11px;
    top: 0;
    display: block;
}
.products-page-path-sort-box{
    max-width: calc(100% - 40px);
    display: inline-block;
    vertical-align: middle;
    position: relative;
}
.products-page-path-sort-name{
    font-size: 14px;
    color: #888;
    letter-spacing: 1px;
    line-height: 30px;
    position: relative;
    display: inline-block;
    cursor: pointer;
}
.products-page-path-sort-name::before{
    content: '';
    width: 0%;
    height: 1px;
    display: block;
    background-color: #888;
    position: absolute;
    bottom: 5px;
    left: 0;
    transition: all .3s linear;
}
/* .products-page-path-sort-name::after{
    content: '';
    width: 0;
    height: 0;
    border-top: 6px solid #888;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    position: absolute;
    top: 12px;
    left: calc(100% + 5px);
} */
.products-page-path-sort-all-box{
    min-width: 100%;
    background-color: #fff;
    z-index: 4;
    box-shadow: 0 0 5px rgba(0 ,0 ,0 ,0.3);
    position: absolute;
    display: none;
    top: calc(100% - 5px);
    box-sizing: border-box;
    padding: 5px 0;
}
.products-page-path-sort{
    box-sizing: border-box;
    padding: 5px;
    font-size: 14px;
    color: #555;
    letter-spacing: 1px;
    line-height: 20px;
    display: block;
    transition: all .3s linear;
}
.products-page-info-l-box,
.products-page-info-r-box{
    width: 600px;
    max-width: 100%;
    display: inline-block;
    vertical-align: top;
}
.products-page-info-r-box{
    box-sizing: border-box;
    padding-left: 15px;
}
.products-page-info-l-btn-box{
    width: 100%;
    display: block;
    text-align: center;
    border-bottom: 1px solid #d1d1d14d;
}
.products-page-info-l-btn{
    width: 33.3333%;
    display: inline-block;
    vertical-align: middle;
    font-weight: bold;
    font-size: 14px;
    box-sizing: border-box;
    padding-top: 15px;
    padding-bottom: 5px;
    letter-spacing: 1px;
    position: relative;
    cursor: pointer;
    transition: all .3s linear;
}
.products-page-info-l-btn:after{
    content: '';
    width: 0%;
    display: block;
    height: 1px;
    position: absolute;
    background-color: #79be3f;
    bottom: 0;
    left: 0;
    transition: all .3s linear;
}
.products-page-info-l-img-box{
    width: 100%;
    display: block;
    box-sizing: border-box;
    padding: 18px 20px;
}
.products-page-info-l-img{
    height: 360px;
}
.products-page-info-l-img>span{
    height: calc(100% - 28px);
}
.products-page-info-l-img>span>span{
    font-size: 14px;
    line-height: 28px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-sizing: border-box;
    padding: 0 20px;
}
.products-page-info-l-img-box .slick-dots{
    bottom: -20px;
    left: 0;
}
.products-page-info-l-img-box .slick-dots li{
    margin: 0 3px;
}
.products-page-info-l-img-box .slick-dots li button:before{
    color: #ddd;
    opacity: 1;
}
.products-page-info-l-img-box .slick-dots li button:hover:before,
.products-page-info-l-img-box .slick-dots li button:focus:before {
    color: #79be3f;
    opacity: 1;
}
.products-page-info-l-img-box .slick-dots li.slick-active button:before{
    color: #79be3f;
    opacity: 1;
}
.products-page-info-r-title{
    font-size: 28px;
    color: #79be3f;
    font-weight: 500;
    font-family: "微軟正黑體",'Roboto';
    letter-spacing: 2px;
    margin-bottom: 6px;
}
.products-page-info-r-text{
    font-size: 14px;
    color: #555;
    letter-spacing: 1px;
    line-height: 2.3;
    min-height: 185px;
}
.products-page-info-r-btn{
    width: initial;
    max-width: 100%;
    line-height: 46px;
    display: inline-block;
    box-sizing: border-box;
    padding: 0 20px;
    border: 1px solid #d1d1d1;
    font-size: 14px;
    color: #888;
    text-align: center;
    letter-spacing: 1px;
    margin-top: 25px;
    cursor: pointer;
    transition: all .3s linear;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 20px;
}
.products-page-info-r-btn i{
    color: #79be3f;
    margin-right: 10px;
}
.products-page-introduction-box{
    display: block;
    margin-top: 80px;
}
.products-page-introduction-btn-box{
    box-sizing: border-box;
    border-top: 1px solid #d1d1d1;
}
.products-page-introduction-btn{
    width: 33.3333%;
    display: inline-block;
    vertical-align: top;
    text-align: center;
    box-sizing: border-box;
    padding: 20px;
    border-bottom: 1px solid #d1d1d1;
}
.products-page-introduction-btn:nth-child(3n + 2){
    border-right: 1px solid #d1d1d1;
    border-left: 1px solid #d1d1d1;
    padding: 20px 19px;
}
.products-page-introduction-btn-icon{
    margin-bottom: 30px;
}
.products-page-introduction-btn-icon img{
    width: 60px;
    height: 60px;
}
.products-page-introduction-btn-text{
    font-size: 18px;
    font-weight: lighter;
    color: #555;
    letter-spacing: 2px;
    overflow : hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.products-page-introduction-img{
    width: 1200px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    text-align: center;
    box-sizing: border-box;
    padding: 70px 0;
    font-size: 14px;
    line-height: 2;
    letter-spacing: 1px;
}
.products-page-news-box{
    width: 1200px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    font-size: 0;
    box-sizing: border-box;
    padding: 50px 0;
}
.products-page-news-info{
    width: 360px;
    max-width: 100%;
    display: inline-block;
    vertical-align: top;
    margin-left: 60px;
}
.products-page-news-info:nth-child(3n + 1){
    margin-left: 0;
}
.products-page-news-info-img-box{
    width: 100%;
    height: 260px;
    display: block;
    overflow: hidden;
}
.products-page-news-info-img{
    width: 100%;
    height: 100%;
    display: block;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    transition: all .3s linear;
}
.products-page-news-info-text{
    font-size: 16px;
    line-height: 36px;
    letter-spacing: 1px;
    font-weight: bold;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: all .3s linear;
}

.fancybox-close{
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 20px;
    color: #000;
    text-align: center;
    position: absolute;
    top: 0;
    right: 0;
    background-color: #ddd;
    cursor: pointer;
    z-index: 3;
}
.body-close{
    overflow: hidden;

}
.body-close::-webkit-scrollbar{
    display:none;
}
.fancybox-block{
    width: 100%;
    max-height: 100vh;
    overflow: auto;

}
.fancybox-block::-webkit-scrollbar{
    display:none;
}


#products-page .fancybox-table,
#products-page .fancybox-table-member-js{
    display: table;
    z-index: -999;
    pointer-events: none;
    transform: scale(0);
}
#products-page .fancybox-table.active,
#products-page .fancybox-table-member-js.active{
    z-index: 999;
    pointer-events: initial;
    transform: scale(1);
}
#products-page .fancybox-box{
    width: 60vw;
    background-color: #fff;
}
#products-page .fancybox-article{
    max-height: initial;
    background-color: transparent;
}
.fancybox-img-box {
    min-height: 60vh;
}
.products-page-info-l-img-box .slick-prev:before{
    content: '\f0d9';
    font-weight: bold;
    font-family: "Font Awesome 5 Free";
    display: block;
    font-size: 30px;
    color: #79be3f;
}
.products-page-info-l-img-box .slick-next:before{
    content: '\f0da';
    font-weight: bold;
    font-family: "Font Awesome 5 Free";
    display: block;
    font-size: 30px;
    color: #79be3f;
}
.products-page-info-l-img-box .slick-prev{
    left: 0;
    width: initial;
    height: initial;
}
.products-page-info-l-img-box .slick-next{
    right: 0;
    width: initial;
    height: initial;
}
.fancybox-article .products-page-info-l-img{
    height: 60vh;
}
.products-page-news-title{
    font-size: 24px;
    color: #79be3f;
    font-weight: 500;
    font-family: "微軟正黑體",'Roboto';
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 15px;
}

/*------------hover------------*/
.products-page-info-l-btn.active,
.products-page-info-l-btn:hover{
    color: #79be3f;
}
.products-page-info-l-btn.active:after,
.products-page-info-l-btn:hover:after{
    width: 100%;
}
.products-page-info-r-btn:hover{
    background-color: #eee;
    color: #00a4a5;
}
.products-page-news-info:hover .products-page-news-info-img{
    transform: scale(1.1);
}
.products-page-news-info:hover .products-page-news-info-text{
    color: #79be3f;
}
.products-page-path-sort-box:hover .products-page-path-sort-name::before{
    width: 100%;
}
.products-page-path-home:hover{
    color: #00a4a5;
}
.products-page-path-sort:hover{
    background-color: #00a4a5;
    color: #fff;
}
.fancybox-products_documents-info-box{
    box-sizing: border-box;
    padding: 20px 40px;
    font-size: 0;
    max-height: calc(80vh - 40px);
    overflow-y: auto;
}
.fancybox-products_documents-info-box .investor-governance-info-title-box{
    position: sticky;
    top: -20px;
}

@media only screen and (max-width: 1200px){
    .products-page-info-box,
    .products-page-introduction-img,
    .products-page-news-box{
        width: 1000px;
    }
    .products-page-info-l-box, .products-page-info-r-box{
        width: 50%;
    }
    .products-page-news-info{
        width: 310px;
        margin-left: 34px;
    }
    .products-page-news-info-img-box{
        height: 224px;
    }
}
@media only screen and (max-width: 1000px){
    .products-page-info-box,
    .products-page-introduction-img,
    .products-page-news-box{
        width: 750px;
    }
    .products-page-introduction-btn-text{
        font-size: 12px;
        -webkit-line-clamp: 3;
    }
    .products-page-news-info {
        width: 230px;
        margin-left: 30px;
    }
    .products-page-news-info-img-box{
        height: 166px;
    }
}
@media only screen and (max-width: 750px){
    .products-page-info-box,
    .products-page-introduction-img,
    .products-page-news-box{
        width: 550px;
    }
    .products-page-info-l-box, .products-page-info-r-box{
        width: 100%;
    }
    .products-page-info-l-img{
        height: 328px;
    }
    .products-page-introduction-btn-text{
        font-size: 16px;
        min-height: 28px;
        max-height: initial;

    }
    .products-page-introduction-btn-icon img{
        width: 40px;
        height: 40px;
        display: inline-block;
        padding-left: 0;
    }
    .products-page-introduction-btn-icon{
        text-align: center;
    }
    .products-page-introduction-btn{
        width: 50%;
    }
    .products-page-introduction-btn:nth-child(n) {
        border-right: none;
        border-left: none;
    }
    .products-page-introduction-btn-box .slick-prev{
        left: 70px;
        top: calc(50% - 28px);
        z-index: 3;
    }
    .products-page-introduction-btn-box .slick-next{
        right: 70px;
        top: calc(50% - 28px);
    }
    .products-page-introduction-btn-box .slick-prev:before{
        content: '\f053';
        font-weight: bold;
        font-family: "Font Awesome 5 Free";
        display: block;
        font-size: 36px;
        color: #79be3f;
        transition: all .3s linear;
    }
    .products-page-introduction-btn-box .slick-next:before{
        content: '\f054';
        font-weight: bold;
        font-family: "Font Awesome 5 Free";
        display: block;
        font-size: 36px;
        color: #79be3f;
        transition: all .3s linear;
    }
    .products-page-news-info{
        width: 100%;
        display: block;
        margin-left: 0;
        margin-bottom: 20px;
    }
    .products-page-news-info-img-box{
        width: 150px;
        height: 108px;
        display: inline-block;
        vertical-align: middle;
    }
    .products-page-news-info-text{
        display: inline-block;
        vertical-align: middle;
        box-sizing: border-box;
        padding-left: 20px;
        width: calc(100% - 150px);
        line-height: inherit;
        overflow : hidden;
        text-overflow: ellipsis;
        display: -webkit-inline-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        white-space: normal;
    }
    #products-page .fancybox-box{
        width: 80vw;
    }
    .products-page-news-title{
        font-size: 20px;
    }

}
@media only screen and (max-width: 550px){
    .products-page-info-box,
    .products-page-introduction-img,
    .products-page-news-box{
        width: 400px;
    }
    .products-page-info-r-title{
        font-size: 24px;
    }
    .products-page-info-l-btn{
        font-size: 12px;
    }
    .products-page-info-l-img{
        height: 232px;
    }
    .products-page-box{
        margin-top: 100px;
    }
    .products-page-info-r-btn{
        width: calc((100% - 20px) / 2);
        padding: 0 10px;
        font-size: 12px;
        line-height: 36px;
        margin-right: 10px;
    }
    .products-page-introduction-box{
        margin-top: 40px;
    }
    .products-page-introduction-btn-text{
        font-size: 14px;
    }
    .products-page-introduction-btn-icon{
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .products-page-introduction-btn{
        padding: 10px;
    }
    .products-page-introduction-btn:nth-child(3n + 2){
        padding: 10px 9px;
    }
    .products-page-introduction-btn-text{
        min-height: 44px;
    }
    .products-page-introduction-btn-box .slick-prev{
        left: 40px;
    }
    .products-page-introduction-btn-box .slick-next{
        right: 40px;
    }
    .products-page-news-info-text{
        font-size: 14px;
    }
    .products-page-news-title{
        font-size: 16px;
    }


    .fancybox-products_documents-info-box{
        padding: 10px;
    }
    .fancybox-products_documents-info-box .investor-governance-info-title-box{
        top: -10px;
    }

}
@media only screen and (max-width: 400px){
    .products-page-info-box,
    .products-page-introduction-img,
    .products-page-news-box{
        width: 300px;
    }
    .products-page-info-r-title{
        font-size: 20px;
    }
    .products-page-info-r-text{
        font-size: 12px;
    }
    .products-page-info-l-img{
        height: 167px;
    }
    .products-page-introduction-btn-text{
        font-size: 12px;
        letter-spacing: 1px;
    }
    .products-page-introduction-btn{
        padding: 5px;
    }
    .products-page-introduction-btn:nth-child(3n + 2){
        padding: 5px 4px;
    }
    .products-page-introduction-btn-icon img{
        width: 30px;
        height: 30px;
    }
    .products-page-introduction-btn-text{
        min-height: 38px;
    }
    .products-page-news-info-img-box{
        width: 100px;
        height: 72px;
        display: inline-block;
        vertical-align: middle;
    }
    .products-page-news-info-text{
        padding-left: 10px;
        width: calc(100% - 100px);
        font-size: 12px;
    }
}






/*animation*/

@media only screen and (min-width: 1001px){
    .products-page-introduction-btn-icon,
    .products-page-introduction-btn-text,
    .products-page-news-info,
    .products-page-product-shop{
        opacity: 0;
    }
    .products-page-info-l-btn-box{
        animation: fadeInDown 1s ease 0s 1 both;
    }
    .products-page-info-l-img-box{
        animation: fade 1s ease 0s 1 both;
    }
    .products-page-info-r-title{
        animation: fadeInRight 1s ease 0s 1 both;
    }
    .products-page-info-r-text{
        animation: fadeInRight 1s ease 0.1s 1 both;
    }
    .products-page-info-r-btn{
        animation: fadeInRight 1s ease 0.2s 1 both;
    }
    .products-page-introduction-btn-icon,
    .products-page-introduction-img.anima{
        animation: fade 1s ease 0s 1 both;
    }
    .products-page-introduction-btn-text{
        animation: fadeInUp 1s ease 0s 1 both;
    }
    .products-page-news-info{
        animation: fadeInDown 1s ease 0s 1 both;
    }
    .products-page-product-shop{
        animation: fadeInUp 1s ease 0s 1 both;
    }
}
@keyframes fadeInDown {
    from {
      opacity: 0;
      -webkit-transform: translate3d(0, -20%, 0);
      transform: translate3d(0, -20%, 0);
    }

    to {
      opacity: 1;
      -webkit-transform: none;
      transform: none;
    }
}

@keyframes fade {
    from {
       opacity: 0;
     }
     to {
       opacity: 1;
     }
}

@keyframes fadeInRight {
    from {
      opacity: 0;
      -webkit-transform: translate3d(20%, 0, 0);
      transform: translate3d(20%, 0, 0);
    }

    to {
      opacity: 1;
      -webkit-transform: none;
      transform: none;
    }
}

@keyframes fadeInUp {
    from {
      opacity: 0;
      -webkit-transform: translate3d(0, 50%, 0);
      transform: translate3d(0, 50%, 0);
    }

    to {
      opacity: 1;
      -webkit-transform: none;
      transform: none;
    }
}
