@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400&family=Noto+Serif+TC:wght@400;600&family=Tiro+Telugu&display=swap');
* {
    -webkit-tap-highlight-color: rgba(0,0,0,0) !important; /* make transparent link selection, adjust last value opacity 0 to 1.0 */
}

html,body {
    -webkit-touch-callout: none;                /* prevent callout to copy image, etc when tap to hold */
    -webkit-text-size-adjust: none;             /* prevent webkit from resizing text to fit */
   /*  -webkit-user-select: none;  */                 /* prevent copy paste, to allow, change 'none' to 'text' */
}
html{
  touch-action: manipulation !important;
  -ms-touch-action: manipulation !important;
}
body{
  -webkit-overflow-scrolling: touch;  
  overflow-x: hidden;
}
img{
  max-width: 100%;
  height: auto;
}
.logo2{margin-left:-15px}
/* .main::before{
    content: '';
    position: absolute;
    background-attachment: fixed;
    background-image: url(../img/deco/deco_5.png) !important;
    width: 100vw;
    height: 100vw;
} */
.main{
  background-image: url(../img/deco/deco_5.png) !important;
  background-size: 1500px;
  background-attachment: fixed;
  background-repeat: repeat;
}
a{  -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    text-decoration: none;
}
a:hover{text-decoration: none;}
.pos_r{position: relative;}
.rent li a{font-weight: 400}
.rent li:hover a,.rent li:hover i{color:#67accc !important; color: var(--main) !important}
.table th{background-color:#67accc;background-color: var(--main);color: #fff}
.table td, .table th{padding: .75rem .5rem}
#footer p,#footer a:not(.btn){font-size:14px;color: rgb(255 255 255 / .6);margin-bottom: 0;letter-spacing: 1px;}
#footer ul.links li{display: inline-block;list-style: none;}
#footer ul.links li a{padding: 0px 8px; border-right:1px solid rgb(255 255 255 / .3);color: rgb(255 255 255 / .6);}
#footer ul.links li:first-child a{border-left:1px solid rgb(255 255 255 / .3);}
.header-nav-top .nav >li{position: relative;padding:5px 10px }
.header-nav-top .nav >li:before{
    content: '';
    position: absolute;
    height: 20px;
    border-right: 1px solid #eee;
    right: 5px;
    top: 13px;
}
.language_btn{
    position: relative;
    z-index: 1;
    /* margin-left: 10px;
    width: 118px; */
}
#header .header-nav-top .nav > li > a{color: #666 !important; }
.header-row .nav li span{
    position: absolute;
    font-size: 0.6em;
    bottom: 16px;
    opacity: .5;
    font-weight: 400;
    text-align: center;
    left: 0;
    right: 0;
    margin: 0 auto;
}
.language_btn > a{
  display: block;
  font-size: 12.5px;
  font-weight: 300;
  letter-spacing: 1px;
  color: #666 !important;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 5px 37px 5px 16px;
  text-transform: uppercase;
}
.language_btn ul {
  position: absolute;
  top: 110%;
  width: 118px;
  opacity: 0;
  padding-left: 0;
  font-weight: 300;
  letter-spacing: 1px;
  pointer-events: none;
  transition: all .5s;
}
.language_btn.show ul {
  top: 100%;
  opacity: 1;
  pointer-events: auto;
  background-color: #fff;
  box-shadow: 0 0 25px rgba(0 0 0 /0.06);
}
.language_btn ul a {
  display: block;
  padding: 8px 5px;
  text-align: center;
  color: #666 !important;
  background-color: #fff;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  z-index: 2
}
.language_btn.show li:hover a{color:var(--main) !important;}
.language_btn ul li{
  list-style: none;
}
.visible-x5{display: none !important}
.hidden-x5{display: block !important}
.titlewithline{position: relative;}
.titlewithline:before {
    content: '';
    position: absolute;
    border-top: 1px solid #d9d9d973;
    width: calc(100% - 180px);
    left: 180px;
    top: 22px;
}
.titlewithline>span{
    position: absolute;
    display: block;
    top: 0px;
    right: 15px;
    font-size: 20px;
    background-color: #021824;
    padding: 5px 8px 
}
.infoBox em {
    font-size: 16px;
    font-weight: bold;
    color: #67accc;
    color: var(--main);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    letter-spacing: 2px;
    justify-content: center;
}
.left.infoBox em{
    justify-content: flex-start;
}

.infoBox em:after {
    content: '';
    display: inline-block;
    width: 87px;
    height: 1px;
    background-color: #67accc;
    background-color: var(--main);
    color: var(--main);
    margin-left: 14px
}

.infoBox h2 {
    font-size: 32px;
    font-weight: 700;
    color: #000000;
    line-height: 44px;
    margin-top: 15px;
    letter-spacing: 2.5px
}
.d-lg-flex.custom-post-event .post-event-date{position: relative;}
.classLink li,ul.nav-list.classLink li {
    position: relative;
    /* width: 100%; */
    margin: 0 7px 7px;
    display: inline-block;
    list-style: none;
    border: 1px solid #fff;
}
.classLink li > a,ul.nav-list.classLink li a{
    position: relative;
    display: block;
    width: 100%;
    color: #444;
    line-height: 24px;
    padding: 10px 60px 10px 20px;
    font-weight: 400;
    font-size: 15px;
    letter-spacing: .12em;
    border: 1px solid #ebebeb;
}
.classLink li > a:after,.nav-tabs.research li a:after{
  content: '';
  position: absolute;
  right: 20px;
  top: 50%;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 3px 0 3px 7px;
  border-color: transparent transparent transparent #555;
}
.classLink li.active,.classLink li:hover,ul.nav-list.classLink li a.active,ul.nav-list.classLink li:hover a{
    border: 1px solid #67accc;
    border: 1px solid var(--main);
    background-color: #67accc;
    background-color: var(--main)
}
.classLink.faq li{
  margin: 0 3px 8px;
}
.classLink.faq li a{
  padding: 5px 15px;
}
.classLink.faq li a::after{content: none;}
.nav-tabs.research{max-width:255px}
.nav-tabs.research li{
  margin: 0 7px 7px;
  position: relative
}
.nav-tabs.research li a.nav-link{
  position: relative;
  display: block;
  width: 100%;
  color: #444 ;
  line-height: 24px;
  padding: 10px 60px 10px 20px;
  font-weight: 400;
  font-size: 15px;
  letter-spacing: .12em;
  background-color: #fff;
  border: 1px solid #ebebeb !important;
}
.nav-tabs.research li.active a,.nav-tabs.research li:hover a,.nav-tabs.research li.active a:hover,.nav-tabs.research li.active a:focus{color: #fff !important;background-color: #67accc;}
.classLink li.active > a,.classLink li:hover > a,.classLink li:hover ,ul.nav-list.classLink li a.active,ul.nav-list.classLink li:hover a{ color: #fff;}
.classLink li.active > a:after ,.classLink li:hover > a:after,ul.nav-list.classLink li a.active:after,ul.nav-list.classLink li:hover a:after,
.nav-tabs.research li.active a:after,.nav-tabs.research li:hover a:after{border-color: transparent transparent transparent #fff;}
ul.nav-list.classLink li a:before{content: none}
.border-bottom.primary{border-color:#67accc !important;border-color:var(--main) !important }
.testimonial.testimonial-style-5 .testimonial-author {
    border-top: none;
    border-bottom: 2px solid #dbe6eb;
    padding: 6px 0 12px;
}
.file_download{color: #7a7a7a;padding: 0px 10px; border-right: 1px solid #c8c5c5;}
p .file_download:first-child {padding-left: 0px}
p .file_download:last-child{border:none;}
.file_download i{font-size:20px}
ul.rent li:after{
    content: '';
    position: absolute;
    border-right: 1px solid #eee;
    display: block;
    height: 74px;
    top: -19px;
}
ul.rent li:first-child:after{
    content: none;
}
.title_line{    
    text-align: center;
    margin: 25px 0 15px;
    padding: 10px;
    font-size: 15px;
    border-top: 2px solid #67accc;
    border-bottom: 2px solid #67accc;
    font-weight: 600;
    letter-spacing: 2px;
}
.calendar_box{position: relative; padding-bottom: 80%;margin-bottom: 60px;}
.calendar_box iframe{position: absolute;top: 0;left: 0;width: 100%;height: 100%;}  
ol.mapping li,ol.mapping li:before,.graduation ol li{color: #777;}
.graduation ol{border-left: 1px solid #eaeaea;counter-reset: custom-counter;list-style-type:none;padding-left: 20px;margin-bottom: 30px}
.graduation ol li{position: relative;padding-left: 35px; margin-bottom: 15px;}
.graduation ol li:before{
    position: absolute;
    top: 2px;
    left: 0;
    content: counter(custom-counter);
    counter-increment: custom-counter;
    background-color: #777;    
    color: #FFF;
    border: 0;
    min-width: 24px;
    padding: 0;
    text-align: center;
    border-radius: 100%;

}
.right-line:before{
    content: '';
    height: 70%;
    border-right: 1px solid #eee;
    position: absolute;
    right: 10%;
}
.honor-list .row.border-bottom-light{min-height: 157.5px}
.toggle label{margin-bottom: 0;padding-left: 16px;}
.toggle-content{padding: 10px 20px;background-color: #faf3f3}
a:hover .bg-color-tertiary{
    background-color:#67accc !important;background-color: var(--main) !important;
    -webkit-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
}
a:hover .bg-color-tertiary p,a:hover .bg-color-tertiary i{color: #fff !important;}
.post-image img{width: 100%}
.site_title{
    border-bottom: 1px solid #ddd;
    color: #000;
    font-size: 16px;
    display: block;
    font-weight: 500;
    margin-bottom: 15px;
    position: relative;
}
.site_title p{
    margin-bottom: 0;
    margin-top: 25px;
    padding-bottom: 15px;
}
.site_title:before {
    content: "";
    width: 10px;
    height: 1px;
    background-color: #000;
    display: block;
    position: absolute;
    right: 0;
    top: 9px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
.site_title:after {
    content: "";
    width: 10px;
    height: 1px;
    background-color: #000;
    display: block;
    position: absolute;
    right: 0;
    top: 16px;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
ul.custom{list-style: none}
ul.custom li{position: relative;padding-left: 20px;margin-bottom: 5px;}
ul.custom li a{color: #656565}
ul.custom li a:hover{color: #67accc;color: var(--main)}
ul.custom li:before{
    content: "";
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background-color: #656565;
    position: absolute;
    top: 12px;
    left: 0;
}
.video-cover {
    padding-top: 53.7%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    margin-bottom: 20px;
}
.play-btn {
  position:absolute;
  z-index:3;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%);
  background-color:transparent;
  border:0;
  background-color: #67accc;
  background-color: var(--main);
  width: 6rem;
  height: 6rem;
  border-radius: 50px;
  box-shadow: 0 0 0px 4px #67accc;
  border: 3px solid #fff;
}
.play-btn i{font-size: 1.8rem;line-height: 5.8rem;color:#fff;}
.play-btn:hover,.video_box .thumb-info {
  cursor:pointer;
}
.post_date p{
  padding: 15px 2px;
  margin-bottom: 0px;
  /* border-bottom: 1px solid #eee; */
  font-size: 14px;
  letter-spacing: 1.5px;
  color: #999;
}
.post_date p.tagname{
    color: var(--main);
    border-bottom: 2px solid var(--main);
    font-size: 20px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}
.post_date a{color: #999;font-size: 16px;}
.post_date a:hover{color: var(--main)}
.post_date a.btn-outline-secondary:hover{
  background-color: #af5b5b;
  color: #fff;
  border: none;
}
.post_date b{position: relative;display: inline-block; padding-right: 25px;color: #666;font-size: 18px;letter-spacing: 2px;}
.post_date b::before{
    content: '';
    position: absolute;
    border-right: 1px solid #666;
    transform: rotate(30deg);
    right: 11px;
    width: 1px;
    height: 24px;
    top: 7px;
}
.post_date_back{flex: 0 0 46px;    margin-bottom: 10px;}
.icon_close{
    /*background-color: #999; */
    position: relative;
    top: calc(50% - 32px);
    right: 0;
    width: 46px;
    height: 46px;
    line-height: 45px;
    color: #999;
    font-size: 14px;
    font-family: 'Noto Serif TC',var(--font);
    text-align: center;
    border-radius: 50%;
    border: 1px solid #999;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
}
.icon_close:hover{
  color: #fff;
  background-color: #999;
}
.border-bottom-light.border-top-light{border-bottom-width:2px !important;border-top-width:2px !important;}
.breadcrumb li{
    padding: 18px 12px 18px 12px;
    /* border-right: 1px solid #e5e4e4; */
    line-height: 1;
    color: #8d6363;
    letter-spacing: 2px;
    position: relative;
    font-size: 14px;
}
.breadcrumb li a{
  color: #8d6363;
}
.breadcrumb li:before{
    content: '\f105';
    font-family: 'Line Awesome Free';
    font-weight: 900;
    color: #c2c0c0;
    position:absolute;
    right: -7px;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}
.breadcrumb li:last-child:before{
  content: none;
}
.crumb.border-bottom-light{
    position: relative;
    border-bottom: 1px solid rgb(103 172 204 / .4) !important;
}
.crumb.border-bottom-light:after{
    content: '';
    position: absolute;
    border-bottom: 1px solid rgb(103 172 204 / .3);
    opacity: .7;
    display: block;
    width: 97%;
    left: 1.5%;
    bottom: -8px;
}
.form-control-lg{font-size: 1.1rem;}
.sport span,.sport p,.sport h1,.sport h2,.sport h3,.sport h4,.sport h5,.sport h6{
  font-family: var(--font) !important;
}
.min-height{
   min-height:calc(100vh - 443px) ;
}
.thumb-info-caption-text a{min-height: 56px}
.list-icons-style-3 li a{word-break: break-all;}
.simple-search input{
  min-height: 50px;
  border-radius: 25px 0 0 25px !important;
}
.simple-search .input-group-append.bg-light{border-radius: 0 25px 25px 0 !important}
.enterdata{
    background: #eee;
    padding: 3px 10px;
    border-radius: 25px;
}
.event_lineh{
  line-height: 6.5;
  flex: 0 0 20%;
}
.modal-header .close{position: absolute; right: 10px; top: 10px;}
.modal-body h5{font-weight: 400;line-height: 1.6;}
.uploadfile{
  width: 0.1px; 
  height: 0.1px; 
  opacity: 0; 
  overflow: hidden; 
  position: absolute; 
  z-index: -1;
}
.uploadfile + label {
    width: calc(100%);
    font-size: 1.2rem;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    display: flex;
    color: #727272;
    overflow: hidden;
    padding: 0.625rem 1.25rem;
    margin-bottom: 0px;
    position: absolute;
    height: 100%;
    top: 0;
    left: 0;
    align-items: flex-end;
    justify-content: center;

}
.uploadfile + label span{
  width: 100%;margin-bottom: 20px
}
.upload_area .card-body{
  border: 2px dashed #eee;
  padding: 2rem 15px;
}
.upload_area img{
  opacity: .3;
  width: 80px;
  display: block;
  margin: 7px auto;
}
.form-control:disabled, .form-control[readonly]{
  background-color: #f7f7f7;
  opacity: 1;
  color: #999;
}
.member_bg-color{background-color: #f6f9fe !important}
.min-vh{
  min-height: calc(100vh - 236px)
}
.min-100{min-height: 100%}
.language_btn a.hidden-x5{padding-left: 0}
.header-nav-top .nav >li.member_nav:before{content: none;}
#header .header-nav-top .nav >li.member_nav a{
  border: 1px solid #67accc;border: 1px solid var(--main);
  padding: 3px 10px;
  border-radius: 25px !important;
  color: #67accc !important;color: var(--main) !important;
  margin-top: 2px;
}
.btn-check{
  font-size: 16px;
  color: #fff;
  background-color: #6baecd;
  border-radius: 4px
}
.btn-check:hover{
  color: #fff !important;
  background-color: #3b90b8;
}
.table.work th{
  height: 60px;
  font-weight: 600;
  background-color: #fff;
  color: #788f9f;
  font-size: 20px;
  padding: 6px 12px; 
  vertical-align: middle;
  border-top: none;
}
.table.work td{
  vertical-align: middle;
  padding: 6px 12px;
  height: 60px
}
.min-vh .member_nav{
  background-color: #6baecd;
}
.member_nav .nav li a{color: rgb(255 255 255 / 0.6);font-weight: 600;font-size: 18px;padding: 16px;
-webkit-transition: all 0.4s ease;  -o-transition: all 0.4s ease; transition: all 0.4s ease;}
.member_nav ul.nav-list li a:before{right: 12px; left: auto; top: 16px;}
.member_nav .nav li a.active,.member_nav .nav li:hover a{color: #fff !important;font-weight: 700;font-size: 19px;}
.work_data{padding-left: 0}
.work_data li{
  position: relative;
  display: inline-block;
  font-size: 18px;
  padding: 5px 20px
}
.work_data li:before{
  content: '';
  position: absolute;
  border-right: 1px solid #eee;
  height: 30px;
  left: 0px;
}
.work_data li:last-child:after{
  content: '';
  position: absolute;
  border-right: 1px solid #eee;
  height: 30px;
  right: 0px;
}
.btn-2{font-size: 16px; background-color: #d87235;border-color: #d87235;color: #fff}
.btn-2:hover{background-color: #cc6425;border-color: #cc6425;color: #fff!important}
.btn-3{font-size: 16px; background-color: #3677a5;border-color: #3677a5;color: #fff}
.btn-3:hover{background-color:#296793;border-color:#296793;color: #fff !important}
.main-video iframe{
  max-width: 100%;
}
.post-event-content .d-lg-flex a{flex:0 0 20%;}
/* -----------------
    漢立方 新增
------------------- */
/* .dog_bg{
  position: relative;
} */
/* .dog_bg::before{
  content: '';
}
.parallax-background::before{
  content: '';
  border: 2px solid #fff;
  position: absolute;
  top: 5px;
  left: 5px;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
}
.parallax-background::after{
  content: '';
  border: 1px solid #fff;
  position: absolute;
  top: 10px;
  left: 10px;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
} */
.section-no-border.bg-transparent .container:not(.no-white_bg){
  background-color: #fff;
  padding: 1.5rem;
  box-shadow: 0 0 10px rgba(0 0 0 /3%);
}
.crumb{position: relative;transform: translateY(-6px);}
.crumb::before{
  content: '';
  background-color: #eee4e4;
  width: calc(100% - 103px);
  margin-left: 103px;
  height: 100%;
  position: absolute;
}
.custom_container{
  position: relative;
  width: calc(100%);
  padding: 0;
  margin: 0;
}
.index.custom_container{
  display: flex;
  align-items: end;
}
.custom_container .page-header{display: inline-block;width: calc(100% - 103px);}
.social_share_box{
  width: 99px;
  transform: translateY(-20px);
  display: inline-block;
}
.social_share_box .link{
  position: relative;
  text-align: center;
}
.social_share_box .link a{
  display: inline-block;
  color: #af5b5b;
  font-size: 24px;
}
.social_share_box .link::before{
  content: '';
  border-right: 1px solid #e1cecf;
  position: absolute;
  left: 50%;
  bottom: 80px;
  height: 100px;
}
.social_share_box .link::after{
  content: 'Social';
  position: absolute;
  writing-mode: vertical-rl;
  color: var(--mainlight);
  font-family: "Playfair Display", serif !important;
  bottom: 200px;
  left: 42%;
  letter-spacing: 1px;
}
.social_share_box ~ .owl-carousel{
    width: calc(100% - 104px);
}
.item_cover{
    padding-top: 70%;
    background-size: contain;
    margin-bottom: 10px;
    background-position: center;
    background-repeat: no-repeat;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}
.featured-boxes-full.shop h4,.row .shop_item h4{
  text-align: center;
  font-family: 'Noto Serif TC',var(--font);
}
.featured-boxes-full.shop p,.row .shop_item p{
  font-size: 14px;
}
.featured-boxes-full.shop .featured-box-full > a:nth-child(1),.shop_item > a:nth-child(1){
  display: block;
  border: 1px solid rgba(178, 163, 146, 0.1);
  background-color: #fff;
  margin: 10px;
  overflow: hidden;
}
.featured-boxes-full .owl-carousel .owl-item:last-child .featured-box-full.featured-box-full-light{
  border-right: 0
}
.featured-boxes-full .owl-carousel.show-nav-title .owl-nav button{
  width: 45px !important;
  height: 45px !important;
  line-height: 43px;
  border: 1px solid var(--mainlight);
  border-radius: 19px !important;
}
.featured-boxes-full .owl-carousel.show-nav-title .owl-nav button.owl-prev{
  left: auto;
  right: 55px !important;
}
.featured-boxes-full .owl-carousel.show-nav-title .owl-nav button.owl-next{
  right: 0;
}
/* .shop .featured-box-full{
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
} */
.featured-boxes-full .featured-box-full.featured-box-full-light:hover h4,.shop_item:hover h4{
  color: var(--main);

 /* box-shadow: 0 0 26px rgba(0 0 0 / 10%);
 transform: translateY(-5px); */
}
.featured-boxes-full .featured-box-full.featured-box-full-light:first-child{
  border-left: 1px solid rgba(178, 163, 146, 0.3);
}
.featured-boxes-full .owl-item:not(:first-child) .featured-box-full.featured-box-full-light{
  border-left: 1px solid rgba(178, 163, 146, 0);
}
.featured-boxes-full .featured-box-full.featured-box-full-light:hover,.shop_item:hover{
  border:1px solid #ceabab !important;
  -webkit-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  z-index: 2;
}
.featured-boxes-full .featured-box-full.featured-box-full-light:hover .item_cover,.shop_item:hover .item_cover{
  transform: scale(1.08);
}
.shadow-0{
  box-shadow: none !important;
}
.Noto_Serif{font-family: 'Noto Serif TC',var(--font);}
.Tiro_Telugu{font-family: 'Tiro Telugu', serif;}
.set_title h2,.tech h2{
    position: relative;
    display: inline-block;
    font-family: 'Noto Serif TC',var(--font);
    font-weight: 600;
    margin-left: 3px;
    font-size: 26px;
    letter-spacing: 3px;
    color: #5a4b3b;
}
.set_title h2::before,.set_title h2::after,.tech h2::before,.tech h2::after{
  content: '';
  position: absolute;
  top: 52%;
  z-index: 1;
  width: 38px;
  height: 1px;
  background-color: #c4c4c4;
}
.set_title h2::before,.tech h2::before{
  left: -50px;
}
.set_title h2::after,.tech h2::after{
  right: -50px;
}
.post-event-date .day{
  position: relative;
  padding-left: 50px;
}
.post-event-date .day::before{
  content: '';
  position: absolute;
  width: 35px;
  border-top: 1px solid #ddd;
  left: 5px;
  top: 52%;
}
[data-plugin-toggle] {
  counter-reset: custom-counter;
}
.toggle.faq > label{
  padding-left: 50px;
  overflow:hidden; 
}
.toggle.faq > label::after{
    content: 'Q' counter(custom-counter);
    counter-increment: custom-counter;
    padding-left: 50px;
    opacity: .05;
    font-size: 60px;
    font-weight: 600;
    position: absolute;
    left: -60px;
    top: 10px;
    font-family: 'Tiro Telugu', serif;
    font-style: italic;
}
.toggle.faq > label::before{
  content: '\f067';
  font-family: 'Line Awesome Free';
  font-weight: 900;
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
  border: 0;
  top: calc(50% - 13px);
  right: 25px;
}
.toggle.faq.active > label::before {
  content: '\f068';
  font-family: 'Line Awesome Free';
  font-weight: 900;
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
  border: 0;
}
.toggle.faq > .toggle-content{
  border: 2px solid #ae5858;
}
.tech iframe{
  max-width: 100%;
}

.tech_img .img-thumbnail.img-thumbnail-hover-icon::after{
  content:"\f00e";
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  font-family: 'Line Awesome Free';
  font-weight: 900;    
  left: 0;
  font-size: 30px;
  -moz-transform:scaleX(-1);
  -webkit-transform:scaleX(-1);
  -o-transform:scaleX(-1);
  transform:scaleX(-1);
  /*IE*/
  filter:FlipH;
}
.tech_img .img-thumbnail{
  max-height:165px;
  overflow:hidden;
  border:1px solid #ccc;
}
.tech_img .img-thumbnail{
  margin-top: -5%;
}
.post_box{
  background-color: #fff;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease
}
.post_box .custom-post-event .title-1.text-grey{
  flex: 0 0 30%;
  text-align: right;
  line-height: 2;
}
.post_box .custom-post-event h4{
  flex: 0 0 70%;
}
.post-event-content:hover h4 a{
  color: var(--main) !important;
}
.academy .post_box:hover{
  box-shadow: 0 0 25px rgba(0 0 0 / 5%);
  transform: translateY(-10px);
}
.academy article.custom-post-event{
  position: relative;
}
.academy article.custom-post-event::before{
    content: "";
    position: absolute;
    bottom: -30px;
    left: 0;
    width: 100%;
    height: 5px;
    background-repeat: repeat-x;
    background: linear-gradient(60deg, transparent 40%, #aaaaa9 50%, transparent 60%, transparent 60%);
    background-size: 5px 7px;
}
.academy .post_box:last-child article.custom-post-event::before{
  content: none;
}
.a_tag{
  padding: 2px 8px;
  background-color: #e76e62;
  color: #fff;
  font-size: 14px;
  letter-spacing: 2px;
}
.end.a_tag{
  background-color: #e5e3e3;
  color: #787878;
}
.open.a_tag{
  background-color: #67accc;
}
.mr--10{
  transform: translateX(10px);
}
.text-grey{color: #666;}
.links_box{
  border: none;
  border-radius: 4px;
  /* text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.48); */
  letter-spacing: 1.5px;
  overflow: hidden;
  padding: 20px 50px 20px 70px;
  margin-bottom: 20px;
  font-size: 20px;
  position: relative;
  color: #986a69;
  outline: none;
  cursor: pointer;
  width: 100%;
  -webkit-transition: background-position .7s,box-shadow .4s;
  transition: background-position .7s,box-shadow .4s;
  background-size: 110%;
}
.links_box:hover{
  background-position: 0% 30%;
}
.links_box:hover:after{
  right: -40px;
  -webkit-transition: right .4s,-webkit-transform 30s .2s linear;
  transition: right .4s,-webkit-transform 30s .2s linear;
  transition: right .4s,transform 30s .2s linear;
  transition: right .4s,transform 30s .2s linear,-webkit-transform 30s .2s linear;
}
.links_box:after, .links_box:before {
  font-weight: 900;
  font-family: "Font Awesome 5 Free";
  text-shadow:none;
  position: absolute;
}
.links_box:before{
  content: "\f0c1";
  display: block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  -webkit-transition: all 1s;
  transition: all 1s;
  font-size: 30px;
  left: 25px;
}
.links_box:after {
  content: url('../img/deco/deco_4.png');
  -webkit-transition: right .4s, -webkit-transform .2s;
  transition: right .4s, -webkit-transform .2s;
  transition: right .4s, transform .2s;
  transition: right .4s, transform .2s, -webkit-transform .2s;
  font-size: 100px;
  opacity: .15;
  right: -180px;
  top:-30px;
}

.links_box {
  background-color: #efebe2;
  display: inline-block;
}
.links_box:hover {
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.05);
}
.links_box:hover:after {
  -webkit-transform: scale(1);
          transform: scale(1);
          right: -20px;
}
.links_box:hover:before {
  -webkit-transform: scale(1.2);
          transform: scale(1.2);
}
.links_box b {
  color: #DDA6FF;
  font-weight: 700;
}
.form-control-plaintext{
  padding: 5px 10px;
  background-color: #f8f8f8;
}
select.form-control-plaintext{
  border: 0;
}
.form-control-plaintext:focus-visible,select.form-control-plaintext:focus-visible{
  background-color: #f8f8f8;
  border: 1px solid #eee;
  outline: none;
  box-shadow: none;
}
.d-flex >.sexBox{
  flex: 0 0 150px;
}
.d-flex >.form-control-plaintext{
  flex: 0 0 calc(100% - 150px);
}
#contact_form .col-sm-6.border-bottom,#contact_form .col-sm-12.border-bottom{
  border: none !important;
  position: relative;
}
#contact_form .col-sm-6.border-bottom::before,#contact_form .col-sm-12.border-bottom::before{
  content: '';
  position: absolute;
  width: calc(100% - 40px);
  left: 20px;
  bottom: 0;
  border-bottom: 1px solid #ddd;
}
.sexBox {
    position: absolute;
    right: 0;
    top: 6px;
    width: 170px;
    padding: 0 10px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}
.sex{
  margin-right: 10px;
  letter-spacing: 2px;
}
.sex input{opacity: 0}
.sexBox .sex:nth-child(2) {
    text-align: right;
}
.sex .radioBtn{
  height: 16px;
  width: 16px;
  border: 1px solid #0d415c;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  left: -4px;
  top: 3px;
}
.sex > input:checked ~ .radioBtn{
  background-color: #0d415c;
}
.bg-grey{
  background-color: #ebebeb;
  color: #444;
  letter-spacing: 3px;
}
.album .cover.h100{
  margin-bottom: 25px;
}
.side_menu li{
  padding: 10px 0;
  border-bottom: 1px solid #ececec;
}
.side_menu li.active a{color: var(--main);}
.side_menu li a{
  color: #555;
  font-family: 'Noto Serif TC',var(--font);
}
.shop_item{
  border-bottom: 1px solid #eee;
  border-right: 1px solid #eee;
  border-left: 1px solid transparent ;
  border-top: 1px solid transparent;
  padding: 10px 10px 25px;
}
.row .shop_item:nth-child(3n){
  border-right:1px solid transparent;
}
.product_title{
  font-family: 'Noto Serif TC',var(--font);
  font-size: 24px;
  font-weight: 600;
  padding-bottom: 15px;
  border-bottom: 1px dotted #999;
  letter-spacing: 1.5px;
}
.pro_num{
    border: 1px solid #eee;
    padding: 5px;
    display: inline-block;
    font-size: 14px;
    color: #999;
    line-height: 1;
    margin-bottom: 10px;
}
.pro_info .info_t{
  letter-spacing: 1.5px;
  color: #999;
  margin-bottom: 10px;
  font-size: 14px;
}
.pro_info .info_t b{color: #444;display: block;}
select.filter_sel{
    position: relative;
    background-color: #F7F7F7 !important;
    height: 46.8px;
    border: none;
    font-size: 15px;
    min-width: 120px;
    color: #666;
    border-right: 2px solid #fff;
    margin-right: 1px;
    padding-right: 30px;
    -webkit-appearance: none;
}
select.filter_sel:focus{border:none;}
.shop_filter .input-group-prepend select.filter_sel ~ i{
    position: absolute;
    top: 17px;
    left: 100px;
    font-size: 12px;
}
#product_1,#product_2{
  font-size: 15px;
  letter-spacing: 1px;
  padding: 15px;
}
.shop_cate {
    position: relative;
    color: #8a6853;
    padding: 0.7em 0 0.3em 2.5em;
    display: inline-block;
    line-height: 1.3;
    font-family: 'Noto Serif TC',var(--font);
    font-weight: 600;
    font-size: 20px;
    /* background: #ffffff; */
    vertical-align: middle;
    min-width: 90px;
    border-radius: 25px;
    margin-bottom: 0;
    z-index: 2;
}
.cate_area{
  counter-reset: custom-counter;
}
.cate_area .col-12  p.shop_cate::before{
    content: counter(custom-counter);
    counter-increment: custom-counter;
    position: absolute;
    left: 0;
    color: #b7a9a0;
}
.shop_cate::after {
    content: '';
    position: absolute;
    margin-left: 12px;
    border-right: 2px solid #ece4df;
    transform: skewX(337deg);
    height: 30px;
    display: inline-block;
    left: 17px;
    bottom: 0;
}
.testimonial-author{margin: 50px 0 40px;}
.testimonial-author::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 23px;
    width: calc(100% - 16px);
    border-top: 2px solid #ece4df;
    box-shadow: 3px 3px 0px 2px #fef7f6;
}
.btn-cate{
    padding: 5px 14px;
    margin: 5px;
    display: inline-block;
    background-color: #f3f3f3;
    border: 1px solid #eee;
    cursor: pointer;
}
.btn-cate:hover{
  background-color: #ece4df;
}
#detail .modal-title{
  color: #8a6853;
}
.bg-transparent{
  background: transparent;
}
.ver_title{
  writing-mode: vertical-rl;
  position: relative;
  transform: translate(-43%, -25%);
}
.ver_title > p{
  position: relative;
  text-align: initial;
  margin-top: 11px;
  opacity: .7;
}
.ver_title > p::after{
  content: '';
  border-right: 1px solid #fff;
  position: relative;
  display: inline-block;
  /* left: 46%; */
  left: -0.5%;
  bottom: 0px;
  height: 70px;
}
.ver_title > h1{
  font-family: 'Noto Serif TC',var(--font);
}
.history_en{
    writing-mode: vertical-rl;
    font-size: 40px;
    position: absolute;
    letter-spacing: 1px;
    font-family: 'Noto Serif TC',var(--font);
    left: 19px;
    top: 10%;
    font-weight: 800;
    opacity: .2;
    color: #b6947b;
}
h4.title-2{letter-spacing: 1.5px}
.form-group{margin-bottom: 10px;}
.titleBox{z-index: 99; position: relative;}
.pro_info  *{
  margin-bottom: 10px;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
  font-size: 14px;
  color: #999;
}
.pro_info  p strong{
  color: #444;
}
.platform_card{
    background-size: cover;
    padding: 10% 6%;
}
.platform_card .inner_box {
  display: block;
  align-items: center;
  background: #ffffffba;
  box-sizing: border-box;
  padding: 40px 30px;
  width: 40%;
  text-align: center;
  margin: 0% 3%;
  transform: scale(1.2);
}
.platform_card .title {
  font-size: 24px;
  color: black;  
  text-align: center;
  font-weight: 700;
  color: #181818;
  position: relative;
  margin: 0 0 20px 0;
}
section.section{position: relative;}
section.section.bg-index_tech::after{
  content: '';
  position: absolute;
  background: url(../img/tech_bg.png);
  background-size: cover;
  background-repeat: no-repeat;
  top: -12%;
  right: 0%;
  height: 13vw;
  width: 18vw;
}
section.section.bg-index_tech::before{
  content: '';
  position: absolute;
  background: url(../img/logo/logo2.png);
  background-size: cover;
  background-color: #fff;
  background-repeat: no-repeat;
  bottom: 27px;
  left: -2%;
  opacity: .2;
  height: 150px;
  width: 800px;
  filter: opacity(0.5);
}
.mfp-counter{
  opacity: 0;
}
.page-header .owl-carousel .imgbox {
  width: 100%;
  padding-top: calc(100% * 1 / 3);
  position: relative;
}
.image {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}







:root{
    --font:'Noto Sans TC',-apple-system, "Helvetica Neue", Helvetica, "Nimbus Sans L", Arial, "Liberation Sans", "PingFang SC", "Hiragino Sans GB", "Source Han Sans CN", "Source Han Sans SC", "Microsoft YaHei", "Wenquanyi Micro Hei", "WenQuanYi Zen Hei", "ST Heiti", SimHei, "WenQuanYi Zen Hei Sharp", sans-serif;
    --main:#a70000;
    --maindark:#980202;
    --mainlight:#c56a6f;
    /* --second:;
    --seconddark:;
    --seconddlight:; */
}
::-webkit-scrollbar {
    -webkit-appearance: none;
}

::-webkit-scrollbar:vertical {
    width: 6px;
}

::-webkit-scrollbar:horizontal {
    height: 4px;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, .3);
    border-radius: 10px;
    border: 2px solid transparent;
}

::-webkit-scrollbar-track {
    background-color: transparent; 
}

/*
| ----------------------------------------------------
| responsive
| ----------------------------------------------------
*/
@media (min-width: 1440px){
  .container {
    max-width: 1240px;
  }
}

@media (max-width: 1367px) {
  .custom-big-square.left-pos{
    height: 300px;
    width: 329px;
    top: 60%;
  }
  .custom-big-square.right-pos{
    width: 230px;
    height: 500px;
    top: -5%;
  }
  section.section.bg-index_tech::after{top:-12%;}
  section.section.bg-index_tech::before{    
    right: 5vw;
    height: 7vw;
    width: 40vw;
  }
  .platform_card .title{font-size: 20px;}
  .platform_card .inner_box .subtitle{font-size: 14px;}
  .classLink li > a, ul.nav-list.classLink li a{padding-right: 50px;}
  #header .header-logo{width: 220px;}
}
@media (max-width: 1181px) {
  .header-container .header-column:first-child{flex: 0 0 200px;}
  .custom-big-square.right-pos {
      width: 180px;
      top: 15%;
      height: 400px;
  }
}

@media (max-width: 1025px) {
  .header-logo img{width: 250px;}
  .logo{margin-left: 0;margin-top: -18px;}
  section.section.bg-index_tech::before{right:-2vw;height: 15vw; width: 80vw;}
  .custom-big-square.right-pos{
    width: 180px; height: 400px;top: 0%;
  }
  .custom-big-square.left-pos{
    height: 225px; width: 250px; top: 55%;
  }
  .platform_card .inner_box{padding: 30px 20px;}
  section.section.bg-index_tech::after {width: 30vw;height: 21vw; top: -4%;}
}

@media screen and (max-width: 1025px) and (min-width: 770px){
  #header .header-nav-main nav > ul > li > a{font-size: 16px;padding: 20px 15px;}
}
@media (max-width: 992px) {
  .main{margin-top: -15px;}
  .modal-open .main{transform: inherit;}
  .no-white_bg .custom-post-event{background-color: #fff;padding: 15px;}
  .header-btn-collapse-nav{
    transform: translateZ(0);
    transition: .3s;
  }
  .header-btn-collapse-nav span{
    position: relative;
    display: block;
    width: 30px;
    height: 1px;
    margin: 7px auto;
    border-top: 1px solid #4d4d4d;
    transition: .3s cubic-bezier(.45,0,.55,1);
  }
  .header-btn-collapse-nav::before{
    content: "MENU";
    position: absolute;
    font-family: 'Noto Serif TC',var(--font);
    left: -60px;
    top: 30%;
    font-size: 15px;
    letter-spacing: .75px;
    color: #4d4d4d;
    opacity: 1;
    transform: translateZ(0);
    transition: .3s;

  }
  .mobile-menu-opened .header-btn-collapse-nav::before{
    content: "CLOSE";
  }
  .mobile-menu-opened .header-btn-collapse-nav span:first-child {
    transform: translate3d(0,8px,0) rotate(45deg);
  }
  .mobile-menu-opened .header-btn-collapse-nav span:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-opened .header-btn-collapse-nav span:nth-child(3) {
    transform: translate3d(0,-8px,0) rotate(-45deg);
  }
  .header-row .nav li span{
    text-align: left;
    padding-left: 95px;
    bottom: 30%;
  }
  .input-group .form-control,.form-control-lg{min-height: 50px}
  .links_box{min-height: 92px;}
  .header-row .nav li span{font-size: 13px;}
  .custom_container .page-header ~ .row{margin: 0;}
  .custom_container .page-header ~ .row .col-12{padding: 0}
  .social_share_box{display: none}
  .index .social_share_box ~ .owl-carousel{
    width: calc(100%);
    margin-top: 25px;
    }
}

@media (max-width: 769px) {
    .btn.album{position: relative;z-index: 10}
    table.table{min-width: 900px}
    .event_lineh{flex: 0 0 25%;line-height: 10.5}
}


 /*iphone plus*/
@media (max-width: 415px) {
    .cover.w200.h60,.custom-post-event .cover.w200{width: 100%; }
    .d-lg-flex.custom-post-event .post-event-date{position: absolute;}
    .totop.contain.h60.w200{width: 130px}
    .custom-section-padding-1{padding: 70px 0 50px !important}
    .page-header.page-header-modern.page-header-background.page-header-background-sm{padding: 30px}
    .post-image img{width: 70%}
    .enterdata{margin-top:5px} 
    .event_lineh{line-height: 3;width: 100%;}
    #header .header-nav-top .nav > li > a, #header .header-nav-top .nav > li > span{padding: 6px 4px !important}
    #header .header-nav-top .nav >li.member_nav a{padding: 2px 6px !important;}
    .main-video iframe{max-height: 190px}
    .member_nav{overflow: hidden;}
    .member_nav .flex-sm-column{display: flex; overflow-x: scroll; flex-wrap: nowrap;}
    .member_nav .flex-sm-column li{display: inline-block;white-space: nowrap}
    .member_nav .flex-sm-column li a{display: inline-block;padding: 18px 10px;} 
    .member_nav ul.flex-sm-column li a:before{
      content: '';
      border-right: 1px solid #c6dfeb;
      height: 20px;
      right: 0 !important;
      top: 20px;
    }
    .work_data li{padding:5px 20px 5px 0px }
    .work_data li:before,.work_data li:last-child:after{content: none;}
    .tech iframe{
      width: 100%;
      height: auto;
      aspect-ratio: 16 / 9;
    }
    .post_box .custom-post-event .d-flex{flex-wrap: wrap;}
    .post_box .custom-post-event .title-1.text-grey{
      flex: 0 0 100%;
      text-align: left;
    }
    .custom_container .page-header{
      width: calc(100%);
    }
    .ver_title{transform: translate(-37%, -1%);}
    .page-header.page-header-modern.page-header-background.page-header-background-md{padding: 20px 0;}
    h4.mb-3.f24{font-size: 18px !important;}
    .history_en{left: -35px;}
    .sexBox{top:auto;}
    .product_title .pro_num{
      position: absolute;
      top: 24px;
      right: 10px;
    }
    #header .header-logo{margin: 0.5rem 0 0.1rem 0;}
    .logo2{margin-top:-15px;margin-left: 0;}
    section.section.bg-index_tech::after {
        top: -4%;
        width: 50vw;
        height: 35vw;
    }
    section.section.bg-index_tech::before {
      height: 16vw;
      width: 90vw;
    }
    .platform_card .inner_box {
        padding: 20px;
    }
    .custom-post-event {
        margin: 15px 0px;
    }
    .custom-post-event~ hr.solid{margin: 5px 0;}

    

}


/*iphone: 7px*/
@media (max-width: 376px) {
  #header .header-logo {
      width: 180px;
  }
  #header .header-logo img {
    width: 100%;
  }
}



/*iphone 5*/
@media (max-width: 321px) {
  .visible-x5{display: block !important}
  .hidden-x5{display: none !important}
  .header-top .container{padding: 0 10px}
  #header .header-nav-top .nav > li > a{font-size: 13px}
  .header-nav-top .nav >li{padding: 5px 8px}

}


/*iPhone XR*/
@media only screen 
    and (device-width : 414px) 
    and (device-height : 896px) 
    and (-webkit-device-pixel-ratio : 2) { 



}

/*iPhone XS*/
@media only screen 
    and (device-width : 375px) 
    and (device-height : 812px) 
    and (-webkit-device-pixel-ratio : 3) { 

}

/*iPhone XS Max*/
@media only screen 
    and (device-width : 414px) 
    and (device-height : 896px) 
    and (-webkit-device-pixel-ratio : 3) { 


}
/*橫拿*/
@media screen and  (orientation:landscape) {}
/*縱拿*/
@media screen and (orientation:portrait) {}
/*設備寬高比*/
@media screen and (device-aspect-ratio: 16/9) {}