@import url('https://fonts.googleapis.com/css?family=Noto+Sans+TC:300,400,500,700&display=swap');

html,body{
    width: 100%;
    font-family:'Noto Sans TC',  Arial, Helvetica,sans-serif;
    overflow-x: hidden;
    color: #404040;
    line-height: 1.6;
}
main > .content {
    min-height: 710px;
}
img {
    max-width: 100%;
}

a{
    text-decoration: none!important;
    color: #404040;
}
a:hover{
    color: #004272;
}

#header {
    width: 100%;
    background-color: #fff;
    top: 0;
    position: fixed;
    z-index: 99;
}
/* header */
#header .logo {
    display: table;
    width: 270px;
    margin: 20px auto 15px;
}

#header .navbar {
    padding: 0;
    background-color: #F8F8F8;
}
#header .navbar-nav .nav-link {
    font-weight: 500;
    color: #606060;
    padding: 15px 15px;
}
#header .navbar-nav .nav-link:hover{
    color: #004272;
}
.navbar-subNav,.subnav-lists {
    display: none;
}

.main-block{
    padding: 4rem 0;
}
.main-title {
    display: table;
    text-align: center;
    letter-spacing: 4px;
    border-bottom: 1px solid rgba(0,0,0,.2);
    padding: 0 20px 10px;
    margin: 0 auto 40px;
}

.main-pageTitle{
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,.2);
    min-height: 46px;
    padding: 5px 0;
    margin-bottom: 4rem;
}
.main-pageTitle .title {
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 2px;
    color: #222;
    margin-right: 15px;
    margin-bottom: 0;
}
.main-pageTitle .entitle{
    font-size: 22px;
    letter-spacing: 2px;
    color:#bbb;
}

.sub-title {
    font-size: 18px;
    font-weight: 500;
    color: #004272;
}

.main-pagination{
    display: table!important;
    font-size: 18px;
}
.main-pagination .page-link {
    border: none;
    color: #888;
}
.main-pagination .page-link.arrow {
    color: #004272;
}
.main-pagination .page-link:hover{
    background-color: transparent;
    color: #004272;
}
.main-pagination .page-link.arrow:hover{
    color: #888;
}
.main-pagination .page-item.active .page-link{
    background-color: #004272;
}

/* btn */
.main-borderbtn {
    display: table;
    text-align: center;
    min-width: 250px;
    border-radius: 50px;
    border-color: #ccc;
    color: #222;
    min-height: 50px;
    line-height: 40px;
}

.main-formStyle {
    border: none;
    border-radius: 0 0 0 0;
    font-family: 'Noto Sans TC',  Arial, Helvetica,sans-serif;
    background-color: #F0F0F0;
    padding: 2px 14px;
    height: 50px;
}





.video-item {
    position: relative;
}
.video-item::after {
    content: '\f16a';
    display: inline-flex;
    align-items: center;
    font-family: "fontello";
    font-size: 60px;
    height: 40px;
    border-radius: 20px;
    color: #333;
    background-color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    transition: color .25s;
}
.video-item:hover::after{
    color: red;
}



.news-list {
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(64,64,64,.2);
    text-decoration: none!important;
    color: #404040;
    padding: 14px 0;
}
.news-list,.news-list .title {
    font-size: 16px;
    font-weight: 400;
    margin: 0;
}
.news-list .date {
    line-height: 1;
    border-right: 1px solid #404040;
    padding-right: 20px;
    margin-right: 20px;
}
.news-list:hover,.news-list:hover .title {
    font-weight: 500;
    color: #004272;
}



/* home page */
.home-product-item {
    text-decoration: none!important;
    transition: background .25s;
    margin: 1rem 0;
}
.home-product-item .title{
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: #404040;
    padding: 10px;
    margin: 5px 0 15px;
}
.home-product-item:hover {
    background-color: #F1F1F1;
}
.home-product-item .pic {
    padding: 10px;
}


.home-product-sort {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    background-color: #004272;
    text-decoration: none!important;
    width: 150px;
    height: 150px;
    border: 1px solid #004272;
    border-radius: 50%;
    padding: 10px;
    margin: 12px;
    transition: .25s;
}
.home-product-sort .text{
    font-size: 16px;
    font-weight: 400;
    margin: 0;
}
.home-product-sort:hover {
    background-color: transparent;
    color: #004272;
}

.brand-box {
    background-color: #F8F8F8;
}
.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 18vh;
}

.video-content{
    border-bottom:  1px solid rgba(64,64,64,.2);
}
.video-content iframe{
    width: 100%;
    height: 80vh;
}
.video-more-item {
    display: block;
    color: #222;
    text-decoration: none!important;
    font-weight: 500;
    margin-bottom: 40px;
}
.video-more-item .pic{
    margin-bottom: 10px;
}
.video-more-item:hover{
    color: #004272;
}
.video-more-item p {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.products-list-item {
    padding: 10px 0;
    border-bottom: 1px solid rgba(64,64,64,.2);
}
.mobile-products-toggle {
    font-size: 20px!important;
    padding: 10px;
    border: 1px solid rgba(64,64,64,.2);
    border-radius: 6px;
    margin-bottom: 20px;
}
.products-subToggle,.mobile-products-toggle {
    font-weight: 500;
    font-size: 17px;
    cursor: pointer;
    color: #004272;
    transition: .25s;
    /* margin-bottom: 10px; */
}
.products-subToggle::after,.mobile-products-toggle::after {
    display: inline-block;
    content: '\e803';
    font-family: "fontello";
    transform-origin: center;
    float: right;
    transition: .25s;
}
.products-subToggle:hover {
    color: #ccc;
}
.products-subToggle.active {
    margin-bottom: 5px;
}
.products-subToggle.active::after {
    transform: rotate(180deg);
}
.products-subNav {
    margin: 0 -10px;
    padding-bottom: 20px;
    display: none;
}
.products-subNav.active {
    display: block;
}
.products-subNav a {
    display: block;
    font-weight: 300;
    color: #222;
    padding: 5px 10px;
    text-decoration: none!important;
    transition: .25s;
}

.products-subNav a:hover {
    background-color: #FAFAFA;
}
.product-info{
    border-bottom: 1px solid rgba(64,64,64,.2);
}

.product-info_pic {
    display: flex;
    align-items: center;
    justify-self: center;
    padding: 40px;
}
.product-info_text {
    font-size: 16px;
    color: #404040;
}
.product-info_text .title{
    font-size: 24px;
    font-weight: 400;
    line-height: 1.6;
}
.product-detail-block {
    border-bottom: 1px solid rgba(64,64,64,.2);
}

.product-detail-block .sub-title{
    font-size: 24px;
    margin-bottom: 20px;
}

.store-row {
    margin: 10px -5px 0;
}

.store-item {
    display: inline-block;
    width: 64px;
    height: 64px;
    border: 1px solid rgba(64,64,64,.2);
    margin: 5px;
    transition: .25s;
}
.store-item:hover{
    border-color: #004272;
}


.footer {
    font-size: 14px;
    background-color: #222;
    padding: 1.5rem 0;
    color: #FFF;
}
.footer a{
    color: #FFF;
    text-decoration: none!important;
    transition: .25;
}
.footer a:hover{
    opacity: .5;
}

@media screen and (min-width: 992px){
    .navbar-subNav {
        background-color: #024965;
    }
    .subnav-toggle {
        /* text-align: center; */
        padding: 15px;
    }
    .subnav-lists{
        min-height: 20vh;
        background-color: #00354F;
        padding: 15px 0;
    }
    .subnav-lists a {
        margin: 10px 0;
    }
    .subnav-lists .row {
        max-width: 1060px;
        margin: 0 auto;
    }
    .navbar-subNav a,.subnav-toggle{
        color: #FFF;
    }
    .navbar-subNav,.subnav-lists {
        width: 100%;
        position: absolute;
        top: 55px;
        left: 0;
        z-index: 99;
    }
    .subnav-toggle, .nav-toggle{
        transition: .25s;
        cursor: default;
    }
    .nav-pc_toggle:hover, .nav-toggle.active {
        color: #024965;
        font-weight: 600;
    }
    .nav-pc_toggle:hover .navbar-subNav{
        display: block;
    }
    .subnav-pc_toggle:hover ,.subnav-toggle.active {
        background-color: #00354F;
    }
    .subnav-pc_toggle:hover .subnav-lists{
        display: block;
    }
    .wrapper {
        margin-top: 153px;
    }
}

@media screen and (max-width: 991px) {
    #header {
        width: 100%;
        height: 80px;
        background-color: #fff;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 99;
    }
    #header .navbar-toggler{
        color: #606060;
        position: fixed;
        right: 20px;
        top: 20px;
    }
    #header .navbar-toggler::before {
        content: '\f0c9';
        font-size: 26px;
        font-family: 'fontello';
    }
    #header .navbar-toggler.actvie::before{
        content: '\e806';
    }
    #header .navbar {
        width: 100vw;
        padding: 0;
        position: fixed;
        top: 80px;
        left: 0;
        z-index: 99;
    }
    #header .navbar-nav {
        overflow-y: auto;
        height: calc(100vh - 80px);
        padding: 20px 10px;
    }
    #header .navbar-nav .nav-link{
        font-size: 20px;
        color: #004272;
    }
    .navbar-nav {
        font-size: 18px;
    }
    .navbar-subNav{
        margin-top: 10px;
        margin-bottom: 30px;
    }
    .navbar-subNav ul > li{
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid rgba(64,64,64,.2);
        margin-right: 0!important;
    }
    .navbar-subNav a {
        border-bottom: 1px solid rgba(64,64,64,.2);
        padding: 10px 0;
    }
    .navbar-subNav a:last-child {
        border: none;
    }
    .subnav-toggle {
        font-weight: 500;
    }
    .nav-toggle, .subnav-toggle {
        position: relative;
    }
    .nav-toggle::after, .subnav-toggle::after {
        display: inline-block;
        content: '\e803';
        font-family: "fontello";
        transform-origin: center;
        position: absolute;
        top: 0px;
        right: 0px;
        transition: .25s;
    }
    .nav-toggle::after{
        top: 0px;
        right: 15px;
    }
    .nav-toggle.active::after, .subnav-toggle.active::after {
        transform: rotate(180deg);
    }
    .wrapper {
        margin-top: 80px;
    }
    
}

@media screen and (max-width: 480px) {
    #header .logo {
        margin: 8px auto;
        margin-left: 0;
    }
    #header .home-product-item {
        margin: 10px 0;
    }
    
    .home-product-item .title,.home-product-item .pic{
        padding: 0;
    }
    .home-product-sort {
        width: 120px;
        height: 120px;
    }

    .news-list{
        align-items: flex-start;
        flex-direction: column;
    }
    .news-list .date {
        border: none;
        margin: 0 0 10px 0;
        padding: 0;
    }
    .news-list .title {
        line-height: 1.6;
    }
    .video-content iframe{
        height: 25vh;
    }
    .video-more-item {
        margin-bottom: 20px;
    }

    .products-list{
        display: none;
        margin-top: -20px;
        padding: 10px;
        border: 1px solid rgba(64,64,64,.2);
        border-top: none;
        margin-bottom: 40px;
        padding-bottom: 0;
        border-radius: 0 0 6px 6px;
    }
    .products-list-item:last-child{
        border: none;
    }
}