/* Montserrat */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/* @font-face {
    font-family: 'nexa_lightregular';
    src: url('../font/nexa_light-webfont.eot');
    src: url('../font/nexa_light-webfont.eot?#iefix') format('embedded-opentype'), url('../font/nexa_light-webfont.woff') format('woff'), url('../font/nexa_light-webfont.ttf') format('truetype'), url('../font/nexa_light-webfont.svg#nexa_lightregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'nexa_boldregular';
    src: url('../font/nexa_bold-webfont.eot');
    src: url('../font/nexa_bold-webfont.eot?#iefix') format('embedded-opentype'),
        url('../font/nexa_bold-webfont.woff') format('woff'), 
        url('../font/nexa_bold-webfont.ttf') format('truetype'), 
        url('../font/nexa_bold-webfont.svg#nexa_boldregular') format('svg');
    font-weight: normal;
    font-style: normal;
} */

/* 2025-12-22 Ivan Added ⬇︎ */
html{
    height:calc(100% - 120px - 54px)
}
body{
    height: 100%;
}
#wrapper,#content {
    height: 100%;
}
/* 2025-12-22 Ivan Added ⬆ */

body {
    font-family: Arial, sans-serif;
    color: #000;
    font-size: 15px;
    /* background-color: #efefef; */
}

a {
    color: #fff;
    text-decoration: none;
    transition: all 0.6s ease;
}

a:hover {
    color: #000;
}

#wrapper {
    width: 100%;
    min-width: 1000px;
    min-height: 600px;
    background: #fff;
    margin: 0 auto;
}

#header {
    width: 100%;
    height: 120px;
    color: #fff;
    background: #000;
    text-align: center;
    position: relative;
}

#content {
    clear: both;
    padding: 0px;
    min-height: 426px;
}

#footer {
    width: 100%;
    height: 54px;
    background-color: #EFEFEF;
    font-size: 12px;
    line-height: 0.6em;
    position: relative;
}
/*   header  */

.logo {
    float: left;
    width: 140px;
    height: 120px;
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    vertical-align: middle;
}

.logo img {
    vertical-align: middle;
}

.logo h1 {
    display: none;
}

.nav {
    float: none;
    margin: 0 auto;
    /* width: 75%; */
    min-width: 730px;
    height: 120px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    line-height: 120px;
    padding: 0;
    z-index: 1000;
    width: 82%;
    margin-right: 120px;
}

.nav ul {
    width: 100%;
    height: 120px;
    padding: 0;
}

.nav li {
    float: left;
    /* width: 24%; */
    width: 20%;
    height: 120px;
    transition: background-color 0.5s ease;
}

.nav li:hover {
    background-color: #fff;
}
.nav li.active {
    background-color: #fff;
}
.nav li.active a{
    color: #000;
}
.nav li a {
    display: block;
    width: 100%;
}

/*   sub menu    */

.nav ul li div {
    position:absolute;
    left:0;
    top:120px;
    width: 100%;
    min-width: 1000px;    
    padding: 0;
    background-color: #fff;
    color: #000;
    z-index: 1000;
}
.nav ul li ul{    
    margin: 0 auto;
    padding:0;
    width: 50%;
    min-width: 700px;
}
.nav ul li ul li{
    float: none;
    margin: 0;
    padding: 0;
    line-height: 1;
}

.nav ul li ul li a{
    display: inline-block;
    color: #000;
    line-height: 1;
}
.nav ul li ul li a:hover{    
    color: #f29100;
}
.nav ul li div.sub_product {    
    display: none;
    
    height: 420px;
}
.nav ul li div.sub_product ul{
    position: relative;
    width: 50%;
    min-width: 700px;
    height: 100%;
}
.nav ul li div.sub_product h2{
    font-family: 'Montserrat', sans-serif;
    font-size: 25px;
    text-align: left;
    color: #f29100;
    padding: 0;
    margin: 0 0 20px;
    height: 80px;
    z-index: 50;
}
.nav ul li div.sub_product ul li{
    width: 100%;
    height: 25px;
    margin-bottom: 7px;
    padding: 0;
}
.nav ul li div.sub_product ul li a{    
    text-align: left;
    width: 100%;
    height: 20px;
    font-size: 20px;
    padding: 5px 0;
}
.nav ul li div.sub_product ul li img{
    position: absolute;
    left:280px;
    bottom: 0px;
    /*display: none;*/
    opacity: 0;
}
.nav ul li div.sub_product ul li:nth-child(2) a{    
    color: #f29100;
}
.nav ul li div.sub_product ul li:nth-child(2) img{    
    display: block;
    opacity: 1;
}


.nav ul li div.sub_download {
    display: none;    
    height: 320px;
}
.nav ul li div.sub_download ul{
    width: 40%;
    min-width: 500px;
    padding-top: 50px;
}
.nav ul li div.sub_download ul li{
    width: 100%;
    height: 80px;
}
.nav ul li div.sub_download ul li a{    
    text-align: right;
    width: 100%;
    height: 80px;
    font-size: 25px;
    line-height: 1.2em;
    padding: 5px 50px 5px 0;
    background: url('../img/icon/download.svg') right top no-repeat;
}

.logo2 {
     position: absolute;
    right: 0;
    top: 0;
    width: 120px;
    height: 110px;    
    background-color: #f29100;
    padding-top: 10px;
    transition: all 0.6s ease;
}
.logo2 img{    
    width: 100px;
    height: 100px;
    transition: all 0.6s ease;
}
.logo2 .l2{    
    display: none;
}
.logo2:hover{    
    background-color: #fff;
}
.logo2:hover .l1{    
    display: none;
}
.logo2:hover .l2{    
    display: block;
}


/*  footer */

.footer_search {
    float: left;
    width: 300px;
    height: 40px;
    padding: 10px 0 0 10px;
}

.lang {
    float: left;
    width: 60px;
    height: 35px;
    line-height: 35px;
    color: #f29100;
}

.lang span {
    color: #000;
    display: inline-block;
    width: 20px;
    text-align: center;
}
.lang a {
    color: #000;
    display: inline-block;
}
.lang a:hover {
    color: #f29100;
}


.footer_search input[type=text] {
    width: 0px;
    font-size: 13px;
    border: 1px solid transparent;
    border-radius: 3px;
    background: #EFEFEF url('../img/icon/search.svg') 7px 8px no-repeat;
    background-size: 18px;
    padding: 8px 10px 8px 30px;
    -webkit-transition: width 0.4s ease-in-out;
    -moz-transition-property: width 0.4s ease-in-out;
    -ms-transition-property: width 0.4s ease-in-out;
    -o-transition-property: width 0.4s ease-in-out;
    transition: width 0.4s ease-in-out;
}

.footer_search input[type=text]:focus {
    width: 180px;
    border: 1px solid #f29100;
    border-radius: 3px;
}

.footer_search input:-webkit-autofill {
    background-color: #EFEFEF;
    background-image: url('../img/icon/search.svg');
}

.footer_society {
    float: none;
    margin: 0 auto;
    padding: 0;
    width: 150px;
    height: 54px;
    text-align: center;
}

.footer_society a {
    display: inline-block;
    width: 18px;
    height: 18px;
    margin: 20px 10px 0;
}

.footer_society a img {
    width: 100%;
}

.footer_copyright {
    position: absolute;
    right: 10px;
    bottom: 5px;
    text-align: right;
    font-size: 10px;
    -webkit-transform: scale(0.83);
    color: #989898;
    line-height: 1.2em;
}

/* nebhula n_sub_product */
.n_sub_product *{
    box-sizing: border-box;
}
.n_sub_product{
    width: 100%;
    background-color: #fff;
    display: block;
    z-index: 999;
    position: absolute;
    padding: 40px 0 100px 0;
    left: 0;
    right: 0;
    display: none;
}
.n_sub_product .cate_twin{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: start;
    /* base */
    position: relative;
    top: 0;
    min-width: auto;
}
.n_sub_product .cate_twin .main_cate{
    width: 16.66%;
    display: flex;
    flex-direction: column;
    align-items: start;
    margin-right: 60px;
    font-size: 20px;
    /* base */
    min-width: auto;
    height: auto;
    margin: initial;
    /* margin-right: 60px; */
    position: relative;
}
.n_sub_product .cate_twin .main_cate .main_cate_item{
    height: auto;
    width: 100%;
    position: unset;
}
.n_sub_product .cate_twin .main_cate .main_cate_item .main_cate_link{
    padding: 12px;
    text-align: left;
    border-radius: 4px;
    font-weight: 300;
}
.n_sub_product .cate_twin .main_cate .main_cate_item .main_cate_link:hover{
    color: #000;
    background-color: rgba(138, 145, 166, 0.2);
}
.n_sub_product .cate_twin .sub_cate{
    width: 16.66%;
    display: flex;
    flex-direction: column;
    align-items: start;
    /* base */
    position: relative;
    top: 0;
    min-width: auto;
}
.n_sub_product .cate_twin .sub_cate_group{
    /* base */
    position: relative;
    top: 0;
    min-width: auto;
    width: 100%;
    height: auto;
    position: absolute;
    left: 120%;
    max-height: 300px;
    overflow-y: auto;
    display: none;
}
.n_sub_product .cate_twin .sub_cate_group .sub_cate_item{
    height: auto;
    width: 100%;
}
.n_sub_product .cate_twin .sub_cate_group .sub_cate_item .sub_cate_link{
    font-size: 16px;
    text-align: left;
    padding: 8px;
    line-height: 1.25;
}

/* end nebhula n_sub_product */

/* navbar-toggler */
.navbar-toggler{
    background-color: transparent;
    border: none;
    position: absolute;
    top: 10px;
    right: 72px;
    padding: 10px;
    cursor: pointer;
}
.navbar-toggler span {
    display: block;
    background-color: #f29100;
    width: 28px;
    height: 2px;
    border-radius: 3px;
    transition: margin 0.25s 0.25s, transform 0.25s;
}

.navbar-toggler span:first-child {
    margin-bottom: 6px;
}

.navbar-toggler span:last-child {
    margin-top: 6px;
}

.navbar-toggler.active span {
    transition: margin 0.25s, transform 0.25s 0.25s;
}

.navbar-toggler.active span:first-child {
    /* margin-top: 8px; */
    margin-top: 12px;
    /* margin-bottom: -4px; */
    margin-bottom: -2px;
    transform: rotate(45deg);
}

.navbar-toggler.active span:nth-child(2) {
    transform: rotate(45deg);
}

.navbar-toggler.active span:last-child {
    /* margin-top: -4px; */
    margin-top: -2px;
    transform: rotate(135deg);
}
/* end navbar-toggler */

/* sub_toggler */
.nav li .sub_toggler{
    position: absolute;
    top: 0;
    right: 12px;
    width: 50px;
    height: 50px;
    display: inline;
    /* z-index: 10000; */
}
.nav li .sub_toggler::before,
.nav li .sub_toggler::after{
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 15px;
    height: 1px;
    background-color: #fff;
    transition: transform .2s ease-in-out;
}
.nav li .sub_toggler::after{
    transform: rotate(-90deg);
}
.nav li .sub_toggler.is-active:before {
    transform: rotate(180deg)
}
.nav li .sub_toggler.is-active:after {
    transform: rotate(0deg)
}
/* end sub_toggler */

@media (max-width: 1499px){
    .nav{
        width: 75%;
    }
}

@media (max-width: 1189px){
    #footer{
        height: 100px;
    }
    .footer_society{
        float: right;
        padding-right: 40px;
    }
    .footer_search{
        padding-left: 40px;
    }
    .nav li{
        /* 外層若有 id wrapper 19% */
        width: 15%;
    }
    .nav{
        margin-right: 0;
        margin-left: auto;
    }

}

@media (max-width: 810px){
    .nav{
        width: 100%;
        /* height: 60px; */
        height: auto;
        line-height: 50px;
        min-width: initial;
        font-size: 14px;
    }
    .nav ul{
        /* display: flex; */
        flex-direction: column;
        /* top: 60px; */
        position: relative;
        z-index: 999;
        height: auto;
    }
    .nav > ul{
        background-color: #000;
        animation-name: fadeInUp;
        animation-duration: 0.5s;
        -webkit-animation-name: fadeInUp;
        -webkit-animation-duration: 0.5s;
    }
    .nav ul li{
        width: 100%;
        height:50px;
        text-align: left;
        padding-left: 72px;
        padding-right: 64px;
        float: none;
        box-sizing: border-box;
        position: relative;
    }
    .nav ul li div.sub_product{
        top: 44px;
        min-width: 100%;
        height: auto;
        padding: 0 24px;    
        box-sizing: border-box;
    }
    .nav ul li div.sub_product h2{
        font-size: 16px;
        height: auto;
        margin: 16px 0 8px 0;
    }
    .nav ul li div.sub_product ul li a{
        font-size: 14px;
    }
    /* .nav ul li a{
        padding-left: 72px;
    } */
    #header{
        height: 60px;
        /* height: auto; */
    }
    .logo2{
        width: 60px;
        height: 50px;
    }
    .logo2 img{
        width: 40px;
        height: 40px;
    }
    .logo img{
        width: 60px;
    }
    .logo{
        width: 70px;
        height: 60px;
    }
    .collapse-area{
        display: none;
    }
    .collapse{
        display: flex;
    }
    .nav li:hover, .nav li:focus{
        background-color: unset;
    }
    .nav li a:hover, .nav li a:focus, .nav li.active a{
        color: #fff;
    }
    .nav li.active{
        background-color: #000;
    }
    .n_sub_product .cate_twin .main_cate .main_cate_item .main_cate_link,
    .n_sub_product .cate_twin .sub_cate_group .sub_cate_item .sub_cate_link{
        color: #000;
    }
    .n_sub_product .cate_twin .sub_cate_group .sub_cate_item .sub_cate_link{
        padding: 10px 8px;
    }
    
    /* n_sub_product */
    .n_sub_product{
        width: 100%;
        margin: 0 auto;
    }
    .n_sub_product .cate_twin{
        justify-content: flex-start;
        /* padding-left: 24px; */
        padding: 0 20px;
    }
    .n_sub_product .cate_twin .main_cate{
        margin-right: 0;
        /* width: 40%; */
        width: 100%;
        font-size: 16px;
    }
    .n_sub_product .cate_twin .sub_cate{
        width: 40%;
    }
    .nav ul li div.sub_product ul li img{
        display: none;
    }
    .nav ul li div.sub_product ul{
        min-width: 100%;
    }
    .n_sub_product .cate_twin .sub_cate_group{
        width: 100%;
        position: relative;
        left: 0;
    }
} 

@media (max-width: 550px){
    .footer_society{
        width: auto;
    }
    .footer_search{
        width: 150px;
    }
    #footer{
        height: 120px;
    }
    /* n_sub_product */
    .n_sub_product .cate_twin .main_cate,
    .n_sub_product .cate_twin .sub_cate_group .sub_cate_item .sub_cate_link{
        font-size: 14px;
    }
    /* .n_sub_product .cate_twin .main_cate{
        width: 33.33%;
    } */
}


