body{
    font-family:微軟正黑體,Myriad Pro,Open Sans,Myriad,Aria, sans-serif;
    display: block;
    position: relative;
    z-index: 10;
    background: white;
    overflow-x:hidden; 
}
.md-scroll-mask { position: initial;}
body.active{
    overflow: hidden;
}
input,textarea,select{
    font-family:微軟正黑體,Myriad Pro,Open Sans,Myriad,Aria, sans-serif;
}
input[type="button"]{
    -webkit-appearance: none;
}

h1,h2,h3{
    font-family:微軟正黑體,Open Sans,Myriad Pro,Myriad,Aria, sans-serif;
}
.clear{
	clear: both;
}
#content{
    position: relative;
    display: block;
    padding: 0;
    margin: 0;
/*    opacity: 0;*/
}
#count{
    color: gray;
    position: relative;
    display: block;
    margin-left: 6px;
    margin-top: 44px;
    font-size: 15px;
    width: 25px;
    text-align: center;
}
.active05
{
    -webkit-transition:all .5s ease;
    -moz-transition:all .5s ease;
    -o-transition:all .5s ease;
    -ms-transition:all .5s ease;
    transition:all .5s ease;
}
.active03
{
    -webkit-transition:all .3s ease;
    -moz-transition:all .3s ease;
    -o-transition:all .3s ease;
    -ms-transition:all .3s ease;
    transition:all .3s ease;
}
#loader{
    position: fixed;
    z-index: 299;
    overflow: hidden;
    width: 38px;
    height: 60px;
    margin-left: -19px;
    margin-top: -19px;
    top: 50%;
    left: 50%;
    text-align: center;
}
.font_13{
    font-size: 13px;
}
.font_14{
    font-size: 14px;
}
.font_15{
    font-size: 15px;
}
.font_16{
    font-size: 16px;
}
.font_17{
    font-size: 17px;
}
.font_18{
    font-size: 18px;
}


a{
    text-decoration: none;color: gray;
}

header{
    display: block;
    width: 100%;
    position: absolute;
    top: 47px;
    left: 0;
    z-index: 199;
    padding-left: 85px;
    padding-right: 85px;
   -webkit-transition:all .8s ease;
    -moz-transition:all .8s ease;
    -o-transition:all .8s ease;
    -ms-transition:all .8s ease;
    transition:all .8s ease;
}

header #menu_bar{
    display: block;
    width: 100%;
    position: relative;
}
header #menu_bar .block{
        display: block;
    width: 100%;
    position: relative;
}
header #menu_bar .block .logo{
    width: 140px;
    display: block;
    float: left;
    position: relative;
}
header #menu_bar .block .logo img{
    width: 100%;
}
header #menu_bar .block .menu{
    float: right;
    margin-right: 84px;
    line-height: 45px;
    position: relative;
    margin-top: 18px;
}
header #menu_bar .block .menu .link{
        color: white;
    margin: 0 21px;
    letter-spacing:2px;
    display: inline-block;font-weight: 300;
    position: relative;
}
header #menu_bar .block .menu .link:after{
    content: '';
    background-color: #d81718;
    width: 0;
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    -webkit-transition:all .4s ease;
    -moz-transition:all .4s ease;
    -o-transition:all .4s ease;
    -ms-transition:all .4s ease;
    transition:all .4s ease;
}

header #menu_bar .block .contact{
        color: #d81718;
    font-size: 22px;
    position: absolute;
    right: 0;
    top: 26px;
    cursor: pointer;
        -webkit-transition:all .4s ease;
    -moz-transition:all .4s ease;
    -o-transition:all .4s ease;
    -ms-transition:all .4s ease;
    transition:all .4s ease;
}

header #menu_bar .block .mobile_btn{
    display: none;
}
#btn_language{
font-size: 14px;
    color: white;
    position: fixed;
    right: 0;
    padding: 29px 14px;
    z-index: 222;
    top: 50%;
    background-color: #d81718;
    letter-spacing: 3px;
    cursor: pointer;
    -webkit-writing-mode: vertical-lr;
    writing-mode: vertical-lr;
    margin-top: -74px;
            -webkit-transition:all .6s cubic-bezier(0.165, 0.84, 0.44, 1);
    -moz-transition:all .6s cubic-bezier(0.165, 0.84, 0.44, 1);
    -o-transition:all .6s cubic-bezier(0.165, 0.84, 0.44, 1);
    -ms-transition:all .6s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition:all .6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

#btn_language.active{
transform: translateX(100%);
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -o-transform: translateX(100%);
}
#language{
    position: fixed;
    width: 0;
    height: 100vh;
    background-color: #d81718;
    right: 0;
    top: 0;
    overflow: hidden;
    z-index: 500;
/*        transform: translateX(100%);
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -o-transform: translateX(100%);*/
        -webkit-transition:all .8s cubic-bezier(0.165, 0.84, 0.44, 1);
    -moz-transition:all .8s cubic-bezier(0.165, 0.84, 0.44, 1);
    -o-transition:all .8s cubic-bezier(0.165, 0.84, 0.44, 1);
    -ms-transition:all .8s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition:all .8s cubic-bezier(0.165, 0.84, 0.44, 1);
}
#language_shape{
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.38);
    z-index: 499;
    display: block;
    width: 50vw;
    height: 100%;
    cursor: pointer;
    left: -100%;
    opacity: 0;
            -webkit-transition:opacity .4s .5s cubic-bezier(0.165, 0.84, 0.44, 1);
    -moz-transition:opacity .4s .5s cubic-bezier(0.165, 0.84, 0.44, 1);
    -o-transition:opacity .4s .5s cubic-bezier(0.165, 0.84, 0.44, 1);
    -ms-transition:opacity .4s .5s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition:opacity .4s .5s cubic-bezier(0.165, 0.84, 0.44, 1);
}
#language_shape.show{
    opacity: 1;
    left: 0;
}
#language.active{
    transform: translateX(-0%);
    -webkit-transform: translateX(-0%);
    -moz-transform: translateX(-0%);
    -o-transform: translateX(-0%);
    width: 50vw;
}
#language .img{
    background-image: url(../images/lang_bg.jpg);
    background-repeat: no-repeat;
    position: absolute;
    z-index: 1;
    width: 50vw;    right: -10vw;
    height: 100%;
    background-size: cover;
           -webkit-transition:all 1.5s .2s cubic-bezier(0.075, 0.82, 0.165, 1);
    -moz-transition:all 1.5s .2s cubic-bezier(0.075, 0.82, 0.165, 1);
    -o-transition:all 1.5s .2s cubic-bezier(0.075, 0.82, 0.165, 1);
    -ms-transition:all 1.5s .2s cubic-bezier(0.075, 0.82, 0.165, 1);
    transition:all 1.5s .2s cubic-bezier(0.075, 0.82, 0.165, 1);
}
#language.active .img{
/*    width: 50vw;*/
    right: 0;
}
#language .close{
position: absolute;
    z-index: 2;
    height: 28px;
    width: 28px;
    right: 50px;
    top: 50px;
    display: block;
    cursor: pointer;
}
#language .close:before{
    content: '';
    background-color: white;
    display: block;
    width: 1px;
    height: 39px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    position: absolute;
    right: 0;
    transform-origin: top;
    -moz-transform-origin: top;
    -webkit-transform-origin: top;
    -ms-transform-origin: top;
        -webkit-transition:all .4s ease;
    -moz-transition:all .4s ease;
    -o-transition:all .4s ease;
    -ms-transition:all .4s ease;
    transition:all .4s ease;
}
#language .close:after{
    content: '';
    background-color: white;
    display: block;
    width: 1px;
    height: 39px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);

    position: absolute;
    left: 0;
    transform-origin: top;
    -moz-transform-origin: top;
    -webkit-transform-origin: top;
    -ms-transform-origin: top;
        -webkit-transition:all .4s ease;
    -moz-transition:all .4s ease;
    -o-transition:all .4s ease;
    -ms-transition:all .4s ease;
    transition:all .4s ease;
}

#language .close span{
    position: absolute;
    top: 15px;
    left: -6px;
    color: white;
    letter-spacing: 1px;
    z-index: 3;
    opacity: 0;
            -webkit-transition:all .4s ease;
    -moz-transition:all .4s ease;
    -o-transition:all .4s ease;
    -ms-transition:all .4s ease;
    transition:all .4s ease;
}
#language .mo_block{
    display: block;
    width: 100%;
    height: 100%;
}
#language .mo_block .left{
        display: block;
    width: 100%;
    height: 100%;
}
#language .title{
    position: relative;
    z-index: 3;
    color: white;
    font-size: 16px;
    letter-spacing: 2px;
    left: 50px;
    top: 20%;
}
#language .lan_btn{
        display: block;
    position: absolute;
    left: 50px;
    z-index: 5;
    top: 50%;
    height: 140px;
    margin-top: -70px;
}
#language .lan_btn a{
        font-size: 15px;
    color: #ff9596;
    display: block;
    font-family: 微軟正黑體,Myriad Pro,Open Sans,Myriad,Aria, sans-serif;;
    margin-bottom: 22px;
    line-height: 27px;
    letter-spacing: 2px;
    position: relative;
            -webkit-transition:all .4s ease;
    -moz-transition:all .4s ease;
    -o-transition:all .4s ease;
    -ms-transition:all .4s ease;
    transition:all .4s ease;
}
#language .lan_btn a:after{
    content: '';
    position: absolute;
    bottom: -1px;
    width: 0%;
    background-color: white;
    height: 3px;
    left: 0;
            -webkit-transition:all .4s ease;
    -moz-transition:all .4s ease;
    -o-transition:all .4s ease;
    -ms-transition:all .4s ease;
    transition:all .4s ease;
}
#language .lan_btn a.active:after{
    width: 100%;
}
#language .lan_btn a.active{
   color: white; 
}
#language .cp{
        position: absolute;
    z-index: 3;
    color: white;
    font-size: 14px;
    letter-spacing: 2px;
    left: 50px;
    bottom: 20%;
    line-height: 21px;
    opacity: .5;
}
#language .cp a{
    color: white;
}
#language .mobile_menu{
    display: none;
}

footer{
    width: 100%;
    display: block;
    background-color: white;
    z-index: 5;
    opacity: 0;
    position: relative;
}
footer .block{
display: block;
    width: 90%;
    max-width: 1002px;
    position: relative;
    padding-top: 50px;
    margin: 0 auto;
    padding-bottom: 50px;
}
footer .footer_menu{
display: block;
    width: 100%;
    padding-bottom: 20px;
    border-bottom: 2px solid black;
    text-align: center;
}
footer .footer_menu a{
    color: black;
    display: inline-block;
    font-weight: 500;
    margin: 0 30px;
    letter-spacing: 1px;
    line-height: 28px;
    padding-bottom: 6px;
    position: relative;
}
footer .footer_menu a:after{
    content: '';
    background-color: #d81718;
    position: absolute;
    width: 100%;
    height: 2px;
    left: 0;
    top: 0;
    opacity: 0;
                -webkit-transition:all .4s ease;
    -moz-transition:all .4s ease;
    -o-transition:all .4s ease;
    -ms-transition:all .4s ease;
    transition:all .4s ease;
}
footer .footer_menu a:hover:after{
    opacity: 1;
    top: 25px;
}
footer .copyright{
        font-size: 13px;    line-height: 21px;
    color: #8a8a8a;
    text-align: center;
    display: block;
    margin-top: 38px;
    letter-spacing: 1px;
}
footer .copyright a{
     color: #8a8a8a;
}
footer #gotop{
    display: block;
    width: 82px;
    height: 82px;
    border-radius: 50%;
    margin-top: 50px;
    border: 7px solid #d81718;
    margin-left: auto;
    margin-right: auto;
    cursor: pointer;
    background-image: url(../images/top.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 15px;
        box-shadow: 0px 0px 13px white;
    -webkit-transition:all .9s ease;
    -moz-transition:all .9s ease;
    -o-transition:all .9s ease;
    -ms-transition:all .9s ease;
    transition:all .9s ease;
}
footer #gotop:hover{
    box-shadow: 0px 0px 13px black;
}
#righttop{
    display: block;
    border-radius: 50%;
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;background-color: white;
    cursor: pointer;
    background-image: url(../images/top.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 15px;
        box-shadow: 0px 0px 13px white;
    -webkit-transition:all .9s ease;
    -moz-transition:all .9s ease;
    -o-transition:all .9s ease;
    -ms-transition:all .9s ease;
    transition:all .9s ease;
     position: fixed;
    right: 15px;
    bottom: 20px;
    opacity: 0;
    z-index: 50;
    width: 50px;
    height: 50px;
    border: 4px solid #D8171D;
}
#righttop:hover{
    box-shadow: 0px 0px 13px black;
}
#righttop.show{
    opacity: 1;
}
#banner{
    position: relative;
    top: 0;
    z-index: 6;
    left: 0;
    width: 100%;background-color: black;
    height: 415px;
/*    overflow: hidden;*/
}
#banner .imgs{
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 0;
}
#banner .imgs img{
    opacity: 0;    max-width: 100%;
}

#banner > h1{
    font-size: 55px;
    display: block;
    width: 100%;
    text-align: center;
    position: absolute;
    top: 290px;
    color: white;
    font-weight: 100;
    letter-spacing: 3px;
}
#banner > h1:after{
    content: '';
    background-color: #d81718;
    position: absolute;
    top: 98px;
    display: block;
    width: 4px;
    height: 0;
    left: 50%;
    margin-left: -2px;
        -webkit-transition:all .8s .1s ease;
    -moz-transition:all .8s .1s ease;
    -o-transition:all .8s .1s ease;
    -ms-transition:all .8s .1s ease;
    transition:all .8s .1s ease;
}
#banner > h1.active:after{
    height: 100px;
}
#inner_content{
    display: block;
    width: 100%;
    position: relative;
    margin: 0 auto;
    background-color: #fefefe;
    z-index: 5;
}
#inner_content .bg_show{
    background-image: url(../images/bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
   background-position: 0 -0%;
    width: 100%;
    height: 100vh;
    opacity: .2;
    top: 0;
}
#inner_content .bg_show.scroll-to-fixed-fixed{
    z-index: 1 !important;
}



#inner_content #back{
    width: 86px;
    height: 86px;
    position: absolute;    z-index: 5;
    display: block;
    background-color: #d81718;
    line-height: 86px;
    color: white;
    font-size: 18px;overflow: hidden;
    text-align: center;
    top: 148px;
    -webkit-transition:right .6s ease,width .4s ease;
    -moz-transition:right .6s ease,width .4s ease;
    -o-transition:right .6s ease,width .4s ease;
    -ms-transition:right .6s ease,width .4s ease;
    transition:right .6s ease,width .4s ease;
}
#inner_content #back:after{
    content: '';
    background-color: white;
    width: 100px;
    height: 2px;
    position: absolute;
    top: 47%;
    right: -100px;
    -webkit-transition:all .6s ease;
    -moz-transition:all .6s ease;
    -o-transition:all .6s ease;
    -ms-transition:all .6s ease;
    transition:all .6s ease;
}

@media only screen and (max-width: 1100px) {
header #menu_bar .block .menu{
        margin-right: 37px;
}
header #menu_bar .block .menu .link{
    margin: 0 16px;
}


}




@media only screen and (max-width: 1024px) {
#inner_content #back{
display: none;    display: block;
position: relative;
top: auto;
left: 50%;
margin-left: -43px;
margin-bottom: 30px;}
footer .footer_menu,#righttop{
    display: none;
}    
footer .block{
        padding-top: 12px;    border-top: 2px solid black;
}
header #menu_bar .block .menu,header #menu_bar .block .contact{
    display: none;
}
header #menu_bar .block .mobile_btn{
display: block;
    float: right;
    margin-top: 8px;
}
header{
    padding-top: 30px;
    padding-left: 5%;
    top: 0;
    padding-right: 5%;
}
header #menu_bar .block .logo{
    width: 92px;
}
#btn_language{
    display: none;
}
#language{
/*    width: 100%;*/

}
#language_shape{
    display: none;
}
#language.active{
    width: 100vw;    display: block;    min-height: 450px;
    -webkit-transition:all .5s cubic-bezier(0.165, 0.84, 0.44, 1);
    -moz-transition:all .5s cubic-bezier(0.165, 0.84, 0.44, 1);
    -o-transition:all .5s cubic-bezier(0.165, 0.84, 0.44, 1);
    -ms-transition:all .5s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition:all .5s cubic-bezier(0.165, 0.84, 0.44, 1);
}
#language.active .img{
    width: 100vw;
    -webkit-transition:all 1.5s cubic-bezier(0.075, 0.82, 0.165, 1);
    -moz-transition:all 1.5s cubic-bezier(0.075, 0.82, 0.165, 1);
    -o-transition:all 1.5s cubic-bezier(0.075, 0.82, 0.165, 1);
    -ms-transition:all 1.5s cubic-bezier(0.075, 0.82, 0.165, 1);
    transition:all 1.5s cubic-bezier(0.075, 0.82, 0.165, 1);
}
#language .close{
    top: 33px;    right: 5%;
}
#language .mobile_menu{
    display: block;
}
#language .left{
    float: left;
    display: block;
    width: 50%;
    height: 100%;
    position: relative;    z-index: 5;
}
#language .mobile_menu{
z-index: 5;
    position: relative;
    float: right;
    width: 40%;
}
#language .mobile_menu .block{
    display: table-cell;
    vertical-align: middle;
}
#language .mobile_menu .block .menu{
    
}
#language .mobile_menu .block .menu .link{
    font-size: 20px;
    color: white;
    display: block;
    position: relative;
    letter-spacing: 2px;
    margin-bottom: 50px;
}
#language .mo_block {
    width: 100vw;
    position: absolute;
    height: auto;
    top: 50%;
    margin-top: -206px;
}
#language .mobile_menu .block .menu .link.active:after{
    content: '';
    background-color: white;
    width: 12px;
    position: absolute;
    left: 0;
    bottom: -8px;
    height: 3px;
    -webkit-transition: all .4s ease;
    -moz-transition: all .4s ease;
    -o-transition: all .4s ease;
    -ms-transition: all .4s ease;
    transition: all .4s ease;
}
#language .mobile_menu .block .contact{
    color: white;
    font-size: 24px;
    display: block;
    margin-top: 70px;
}

#language .mo_block .left{
width: 50%;
    height: auto;
}
#language .title{
    top: 0;
    width: 150px;
    display: block;
}
#language .lan_btn{
    display: block;
    position: relative;
    left: 50px;
    z-index: 5;
    top: 0;
    height: 140px;
    margin-top: 100px;
    width: 80px;
}
#language .cp{
    position: relative;
    display: inline-block;
    bottom: auto;
    float: left;
    margin-top: 114px;
}
#language .lan_btn a{
    display: inline-block;
}
header{
    position: fixed;
}
header.active{
background-color: rgba(0, 0, 0, 0.46);
    padding-bottom: 15px;
    padding-top: 16px;
}
#inner_content{
    width: 90%;
}
#banner{
    height: 291PX;
}
#banner > h1{
    font-size: 50px;    top: 160px;
}

#banner > h1:after{

}
#banner > h1.active:after{
        height: 95px;
    top: 83px;
}



}


@media only screen and (min-width: 1025px) {
#inner_content #back:hover:after{
    right: 100%;
    width: 50px;
}
#inner_content #back:hover{
    background-color: #0a0f0f;
}
header #menu_bar .block .menu .link:hover:after,header #menu_bar .block .menu .link.active:after{
    width: 10px;
}
header #menu_bar .block .menu .link:hover,header #menu_bar .block .menu .link.active{
    color: #d81718;
}
header #menu_bar .block .contact:hover{
    color: white;
}
#btn_language:hover{
    padding: 29px 18px;
}
#language .close:hover:before{
    -webkit-transform: rotate(90deg)translateY(-7px);
}
#language .close:hover:after{
    -webkit-transform: rotate(-90deg)translateX(-36px)translateY(-6px);
}
#language .close:hover span{
    opacity: 1;
    top: 10px;
}
#language .lan_btn a:hover:after{
    width: 100%;
}
#language .lan_btn a:hover{
   color: white; 
}

}

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

#language .mo_block .left{
    width: 100%;
}
#language .title{
    display: none;
}
#language .lan_btn{
left: 0;
    width: 90%;
    border-bottom: 1px solid #FF9596;
    height: 36px;
    float: none;
    margin: 0 auto;
}
#language .lan_btn a{
    width: 33.333%;
    float: left;
    text-align: center;
    padding-bottom: 7px;
}
#language .cp{
    display: none;
}
#language .mobile_menu{
    margin-top: 43px;
    width: 95%;
    left: 0;
    float: left;
    padding-left: 5%;
}
#language.active .img{
    background-position: center;
    min-height: 678px;
}

#language.active{
    min-height: 600px;
    overflow-y: scroll;
}
/*#language .mo_block{
    height: 545px;
}
*/
footer{
    opacity: 1;
}

}

@media only screen and (max-width: 500px) {
#banner {
    height: 227PX;
}
#banner > h1 {
    font-size: 30px;
      top: 145px;
}


#banner > h1.active:after {
    height: 65px;
    top: 51px;
}
#company #where{
        top: -240px;
}
#tab_menu {
    margin-top: 138px;
}
#inner_content{
    width: 85%;
}

#language .mobile_menu .block .menu .link{
        margin-bottom:40px;
}

}


@media only screen and (max-width: 450px) {
#language .lan_btn{
width: 85%;
}
#language .mobile_menu{
    padding-left: 7.5%;
}
#language .close{
    right: 7.5%;
}
header{
        padding-left:7.5%;
    padding-right:7.5%;
}
#language .mobile_menu .block .menu .link{
        margin-bottom: 35px;
}



}