
@import url("layout.css");
@import url("bootstrap.css");
@import url("bootstrap-grid.css");
@font-face {
    font-family: 'notobs';
    src: url("../fonts/新特明體.TTF") format("opentype");
}
html{
	   margin: auto;
}
body {
    margin: 0;
    font-family: 'Microsoft JhengHei', sans-serif;
    font-size: 1.6rem;
}

header{
    text-align: center;
    max-width: 1080px;
    margin: 0 auto;
    transition: all .5s;
}
.indexBar{
    max-width: 1530px;
    height: auto;
   
    margin: auto;
    margin-bottom: 76px;
}
.indexContent{
    max-width: 1280px;
    height: auto;
   
    margin: auto;
    margin-bottom: 76px;
}
.navbar {
    transition: 0.8s;
    -moz-transition: 0.8s;
    -ms-transition: 0.8s;
    -o-transition: 0.8s;
    box-shadow: 1.364px 1.463px 9.94px 0.06px rgba(3, 4, 4, 0.08);
    margin-bottom: 0 !important;
    background-color: #fff;
    width: 100%;
    position: fixed;
    max-width: 1080px;
    z-index: 5;
    margin: 0 auto;
    display: block;
    top: 38px;
    border-radius: 10px;
}

.menu-box {
    display: block;
    margin: auto;
    text-align: center;
    padding: 5px 24px;
  
    position: relative;
    
}
.menu-box ul {
    list-style: none;
    margin-bottom: 0;
    text-align: right;
    padding-left: 0;
}
.menu-box .link {
    display: inline-block;
    
}
.menu-box_btn {
display: inline-block;
  margin-left: 15px;
  vertical-align: middle;
}


.menu-box_btn .item{
   
    margin: 0 3px;
}
.lau-box{
 background-color: #a40000;;
cursor: pointer;
 color: #fff;
 font-size: 1.4rem;
 border-radius:50px ; 
 padding: 5px;
 position: relative;
 width: 140px;
 text-align: center;
}
.lau-box_item{
    display: none;
    position: absolute;
}
.lau-box_item li{
    padding: 5px 1px 5px;
    margin: 0 6px;
    border-bottom: 1px dotted #ccc;
}
.lau-box_item li a{
    color: #fff;
    display: block;

}
.lau-box_item li a:hover{
    color: #f1cf45 !important;
}
.lau-box:hover .lau-box_item{
    display: block;
    width: 100%; 
    left: 0;
    color: #fff;
    text-align: center !important;
    top: 31px;
    border-radius: 9px;
    z-index: 0;
    background-color: #a40000;

}
.menu-box .link a span{
    position: relative;
    display: inline-block;
    -webkit-transition: -webkit-transform .3s;
    -moz-transition: -moz-transform .3s;
    transition: transform .3s;
    font-weight: bold;
}

.menu-box_logo{
    float: left;
    margin-top: 14px;
}

.menu-box ul li{
    position: relative;
}
.link_item {
    color: #818181;
    display: inline-block;
    font-size: 1.6rem;
    letter-spacing: 2px;
position: relative;
    text-decoration: none;
    -webkit-transition: background .1s ease-out;
    transition: background .1s ease-out;     
    padding: 20px 14px;
}
.shrink {
    transition: all .5s;
}
.shrink .navbar {
    top: 0;
    transition: 0.8s;
    -moz-transition: 0.8s;
    -ms-transition: 0.8s;
    -o-transition: 0.8s;
}

.link_item:hover.link_item span:before{
    right:0;
}
.menu-box ul li a:hover {
    color: #d70c19;
   
}
.menu-box ul li a:focus {
    color: #d70c19;
     
  }

.search_box {
    display: flex;
    clear: both;
    position: absolute;
    float: right;
    right: 17px;
    top: 63px;
    width: 305px;
    background: rgba(255, 255, 255, 0.5411764705882353);
    margin: 0;
    height: 0;
    overflow: hidden;
    -webkit-transition: all 0.1s ease-in-out;
    -moz-transition: all 0.1s ease-in-out;
    -ms-transition: all 0.1s ease-in-out;
    -o-transition: all0.1s ease-in-out;
    transition: all 0.1s ease-in-out;
}
.search_box input {
    width: 90%;
    height: 33px;
    font-size: 1.6rem;
    padding-left: 10px;
    margin: 0px;
    border: none;
    background: rgba(255, 255, 255, 0.8);
}

.search_box.active {
    height: auto;
    padding: 8px;
    -webkit-transition: all 0.1s ease-in-out;
    -moz-transition: all 0.1s ease-in-out;
    -ms-transition: all 0.1s ease-in-out;
    -o-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;
}
.search_box input.search_icon {
    clear: both;
    width: 66px;
    height: auto;
    padding: 1%;
    margin: 0;
    float: right;
    border: medium none;
    color: #ffffff;
    font-weight: bold;
    cursor: pointer;
    background: #1f296f;
    opacity: 1;
    -webkit-transition: all 0.1s ease;
    -moz-transition: all 0.1s ease;
    -ms-transition: all 0.1s ease;
    -o-transition: all 0.1s ease;
    transition: all 0.1s ease;
}
  /* banner輪播 */
  .index_banner_box{
    position: relative;
}
.banner_bg{
    width: 100%;
}
.bannerallbg{
    position: relative;
}
.banner_text{
    position: absolute;
    z-index: 1;
    bottom: 11%;
    font-size: 1.7rem;
    letter-spacing: 5px;
    right: 30%;
    height: 393px;
   
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    line-height: 2.5;
}
.banner-down .line{
width: 1px;
height: 130px;
background: #7b7b7b;
margin-left: 7px;
margin-top: -44px;
}
.banner-down{
    position: absolute;
    right: 10%;
    z-index: 1;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    bottom: 12%;
    color: #7b7b7b;
}
.banner_text > div{
    text-align: initial;
}

  .box{
    width:900px;
    height:200px;
    margin:100px auto;
    overflow: hidden;
  }
  .img-g{
    width:1500px;
    height:200px;
    position:relative;
  }
  .img-g img{
    float:left;
    width:300px;
    height:200px;
  }
  .button-g{
    position:relative;
    top:-20px;
    text-align:center;
  }
  .button-g span{
    display:inline-block;
    position:relative;
    z-index:10;
    width:10px;
    height:10px;
    margin:0 5px;
    border-radius:100%;
  }
  
.bannerallbg_box{
    position: relative;
}


:focus{
  outline: none;
}
a:focus {
    outline: none;
    text-decoration: none;
}
.a-pic{
    width: 60%;
}

/* 展場 */
.index_exhibition_box{
    border-radius: 12px;
    margin: 0 20px;
    margin-top: -43px;
    position: relative;
    background-color: #fff;
    min-height: 201px;
}
.index_exhibition_box .title{
    position: absolute;
    right: 5%;
    top: 57px;
}
.index_exhibition_box .title .en{
    font-size: 3rem;
    width: 180px;
    text-align: right;
    line-height: 1.1;
    letter-spacing: 1px;

}
.index_exhibition_box .title .ch{
text-align: right;
    font-size: 1.8rem;
    font-weight: bold;
    color: #d70c19;
    margin-top: 7px;
    padding-right: 2px;
}

.index_exhibition_block{
    display: flex;
    padding: 88px 0px 30px 0px;
    margin: 0 0 0 20px;
    justify-content: flex-start;
}
.index_exhibition_block .item{
    width: 32%;
    text-align: center;
    padding: 0 25px;
}
.pic-bg{
    display: block;
    background: #3f3f3f;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    transition: all .5s;
}
.pic-bg:hover img{
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    transition: all .5s;
    opacity: 1;
    cursor: pointer;
}
.pic-bg img{
    width: 100%;
    opacity: 0.4;

}
.index_exhibition
{
    margin-bottom: 110px;

    position: relative;
}
.index_exhibition .bg{
    position: absolute;
    z-index: 0;
    top: -17px;
    width: 100%;
}
.index_exhibition_block .item .txt{
    width: 290px;
    margin-top: -18px;
    background: #fff;
    position: relative;
    padding: 22px 10px;
    margin: -26px auto 0;
}
.index_exhibition_block .space01{
    margin-top: 50px;
}
.index_exhibition_block .space02{
    margin-top: 100px;
}
.index_exhibition_block .item .txt span{
    display: block;
    color: #969696;
    margin-top: 13px;
}
.index_exhibition_block .item .more{
    display: inline-block;
    width: 120px;
    color: #a40000;
   border: 1px solid  #a40000;
    padding: 6px;
}
.index_exhibition_block .item .more:hover{
    color: #fff;
    background-color: #a40000;
}
/* 核心產品  */
.index_vender{
    background-image: url(/demo/images/front/bg_vender02.png);
    background-size: cover;
    background-repeat: no-repeat;
    padding-bottom: 1px;
}
.index_vender_box {
    text-align: center;
    position: relative;
    max-width: 1080px;
}
.index_vender_box_title{
    position: relative;
    top: -80px;
    width: auto;
    margin: 0 auto;
}
.index_vender_box_title .en{
    position: absolute;
    z-index: 1;
    top: 6px;
    width: 100%;
    font-size: 3rem;
    margin: 0 auto;
    letter-spacing: 2px;
}
.index_vender_box_title .ch{
    position: absolute;
    z-index: 1;
    top: 49px;
    width: 100%;
    font-weight: bold;
    font-size: 2rem;
    color: #a40000;
    margin: 0 auto;
    letter-spacing: 2px;
}
.index_vender_wrap{
    display: flex;
    justify-content: space-between;
    padding: 34px;
    background-color: #ffffff1a;
    border-radius: 12px;
    margin-top: -51px;

}
.index_vender_wrap .item{
    display: block;
    text-align: center;
    width: 22%;
    background-color: #a40000;
    border-radius: 18px;
    border: 1px solid #d27474;
    padding: 42px 20px;
    position: relative;
    overflow: hidden;
}
.index_vender_wrap .logo{
    color: #fff;
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    transition: all .3s ease-out;
    background: rgba(255, 255, 255);
    margin: 0 auto;
    position: absolute;
    width: 100%;
  
    left: 0;
    bottom: -160px;
    height: auto;
    border-radius: 18px;
    padding: 42px 20px;
}
.index_vender_wrap .txt{
    color: #fff;
    margin-top: 23px;
    font-size: 1.8rem;
}
.index_vender_wrap .item:hover .logo{
    bottom: 0;
    
    line-height: 108px;
    text-align: center;
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    transition: all .3s ease-out;
    height: 100%;
  }
  .index_vender_wrap .item .logo img{
width: 100%;
  }



/* footer */
footer{
  background-color: #fff;
}
.foot {
    max-width: 1366px;
    margin: auto;
    position: relative;
    padding: 70px 20px 50px;
    text-align: center;
}
.foot-logo{
padding-bottom: 36px;
}
.foot-menu{
margin-bottom: 30px;
}
.foot-menu a{
color: #424242;
margin: 0 15px ;
}
.foot-info > div{
display: inline-block;
color: #828282;
margin:  0 10px 10px;
}
.foot-link{
    color: #828282;
}
.foot-link:hover{
    color: #bc0000;
}
.foot-bottom{ 
    border-top: 1px solid #ccc;
    padding: 50px 0 0;
    margin-top: 50px;
    position: relative;
}
.foot-line .line01{
width: 70.5%;
background-color: #f39800;
height: 8px;
display: inline-block;
float: left;
}
.foot-line .line02{
    width: 29%;
    background-color: #bc0000;
    height: 8px;
    float: right;
    display: inline-block;
    }



/* search */

input[type=search] {
    border: none;
    width: 44px;
    /* background-size: auto; */
    -webkit-border-radius: 10em;
    -moz-border-radius: 10em;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    transition: all .5s;

}
#search {
    display: inline-block;
    width: 140px;
    margin-right: 0;
 
    text-align: left;
    vertical-align: top;
    background-color: #333;
    -webkit-border-radius: 10em;
    -moz-border-radius: 10em;
    border-radius: 10em;
}
#search input[type=search] {
    width: 73%;
    background-color: transparent;
    color: #fff;
    cursor: pointer;
    padding-left: 6px;
}
.search-box .btn {
    background-image: url(../../images/ico_search.png);
    background-position-x: 7px;
    background-position-y: 7px;
    background-repeat: no-repeat;
    background-color: transparent;
    border: none;
    color: transparent;
    width: 29px;
}

#search input:-moz-placeholder {
	color: transparent;
}
#search input::-webkit-input-placeholder {
    color: #b7b7b7;
}


input[type=search] {

   
    /* padding: 9px 10px 9px 32px; */
    background-position-x: 7px;
    width: auto;
    background-position-y: 11px;
    width: 44px;
    /* background-size: auto; */
    -webkit-border-radius: 10em;
    -moz-border-radius: 10em;
    border-radius: 10em;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    transition: all .5s;
    background-repeat: no-repeat;
}

#m-search input[type=search] {
    width: 220px;
    height: 44px;
    padding-left: 38px;
    background-color: rgba(255, 255, 255, 0.2);
    cursor: auto;
    opacity: 1;
    background-position-x: 13px;

    background-image: url(../../images/ico_search.png);
    top: 129px;
    left: calc( 50% - 100px );
}

#m-search input:-moz-placeholder {
    color: transparent;
}
#m-search input::-webkit-input-placeholder {
	color: transparent;
}



/* top */

#top{
    top: -25px;
    position: absolute;
    right: calc( 50% - 25px );
    background: rgb(109, 109, 109);
    width: 50px;
    height: 50px;
    display: block;
    text-decoration: none;
    -webkit-border-radius: 35px;
    -moz-border-radius: 35px;
    border-radius: 35px;
    display: none;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    font-size: 2.5rem;
    color: #fff;
    padding: 13px;
    z-index: 10;
}

#top:hover{
    background: rgb(50, 50, 50);
}
#top:hover i{
    color: #fff;
    top: 5px;
}



/* 側選單樣式 */

.hamburger-btn{
     /* float: right; */
     right: 21px;
     position: absolute;
     top: 32%;
}
.menu-btn {
    display: inline-block;
      margin-left: 20px;
    position: relative;
    }
   
    
    #menu .menu-btn .item{
        display: inline-block;
        width: 80px;
        font-size: 1.5rem;
        color: #9c2222;
        height: 40px;
        border-radius: 5px;
        padding-top: 9px;
        margin-right: 10px;
        border: 1px solid #ec8c8c;
        background-color: #fff;
        background-repeat: no-repeat;
        background-position: center;
    }
    .menu-btn .item:hover{
    border: 1px solid #fff;
    background-color: #fff;
    }
    

 
 #menuToggle
 {
  
   display: block;
   position: relative;
   top: 0;
   right: 0;
   z-index: 1;
   -webkit-user-select: none;
   user-select: none;
 }
 
 #menuToggle input
 {
   display: block;
   width: 40px;
   height: 32px;
   position: absolute;
   top: -7px;
   left: -5px;
   
   cursor: pointer;
   
   opacity: 0; /* hide this */
   z-index: 2; /* and place it over the hamburger */
   
   -webkit-touch-callout: none;
 }
 
 /*
  * Just a quick hamburger
  */
 #menuToggle span
 {
   display: block;
   width: 33px;
   height: 4px;
   margin-bottom: 5px;
   position: relative;
   
   background: #d70c19;
   border-radius: 3px;
   
   z-index: 1;
   
   transform-origin: 4px 0px;
   
   transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
               background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
               opacity 0.55s ease;
 }
 
 #menuToggle span:first-child
 {
   transform-origin: 0% 0%;
 }
 
 #menuToggle span:nth-last-child(2)
 {
   transform-origin: 0% 100%;
 }
 
 /* 
  * Transform all the slices of hamburger
  * into a crossmark.
  */
 #menuToggle input:checked ~ span
 {
   opacity: 1;
   transform: rotate(45deg) translate(-2px, -1px);
   background: #ffffff;
 }
 
 /*
  * But let's hide the middle one.
  */
 #menuToggle input:checked ~ span:nth-last-child(3)
 {
   opacity: 0;
   transform: rotate(0deg) scale(0.2, 0.2);
 }
 
 /*
  * Ohyeah and the last one should go the other direction
  */
 #menuToggle input:checked ~ span:nth-last-child(2)
 {
   transform: rotate(-45deg) translate(0, -1px);
 }
 
 /*
  * Make this absolute positioned
  * at the top left of the screen
  */
 #menu
 {
    box-shadow: 1.364px 1.463px 2.94px 0.06px rgba(3, 4, 4, 0.28);
    position: fixed;
    width:100%;
    right: 0;
    height: 157vh;
text-align: center;
margin: -132px 0 0 -50px;
    padding: 10px;
    padding-top: 125px;
    background: #9e2222;
    list-style-type: none;
    -webkit-font-smoothing: antialiased;
    transform-origin: 0% 0%;
    transform: translate(100%, 0);
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
 }
 #menu li:first-child{
margin-bottom: 23px;
height: 33px;
 }
 #menu li
 {
   padding: 10px 0;
  
 }
 #menu a{
    font-size: 1.8rem;

    color: #fff;
    font-weight: bold;
 }
 /*
  * And let's slide it in from the left
  */
 #menuToggle input:checked ~ ul
 {
   transform: none;
 }
 nav{
    text-align: center;
 }
 #menu .subs-box a{
    font-size: 1.6rem;
  
    color: rgba(255, 255, 255, 0.7);
    font-weight: normal;
}
#menu .subs-box li:first-child{
         margin-bottom:0;
         height: auto;
}
.subs-box{
    padding-left: 0;
}
#menu .subs-box li{
    padding: 5px 0;
}
 @media screen and (max-width: 1600px) {

    .banner_text {
       
        bottom: 16%;
        font-size: 1.6rem;
        letter-spacing: 1px;
        right: 28%;
        height: 302px;
      
        line-height: 2.2;
    }
 }

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

.banner-txt {
   display: none;
}

}
@media screen and (max-width: 1280px) {
    .navbar
    {position: relative;
        top: 0;
        border-radius:0px ;
        max-width: 100%;
        box-shadow: none;
        box-shadow: 1.364px 1.463px 9.94px 0.06px rgba(3, 4, 4, 0.08);
}


.index_exhibition .bg {
   
    top: -10px;
}
.index_exhibition_box{
    margin: 0;
    border-radius:0px;
}
}
@media screen and (min-width: 1023px) {
.hamburger-btn {
    display: none;
}

}
 @media screen and (max-width: 1023px) {
    .link_item {
      
        padding: 20px 12px;
    }
    .menu-box_btn{
        display: none;
    }
    .menu-box_logo {
        padding-bottom: 12px;
        margin-left: 18px;
        margin-top: 0;
    }
 #search {

    margin-right: 10px;
   
}
.menu-box .link{
    display: none;
}
.menu-box_btn .item{
    margin-right: 10px;
}
.menu-box_btn{
    margin-right: 10px; 
}

.menu-box{
    padding: 11px 0; 
}

 }
 @media screen and (max-width: 992px) {
    .banner_text{
        right: 22%;
    height: 235px;
}
.index_exhibition_block {
   
    padding: 58px 10px 30px;
    margin: 0;
}
.index_exhibition_block .item .txt {
    width: 214px;
}
}
@media screen and (min-width: 768px) {

.bannerallbg .mobile{
    display: none;
}
.menu-btn{
    display: none;
}
.drop-down{
    display: none;
    text-align: right;
}
}


@media screen and (max-width: 768px) {
    .a-pic{
        width: 100%;
    }
    
    .index_exhibition_block .item {
        width: 80%;
        text-align: center;
        margin: 0 auto;
        margin-bottom: 30px;
        padding: 0;
    }
    .index_vender_box_title {
       
        top: -70px;
    }
    .index_exhibition_box .title {
        position: relative;
        text-align: center;
        right: 0;
        top: 36px;
    }
    .index_vender_wrap {
        display: block;
    }
    .index_vender_wrap .item{
        width: 40%;
    text-align: center;
    display: inline-block;
    margin: 0 10px;
 }
    .index_vender_box_title img{
        width: 371px;
    }
    .index_exhibition {
        margin-bottom: 87px;
    }
    .index_exhibition_box .title .en{
        width: auto;
    text-align: center;
    }
    .index_exhibition_box .title .ch {
        text-align:center;
    }
    .index_exhibition_block .item .txt {
        width: 90%;
    }
    .index_exhibition_block {
        display: block;
    }
    .bannerallbg .pc{
        display: none;
    }
    .banner_text{
        background-color: #ffffffc7;
    }
    .navbar {
  
    position: relative;
    top: 0;
    left: 0;
 
    padding-bottom: 0;
    }
    .banner_text {
        padding: 17px 15px;
        letter-spacing: 3px;
        height: 353px;
        top: 11%;
    }

}
@media screen and (max-width: 500px) {

    .index_exhibition .bg {
        top: -5px;
    }
    .index_vender_wrap .item {
        width: 45%;
        margin: 0 6px;
    }
    .index_vender_wrap {
       
        padding: 20px 15px;
    }
    .foot {
        padding: 40px 10px 40px;
    }
    .foot-menu a {
        
        margin: 0 7px;
    }
    .index_vender_box_title .en {
      
        font-size: 2.6rem;
    }
}
@media screen and (max-width: 400px) {
.index_vender_wrap .item > img{
    width: auto;
    height: 53px;
}
.index_exhibition_box .title .en {
    font-size: 2.6rem;}
}
}

