* {
    padding: 0px;
    margin: 0px;
    font-family: Lato, Noto Sans TC;
    /* border: #F00 0.1px solid;
    box-sizing: border-box; */
}

html {
    scroll-behavior: smooth;
}

body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    background-color: #F8F8F8;
}

/* 內容標題 */
h1 {
    visibility: hidden;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    color: #3B3B3B;
    font-size: 1.6rem;
}

h4 {
    color: #3B3B3B;
    text-align: center;
    font-size: 28px;
    padding: 20px 0px;
}

h5 {
    color: #3B3B3B;
    font-size: 24px;
}

h6 {
    font-size: 20px;
}

p {
    color: #3B3B3B;
    opacity: 0.8;
    font-size: 24px;
}

/* 導航列 */
.header {
    height: 90px;
    width: 100%;
    background-color: #FFF;
    position: fixed;
    z-index: 100;
    box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.2);
}

.header-logo {
    float: left;
    padding-top: 6px;
    color: #3B3B3B;
    font-size: 36px;
    opacity: 0.9;
}

.header-logo:hover {
    opacity: 0.8;
    color: #3B3B3B;
}

.header-logo img {
    height: 60px;
    width: auto;
}

/* 電腦版導航列 */

.dropdown-menu {
    background-color: rgba(0, 0, 0, 0.2);
    width: 100vw;
    height: 89vh;
}

.product-nav {
    height: 100vh;
}

.menu {
    float: right;
    list-style-type: none;
}

.menu li {
    float: left;
}

.pc-menu li .option {
    display: block;
    color: #3B3B3B;
    opacity: 0.8;
    height: 90px;
    padding: 1.5em 2.2em;
    text-align: center;
    transition: 0.4s;
    font-size: 20px;
}

.pc-menu li .option:hover {
    color: #FFF;
    box-shadow: inset 500px 0px 0px 0px #F41B24;
    opacity: 1;
    padding-top: 28px;
}

.onclick{
    display: block;
}

.pc-menu li .option:hover a{
    color: #FFF;
}



/* 平板版導航列 */

.showmenu {
    display: none;
}

.mobile-menu {
    display: none;
}

.mobile-menu li {
    padding: 10px;
}

.mobile-menu li a {
    display: block;
    color: #3B3B3B;
    height: 50px;
    padding: 10px 10px;
    text-align: left;
    transition: 0.4s;
}

.tablet_accordion {
    background-color: #FFF;
    color: #3B3B3B;
    cursor: pointer;
    height: 60px;
    width: 100%;
    padding: 0 20px;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.3s;
}

.tablet_accordion:hover {
    background-color: #FFF;
}

.tablet_accordion:after {
    content: '\002B';
    color: #777;
    font-weight: bold;
    float: right;
    margin-right: 10px;
}

.active2:after {
    content: "\2212";
}

.tablet_accordion_content {
    background-color: #FFF;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

.tablet_accordion_content a p {
    font-size: 16px;
    padding-left: 20px;
    color: #3B3B3B;
}

.mobile-menu_link {
    background-color: #F2F2F2;
    cursor: pointer;
    height: 60px;
    width: 100%;
    padding-left: 20px;
    text-align: left;
    border: none;
    outline: none;
}




/* 電腦版導航列下拉產品選單 */

.drop-down-menu {
    display: none;
    width: calc(100vw - 30px);
    height: 100%;
    position: absolute;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 110;
    box-sizing: inherit;
    border-top: rgba(0, 0, 0, 0.2) 1px solid;
    box-shadow: rgba(0, 0, 0, 0.5) 0 5000px 0px 5000px;
    transition: all 0.5s;
}

.pc-menu-opened:hover .drop-down-menu {
    display: block;
}

.nav-product-list-green,
.nav-product-list-red,
.nav-product-list-grey {
    height: 280px;
    cursor: pointer;
    padding: 10px 0;
    background-color: #F9F9F9;
    transition: 0.5s;
}

.nav-product-list-green h6 {
    color: #05A451;
    padding: 10px 0;
}

.nav-product-list-green:hover {
    background-color: #05A451;
    color: #FFF;
}

.nav-product-list-red h6 {
    color: #F41B24;
    padding: 10px 0;
}

.nav-product-list-red:hover {
    background-color: #F41B24;
    color: #FFF;
}

.nav-product-list-grey h6 {
    color: #3B3B3B;
    padding: 10px 0;
}

.nav-product-list-grey:hover {
    background-color: #3B3B3B;
    color: #FFF;
}

.nav-product-list-green:hover h6,
.nav-product-list-red:hover h6,
.nav-product-list-grey:hover h6 {
    color: #FFF;
}


#nav_exit,
#exit,
#nav_fan,
#fan {
    fill: #05A451;
    fill-rule: evenodd;
}

#nav_emergency_light,
#emergency_light,
#nav_firextinguisher,
#firextinguisher {
    fill: #F41B24;
    fill-rule: evenodd;
}

#nav_podcast,
#podcast,
#nav_smoke_damper,
#smoke_damper {
    fill: #3B3B3B;
    fill-rule: evenodd;
}

.nav-product-list-green:hover #nav_exit,
.nav-product-list-red:hover #nav_emergency_light,
.nav-product-list-red:hover #nav_firextinguisher,
.nav-product-list-grey:hover #nav_smoke_damper,
.nav-product-list-grey:hover #nav_podcast,
.nav-product-list-green:hover #nav_fan {
    fill: #FFF;
}

.nav-product-list-green:hover .onclick,
.nav-product-list-red:hover .onclick,
.nav-product-list-grey:hover .onclick{
    color: #FFF;
}

.nav-product-list-red:hover {
    box-shadow: none;
    background-color: #F41B24;
    color: #FFF;
}

.nav-product-list-grey:hover {
    box-shadow: none;
    background-color: #3B3B3B;
    color: #FFF;
}

.nav-product-list .text-center a {
    height: 30px;
    padding: 0;
}

.nav-product-list div a:hover {
    padding-top: 0px;
}

.menu svg {
    height: 80px;
    width: auto;
    padding-top: 10px;
}



/* 錨點系列 */

#about_info {
    position: relative;
    top: 200px;
    width: 0;
    height: 0;
    overflow: hidden;
}

#about_tooling {
    position: relative;
    top: -140px;
    width: 0;
    height: 0;
    visibility: hidden;
}



/* 網頁元件 */
.article {
    margin-top: 90px;
    text-align: center;
    position: relative;
}

.article img {
    width: 100%;
}

.article p {
    font-size: 20px;
    padding: 0px 10%;
    text-align: left;
}

.carousel-item img {
    height: 520px;
    object-fit: cover;
}

.carousel-inner {
    box-shadow: inset 0px 2px 2px rgba(0, 0, 0, 0.2);
}

.main-btn {
    position: absolute;
    bottom: 5px;
    z-index: 80;
}

.main-btn-content {
    height: 220px;
    cursor: pointer;
}

.btn-content {
    height: calc(100% - 5px);
    position: relative;
    background-color: rgba(157, 157, 157, 0.8);
    transition: 0.6s;
}

.btn-content:hover a {
    color: #4a4a4a;
}

.btn-content span {
    font-size: 24px;
    opacity: 0.8;
}

.btn-content svg {
    height: 120px;
    width: auto;
    max-width: 100px;
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
}

.content-L {
    margin-left: -5px;
    margin-right: -10px;
}

.content-M {
    margin-left: -10px;
    margin-right: -10px;
}

.content-R {
    margin-left: -10px;
    margin-right: -5px;
}

.content-L:hover,
.content-M:hover,
.content-R:hover {
    box-shadow: inset 500px 0px 0px 0px rgba(255, 255, 255, 0.8), inset -500px 0px 0px 0px rgba(255, 255, 255, 0.8);
}

.content-link {
    position: absolute;
    top: 170px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

.main-btn-content ul {
    list-style-type: none;
}

.main-btn-content li a {
    color: #3B3B3B;
    text-decoration: none;
}

.btn-learnmore {
    height: 72px;
    margin-top: 0px;
    font-size: 18px;
    color: #FFF;
    opacity: 0.8;
    transition: 0.5s;
    border: none;
}

.btn-red {
    background-color: #F8767C;
}

.btn-green {
    background-color: #69C897;
}

.btn-grey {
    background-color: #717171;
}

.btn-red:hover {
    box-shadow: inset 500px 0px 0px 0px #F41B24, inset -500px 0px 0px 0px #F41B24;
    opacity: 1;
}

.btn-green:hover {
    box-shadow: inset 500px 0px 0px 0px #05A451, inset -500px 0px 0px 0px #05A451;
    opacity: 1;
}

.btn-grey:hover {
    box-shadow: inset 500px 0px 0px 0px #414141, inset -500px 0px 0px 0px #414141;
    opacity: 1;
}

/* 產品介紹內容 */
.product-tittle{
    line-height: 60px;
}   
.product-list {
    background-color: #F8F8F8;
    position: sticky;
    top: 90px;
    height: 80px;
    text-align: center;
    font-size: 1.2vmax;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-content: center;
    color: #717171;
    margin-bottom: 16px;
    z-index: 90;
}

.product-list div {
    padding: 10px 0px;
    line-height: 56px;
    cursor: pointer;
}

.product-list>.wearehere {
    color: #FFF;
}

.product-block {
    margin-bottom: 60px;
    overflow: hidden;
}

/* .col-12.product-table {
    background-color: #FFF;
    border-left: #F9F9F9 solid 10px;
    border-bottom: #F9F9F9 solid 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    align-items: center;
    align-content: space-evenly;
    padding-bottom: 50px;
}

.col-12.product-table img {
    max-width: 400px;
    max-height: 400px;
    height: auto;
    width: auto;
    object-fit: contain;
    margin-top: 50px;
}

.col-12.product-table h4 {
    text-align: right;
    width: 100%;
    font-size: 20px;
    padding: 50px 0 10px 0;
    border-bottom: #FF0 solid 10px;
    display: inline-block;
}

.col-lg-6.product-table {
    height: 100%;
    background-color: #FFF;
    border-left: #F9F9F9 solid 10px;
    border-bottom: #F9F9F9 solid 10px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: center;
    align-content: center;
    padding-bottom: 50px;
}

.col-lg-6.product-table img {
    max-width: 280px;
    max-height: 200px;
    height: auto;
    width: auto;
    object-fit: contain;
}

.col-lg-6.product-table h4 {
    text-align: right;
    width: 100%;
    font-size: 20px;
    border-bottom: #FF0 solid 10px;
    display: inline-block;
} */

.product-table table {
    text-align: left;
    font-size: 16px;
    white-space: wrap;
    overflow: auto;
}

.product-table table td {
    padding: 2px 0px 2px 20px;
}

.product-table table td h6 {
    color: #000;
    padding: 10px 0 30px 0;
    line-height: 32px;
}

.product-table table td:nth-child(odd) {
    opacity: 0.6;
}

.product-table table tbody tr:hover {
    background-color: #F2F2F2;
}

/* 產品內頁內容 */

.breadcrumb {
    height: 80px;
    position: sticky;
    top: 90px;
    margin-top: 90px;
    border-radius: 0%;
    z-index: 30;
}

.product_detail {
    margin-top: -16px;
}

.product_detail table {
    text-align: left;
    width: 100%;
    white-space: nowrap;
    font-size: 18px;
    background-color: #F9F9F9;
}

.product_detail img {
    width: 90%;
    height: auto;
    display: block;
    text-align: center;
    padding-bottom: 20px;
}

.product_detail tr>td:first-child {
    width: 5%;
}

.product_detail td {
    padding: 20px;
    border-bottom: solid #F9F9F9 2px;
}

.product_detail span {
    font-size: 12px;
}

/* 回到首頁小配件 */

.backtotop {
    width: 60px;
    height: 60px;
    margin-right: -80px;
    color: #FFF;
    font-size: 30px;
    line-height: 40px;
    background-color: #3B3B3B;
    opacity: 0.6;
    position: fixed;
    bottom: 40%;
    display: none;
    cursor: pointer;
}

.backtotop:hover {
    opacity: 0.8;
}

.w-100 {
    height: 5vmax;
}



/* 頁尾開始 */
.footer {
    min-height: calc(100% - 40px);
    width: 100%;
    color: #3B3B3B;
    line-height: 30px;
    font-size: 15px;
    /* position: relative; */
}

.footer-line {
    width: 100%;
    height: 2px;
    background-color: #3B3B3B;
    margin-bottom: 50px;
}

.footer ul,
.footer a {
    color: #3B3B3B;
    text-decoration: none;
    list-style-type: none;
    opacity: 0.7;
}

.footer ul,
.footer ul li a:hover {
    color: #3B3B3B;
    opacity: 1;
}

.footer-contact p,
.footer-contact a {
    font-size: 13px;
    line-height: 10px;
    text-align: left;
}

.footer-logo {
    height: 80px;
    background-image: url(images/favico.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top center;
    margin-bottom: 32px;
}

.footer-logo p {
    font-size: 20px;
    color: #3B3B3B;
    position: relative;
    padding-top: 100px;
    opacity: 0.8;
    text-align: center;
    white-space: nowrap;
}

.footer-tel a:hover{
    color: #F41B24;
}

.footer-email a:hover{
    color: #05A451;
}

.copyright {
    height: 40px;
    width: 100%;
    background-color: #E9E9E9;
    color: #3B3B3B;
    text-align: center;
    font-size: 12px;
}

footer iframe {
    padding-top: 20px;
    opacity: 0.5;
    transition: 0.5s;
}

footer iframe:hover {
    opacity: 1;
}


.fa-brands {
    font-size: 50px;
    color: #C9C9C9;
    cursor: pointer;
    padding-top: 30px;
    padding-right: 6px;
}

.fa-facebook-square:hover {
    color: #3b5998;
}

.fa-twitter-square:hover {
    color: #00acee;
}

/* 平板 */
@media (max-width: 991px) {
    h4 {
        font-size: 18px;
        line-height: 28px;
        padding: 20px 10% 20px 10%;
    }

    .header {
        height: 72px;
    }

    .header-logo {
        padding-top: 4px;
    }

    .header-logo img {
        height: 56px;
        width: auto;
    }

    .header-logo {
        font-size: 3vmax;
    }

    /* 平板導航列 */
    .menu {
        max-height: 0;
        transition: max-height 0.3s;
        position: absolute;
        z-index: 100;
        top: 72px;
        left: 0;
        right: 0;
        background: #F2F2F2;
        overFlow-y: auto;
    }

    .menu li {
        float: none;
    }

    .tablet_accordion:hover,
    .mobile-menu a:hover {
        box-shadow: none;
        background-color: #E9E9E9;
        color: #111;
    }

    .mobile-menu {
        display: block;
    }

    .pc-menu {
        display: none;
    }

    .tablet_accordion {
        color: #202020;
        font-size: 20px;
    }

    .tablet_accordion_content a p {
        font-size: 20px;
        padding-left: 20px;
        color: #202020;
    }

    .showmenu {
        display: block;
        float: right;
        color: #FFF;
        font-size: 2.7em;
        margin: 20px auto;
    }

    .showmenu:hover {
        color: rgba(255, 255, 255, 0.9)
    }

    /*jQuery點擊後動態在 body 加上 class */
    .menu-show .menu {
        max-height: 200vh;
        height: 100vh;
        width: 100vw;
        overFlow-y: auto;
        padding-bottom: 120px;
    }

    .menu-show .header {
        background-color: #F2F2F2;
    }

    /* 平板選單漢堡 */
    .hamburger {
        width: 40px;
        cursor: pointer;
        opacity: 1;
    }

    .hamburger:hover {
        opacity: 0.8;
    }

    .hamburger .line {
        display: block;
        width: 80%;
        height: 5px;
        border-radius: 3px;
        background-color: #3B3B3B;
        opacity: 0.8;
        margin-bottom: 6px;
        -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }

    #hamburger.active .line:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
        opacity: 1;
    }

    #hamburger.active .line:nth-child(2) {
        opacity: 0;
    }

    #hamburger.active .line:nth-child(3) {
        transform: translateY(-12px) rotate(-45deg);
        opacity: 1;
    }

    /* 平板menu */
    .dropdown-toggle {
        visibility: hidden;
    }

    /* 平板內容 */
    h4 {
        font-size: 20px;
        padding: 10px 0px;
    }

    .article p {
        font-size: 12px;
        padding: 10px 10%;
    }

    .carousel-item img {
        height: 420px;
    }

    .main-btn-content {
        height: 180px;
    }

    .btn-content svg {
        height: 80px;
        max-width: 80px;
    }

    .btn-content span {
        font-size: 22px;
    }

    .content-link {
        top: 120px;
    }

    .btn-learnmore {
        width: 260px;
        height: 50px;
        margin: 0px;
        font-size: 14px;
        bottom: -50px;
    }

    /* 產品頁內容 */
    .col-12.product-table {
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: flex-end;
        align-items: center;
        align-content: center;
    }

    .col-12.product-table h4 {
        padding: 20px 0;
    }

    .col-12.product-table img {
        max-width: 280px;
        max-height: 200px;
        height: auto;
        width: auto;
        object-fit: contain;
        margin-top: 50px;
    }

    /* 平板頁尾 */
    .footer-logo {
        background-position: center;
        margin-bottom: 60px;
    }

    .footer-contact p {
        text-align: center;
    }
}

/* 手機內容 */
@media (max-width: 781px) {
    .article p {
        font-size: 14px;
        padding: 10px 10%;
    }

    .main-btn {
        bottom: -2px;
    }

    .btn-content span {
        font-size: 20px;
    }

    .btn-content svg {
        height: 160px;
        width: auto;
        max-width: 60px;
    }

    #tooling {
        height: 45px;
        width: auto;
    }

    .btn-content span {
        position: absolute;
        top: 50%;
        right: 10%;
        transform: translateY(-50%);
    }

    .btn-red:hover {
        box-shadow: inset 500px 0px 0px 0px #F41B24;
    }

    .btn-learnmore {
        width: 100%;
        margin-top: 0;
        margin-left: 0;
        margin-right: 0;
        font-size: 14px;
    }

    .product-list ul {
        display: none;
    }

    .w-100 {
        height: 3vmax;
    }

    .footer {
        background-color: rgb(241, 241, 241);
    }

    .footer-line {
        visibility: hidden;
    }
}