/* @import url('https://fonts.googleapis.com/css2?family=&family=Loto:wght@400;700&display=swap'); */
html, body { font-family: 'Loto', '微軟正黑體', sans-serif; }
[type=button], [type=reset], [type=submit] { -webkit-appearance: button;  background-color: transparent;  background-image: none; outline: 0; background-color:transparent;}

button,button:focus{
    -webkit-appearance: button; background-image: none; outline: 0; 
}
/*
.target-fix {
    position: relative;
    top: -80px; 
    display: block;
    visibility: hidden; 
}
*/

:target::before {
  content: "";
  display: block;
  height: 80px; 
  margin: -80px 0 0; 
}
/*
.link-owl-carousel{
    z-index: 10 !important;
display: block !important;
width: 100% !important;
height: 100% !important;
position: relative !important;
}
*/
/*
.owl-item {
    z-index: 1;
}

.owl-carousel {
    z-index: -1;
}
*/

/*html, body { scroll-behavior: smooth; }*/
.max-w-8xl { max-width: 1400px; }
.ellipsis {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
}
.ellipsis-1 {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    white-space: normal;
}
.ellipsis-2 {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
}
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.info-cover-P h1{
     text-shadow: 1px 2px 3px rgb(0,0,0,.8);
}
.info-cover-P .text-shadow{
    text-shadow: 1px 2px 3px rgb(0,0,0,.8);
}

.image-container { width: 100%; height: 0; padding-bottom: 60%; overflow: hidden;}
.inquiry-cart-box a{
    font-size: 0.9rem;
    line-height: 1rem;
}
.goTop {
  position: fixed;
  z-index: 99;
  right: 10px;
  bottom: 60px;
}
.goTopBtn {
    color: #fff; 
    background: rgba(0, 0, 0, .5);
    width: 50px;
    height: 50px;
    line-height: 50px;
    cursor: pointer;
    display: block;
    text-align: center;
}  

/*banner*/
.index-banner-box{
    position: relative;
}
.index-banner-box .text-box{
    position: absolute;
    bottom: 20%;
    z-index: 100;
    display: inline-table;
}
/*--------------------------
         line-rim
----------------------------*/

#product .line-rim:before{
    border-top: 1px solid #0b2854;
    border-left: 1px solid #0b2854;
    top: 10px;
    left: 10px;
}

#product .line-rim:after { 
    border-right: 1px solid #0b2854;
    border-bottom: 1px solid #0b2854;
    bottom: 10px;
    right: 10px;
}


#product .line-rim:hover:before,
#product .line-rim:hover:after {
    height: calc(100% - 20px);
    width: calc(100% - 20px);
}

.line-rim:before,
.line-rim:after {
    content: "";
    height: 50px;
    width: 50px;
    border-top: 1px solid #fff;
    border-left: 1px solid #fff;
    position: absolute;
    z-index: 9;
    top: 2px;
    left: 2px;
    transition: all 1s;
    opacity: 0.8;
}

.line-rim:after {
    width: 50px;
    height: 50px;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
    border-top: none;
    border-left: none;
    bottom: 2px;
    top: auto;
    right: 2px;
    left: auto;
}

.line-rim:hover:before,
.line-rim:hover:after {
    height: calc(100% - 4px);
    width: calc(100% - 4px);
}

/*---------------------------
       sug-carousel
----------------------------*/

.sug-carousel.owl-theme .owl-nav {
    width: 80px;
    position: absolute;
    top: 0;
    right: 20px;
}

.sug-carousel.owl-carousel .owl-nav button.owl-prev,
.sug-carousel.owl-carousel .owl-nav button.owl-next {
    width: 30px;
    height: 30px;
    font-size: 30px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.2);
    outline: none;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    position: absolute;
    top: -55px;
    color: #FFFFFF;
}

.sug,
.info-cover-P{
    background: url(../img/sug-bg.jpg)bottom center;
    background-size: cover;
}

.pro,
.info-cover-N{
    background: url(../img/sug-bg.jpg)bottom center;
    /*background: url(../img/news-bg.jpg)top center;*/
    background-size: cover;
}

.slider-carousel.owl-theme .owl-nav.disabled + .owl-dots {
    position: absolute;
    bottom: 0;
    width: 100%;
}
.index-prod-box{
    /*background: url(../img/index-prod-bg.jpg)top center;*/
    background: url(../img/index-application-bg.jpg)top center;
    background-size: cover;
}
.index-prod-box .item{
    
}
.index-prod-box .item .item-box{
    min-height: 560px;
}
@media (max-width: 1400px) {
    .index-prod-box .item .item-box{
        min-height: 580px;
    }
}
@media (max-width: 1280px) {
    .index-prod-box .item .item-box{
        min-height: 550px;
    }
}
@media (max-width: 768px) {
    .index-prod-box .item .item-box{
        min-height: 580px;
    }
}
@media (max-width: 680px) {
    .index-prod-box .item .item-box{
        min-height: auto;
    }
}
.index-application-box{
    background: url(../img/index-application-bg.jpg)top center;
    background-size: cover;
}

/*
@media (max-width: 992px) {
    .footer{
        margin-bottom: 50px
    }
}
*/
.prod-min-h{
    min-height: 330px;
}
.title-icon-box{
    padding-left: 30px;
    background: url('/catalog/view/theme/default/stylesheet/img/title-icon.png') left no-repeat;
    background-size: 24px 24px;
}
@media (max-width: 1400px) {
    .prod-min-h{
        min-height: 330px;
    }
}
@media (max-width: 1280px) {
    .prod-min-h{
        min-height: 370px;
    }
}
@media (max-width: 992px) {
    .prod-min-h{
        min-height: 230px;
    }
}
@media (max-width: 768px) {
    .prod-min-h{
        min-height: auto;
    }
}
/*-------------------------
            FCK
--------------------------*/
.fck img { max-width: 100%;  display: initial; vertical-align: middle;}
.fck,.fck p { line-height: 1.75; font-size: 16px; color: #333; margin-bottom: .5rem; }
.fck p{ font-size: 16px;}
.fck hr{border: 0px;    border-top: 1px solid #ccc; margin:0.5em 0; }
.fck .marker {   background-color: Yellow;}
.fck em { font-style: italic; font-size: inherit;}
.fck b,.fck strong, .fck b>*,.fck strong>* { font-weight: bold;font-size: inherit; }
.fck a{ }
.fck h1, .fck h2, .fck h3, .fck h4, .fck h5, .fck h6 { font-weight: normal; line-height: 1.5em; }
.fck h1 { font-size: 2em; margin:0.67em 0; }
.fck h2 { font-size: 1.5em;margin: 0.83em 0; }
.fck h3 { font-size: 1.17em; margin:1em 0; }
.fck ins { text-decoration: underline; }
.fck pre { white-space: pre-wrap; word-wrap: break-word; tab-size: 4;margin: 1em 0px;font-family: monospace; }
.fck blockquote{ padding-left: 20px; padding-right: 8px; border-left-width: 5px; font-style: italic; border:none; border-left:3px solid #ccc; margin:1em 40px; display:table-cell; }
.fck img { max-width:100%!important; height:auto;  }
.fck ul, .fck ol { padding-left:20px; }
.fck ul>li {  list-style-type: disc; display: list-item; line-height: 1.75;     margin-bottom: .5rem; }
.fck ol>li {     list-style-type: decimal; display: list-item; line-height: 1.75;     margin-bottom: .5rem;}
.fck .table {
    min-width: 650px;
    width: 100%;
    border:1px solid #ddd;
    border-spacing: 0;
    border-collapse: collapse;
    font-size: 14px;
    margin-bottom: 30px;}
.fck table { border-collapse: collapse; background: #fff !important; }
.fck table tr td,.fck table tr th {border: 1px solid #e5e5e5;  padding: 8px;  }

.fck .table>tbody>tr>th,
.fck .table>tfoot>tr>th, 
.fck .table>thead>tr>th{ background: #EFEFEF; text-align: center;}

.fck .table>tbody>tr>td, 
.fck .table>tbody>tr>th,
.fck .table>tfoot>tr>td, 
.fck .table>tfoot>tr>th, 
.fck .table>thead>tr>td, 
.fck .table>thead>tr>th {
    border: 1px solid #ddd;
    padding: 10px 15px;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

/*------------------------
    accordion
-------------------------*/
.accordion h1,
.accordion h2,
.accordion h3,
.accordion h4 {
    cursor: pointer;
}

.accordion div,
.accordion ul{
    display: none;
}

.accordion .active {
    display: block;
}


/*------------------------
    accordion Lect Catatory
-------------------------*/
.category-menu ul { display: none; }
.category-menu li { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; }
.category-menu input[type=checkbox] { position: absolute; opacity: 0; }
.category-menu input[type=checkbox]:checked + label + ul,
.category-menu input[type=checkbox]:checked + label:nth-of-type(n) + ul { display: block; }
.category-menu input[type=radio] { position: absolute; opacity: 0; }
.category-menu input[type=radio]:checked + label + ul,
.category-menu input[type=radio]:checked + label:nth-of-type(n) + ul { display: block; }
.three-itme{
    display: block !important;
}
/*---------------------------
    responsive
----------------------------*/

@media only screen and (max-width: 992px) {

    .owl-carousel .owl-nav button.owl-prev,
    .owl-carousel .owl-nav button.owl-next {
        top: -83px;
    }
}

#myTab li button{
    color: #fff !important;
}
#myTab li button:hover{
    color: #333 !important;
    background: #f1f1f1;
}

/*---------------------------
    applications-owl
----------------------------*/
.applications-owl-carousel .owl-stage{
    /*position: relative;
    display: flex;
    flex-wrap: wrap;*/
    align-items: stretch;
    /*display: flex;
    height: 200px;
    justify-content: center;*/
    /*justify-content: center;
    padding: 0;
    position: relative;
    display: flex;
    flex-wrap: wrap;*/
}
.applications-owl-carousel .owl-item{
    /*padding: 5px;
    flex: 1 1 100%;
    min-width: 280px;
    display: flex;*/ 
    /*min-width: 280px;
    display: flex;
    height: auto;*/
}
.applications-owl-carousel .owl-item .item .in-text{
   min-height: 200px;
}
.line-clamp-2{
     overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.applications-owl-carousel .owl-item .item .in-text span{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
@media (max-width: 992px) {
    .applications-owl-carousel .owl-item .item .in-text{
       min-height: 235px;
    }
}
@media (max-width: 768px) {
    .applications-owl-carousel .owl-item .item .in-text{
       min-height: 265px;
    }
}