@charset "UTF-8";

html,body{overflow-x: hidden;}

.single-categories h3 a{
    display: block;
    height: 48px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
    overflow: hidden;
}

.inquiryFormBlock{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin-top: 50px;
}
.inquiryFormBlock [class ^= 'col']{
    padding-left: 12px;
    padding-right: 12px;
}
.inquiryFormBlock .formContent{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}
.inquiryFormBlock .form-group{margin-bottom: 30px}
.inquiryFormBlock label{
    margin-bottom: 10px;
    font-size: 14px;
    color: #111111;
}
.inquiryFormBlock .form-control{
    background-color: #f9fbfe;
}
.inquiryFormBlock .sendBtn{
    border: 0;
    display: block;
    margin: 0 auto;
}

.single-categories{
    display: flex;
    flex-wrap: wrap;
    padding-right: 20px;
}
.single-categories .imgBox{
    display: block;
    width: 180px;
    padding-top: 32.49%;
    overflow: hidden;
    position: relative; 
}
.single-categories .imgBox img{
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
.single-categories .textBox{
    width: calc(100% - 180px);
}
.single-products .product-img{
    width:100%;
    padding-top:100%;    
}
.single-products .product-img .imgBox{
    width:100%;
    height:100%;
    position:absolute;
    top:0;
    left:0;
    overflow:hidden;
    display:flex;
    justify-content:center;
    align-items:center;    
}
.single-products .product-img img{
    max-width:100%;
    max-height:100%;
    position:static;
}
.single-products .product-content .title{
    height: 45px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
    overflow: hidden;    
}
.single-blog .imgBox{
    display: block;
    width: 100%;
    padding-top: 69.767%;
    overflow: hidden;
    position: relative;
}
.single-blog .imgBox img{
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
.single-blog .blog-content .title{
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    white-space: normal;
    overflow: hidden;      
}
.single-blog .brief{
    height: 98px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    white-space: normal;
    overflow: hidden;    
}
.embed-container{
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}
.embed-container iframe{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;    
}
.product-view-one-image{overflow: hidden;}
.product-view-one{
    display: block !important;
    visibility: hidden;
}
.product-view-one.show{
    visibility: visible;
}
.categories-wrap .tabs{max-height: 100vh;}

.popular-categories-area div.item:nth-child(2) .single-categories::before{background-color: #ebf1f5;}
.popular-categories-area div.item:nth-child(3) .single-categories::before{background-color: #eff5ff;}
.popular-categories-area div.item:nth-child(4) .single-categories::before{background-color: #ebf9ea;}
.popular-categories-area div.item:nth-child(5) .single-categories::before{background-color: #fff8e5;}
.popular-categories-area div.item:nth-child(6) .single-categories::before{background-color: #d0e6f5;}

/*light box slider*/
.productBigImg{width: 100%;}
.productBigImg .itemImg,.productThumb .itemImg{
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
    background-color: #fff;
    position: relative;
}
.productBigImg .itemImg img,.productThumb .itemImg img{
    display: block;
    max-width: 100%;
    max-height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.productBigImg .slick-arrow{
    width: 35px;
    height: 35px;
    background-color: #0054a2;
    color: #fff;
    border: 0;
    border-radius: 5px;
    font-size: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}
.productBigImg .slick-arrow::before{display: none;}
.productBigImg .slick-arrow i::before{display: block;}
.productBigImg .slick-prev{left: 0;}
.productBigImg .slick-next{right:0;}
.productThumb{
    width: 100%;
    margin-top: 20px;
}
.productThumb .slick-list{padding: 0 !important;}
.productThumb .slick-slide{
    margin:0 5px;
}
.productThumb .slick-current{border:2px #0054a2 solid;}



/*自訂樣式、前端修改、新增====================*/
@media screen and (max-width:1199px){
    .single-categories{padding: 30px;}
    .single-categories .textBox,.single-categories .imgBox{width: 100%;}
    .single-categories .imgBox{
        padding-top: 71%;
        margin-bottom: 10px;
    }
    .single-categories .imgBox img{margin-bottom: 0;}
    .single-categories .textBox{order: 2;}
}
@media screen and (max-width:992px){
    .single-categories h3{font-size: 16px;}
    .single-categories h3 a br{display: none;}
    .single-categories h3 a{
        height: 39px;
    } 
    .navbar-category-dropdown,.navbar-area.is-sticky .navbar-category-dropdown{max-height: calc(100vh - 73px);overflow-y: hidden;}
    .navbar-category-dropdown > ul{
        max-height: calc(100vh - 73px);
        overflow-y: auto;
    }  
}
@media screen and (max-width:991px){
    header{
        width: 100%;
        display: flex;
        flex-wrap: wrap;
    }
    .top-header,.middle-header,.navbar-area{width: 100%;}
    .navbar-area{order: 1;}
    .top-header{order: 2;}
    .middle-header{
        order: 3;
        padding-bottom: 0;
    }
    header .lg-hidden,.top-header .header-right-content ul .lg-hidden{display: none;}
    header .searchBar{
        order: 3;
        margin-top: 10px;
    }
    .mobile-responsive-nav .logo{
        max-width: calc(100% - 65px);
    }
}
@media screen and (min-width: 768px) and (max-width: 991px){
    .product-view-one .product-view-one-image {
        padding: 20px;
    }
}
@media screen and (max-width: 768px){
    .product-view-one .product-view-one-image {
        padding: 20px;
    }
}


/*download========================================*/
.downloadBlock{
    padding-top: 30px;
    padding-bottom: 70px;
}
.downloadBlock .main{
    border:1px #ddd solid;
    padding: 24px;
    padding-bottom: 30px;
}
.downloadList{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}
.downloadList .item{
    width: 20%;
    padding-left: 15px;
    padding-right: 15px;
    text-align: center;
    margin-bottom: 50px;
}
.downloadList .icon{
    width: 95px;
    height: 95px;
    border: 1px #ddd solid;
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
.downloadList .title{
    display: block;
    width: 100%;
    line-height: 1.3;
    color: #565656;
    margin-top: 15px;
}
.downloadList .item:hover .title{color: #0054a2;}
.downloadBlock .pagination-area{
    text-align: center;
}
.downloadBlock .blockTitle{
    font-size: 30px;
    font-weight: bold;
    color: #565656;
    text-align: center;
}
.tableBlock{
    width: 100%;
    overflow: auto;
}
.downloadTable{
    width: 100%;
    margin-bottom: 30px;
}
.downloadTable th{
    font-weight: bold;
    background-color: #0054a2;
    color: #fff;
}
.downloadTable td{color: #111;}
.downloadTable td,.downloadTable th{
    padding: 12px 15px;
    text-align: center;
}
.downloadTable td:first-child{text-align: left;}
.downloadTable td:first-child,.downloadTable th:first-child{width: calc(100% - 150px);}
.downloadTable td:nth-child(2),.downloadTable th:nth-child(2){width: 90px;}
.downloadTable td:nth-child(3),.downloadTable th:nth-child(3){width: 60px;}
.downloadTable tr:nth-child(odd){background-color: #f8f8f9;}

@media screen and (max-width:1100px){
    .downloadList .item{width: 25%;}
}
@media screen and (max-width:992px){
    .downloadList .item{width: 33.3333%;}
}
@media screen and (max-width:768px){
    .downloadList .item{width: 50%;}
}