/* header */
#header{
    height: 100vh;
    width: 100%;
    position: absolute;
    z-index: 1004;
    pointer-events: none;
}
/* all_down_block */
.all_down_block{
    position: fixed;
    pointer-events: auto;
    width: 100%;
    height: 0px;
    overflow: hidden;
    transition: all .4s ease-out .15s;
    -webkit-transition: all .4s ease-out .15s;
    background-color: rgba(16, 25, 78, 0.95);
    opacity: 0;
}
.all_down_block.stage1 {
    opacity: 1;
    height: 90px;
}
.all_down_block.show{
    /* height: fit-content; */
    opacity: 1;
    transition: all .4s ease-out;
    -webkit-transition: all .4s ease-out;
}
@supports (-webkit-backdrop-filter: blur(8px)) or (backdrop-filter: blur(8px)){
    .all_down_block.stage1, .all_down_block.show {
        background-color: #10194ed6;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
}
.menu_down_block, .search_down_block{
    overflow:hidden;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    /* top: 80px; */
	top: 65px;
    margin-top: 0;
    width: 100%;
    padding: 24px 8% 30px 8%;
    color: #FFF;
    transition: all .3s ease;
    -webkit-transition: all .3s ease;
}
.menu_down_block.active, .search_down_block.active {
    opacity: 1;
    position: relative;
    pointer-events: all;
    transition: all .3s ease .2s;
    -webkit-transition: all .3s ease .2s;
}
div.m_hmenu_back_btn {
    transition: all .3s ease;
    -webkit-transition: all .3s ease;
}
.all_down_block.show div.m_hmenu_back_btn {
    opacity: 1;
    pointer-events: all;
    transition: all .3s ease .2s;
    -webkit-transition: all .3s ease .2s;
}
/* .menu_down_block.row .col-12.col-md-3{
    max-width: 20%;
} */
.nav{
    width: 100%;
    padding: 0;
    display: block;
}
.nav > li{
	z-index:99999;
    display: block;
    padding-top: 6px;
    padding-bottom: 18px;
    min-height: 55px;
    max-height: 55px;
    transition: all .3s ease;
    -webkit-transition: all .3s ease;
}
.cus-col-4{
    width: 100%;
    margin-left: 15%;
}
.cus-col-4 .nav > li{
    width: 25%;
    float: left;
}
.menu_d_title{
    /* display: inline-block; */
    text-transform: uppercase;
    position: relative;
    /* cursor: pointer; */
    user-select: none;
    /* font-size: 18px; */
    font-size: 16px;
}
.menu_d_hide {
    height: 100%;
    visibility: collapse;
    width: 31%;
}

.menu_d_title, .img_title {
    transition: all .3s ease;
    -webkit-transition: all .3s ease;
}
li.active .menu_d_title > a{
    color: #ffc52b;
}

.menu_d_plus{
    position: relative;
/*     background-color: #ffc52b2e; */
    display: inline-block;
    margin-left: 0px;
    height: 18px;
    width: 26px;
    vertical-align: middle;
    cursor: pointer;
    /* background-image: url('../icon/plus.svg'); */
}
.menu_d_plus:before{
    content: "";
    display: inline-block;
    height: 1px;
    width: 12px;
    position: absolute;
    background-color: #ffc52b;
    top: 6px;
    left: calc(50% - 6px);
}
.menu_d_plus:after {
    content: "";
    display: inline-block;
    height: 1px;
    width: 12px;
    transform: rotate(90deg);
    transform-origin: center;
    position: absolute;
    background-color: #ffc52b;
    top: 6px;
    left: calc(50% - 6px);
}
.menu_d_plus{
    position: relative;
/*     background-color: #ffc52b2e; */
    display: inline-block;
    margin-left: 0px;
    height: 18px;
    width: 26px;
    vertical-align: middle;
    cursor: pointer;
    /* background-image: url('../icon/plus.svg'); */
}
.menu_d_plus:before{
    content: "";
    display: inline-block;
    height: 1px;
    width: 12px;
    position: absolute;
    background-color: #ffc52b;
    top: 6px;
    left: calc(50% - 6px);
}
li.active .menu_d_plus:after {
    opacity: 0;
}
/* img_title */
.img_title {
    display: inline-block;
    text-transform: uppercase;
    position: relative;
    cursor: pointer;
    user-select: none;
    height: 220px;
    /* width: 23%; */
    width: 300px;
    /* padding-bottom: 16%; */
    margin-right: 2%;
}
.menu_d_img{
    width: 100%;
    height: calc(100% - 30px);
    position: absolute;
    overflow: hidden;
}
.menu_d_mask {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    transition: all .3s cubic-bezier(0.215, 0.61, 0.355, 1);
    -webkit-transition: all .3s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.img_title:hover .menu_d_mask{
    transform: scale(1.15);
}
.menu_d_mask::after {
    content: "";
    display: block;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}
.menu_d_t {
    position: absolute;
    top: 8px;
    left: 6px;
}
.menu_tip {
    position: absolute;
    bottom: 0px;
    font-size: 0.7em;
    color: #ffc52b;
    display: none;
}
.menu_tip:after {
    content: "";
    display: inline-block;
    height: 14px;
    width: 20px;
    background-image: url('../icon/right-arrow.svg');
    margin-left: 10px;
    vertical-align: text-bottom;
    opacity: 0;
    transform: translate(-50%, 0);
    transition: transform 1s cubic-bezier(0.215, 0.61, 0.355, 1), opacity 1s cubic-bezier(.473,.427,0,.993);
    -webkit-transition: transform 1s cubic-bezier(0.215, 0.61, 0.355, 1), opacity 1s cubic-bezier(.473,.427,0,.993);
}
.img_title:hover .menu_tip:after{
    opacity: 1;
    transform: translate(0%, 0);
}
/* img_title */

.menu_d_expand {
    width: 48vw;
    min-width: 700px;
    font-size: 0.8em;
    max-height: 0px;
    padding-top: 0px;
    overflow: hidden;
    transition: all .3s ease;
    -webkit-transition: all .3s ease;
}
.nav > li.active{
    max-height: 160px;
}
.nav > li.active .menu_d_title .menu_d_expand{
    max-height: 120px;
    padding-top: 10px;
}
.menu_d_e_title {
    width: 30%;
    display: inline-block;
    padding-bottom: 2px;
    padding-top: 8px;
}
.menu_d_e_title:hover {
    color: #3fbcaf;
}

.back_title, .back_title2{
    position: absolute;
    font-size: 12vw;
    line-height: 280px;
    top: 53%;
    transform: translate(0, -50%);
    left: 0;
    font-weight: bold;
    color: rgba(239, 239, 239, 0.02);
    text-align: center;
    width: 100%;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    text-transform: uppercase;
    pointer-events: none;
    opacity: 0;
    transition: all .3s ease;
    -webkit-transition: all .3s ease;
}
.show .back_title, .show .back_title2{
    opacity: 1;
    transition: all 0s ease;
    -webkit-transition: all 0s ease;
}

/* search_down_block */
.type_block{
    width: 768px;
    max-width: 100%;
    margin: 50px auto 30px auto;
    border-bottom: 1px #ffffff91 solid;
    position: relative;
}
.search_input_d, .search_input_d:focus, .search_input_d::placeholder{
    font-size: 26px;
}
.search_input_d, .search_input_d:focus, 
.search_input, .search_input:focus{
    color: #FFF;
}
.search_input_d::placeholder, .search_input::placeholder{
    color: #ffffff88;
}
.search_icon{
    height: 30px;
    width: 30px;
    background-image: url(../icon/ico_search_big.svg);
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translate(0, -50%);
    /* opacity: 0.6; */
    cursor: pointer;
}
.popular_title{
    text-align: center;
    font-size: 14px;
    color: #FFF;
}
.popular_block{
    width: 768px;
    margin: 0 auto;
    text-align: center;
}
.popular_block span{
    display: inline-block;
    padding: 3px 10px;
    border: 1px #FFF solid;
    font-size: 14px;
    height: 28px;
    line-height: 20px;
    color: #FFF;
    border-radius: 5px;
    margin: 0 10px;
    background-color: #ffc52b00;
    transition: all .3s ease;
    -webkit-transition: all .3s ease;
    cursor: pointer;
    text-transform: uppercase;
}
.popular_block span:hover{
    background-color: #ffc52b;
    border: 1px #ffc52b solid;
    font-weight: 500;
    color: #263c90;
}
/* search_down_block */

/* all_down_block */


/* header top */
.header-top{
    position: fixed;
    pointer-events: auto;
    display: table-cell;
    padding: 0 7.2%;
    height: 90px;
    width: 100%;
    text-align:left;
    vertical-align:middle;
    -moz-user-select: none;
    -webkit-user-select: none;
    transition: all .3s ease;
    -webkit-transition: all .3s ease;
}
.logo{
    height: 27px;
    overflow: hidden;
    width: 10%;
    position: absolute;
    top: 30px;
    left: 7.2%;
    background-position: left;
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
}
.logo > .logo_blue{
    cursor: pointer;
    opacity: 0;
    height: 100%;
    width: 100%;
    background-position: left;
    background-repeat: no-repeat;
    background-size: contain;
    transition: all .3s ease;
    -webkit-transition: all .3s ease;
}

.menu_top{
    color: #FFF;
    width: calc(73.6% - 135px);
    display: inline-block;
    height: 100%;
    overflow: hidden;
    text-align: center;
    padding: 30px 0 0;
    position: absolute;
    left: 17.5%;
}
.menu_t_title{
    display: inline-block;
    text-transform: uppercase;
    padding: 0 2.2%;
    vertical-align: middle;
    /* cursor: pointer; */
    font-size: 16px;
    position: relative;
    /* height: 100%; */
}
.menu_t_title > a{
    position: relative;
    display: inline-block;
    height: 100%;
    width: 100%;
}
.menu_t_title > a:after {
    content: "";
    height: 0px;
    width: 100%;
    background-color: #ffc52b;
    display: inline-block;
    position: absolute;
    left: 0;
    /* bottom: -6px; */
    top: 26px;
    transition: all .3s linear;
    -webkit-transition: all .3s linear;
}
.menu_t_title:hover > a:after , .menu_t_title.active > a:after , .menu_t_title.currentCat > a:after {
    height: 3px;
}
.menu_t_title.currentCat.hideLine > a:after {
    height: 0px;
}



.search_block{
    float: right;
    margin: 30px 0 6px;
}
.contact{
    float: right;
    margin: 30px 20px 0px 0;
    position: relative;
}
.search_btn, .contact_icon{
    height: 20px;
    width: 20px;
    cursor: pointer;
    position: relative;
}
.search_btn{
    /* background-image: url('../icon/ico_search.svg');
    background-size: contain; */
}
.search_btn_icon{
    height: 20px;
}
.search_btn_icon:nth-child(1),
.contact_icon:nth-child(1){
    margin-top: -2px;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
}
.contact_icon:nth-child(2),
.search_btn_icon:nth-child(2){
    position: absolute;
    top: 2px;
    left: 0;
    opacity: 0;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
}
.contact:hover img:nth-child(1),
.search_block:hover img:nth-child(1){
    opacity: 0;
}
.contact:hover img:nth-child(2),
.search_block:hover img:nth-child(2){
    opacity: 1;
}


.languages {
    margin: 30px 0 6px;
    float: right;
    color: #FFF;
    margin-right: 1.8%;
    width: auto;
    height: 25px;
    overflow: hidden;
    transition: all .3s linear.1s;
    -webkit-transition: all .3s linear .1s;
}
.languages:hover {
    height: 56px;
    transition: all .3s linear;
    -webkit-transition: all .3s linear;
}

.en, .zh-hant{
    padding: 0;
    text-align: center;
    position: relative;
    float: right;
    opacity: 0;
    transition: all .3s linear;
    -webkit-transition: all .3s linear;
}
.en.is-active, .zh-hant.is-active{
    opacity: 1;
}
.languages:hover .en, .languages:hover .zh-hant{
    opacity: 1;
    transition: all .3s linear .1s;
    -webkit-transition: all .3s linear .1s;
}
.en:not(.is-active),
.zh-hant:not(.is-active){
    clear: both;
    padding: 0;
    overflow: visible;
}
.en a,
.zh-hant a{
    display: inline-block;
    width: 74px;
}
.en.is-active a::before, .en.is-active a::after, 
.zh-hant.is-active a::before, .zh-hant.is-active a::after {
    content: "";
    display: inline-block;
    height: 6px;
    width: 1px;
    background: #ffc52b;
    position: absolute;
    right: 12px;
    margin-top: 8px;
    transform: rotate(-40deg);
    transform-origin: bottom;
}
.en.is-active a::after,
.zh-hant.is-active a::after {
    transform: rotate(40deg);
}
.en:not(.is-active) a, .zh-hant:not(.is-active) a{
    background: #263c90;
    height: 30px;
    border-radius: 5px;
    line-height: 32px;
    padding: 0 16px;
    display: inline-block;
    transition: all .5s ease-out;
    -webkit-transition: all .5s ease-out;
}
.en:not(.is-active):hover a, .zh-hant:not(.is-active):hover a{
    background: #ffc52b;
    color: #263c90;
}
/* .language-link{
    padding: 0;
    text-align: center;
    position: relative;
    float: right;
    opacity: 0;
    transition: all .3s linear;
    -webkit-transition: all .3s linear;
}
.language-link.is-active{
    opacity: 1;
}
.languages:hover .language-link{
    opacity: 1;
    transition: all .3s linear .1s;
    -webkit-transition: all .3s linear .1s;
}
.language-link:not(.is-active){
    clear: both;
    padding: 0;
    overflow: visible;
}
.language-link span{
    display: inline-block;
    width: 74px;
}
.language-link.is-active::before, .language-link.is-active::after {
    content: "";
    display: inline-block;
    height: 6px;
    width: 1px;
    background: #ffc52b;
    position: absolute;
    right: 12px;
    margin-top: 8px;
    transform: rotate(-40deg);
    transform-origin: bottom;
}
.language-link.is-active span::after {
    transform: rotate(40deg);
}
.language-link:not(.is-active) span{
    background: #263c90;
    height: 30px;
    border-radius: 5px;
    line-height: 32px;
    padding: 0 16px;
    display: inline-block;
    transition: all .5s ease-out;
    -webkit-transition: all .5s ease-out;
}
.language-link:not(.is-active):hover span{
    background: #ffc52b;
    color: #263c90;
} */



/* header top */

/* header */
.search_block.mobile{display:none;}
	.search_block.desktop{display:block;} 

@media (max-width: 1336px){

    .menu_d_expand{
        min-width: 430px;
    }
    .nav > li.active .menu_d_title .menu_d_expand{
        padding-top: 2px;
    }
    .menu_d_e_title{
        width: 49%;
    }

}


@media (max-width: 1100px){
    .menu_t_title, .languages{
        font-size: 14px;
    }
    .menu_d_t, .menu_d_title{
        font-size: 16px;
    }
    .en.is-active:after,
    .zh-hant.is-active:after{
        height: 13px;
    }
}

/* mobile menu button */
.m_menu_btn{
    display: none;
}
/* mobile search input */
.search_input{
    display: none;
}
/* mobile back btn */
div.m_hmenu_back_btn{
    display: none;
}
@media (max-width: 1024px){
    /* #header{
        height: calc(100vh + 80px);
    } */

    .header-top{
        top: -2px;
        display: block;
        height: 60px;
        overflow: hidden;
        padding: 0 4%;
        background-color: #10194e00;
        backdrop-filter: blur(0px);
        -webkit-backdrop-filter: blur(0px);
        transition: all .5s ease;
        -webkit-transition: all .5s ease;
    }
    .header-top.colorBG{
        background-color: #10194ed6;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
    .header-top.show{
        background-color: #10194ed6;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        height: calc(100vh + 90px);
    }
    .contact{
        display: none;
    }
    .search_block, .menu_top, .languages{
        opacity: 0;
        transition: opacity .1s ease;
        -webkit-transition: opacity .1s ease;
        pointer-events: none;
    }
    .header-top.show .search_block, .header-top.show .menu_top, .header-top.show .languages{
        opacity: 1;
        transition: opacity .4s ease;
        -webkit-transition: opacity .4s ease;
        pointer-events: auto;
    }
    .header-top.show .menu_top{
        transition: opacity .4s ease .2s;
        -webkit-transition: opacity .4s ease .2s;
    }
    .header-top.show .languages{
        transition: opacity .4s ease .4s;
        -webkit-transition: opacity .4s ease .4s;
    }
    .header-top > div{
        position: absolute;
        left: 0;
    }

    /* logo */
    .header-top > a:nth-child(1){
        position: absolute;
    }
    .logo{
        position: absolute;
        left: 4%;
        top: 0;
        height: 20px;
        width: 50vw;
        margin: 20px 4% 20px 0;
    }


    /* mobile menu button */
    .header-top > .m_menu_btn{
        display: block;
        height: 40px;
        width: calc(6% + 26px);
        position: absolute;
        padding: 20px 4% 0 4%;
        right: 0;
        top: 0;
        left: auto;
        /* background: #ffc52b; */
    }
    .m_menu_s{
        position: relative;
        height: 16px;
        width: 18px;
        margin-left: calc(100% - 18px);
        top: 50%;
        transform: translate(0, -50%);
    }
    
    .m_menu_s > div{
        background-color: #fff;
        position: absolute;
        right: 0;
        height: 2px;
        width: 100%;
        border-radius: 2px;
        opacity: 1;
        transition: all .3s ease;
        -webkit-transition: all .3s ease;
    }
    .m_menu_s > div:nth-child(1){
        top: 0;
        -webkit-transform-origin: right center;
        -moz-transform-origin: right center;
        -o-transform-origin: right center;
        transform-origin: right center;
    }
    .m_menu_s > div:nth-child(2){
        width: 50%;
        top: calc(50% - 1px);
    }
    .m_menu_s > div:nth-child(3){
        top: calc(100% - 2px);
        -webkit-transform-origin: right center;
        -moz-transform-origin: right center;
        -o-transform-origin: right center;
        transform-origin: right center;
    }
    .header-top.show .m_menu_s > div:nth-child(1){
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg);
        top: 1px;
    }
    .header-top.show .m_menu_s > div:nth-child(2){
        opacity: 0;
    }
    .header-top.show .m_menu_s > div:nth-child(3){
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg);
        /* top: calc(100% - 3px); */
    }
    

    
    /* mobile search down block */
    .search_down_block{
        display: none;
    }
    .search_block{
        top: 60px;
        width: 80%;
        height: 40px;
        margin: 10px 10%;
        border-bottom: #FFF 1px solid;
    }
    .search_input{
        display: block;
        font-size: 18px;
    }
    
    .search_btn {
        display: inline-block;
        position: absolute;
        top: 50%;
        right: 5px;
        transform: translate(0, -50%);
    }

    .menu_top{
        top: 120px;
        margin: 30px 5%;
        padding: 0;
        /* height: calc(100% - 310px); */
        height: calc(100vh - 250px);
        width: 90%;
        overflow: auto;
    }
    .header-top.show .menu_top.hide{
        opacity: 0;
        pointer-events: none;
        transition: opacity .3s ease;
        -webkit-transition: opacity .3s ease;
    }
    .menu_t_title{
        width: 100%;
        font-size: 26px;
        text-align: left;
        margin: 10px 0;
        padding: 0;
        height: auto;
    }
    .menu_t_title > a{
        width: auto;
    }
    .menu_t_title > a:after{
        display: none;
    }
    .menu_t_title::before, .menu_t_title::after {
        content: "";
        display: inline-block;
        height: 1px;
        width: 12px;
        background: #ffc52b;
        position: absolute;
        right: 5%;
        margin-top: 18px;
        transform: rotate(45deg);
        transform-origin: right;
    }
    .menu_t_title::after {
        transform: rotate(-45deg);
    }

    /* inner menu */
    .all_down_block {
        /* height: calc(100% - 300px); */
        height: calc(100vh - 250px);
        background-color: transparent !important;
        backdrop-filter: blur(0px);
        -webkit-backdrop-filter: blur(0px);
        z-index: 1002;
        top: 150px;
        pointer-events: none;
        opacity: 0;
    }
    .all_down_block.stage1{
        height: 0;
    }
    .all_down_block.show{
        opacity: 1;
    }
    .menu_down_block{
        height: calc(100% - 60px);
        padding: 0 30px 30px 30px;
        overflow: auto;
        width: 90%;
        margin: 60px 5% 0 5%;
        display: block;
        top: 0;
        -webkit-mask: linear-gradient(#FFF, 88%, #FFFFFF00) 0 0 no-repeat;
        -webkit-mask-size: 100% 100%;
    }

    div.m_hmenu_back_btn{
        display: inline-block;
        color: #FFF;
        font-size: 18px;
        width: 85%;
        margin: 20px 5% 10px 10%;
        padding: 0 0px;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1002;
    }
    
    .m_hmenu_back_btn::before,.m_hmenu_back_btn::after{
        content: "";
        display: inline-block;
        height: 1px;
        width: 8px;
        background: #ffc52b;
        position: absolute;
        left: -14px;
        margin-top: 13px;
        transform: rotate(45deg);
        transform-origin: left;
    }
    .m_hmenu_back_btn::after{
        transform: rotate(-45deg);
    }

    .img_title{
        display: none;
    }
    
    .menu_down_block .col-12{
        padding: 0;
        flex: 0 0 100%;
        max-width: 100%;
    }
    .nav > li {
        padding-bottom: 6px;
        min-height: auto;
    }
    .cus-col-4{
        width: 100%;
        margin-left: 0%;
    }
    .cus-col-4 .nav > li {
        width: 100%;
        float: none;
    }
    .menu_d_t, .menu_d_title{
        font-size: 22px;
    }
    .nav > li.active{
        max-height: none;
    }
    .nav > li .menu_d_title .menu_d_expand,
    .nav > li.active .menu_d_title .menu_d_expand{
        min-width: auto;
        width: 90%;
        max-height: 0;
        margin: 5%;
        padding-left: 5%;
        border-left: 1px #3fbcaf solid;
    }
    .nav > li.active .menu_d_title .menu_d_expand{
        max-height: 300px;
    }
    .menu_d_e_title{
        font-size: 16px;
        width: 100%;
        height: 16px;
        line-height: 16px;
        padding: 0;
        margin: 11px 0;
    }
    .menu_d_e_title:nth-child(1){
        margin-top: 0;
    }
    .menu_d_e_title:last-child{
        margin-bottom: 0;
    }
    /* inner menu */

    .languages{
        width: 100%;
        margin: 0;
        text-align: center;
        height: 40px;
        /* top: calc(100vh - 70px); */
        /* top: calc(100% - 150px); */
        bottom: 150px;
    }
    .en, .zh-hant{
        display: inline-block;
        font-size: 16px;
        height: 40px;
        width: 40px;
        border-radius: 20px;
        background: #ffc52b00;
        opacity: 1;
        margin: 0 12px;
        line-height: 42px;
        text-align: center;
        float: none;
    }
    .en.is-active, .zh-hant.is-active{
        background: #ffc52b;
        font-weight: bold;
        color: #263c90;
    }
    .en.is-active a:before, .en.is-active a:after,
    .zh-hant.is-active a:before, .zh-hant.is-active a:after{
        display: none;
    }
    .en a, .en:not(.is-active) a, .en:not(.is-active):hover a,
    .zh-hant a, .zh-hant:not(.is-active) a, .zh-hant:not(.is-active):hover a{
        padding: 0;
        width: auto;
        background: transparent;
    }
	.search_block.mobile{display:block;}
	.search_block.desktop{display:none;} 
}