/* reset */

@import url('https://fonts.googleapis.com/css?family=Open+Sans');
body {
    font-size: 0.8rem;
}

.FirstLayer ol {
    list-style: none;
    list-style-image: none;
    list-style-position: outside;
}

.date {
    width: 100px;
    padding-right: 5px;
    padding-left: 5px;
    height: 20px;
    position: absolute;
    top: -5px;
    text-align: center;
    line-height: 20px;
    color: #fff;
    font-family: 'Open Sans';
    font-size: 13px;
    background-color: rgb(184, 184, 184);
}


/* .quick-icon{
    width: 30px;
    margin-top:-20px;
}
.quick-link {
    width: 180px;
    height: 40px;
    line-height: 40px;
    padding: 10px;
    border-radius: 3px;
    background-image: linear-gradient(to right top, #3c639f, #5a79b4, #7690c9, #91a8de, #adc0f4);
    display: block;
    letter-spacing: 3px;    
    z-index:99;

}
.quick-inquiry{
    top: 10px;
}
.quick-catalog{
    top: 20px; 
}
.quick-link>h4 {
    width: 100px;
    color:#fff;
    font-weight:bold;
    display:inline;
    line-height: 20px;
    margin-left: 10px;
    position: absolute;
} */


/* sitemap */

.navbar-toggler {
    width: 60px;
    height: 60px;
    position: absolute;
    right: 0px;
    top: 30px;
    padding: 0;
}

h2 a {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
    display: block;
    font-family: '微軟正黑體', 'Open Sans';
}

h2.list-group-item {
    font-family: "微軟正黑體";
    font-size: 1.6rem;
}

p {
    letter-spacing: 1px;
    line-height: 24px;
}

.SecondLayer {
    margin-left: 20px;
    margin-bottom: 10px;
}

.SecondLayer li {
    list-style-type: circle;
    list-style-position: inside;
}

.img-group {
    clear: both;
    width: 80%;
    margin: auto;
}

.iframe-box {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    padding-top: 25px;
    height: 0;
}

.tool-bar {
    line-height: 20px;
}


/* footer style */

.footer-link li a:hover,
.tool-link:hover {
    color: #baeaf4;
}

.btn-apply:hover {
    font-size: 14px;
    color: #fff;
}

.lang {
    border: 1px solid #fff;
    padding-left: 3px;
    padding-right: 3px;
    margin-left: 10px;
}

.img-box {
    height: 100px;
    margin-right: 1%;
    overflow: hidden;
}

.knowledge-list {
    padding: 1rem;
}

.lang:hover {
    background-color: #9ce0ef;
}

.lang>a:hover {
    color: #333;
}

.tool-link {
    font-size: 13px;
    color: #fff;
    margin: 0px 3px;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
    list-style-image: none;
}

. {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
}

.img-frame {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.card-img-top {
    position: relative;
    max-width: 100%;
}

.card-img {
    height: 230px;
    overflow: hidden;
}

.py-5 {
    padding-top: 0rem !important;
    padding-bottom: 1rem !important;
}

.lead {
    line-height: 30px;
    font-size: 1.1rem;
    font-family: 'Open Sans', '微軟正黑體';
}

#img-about {
    height: 200px;
    overflow: hidden;
    margin-bottom: 10px;
}

.navbar {
    padding: 0.75rem 1rem;
}

#img-about img {
    max-width: 100%;
}

h5,
.h5 {
    font-size: 0.9rem;
    font-family: 'Open Sans', '微軟正黑體';
    letter-spacing: 1px;
    line-height: 20px;
}

h6,
.h6 {
    font-size: 0.6rem;
    font-family: 'Open Sans', '微軟正黑體';
    letter-spacing: 1px;
}

#banner .carousel slide {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.index-card-title {
    font-size: 1.3rem;
    font-family: '微軟正黑體', 'Open Sans';
    margin-bottom: 0.2em;
    line-height: 1.5em;
    font-weight: bold;
}

.article-title {
    font-size: 1.1rem;
    font-family: '微軟正黑體', 'Open Sans';
    margin-bottom: 0.2em;
    line-height: 1.5em;
    font-weight: bold;
}

.card {
    transition: background-color 0.3s linear 0s;
    margin-bottom: 10px;
}

.navbar-light .navbar-nav .nav-link {
    color: rgba(0, 0, 0, 0.8);
}

.card:hover {
    background-color: #d2f4ff;
}

.product-frame {
    width: 100%;
    height: 100%;
    background-color: #bbbdbe;
    text-align: center;
    font-size: 20px;
}

.card-title {
    font-size: 1rem;
    font-family: '微軟正黑體', serif;
}

#all-list {
    flex: 0 0 100%;
    max-width: 100%;
}

#service {
    background-color: #F2F2F2;
}

#service .lead {
    line-height: 40px;
    font-family: '微軟正黑體', 'Open Sans';
}

.carousel-indicators {
    bottom: -40px;
}

.carousel-indicators li {
    width: 15px;
    height: 15px;
    background-color: rgb(143, 143, 143);
    margin-left: 8px;
    margin-right: 8px;
}

.carousel-indicators .active {
    background-color: #dfa427;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

#copyright {
    font-size: 13px;
}

.pic {
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.125);
}

.product-thumb {
    width: 47%;
    display: block;
    padding: 0;
    float: left;
    margin-right: 2%;
    margin-bottom: 10px;
    height: 205px;
}

.btn-facebook {
    color: #fff;
    background-color: #3b5998;
    border-color: rgba(0, 0, 0, 0.2)
}

.btn-facebook:hover,
.btn-facebook:focus,
.btn-facebook:active,
.btn-facebook.active,
.open .dropdown-toggle.btn-facebook {
    color: #fff;
    background-color: #30487b;
    border-color: rgba(0, 0, 0, 0.2)
}

.btn-facebook:active,
.btn-facebook.active,
.open .dropdown-toggle.btn-facebook {
    background-image: none
}

.btn-facebook.disabled,
.btn-facebook[disabled],
fieldset[disabled] .btn-facebook,
.btn-facebook.disabled:hover,
.btn-facebook[disabled]:hover,
fieldset[disabled] .btn-facebook:hover,
.btn-facebook.disabled:focus,
.btn-facebook[disabled]:focus,
fieldset[disabled] .btn-facebook:focus,
.btn-facebook.disabled:active,
.btn-facebook[disabled]:active,
fieldset[disabled] .btn-facebook:active,
.btn-facebook.disabled.active,
.btn-facebook[disabled].active,
fieldset[disabled] .btn-facebook.active {
    background-color: #3b5998;
    border-color: rgba(0, 0, 0, 0.2)
}


/* 側邊選單樣式 */

#sidemenu>ul>li>a {
    width: 70%;
    height: 100%;
    display: block;
    font-size: 1.1rem;
    letter-spacing: 2px;
    font-family: '微軟正黑體', 'Open Sans';
    float: left;
}

.list-group-item.active>a {
    color: #ffffff;
}

.index-item {
    width: 100%;
    margin: 0 auto;
}

#sidemenu ul li {
    width: 100%;
    padding: 10px 10px;
    line-height: 30px;
    transition: background-color 0.3s linear 0s;
}

.breadcrumb {
    margin-bottom: 0;
}

.card-body {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    padding-bottom: 0.5em;
    padding-top: 0.5em;
}

.model-num {
    color: #666;
    font-size: 0.9rem;
    padding-top: 10px;
}

.inquiry {
    font-family: '微軟正黑體', 'Open Sans';
    text-align: center;
    padding-bottom: 10px;
}

.btn-primary {
    font-family: '微軟正黑體', 'Open Sans';
}

.inquiry a {
    font-weight: bold;
    width: 80%;
    font-size: 0.9rem;
}

#AddInquiryForm .form-group {
    margin-bottom: 0.5rem;
}

#AddInquiryForm .form-group label {
    font-family: '微軟正黑體', 'Open Sans';
}

.brand-label {
    width: 50%;
    float: left;
    line-height: 30px;
    height: 30px;
    font-size: 1rem;
}

.nav-pills .nav-link {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.input-label {
    width: 30%;
    float: left;
}

#AddInquiryForm .form-control {
    width: 60%;
    margin-bottom: 10px;
}

.modal-header {
    background: rgb(226, 226, 226);
}

.modal-body {
    color: #000;
    font-size: 1.2rem;
    font-weight: bolder;
}


/* .page-title {
    border-bottom: 1px dashed rgba(0, 0, 0, 0.2);
} */

.product-no {
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.2);
}

.sub-menu {
    display: block;
}

.sub-menu li {
    text-indent: 10px;
}

.dropdown-item {
    padding: 0;
}

#sidemenu ul li:hover {
    font-weight: bold;
}

.list-group>a {
    font-size: 1rem;
    font-family: '微軟正黑體', 'Open Sans';
}

.sub-menu li>a:hover {
    color: #4C516D;
}

.sub-menu li.active {
    color: #000;
    font-weight: bold;
    text-decoration: underline;
}

.sub-menu li>a {
    width: 100%;
    line-height: 30px;
    letter-spacing: 2px;
    font-size: 0.95rem;
    font-family: '微軟正黑體', 'Open Sans';
}

.nav-word {
    display: inline;
}

.new-product {
    width: 40px;
    height: 20px;
    background-color: #df0404;
    position: absolute;
    left: 89%;
    top: 145px;
    text-align: center;
    line-height: 20px;
    color: #fff;
    font-family: 'Open Sans';
    font-size: 13px;
}

#primary-nav {
    height: 100%;
    /* 100% Full-height */
    width: 100%;
    position: fixed;
    /* Stay in place */
    z-index: 50;
    /* Stay on top */
    top: 0px;
    /* Stay at the top */
    left: 120%;
    background: url('../png/nav_back.png'), repeat;
    visibility: visible;
    overflow-x: hidden;
    /* Disable horizontal scroll */
    padding-top: 20px;
    /* Place content 60px from the top */
    padding-left: 10px;
    padding-right: 10px;
    box-shadow: rgb(199, 199, 199) 0px 0px 5px;
}

.series-item.active {
    z-index: 2;
    color: #4C516D;
    font-weight: bold;
    padding: 0.5rem 0.3rem;
    width: 100%;
    height: 100%;
    display: block;
}

.menu-logo {
    display: block;
}

.sidebar-nav {
    position: absolute;
    top: 45px;
    left: 30px;
    padding: 0;
    list-style: none;
}

.sidebar-nav .dropdown-menu {
    position: relative;
    width: 250px;
    padding-top: 0px;
    padding-left: 30px;
    margin-left: -10px;
    border-radius: 0;
    border: none;
    box-shadow: none;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    background: transparent;
}

.dropdown-menu li {
    width: 100%;
    line-height: 35px;
    padding: 3px;
}

.sidebar-nav>li {
    position: relative;
    line-height: 35px;
    display: inline-block;
    width: 90%;
    font-family: '微軟正黑體', 'Open Sans';
    font-size: 1.2rem;
    color: rgb(36, 36, 36);
    letter-spacing: 1px;
    font-weight: bold;
}

#series {
    padding-left: 35px;
}

#news2 {
    padding-left: 35px;
}

#primary-nav .menu-logo {
    padding-left: 0px;
}

#primary-nav ul li .nav-link {
    transition: 0.5s;
    /* 0.5 second transition effect to slide in the sidenav */
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    line-height: 24px;
}

#fan-news {
    width: 99%;
    height: 450px;
}

.tab-item {
    text-align: center;
    font-size: 0.9rem;
}

.share {
    padding: 5px;
    position: absolute;
    right: 10px;
    top: 0;
}

.share i {
    color: #6c757d;
}

#primary-nav ul li .nav-link:hover {
    font-weight: bold;
    color: #000;
    text-decoration: underline;
}

.inner-date {
    color: #b4b4b4;
    margin-top: 10px;
}

#news-area {
    width: 97%;
    height: 500px;
    margin-bottom: 40px;
}

#tags {
    padding: 1rem 0;
}

#tags a {
    margin-bottom: 15px;
    margin-right: 5px;
    font-family: '微軟正黑體', 'Open Sans';
    padding: 0.3rem 0.3rem;
    font-size: 0.8rem;
}

.knowledge-item {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px dashed #c1c1c1;
}


/* 會員資料表格 */

#profile .form-group {
    padding: 5px;
    margin-bottom: 0;
}

#social-items {
    position: absolute;
    z-index: 99;
    width: 150px;
    padding: 10px;
    top: 45px;
    right: 10px;
    background: #e9ecef;
    border-radius: 5px;
    box-shadow: 2px 2px 5px rgb(212, 212, 212);
}

#article-content #social-items {
    top: 50px;
}

.share i:hover {
    color: #4C516D;
}

.arrow-up {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    float: right;
    border-bottom: 10px solid #e9ecef;
}

#social-items a {
    margin-bottom: 5px;
    padding: 0.3rem 0.7rem !important;
}

.share-line-button {
    width: 41px;
    height: 40px;
    background: url('../png/line-brands.png') no-repeat center center, #0B9003;
    background-size: 60% auto;
}

.back-to-top {
    cursor: pointer;
    position: fixed;
    bottom: 5px;
    right: 10px;
    display: block;
}

#socials {
    width: 188px;
    margin: auto;
    padding: 2% 0px;
    font-size: 1rem;
    position: absolute;
    margin-top: -50px;
    left: 40%;
}

#socials a {
    width: 27.44px;
    height: 27.44px;
    display: block;
    float: left;
    margin-right: 10px;
}

.line {
    width: 29px;
    height: 29px;
    display: block;
    margin-top: 2px;
    background: url('../svg/icon-line.svg') no-repeat center bottom;
}

.line:hover {
    background: url('../svg/icon-line_hover.svg') no-repeat center bottom;
}

.ig {
    border-radius: 5px;
    background-color: #666;
    text-align: center;
    line-height: 30px;
    margin-top: 2px;
}

.ig:hover {
    background-color: #3a3a3a;
}

.ig i {
    color: #151515;
    font-size: 24px;
    margin-top: 2px;
}

.breadcrumb-item i {
    color: #474747;
}

.card-header {
    font-size: 1.2rem;
    padding: 0.5rem 0.75rem;
}

.card-header h2 {
    margin-bottom: 0;
}


/* social buttons */

.line-button {
    width: 57px;
    height: 47px;
    background: url('../png/line-brands.png') no-repeat center center, #0B9003;
    background-size: 60% auto;
}

#catalog-download {
    width: 98%;
    height: 60px;
    line-height: 40px !important;
    text-align: right;
    font-weight: bold;
    display: block;
    border: 1px solid #666;
    margin-top: 20px;
    margin-left: -10px;
    overflow: hidden;
    background: url('../jpg/magazine.jpg') left top;
    padding: 10px 0.3rem !important;
    text-shadow: #000000 1px 1px 5px;
}

#catalog-download:hover {
    border: 1px solid rgb(227, 230, 248);
}

#catalog-download a {
    font-size: 1.2rem !important;
    font-family: '微軟正黑體' !important;
    color: rgb(255, 255, 255);
}

#catalog-download i {
    margin-left: 10px;
}

#catalog-download a:hover {
    text-decoration: none;
    color: rgb(59, 59, 59);
}

.fa-fw {
    width: 1em;
}

.fa-book {
    float: right;
}

.infolist-item {
    max-width: 100%;
}

h2 {
    font-size: 1.3rem;
}

h1 {
    font-size: 1.5rem;
    margin-top: 0.365rem;
    text-shadow: 0px 0px 2px #999;
}


/* side menu */

#product-list {
    display: none !important;
}

#subIcon {
    width: 100%;
    height: 40px;
    background: url('../png/down-arrow.png') center center no-repeat;
    border-bottom: 1px solid #c0c5c9;
    margin-bottom: 10px;
    display: block;
}

#category {
    display: none;
}

#category i {
    display: none;
}

#sidemenu {
    /* 100% Full-height */
    width: 100%;
    /* Stay in place */
    z-index: 20;
    /* Stay on top */
    position: relative;
    /* Stay at the top */
    background-color: rgb(255, 255, 255);
    display: block;
    /* Place content 60px from the top */
    padding-left: 10px;
    padding-right: 10px;
    transition: 0.5s;
    /* 0.5 second transition effect to slide in the sidenav */
}


/* menu-icon css */

.navbar-toggler-icon,
.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    position: relative;
    width: 30px;
    height: 4px;
    border-radius: 3px;
    background-color: rgb(168, 168, 168);
    z-index: 99;
    background-image: none !important;
    transition: all 0.3s linear;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    position: absolute;
    content: "";
    left: 0;
}


/* set the bottom property of the before pseudo-element */

.navbar-toggler-icon::before {
    bottom: 8px;
}


/* set the top property of the after pseudo-element */

.navbar-toggler-icon::after {
    top: 8px;
}

.toggled#main-menu {
    width: 60px;
    height: 60px;
}

.toggled#main-menu .navbar-toggler-icon {
    height: 4px;
    width: 30px;
    transform: rotate(-45deg);
    background-color: #7e0505;
}

.toggled#main-menu .navbar-toggler-icon::after {
    width: 30px;
    height: 4px;
    top: -1px;
    transform: rotate(-270deg);
    background-color: #7e0505;
}

.toggled#main-menu .navbar-toggler-icon::before {
    transform: scale(0);
}

.list-group-item {
    border: none;
}

#search-bar {
    width: 100%;
    margin-left: 0px;
}

.lang-pc {
    display: block;
}

.info-item {
    width: 98%;
    padding-left: 1%;
    padding-right: 1%;
}

.tab-content {
    border-top: 1px solid #999;
}

.sitemap-item ol,
.sitemap-item ul {
    list-style-type: none;
    list-style-image: none;
    padding: 0 8px;
    margin: 0;
}

#ChangePWD .col-4,
#ChangePWD .col-8 {
    padding-left: 8px;
    padding-right: 5px;
}

#agency .card {
    margin-bottom: 0.7rem;
}

.nav-word {
    display: none;
}
/* lightbox */

@media screen and (max-height: 450px) {
    .sidemenu {
        padding-top: 15px;
    }
    .sidemenu a {
        font-size: 18px;
    }
}

@media only screen and (min-width: 500px) {
    .sidebar-nav>li {
        width: 220px;
    }
    .sidebar-nav .dropdown-menu {
        width: 250px;
    }
    #catalog-download {
        margin-left: -10px;
    }
    .index-item {
        width: 48%;
        margin: 0 auto;
        float: left;
    }
    #all-list .index-item {
        width: 50%;
    }
    #innovation .col-sm-6 {
        width: 50%;
    }
    .second-agent {
        width: 49%;
        margin-right: 1%;
        float: left;
        height: 190px;
    }
    .main-agent {
        height: 360px;
    }
    .product-thumb.col-md-3 {
        max-width: 22%;
        margin-right: 1%;
        height: 230px;
    }
    #no-more-tables tr {
        border: 1px solid rgb(167, 167, 167);
        width: 49%;
        float: left;
        margin-right: 1%;
        margin-bottom: 1%;
    }
    #ChangePWD .col-4,
    #ChangePWD .col-8 {
        text-align: center;
        padding-left: 15px;
        padding-right: 5px;
    }
    .info-item {
        flex: 0 0 50%;
        max-width: 48%;
        margin-left: 2%;
        float: left;
    }
    .img-group {
        clear: both;
        width: 90%;
        margin: auto;
    }
    footer .col-6 {
        max-width: 22%;
        margin-left: 0.33%;
    }
    .back-to-top {
        bottom: 10px;
        right: 30px;
    }
    #socials {
        position: relative;
        margin: -80px -10px 0 auto;
        float: right;
        left: 0;
    }
    .infolist-item {
        max-width: 50% !important;
    }
    .img-frame {
        aspect-ratio: 4 / 3;
        width: 100%;
    }
    .navbar>.container,
    .navbar>.container-fluid {
        display: block;
    }
    .navbar-light .navbar-toggler {
        float: right;
    }
    #search-bar {
        width: 320px;
        position: absolute;
        margin-left: 25%;
        margin-top: -40px !important;
    }
    .new-product {
        left: 85%;
        top: 140px;
    }
    .index-card-title {
        font-size: 1.1rem;
        font-family: '微軟正黑體', 'Open Sans';
        margin-bottom: 10px;
    }
    .article-title {
        font-size: 1.1rem;
    }
    h5 {
        font-size: 0.9rem;
    }
}

@media only screen and (max-width: 767px) {
   

    /* Force table to not be like tables anymore */
    
    #no-more-tables table,
    #no-more-tables thead,
    #no-more-tables tbody,
    #no-more-tables th,
    #no-more-tables td,
    #no-more-tables tr {
        display: block;
    }
    /* Hide table headers (but not display: none;, for accessibility) */
    #no-more-tables thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    #no-more-tables tr {
        border: 1px solid rgb(167, 167, 167);
        margin-bottom: 1%;
    }
    #no-more-tables td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #c4c4c4;
        position: relative;
        padding-left: 40%;
        white-space: normal;
        text-align: left;
        line-height: 30px;
    }
    #no-more-tables td:before {
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: bold;
    }
    /*
	Label the data
	*/
    #no-more-tables td:before {
        content: attr(data-title);
    }
}

@media (min-width: 768px) {
    #catalog-download {
        width: 300px;
    }
    .sidebar-nav>li {
        width: 500px;
    }
    .sidebar-nav .dropdown-menu {
        width: 100%;
    }
    .sub-menu li>a {
        font-size: 0.9rem;
    }
    .sidebar {
        display: none;
    }
    #product-list {
        display: block !important;
    }
    #category {
        display: block;
    }
    #category i {
        display: block;
        text-indent: 20%;
    }
    #innovation .col-md-3 {
        flex: 0 0 20%;
        max-width: 20%;
    }
    .list-group-item {
        border: 1px solid rgba(0, 0, 0, 0.125);
    }
    #subIcon {
        display: none;
    }
    #fan-news {
        height: 588px;
    }
    .img-group {
        clear: both;
        width: 100%;
        margin: auto;
    }
    .navbar-expand-md .navbar-nav {
        flex-direction: column;
    }
    .navbar-expand-md .navbar-nav .dropdown-menu {
        position: relative;
    }
    #primary-nav .menu-logo {
        padding-left: 20px;
    }
    .sidebar-nav .closebtn {
        right: 15px;
    }
    #series {
        margin-left: -20px;
        padding-left: 30px;
    }
    #article-content .share {
        top: 40px;
    }
    .inner-date {
        margin-top: 15px;
    }
    .arrow-up {
        margin-left: -20px;
        margin-top: 37px;
    }
    #article-content .arrow-up {
        margin-top: 30px;
    }
    #article-content #social-items {
        top: 85px;
    }
    .card-img {
        height: 130px;
        overflow: hidden;
    }
    .page-article-title {
        font-weight: bold;
        height: 2.5rem;
    }
    .second-agent {
        width: 100%;
        margin-right: 0%;
        float: none;
        height: auto;
    }
    #sidemenu {
        padding-left: 0px;
        float: left;
    }
    .tab-content {
        border-top: none;
    }
    .share {
        top: 5px;
    }
    #info-tabs {
        display: none;
    }
    .brand-label {
        width: 100%;
    }
    .product-spec {
        width: 48%;
        margin-right: 2%;
        float: left;
    }
    .img-frame {
        width: 100%;
        height: 120px;
    }
    .col-md-4 .img-frame {
        margin-top: -10px;
        height: auto !important;
    }
    .col-md-4 .card-body>p {
        margin-bottom: 5px;
    }
    .navbar-light .navbar-toggler {
        display: inline-block !important;
        margin-right: 5%;
    }
    #search-bar {
        width: 310px;
        top: 80px;
        float: right;
    }
    .index-card-title {
        font-size: 0.9rem;
        font-family: '微軟正黑體', 'Open Sans';
        margin-bottom: 5px;
    }
    #no-more-tables th,
    #no-more-tables td {
        padding: 10px;
    }
    #no-more-tables thead tr th {
        border-bottom: 1px solid #151515;
        height: 30px;
        line-height: 30px;
    }
    #no-more-tables tr {
        border: none;
        border-bottom: 1px solid #999;
        margin-bottom: 0;
        width: 100%;
        float: none;
    }
    #no-more-tables thead tr th:nth-child(1) {
        border-top-left-radius: 5px;
    }
    #no-more-tables thead tr th:nth-last-child(1) {
        border-top-right-radius: 5px;
    }
    #socials {
        padding: 0;
        position: absolute;
        left: 70%;
        margin-top: -60px;
    }
    #news-area {
        width: 100%;
        height: 1000px;
    }
    .new-product {
        left: 74%;
        top: 100px;
    }
    .d-md-block {
        display: none !important;
    }
    #banner .carousel slide {
        height: 250px;
    }
    #sidemenu>ul>li>a {
        font-size: 0.9rem;
    }
    .product-item {
        padding: 0 5px;
    }
}

@media (min-width: 800px) {
    .product-thumb.col-md-3 {
        height: auto;
    }
    .inquiry a {
        width: 90%;
    }
    #all-list {
        flex: 0 0 75% !important;
        max-width: 75% !important;
    }
    #series {
        display: none;
    }
    #primary-nav {
        width: 100%;
        position: relative;
        /* Stay in place */
        z-index: 50;
        /* Stay on top */
        top: 0px;
        /* Stay at the top */
        left: auto;
        background: none;
        visibility: visible;
        overflow-x: visible;
        /* Disable horizontal scroll */
        padding-top: 0px;
        /* Place content 60px from the top */
        padding-left: 10px;
        padding-right: 10px;
        box-shadow: none;
    }
    #fan-news {
        height: 620px;
    }
    .quick-inquiry {
        top: 320px;
    }
    .quick-catalog {
        top: 370px;
    }
    .navbar-expand-md .navbar-collapse {
        position: absolute;
    }
    .product-thumb {
        height: 160px;
    }
    .nav-item>a>i {
        display: none;
    }
    #news2 {
        margin-left: 0;
        width: 230px;
        padding-left: 0px;
    }
    .navbar-expand-md .navbar-nav {
        flex-direction: row;
    }
    .navbar-expand-md .navbar-nav .dropdown-menu {
        position: absolute;
    }
    .dropdown-menu li>a {
        width: 100%;
        height: 40px;
        padding: 10px;
        display: block;
    }
    .sidebar-nav {
        position: relative;
        width: 100%;
        top: 10px;
        left: 0;
    }
    .sidebar-nav>li {
        width: 20%;
        float: left;
        text-align: center;
        font-weight: bold;
        font-size: 1.1rem;
    }
    .nav-link:hover {
        color: rgb(202, 40, 40) !important;
        font-weight: bold;
    }
    #news {
        padding-left: 0;
    }
    #news li:hover {
        color: #fff !important;
    }
    #news li>a:hover {
        color: #fff;
    }
    #series>li:last-child {
        display: none;
    }
    .sidebar-nav .dropdown-menu {
        padding-left: 0.5rem;
        background-color: #f1f1f1;
    }
    .navbar-light .navbar-toggler {
        display: none !important;
        margin-top: 0;
    }
    #primary-nav .menu-logo {
        display: none;
    }
    #article-content #social-items {
        width: 150px;
        top: 90px;
    }
    .arrow-up {
        margin-top: 38px;
    }
    #article-content .arrow-up {
        margin-top: 30px;
    }
    #article-content .share {
        top: 45px;
    }
    .list-group-item {
        border-radius: 0 !important;
    }
    .inner-date {
        text-align: right;
        margin-top: 25px;
    }
    #tags a {
        padding: 0.5rem;
        font-size: 1rem;
    }
    #tags a:hover {
        font-weight: bold;
    }
    #catalog-download {
        margin-left: 0px;
    }
    .article-title {
        height: 3rem;
    }
    .tab-content {
        border-top: none;
    }
    .page-product-title {
        display: none;
    }
    #knowledge-title {
        display: none;
    }
    h1 {
        font-size: 1.6rem;
        margin-top: 1.1rem;
    }
    .closebtn {
        display: none;
    }
    #subIcon {
        display: none;
    }
    .sidebar {
        display: block;
    }
    #sidemenu {
        position: relative;
        width: 100%;
        left: 0;
        border: none;
    }
    .index-card-title {
        font-size: 1.05rem;
    }
    h5,
    .h5 {
        line-height: 20px;
        margin-bottom: 5px;
    }
    .card-body {
        padding-bottom: 10px;
    }
    .d-md-block {
        display: block !important;
    }
    .img-frame {
        width: 100%;
    }
    .index-item .img-frame {
        width: 100%;
        height: 150px;
    }
    .innovation {
        height: 150px;
    }
    #socials {
        padding: 0;
        position: absolute;
        left: 0%;
        right: -20px;
        top: -40px;
    }
    .nav-word {
        display: inline;
    }
    #search-bar {
        width: 260px;
        position: absolute;
        display: inline-block;
        margin-top: 30px !important;
        right: 90px;
        margin-left: 0;
        top: 0;
    }
    #sidemenu>ul>li>a {
        font-size: 1.1rem;
    }
    #socials {
        margin-left: auto;
        margin-right: 2%;
    }
    .back-to-top {
        cursor: pointer;
        position: fixed;
        bottom: 5px;
        right: 10px;
        display: none;
    }
    .new-product {
        left: 70%;
        top: 120px;
    }
    #banner .carousel slide {
        height: auto;
    }
    .card {
        margin-bottom: 0px;
    }
}

@media (min-width: 900px) {
    #search-bar {
        right: 100px;
    }
}

@media (min-width: 950px) {
    #search-bar {
        right: 50px;
    }
}

@media (min-width: 1024px) {
    .new-product {
        left: 75%;
        top: 120px;
    }
    .img-frame {
        height: 170px;
    }
    .innovation {
        height: 190px;
    }
    #category>li>a {
        cursor: pointer;
    }
    #product-list {
        display: block;
    }
    .navbar-brand {
        float: left;
    }
    #search-bar {
        position: relative;
        right: 0;
    }
    #primary-nav {
        width: 40%;
        max-width: 650px;
        min-width: 500px;
        /* Stay in place */
        z-index: 50;
        float: left;
        top: 0px;
        /* Stay at the top */
        background: none;
        visibility: visible;
        overflow-x: visible;
        /* Disable horizontal scroll */
        padding-top: 20px;
        /* Place content 60px from the top */
        padding-left: 10px;
        padding-right: 10px;
        box-shadow: none;
    }
}

@media (min-width: 1025px) {
    .lang-pc {
        display: none;
    }
    #fan-news {
        height: 630px;
    }
    body {
        font-size: 0.9rem;
    }
    .inquiry {
        width: 100%;
        position: absolute;
        z-index: 10;
        bottom: 0px;
        height: 50px;
        display: none;
    }
    .inquiry a {
        font-weight: bold;
        width: 80%;
        margin-top: 0%;
        margin-left: auto;
        margin-right: auto;
    }
    .inquiry a:hover {
        box-shadow: rgb(177, 177, 177) 1px 2px 5px;
    }
}

@media (min-width: 1200px) {
    .new-product {
        left: 80%;
    }
    .index-new-product {
        left: 85%;
    }
    .card-img {
        height: 180px;
        overflow: hidden;
    }
    .img-group {
        clear: both;
        width: 94%;
        margin: auto;
    }
    body {
        font-size: 1rem;
    }
    .sitemap-item li {
        line-height: 24px;
    }
    #primary-nav {
        width: 50%;
        max-width: 650px;
        min-width: 550px;
    }
    #social-items {
        width: 160px;
        top: 60px;
    }
    #article-content #social-items {
        right: 14px;
        top: 95px;
    }
    .arrow-up {
        margin-top: 53px;
    }
    #article-content .arrow-up {
        margin-top: 35px;
    }
    .index-item .img-frame {
        height: 180px;
    }
    .page-article-title {
        height: 1.5rem;
    }
    #search-bar {
        width: auto;
        left: -10px;
    }
    .navbar-expand-md .navbar-collapse {
        margin-left: 30px;
    }
    .card-title {
        height: auto;
    }
    .sub-menu li {
        text-indent: 0px;
        padding-left: 0;
    }
    .sub-menu li>a {
        font-size: 1rem;
    }
    h2.list-group-item {
        font-size: 1.5rem;
    }
    .innovation .index-card-title {
        height: 40px;
    }
}

@media(min-width:1920px) {
    .img-frame {
        height: 200px;
    }
}

@media (min-width: 2000px) {
    .container {
        max-width: 1500;
    }
    #primary-nav {
        width: 50%;
        max-width: 850px;
        min-width: 550px;
    }
}

.btn-line {
    color: #fff;
    background-color: #00B900;
    border-color: rgba(0, 0, 0, 0.2);
}

.btn-line:hover,
.btn-line:focus,
.btn-line:active,
.btn-line.active,
.open .dropdown-toggle.btn-line {
    color: #fff;
    background-color: #009900;
    border-color: rgba(0, 0, 0, 0.2)
}

.btn-line:active,
.btn-line.active,
.open .dropdown-toggle.btn-line {
    background-image: none
}

.btn-line.disabled,
.btn-line[disabled],
fieldset[disabled] .btn-line,
.btn-line.disabled:hover,
.btn-line[disabled]:hover,
fieldset[disabled] .btn-line:hover,
.btn-line.disabled:focus,
.btn-line[disabled]:focus,
fieldset[disabled] .btn-line:focus,
.btn-line.disabled:active,
.btn-line[disabled]:active,
fieldset[disabled] .btn-line:active,
.btn-line.disabled.active,
.btn-line[disabled].active,
fieldset[disabled] .btn-line.active {
    background-color: #00B900;
    border-color: rgba(0, 0, 0, 0.2)
}