@import url('https://fonts.googleapis.com/css?family=Karla&display=swap');
@import url('../vendor/bootstrap/css/bootstrap.min.css');
@import url('../css/fonts/line-awesome-1.1.0/css/line-awesome.css');
@import url('../vendor/fontawesome-free/css/all.min.css');
@import url('../vendor/animate/animate.min.css');
@import url('../vendor/simple-line-icons/css/simple-line-icons.min.css');
@import url('../vendor/owl.carousel/assets/owl.carousel.min.css');
@import url('../vendor/owl.carousel/assets/owl.theme.default.min.css');
@import url('../vendor/magnific-popup/magnific-popup.min.css');
/*<!-- Theme CSS -->*/
@import url('../css/theme.css');
@import url('../css/theme-elements.css');
@import url('../css/theme-blog.css');
@import url('../css/theme-shop.css');
* {
    -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' */
    font-family: var(--font);
}
:root{
    --font:'Karla',"微軟正黑體","Microsoft JhengHei",-apple-system,"Noto Sans", "Helvetica Neue", Helvetica, "Nimbus Sans L", Arial, "Liberation Sans", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Source Han Sans SC", 
    "Source Han Sans CN",  "Wenquanyi Micro Hei", "WenQuanYi Zen Hei", "ST Heiti", 'SimHei', "WenQuanYi Zen Hei Sharp", sans-serif;
    --maincolor: #66BAB7 !important;
    --mainlight:#7cadc2 !important;
    --maincolordark: #36828a !important;
}
.slider-container.rev_slider_wrapper,#revolutionSlider,#revolutionSlider .tp-revslider-mainul{
    height: auto !important;
    aspect-ratio: 2.85 / 1; 
}

.vh50{min-height: 50vh;}
img {
    max-width: 100%;
}
a{
    -webkit-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
}
a.text-primary:focus, a.text-primary:hover {
    color: #18ab27!important;
}
.coverimg{
    padding-bottom: 65%;
    background-size: cover;
    background-position: center;
    display: block;
}
.coverimg.bigger{
    padding-bottom: 75%;
    display: block;
}
.coverimg.pd100{  
    padding-bottom: 100%;
}
.coverimg.pd150{  
    padding-bottom: 150%;
}
.portfolio-list .coverimg{background-image: url('../img/poster.jpg')}
.simple-post-list .coverimg{width: 70px;}
.activityCover{
    /* padding-bottom: 142%; */
    padding-bottom: 128%;
    background-size: cover;
    background-position: center;
    /* -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease; */
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
.thumb-info:hover .activityCover{
    /* -webkit-transform: scale(1.1, 1.1);
    transform: scale(1.1, 1.1); */
    -webkit-transform: scale(1.06, 1.06);
    transform: scale(1.06, 1.06);
    -webkit-transform-style: unset;
    transform-style: unset;
}
.index2 #header .header-top{height: 35px;background-color: var(--mainlight);}
.bg-primary-2{background-color: #3aaa5a !important;}
.index2 #header .header-nav-top .nav > li > a:hover,.index2  #header .header-nav-top .nav > li > a a:focus{color: #cff1ff !important;}
.index1 #header .header-nav.header-nav-force-light-text .header-nav-main nav > ul > li > a,
.index1  #header .header-nav.header-nav-force-light-text .header-nav-main nav > ul > li .wrapper-items-cloned > a{color: #fff !important;}
.index1 #footer a:not(.btn){color: #fff;opacity: .6}
.index2 .section-background  a{color: #ccc;}


.pagination > li > a:hover{
    background-color: #eef3f4 !important;
}
.sidebar .card-body{padding: 1rem}
.history_list{height: 670px;overflow-y: auto}
html #header .header-nav .header-nav-main nav > ul > li.dropdown-full-color.dropdown-light .dropdown-menu li a.active{background-color: #f1fbfb;color: var(--maincolor);}
.table th{background-color:#7cadc2;color: #fff;}
.table th:not(:first-child),.table td:not(:first-child){text-align: center}
/*table.paper tr td:first-child{width: 25%}*/
/*table.paper tr td:last-child{width: 75%}*/
table.paper tr td{border-bottom: 3px solid #c1c1d4;padding: 0}
table.paper tbody tr:first-child td{background-color: #fff0;color:#212529;}
table.paper a{color: var(--maincolor) !important}
table.paper tr td table{width: 100%;margin: 10px 0;}
table.paper tr td table tr td{padding: 2px 2px 2px 6px;font-weight: 600;border:none;}
table.paper tr td table tr td:last-child{width: 85%;font-weight: 400;text-align: left;}
table.paper tr td table tr:nth-child(even){background-color: #f1f1f7 ;}
.carousel-logo-item {
  position: relative;
  height: 128px;
  margin: 20px 0;
  overflow: hidden;
  -webkit-box-shadow: 0px 23px 32px 0px transparent;
          box-shadow: 0px 23px 32px 0px transparent;
  will-change: border-color;
  border: 1px solid transparent;
  -webkit-transition: border-color .4s ease, -webkit-box-shadow .4s ease;
  transition: border-color .4s ease, -webkit-box-shadow .4s ease;
  transition: border-color .4s ease, box-shadow .4s ease;
  transition: border-color .4s ease, box-shadow .4s ease, -webkit-box-shadow .4s ease;
}
.carousel-logo-item:hover {
  -webkit-box-shadow: 0px 23px 32px 0px #e5e8eb;
          box-shadow: 0px 23px 32px 0px #e5e8eb;
  border-color: #d4d4d4;
  bottom:10px;
  border-radius: 8px;
}
.carousel-logo-item:hover .carousel-logo-pannel {
  -webkit-transform: translateY(-100%);
          transform: translateY(-100%);
}
.carousel-logo-item .carousel-logo-pannel {
  width: 100%;
  height: 100%;
  -webkit-transition: -webkit-transform .4s ease;
  transition: -webkit-transform .4s ease;
  transition: transform .4s ease;
  transition: transform .4s ease, -webkit-transform .4s ease;
}
.carousel-logo-item .carousel-logo-hover {
  -webkit-transform: translateY(0);
          transform: translateY(0);
}
.carousel-logo-item .carousel-logo-hover img {
  width: 138px;
  max-height: 65px;
}
.carousel-logo-item .carousel-logo-hover .carousel-logo-description {
  max-height: 45px;
  overflow-y: hidden;
}
.carousel-logo-item .carousel-logo-pb::before {
  content: '';
  height: 100%;
  display: inline-block;
  vertical-align: middle;
}
.carousel-logo-item .carousel-logo-pb img {
  display: inline-block;
  vertical-align: middle;
  width: 230px;
}
.highschool .featured-box .box-content.box-content-border-0{border-top:none !important;}
.highschool .featured-box{min-height: 50px;margin: 5px 0}
.highschool .featured-boxes-flat .featured-box .box-content{margin-top: 40px;}
.highschool .parallax{min-height: 420px;}
.page-header ul.breadcrumb li {color: #ececec}
.page-header ul.breadcrumb li a{color: #fff}
ul.breadcrumb-out{margin-bottom: 0;}
ul.breadcrumb-out li{display: inline-block;position:relative;}
ul.breadcrumb-out li::before{
    color: #667b90;
    opacity: 0.5;
    font-family: 'Line Awesome Free';
    font-weight: 900;
    content: "\f105";
    padding:0 10px 0 10px;
}
ul.breadcrumb-out li:first-child::before{content: none;}
ul.breadcrumb-out li a{color:#667b90;}
blockquote.with-borders{position: relative;padding-top: 35px;margin-bottom: 35px;}
blockquote.with-borders:after{
    content: '備 註:';
    font-weight: 600;
    position: absolute;
    top: 10px;
}
blockquote.with-borders p{
    margin-bottom: 5px;
}
.teacher-list a{color:#777}
.teacher-list .isotope-item>.row{min-height: 313px;}
._65wk{height: 242px !important;}
.left_menu{position: fixed;top:calc((100% - 270px) / 2);left:0;z-index: 999;box-shadow: 0px 0px 80px 0px rgba(62, 62, 62, 0.3);width: 150px;background:url(../img/left_bg.jpg);border-radius: 0 10px 10px 0;overflow:hidden}
.left_menu li{list-style: none;width: 100%;min-height: 58px;border-bottom: 1px solid #517d80;}
.left_menu li:last-child{border:none;}
.left_menu li a{padding: 15px 5px 15px 20px;transition: all 0.3s ease;color: #fff;font-weight: 600}
.left_menu li a i{font-size: 28px;display: none;vertical-align: sub;}
.left_menu li a:hover{background-color:rgba(60, 122, 81, 0.6);padding: 15px 20px}
.left_menu li a.active,.left_menu li:hover a.active{background-color: rgba(77, 155, 94, 0.7);}
.left_menu li a.active i,.left_menu li a:hover i{display: inline-block;}
.p_res{position: relative;}
#point,#news,#activity,#honor,#qna{padding-top: 100px;margin-top: -50px !important;}
.teacher-list .isotope-item .col-md-8{min-height: 239px}
/* 20200805 */
.left_menu  .la-bullhorn{transform: rotate(-15deg);margin-right: 3px;font-size: 24px}
.custom-step-item {position: relative;}
.custom-step-item .step-content{margin-left: 90px;}

/* 20211001 */
.tab-pane-navigation .news-item {
    display: flex;
    justify-content: space-between;
}
.tab-pane-navigation .news-item .news-title {
    flex: calc(100% - 200px);
    max-width: calc(100% - 200px);
    transition: all 0.3s;
    letter-spacing: 0px;
    font-weight: 600 !important;
    /* font-family: 微軟正黑體; */
    font-size: 18px;
    margin-top: 7px;
    margin-right: 10px;
    margin-bottom: 10px;
}
.news-item {
    
    align-items: center;
    padding: 12px 12px 6px;
    transition: all 0.3s;
    border-bottom: 1px dashed rgb(199, 199, 199);
}
p.title-2{min-height: 63px;}

.news-item .news-title {
    transition: all 0.3s;
    letter-spacing: 0px;
    font-weight: 600 !important;
    /* font-family: 微軟正黑體; */
    font-size: 18px;
    margin-top: 7px;
    margin-right: 10px;
    margin-bottom: 10px;
}
.news-item .news-title h4 {
    letter-spacing: 0px;
    font-weight: 500 !important;
    /* font-family: 微軟正黑體; */
    font-size: 18px;
}
.news-item .post-infos {
    flex: 1;
    /* font-size: 18px; */
}
.news-item:hover {
    background-color: #fbfcfc;
}
/* .news-item .news-type-badge {
    flex: 1;
} */
.news-item .blog-post-date {
    padding: 0 8px;
    font-weight: 500;
    font-size: 16px;
    min-width: 100px;
    display: inline-block;
    text-align: center;
    margin-right: 16px;
    margin-bottom: 5px;
    letter-spacing: 1px;
}
.icon-megaphone {
    display: inline-block;
    padding-right: 12px;
    color: #b3b3b3;
}
.slide-link {
    display: block;
    
}
@media (max-width: 430px) {
    .news-item {
        flex-wrap: wrap;
        padding: 10px 8px;
    }
    .news-item .news-title {
        flex: 0 0 100%;
         max-width: 100%;
    }
    .news-item .post-infos {
        flex: 0 0 100%;
        /* font-size: 18px; */
    }
    .recent-posts .news-item {padding:10px 15px;display: block;}
}
/* 20211013 */

.video-wrapper__inner {
    width: 100%;
    padding-top: 56.25%;
    position: relative;
}
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.looking-for-box {
    padding: 42px 0;
    display: block;
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-size 0.5s;
}
.looking-for-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.2;
    transition: all 0.5s;
}
.looking-for-box:hover {
    background-size: 104%;
}
.looking-for-box:hover .btn {
    background-color: #e2fdea;
    border-color: #e2fdea;
    color: #777;
}
.looking-for-box:hover::before {
    opacity: 0;
}
/* ------------------------------------------------------------
    Sitemap Styles
------------------------------------------------------------ */

.sitemap {
    display: inline-block;
    min-width: 100%;
    padding: 40px 0;
}

.sitemap li a,
.sitemap li a.multi:after {
    position: relative;
    display: block;
    margin: 0;
    padding: 15px 8px;
    font-size: 15px;
    line-height: 1.5;
    font-weight: bold;
    line-height: 16px;
    white-space: normal;
    color: #fff !important;
    background-color: white;
    /*border: 1px solid #f5f5f5;*/
    /*border-top: 4px solid #95a5a6;*/
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    z-index: 1;
}

.sitemap li a {
    -webkit-box-shadow: 1px 1px 2px rgba(106,113,127,0.2);
    -moz-box-shadow: 1px 1px 2px rgba(106,113,127,0.2);
    box-shadow: 1px 1px 2px rgba(106,113,127,0.2); 
}

.sitemap li a.multi:after {
    content: " ";
    position: absolute;
    left: 6px;
    top: 6px;
    width: 100%;
    height: 100%;
    border-width: 2px;
    border-color: #eee;
    border-top-width: 0 !important;
    border-left-width: 0 !important;
    background-color: transparent;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    -moz-border-bottom-right-radius: 8px;
    -webkit-border-bottom-right-radius: 8px;
    z-index: -1;
}

.sitemap li a:before {
    /*content: attr(href);*/
    display: block;
    font-size: 10px;
    margin-bottom: 10px;
    font-weight: bold;
    word-wrap: break-word;
    color: #95a5a6;
}

.sitemap li a small {
    display: block;
    font-weight: normal;
    font-size: 12px;
    margin-top: 10px;
}

.sitemap .fa {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 16px;
    vertical-align: middle;
}

/* --- Root --- */
.sitemap ul ul ul{padding-left: 0}
.sitemap ul, .sitemap li {
    width: calc(100%);
    position: relative;
    display: inline-block;
}

.sitemap ul li:before,
.sitemap ul li:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    border-color: #ddd;
    border-width: 1px;
    z-index: 0;
}

.sitemap ul li a { background-color: var(--maincolordark); width: auto; }
.sitemap ul li a:before, .sitemap ul li .fa { color: var(--primary); }

/* --- Level 1 --- */
.sitemap ul ul {
    white-space: nowrap;
}

.sitemap ul ul li {
    position: relative;
    vertical-align: top;
    padding-top: 20px;
    margin-right: 20px;
    white-space: normal;
    width: 100%;
}

.sitemap ul ul li:last-child {
    padding-right: 0;
}

.sitemap ul ul li:before {
    border-top-style: solid;
    width: 30px;
    top: 50px;
    margin: 0 0 0 -30px;
}

.sitemap ul ul li:first-child:before {
    border-top-style: none;
    border-left-style: solid;
    width: 0;
    height: 30px;
    top: 0;
    left: 45px;
    margin: 0 0 0 -30px;
}

.sitemap ul ul li a { border-top-color: var(--secondary); width: auto; background-color: var(--maincolor)}
.sitemap ul ul li a:before, .sitemap ul ul li .fa { color: var(--secondary); }

/* --- Level 2 --- */
.sitemap ul ul ul {
    display: block;
    white-space: normal;
}

.sitemap ul ul ul li {
    display: block;
    position: relative;
    width: 100%;
    padding-left: 30px;
    margin-right: 0;
}

.sitemap ul ul ul li:before,
.sitemap ul ul ul li:first-child:before  {
    border-top-style: none;
    border-left-style: solid;
    height: 100%;
    top: 0;
    left: 45px;
}

.sitemap ul ul ul li:last-child:before  {
    height: 50px;
}

.sitemap ul ul ul li:after  {
    border-top-style: solid;
    top: 50px;
    left: 15px;
    width: 15px;
}

.sitemap ul ul ul li a { border-top-color: var(--secondary); width: auto;background-color: #b6e3e1; color: #36828a !important;}
.sitemap ul ul ul li a:before, .sitemap ul ul ul li .fa { color: var(--secondary); }

/* --- Level 3 --- */
.sitemap ul ul ul ul li a { border-top-color: #a0cf51;background-color: #d7edec;}
.sitemap ul ul ul ul li a:before, .sitemap ul ul ul ul li .fa { color: #e67e22; }

/* --- Level 4 --- */
.sitemap ul ul ul ul ul li a { border-top-color: #9b59b6; }
.sitemap ul ul ul ul ul li a:before, .sitemap ul ul ul ul ul li .fa { color: #9b59b6; }

/* --- Secondary --- */
.sitemap-2 {
    display: block;
    margin-top: 20px;
    padding-top: 20px;
    border-top: dotted 2px #eee;
}

.sitemap-2 ul {
    white-space: nowrap;
}

.sitemap-2 ul li {
    display: inline-block;
    white-space: normal;
    padding: 0 20px 0 0;
}

.sitemap-2 ul li:before,
.sitemap-2 ul li:after {
    display: none;
}

.sitemap-2 ul li:last-child {
    padding: 0;
}

/* --- Widths --- */
.sitemap > ul > li > a,
.sitemap > ul > li > ul > li,
.sitemap-2 li a {
    width:calc((100% - 100px) / 9.5);
}

/* ------------------------------------------------------------
化工 20221117 add
------------------------------------------------------------ */
 /* index */
.sticky-header-active .index2 #header .header-top{background-color: #fff;}
/* .main{transform: translateY(-2px);} */
.quick_link_area{
    z-index: 2;
}
.quick_link_area .owl-stage{background-color: #fff;padding-top: 50px;}
.quick_link_area.owl-carousel  .owl-stage-outer{
    margin: 0 !important;
    box-shadow: 0 0 40px rgb(0 0 0 / 10%);
    padding: 0px 0;
    margin-right: 0px;
    /* transform: translate(15px, 0); */
    z-index: 4;

}
.quick_link_box{
    position: relative;
    padding: 30px 20px;
}
.quick_link_box::before{
    content: '';
    position: absolute;
    border-right: 1px solid #eae7e7;
    top: 8%;
    right: 0;
    height: 84%;
    z-index: -6;
}
.quick_link_box h4{
    font-weight: 400;
    text-align: center;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-size: 16px;
}
.quick_link{
    text-align: center;
    width: 70px;
    width: 70px;
    padding: 10px;
    background-color: var(--maincolor);
    margin: 10px auto;
}
.btn_arrow{
    position: relative;
    display: block;
    width: 98%;
    height: 35px;
    font-size: 12px;
    color: #707070;
    margin: 0 auto;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 1px solid #d4d4d4;
    -webkit-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
}
.btn_arrow > span {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
}
.btn_arrow::before {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    opacity: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 3px 0 3px 7px;
    border-color: transparent transparent transparent #558aa4;
}
.btn_arrow::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 0;
    height: 1px;
    background-color:  #558aa4;
}
.btn_arrow:hover::before,.quick_link_box:hover  .btn_arrow::before{
    right: 15px;
    opacity: 1;
}
.btn_arrow:hover span ,.quick_link_box:hover  .btn_arrow span{
    left: 10px;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    color: #558aa4;
}
.btn_arrow:hover::after  ,.quick_link_box:hover  .btn_arrow::after{
    width: 100%;
}
.table .btn_arrow{
    border: 1px solid;
    border-radius: 3px;
}
.table a.btn_arrow:hover{
    color: #558aa4;
    background-color: #f0f7fb;
}
.title_with_arrow{
   position: absolute;
    padding: 10px 5px 10px 42px;
    background: var(--maincolordark);
    font-size: 24px;
    color: white;
    line-height: 1.3;
    z-index: 3;
    display: inline-block;
    min-width: 300px;
    letter-spacing: 2px;
    font-weight: 400;
}
.title_with_arrow::before {
    position: absolute;
    content: '';
    right: -31px;
    top: 0;
    border: none;
    border-left: solid 31px var(--maincolordark);
    border-bottom: solid 50px transparent;
    z-index: 2;
}
.quick_link_area.owl-carousel.show-nav-title .owl-nav{
    top: -13px;
    left: 300px;
    margin-top: -25px;
    width: auto;
}
.quick_link_area.owl-carousel.show-nav-title .owl-nav .owl-prev{
    color: #fff;
    z-index: 10;
    position: relative;
}
.quick_link_area.owl-carousel.show-nav-title .owl-nav .owl-next{
    left: -10px;
    color: #fff;
}
.quick_link_area.owl-carousel.show-nav-title .owl-nav .owl-next:before,.quick_link_area.owl-carousel.show-nav-title .owl-nav .owl-prev:before{
    font-family: simple-line-icons;
    speak: none;
    font-style: normal;
    font-weight: 700;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    content: "\e606";
    -webkit-font-smoothing: antialiased;
}
.quick_link_area.owl-carousel.show-nav-title .owl-nav .owl-prev:before{
    content: "\e605";
}
.trs_y65{
    transform: translateY(-65px);
    position: relative;
    z-index: 4;
}
.c-title {
    margin: 0 0 1em;
    font-weight: 600;
    font-size: 2.5rem;
    letter-spacing: 0em;
    color: var(--maincolor);
    position: relative;
    text-transform: uppercase;
}
.c-title::before {
    content: "";
    position: absolute;
    top: -57px;
    left: -45px;
    display: inline-block;
    width: 120px;
    height: 120px;
    background-image: url(../img/line.svg);
    background-size: cover;
}
.c-title.more_d{
    color:#48aba7;
}
.page-header .c-title{
    display: inline-block;
    color: var(--maincolordark) !important;
}
.page-header .text-light{
    color: var(--maincolordark) !important;
}
.page-header .c-title::before{
    top: -27px;
    /* filter: brightness(5); */
}
.c-title span {
    margin: 1em 0 0 0.1em;
    display: block;
    font-size: 1.15rem;
    letter-spacing: .1em;
    font-weight: 400;
}
.sidebar form{padding-right: 50px;}
.news_section{position: relative;}
.news_section::before{
    position: absolute;
    width: 100%;
    height: 95%;
    left: 0;
    top: -20%;
    content: "";
    background: #f6fcfc;
    z-index: 0;

}
.news_section::after{
    position: absolute;
    left: 0;
    top: 170px;
    width: 50%;
    z-index: 0;
    height: 100%;
    content: "";
    background: #ffffff;
}
.news_section .container{
    position: relative;
    z-index: 2;
}
html body .tabs.tabs-vertical.tabs-right .nav-tabs.news_link li .nav-link{
    border: none;
    color: #818080;
    font-weight: 400;
    letter-spacing: 2px;
    font-size: 16px;
}
html body .tabs.tabs-vertical.tabs-right .nav-tabs.news_link li.active .nav-link,
html body .tabs.tabs-vertical.tabs-right .nav-tabs.news_link li:hover .nav-link,
html body .tabs.tabs-vertical.tabs-right .nav-tabs.news_link li .nav-link.active,
html body .tabs.tabs-vertical.tabs-right .nav-tabs.news_link li .nav-link:hover{
    color: var(--maincolor);
}
.tabs-navigation .nav-tabs.news_link > li.active .nav-link:before,
.tabs-navigation .nav-tabs.news_link > li:hover .nav-link:before{
    border-color: transparent transparent transparent var(--maincolor);
}

.tabs-vertical .nav-tabs.news_link{
    padding: 0 40px;
}
.news_section .tab-pane {
    background-color: #fff;
    /* padding: 30px; */
}
.news_cover{
    padding-bottom: 70%;
    margin: 8px 0;
    position: relative;
    background-size: cover;
    background-position: center;
}
.recent-posts .news-title a{
    position: relative;
    display: block;
    color: #444;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.recent-posts:hover .news-title a{
    color: var(--maincolor);
}
.recent-posts .news-title a::before{
    content: '';
    position: absolute;
    left: 0;
    bottom: -50%;
    width: 100%;
    height: 50%;
    background-image: linear-gradient(to right, var(--maincolor) 0%, var(--maincolor) 100%);
    background-size: 0 1px;
    background-position: left top;
    background-repeat: no-repeat;
    -webkit-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s
}
.recent-posts .news-title.noline{margin-bottom: 0;}
.recent-posts .news-title.noline a::before{
    content: none;
}
.recent-posts:hover .news-title a::before{
    background-size: 100% 1px;
}
.main-btn{
    color: var(--maincolor);
    background-color: #e9f5f6;
    background-image: none;
    border-color: #e9f5f6;
    letter-spacing: 2px;
    width: 100%;
    padding: 14px !important;
}
.main-btn.v2{
    color: #fff;
    background-color: var(--maincolordark);
    background-image: none;
    border-color: var(--maincolordark);
    letter-spacing: 2px;
    border-right: 25px;
    padding: 14px 70px 14px 40px !important;
}
.main-btn:hover{
    background-color: var(--maincolor);
    color: #fff;
}
.main-btn.v2:hover{
     color: #2e55a5;
    background-color: #c7d7e9;
    background-image: none;
}
.main-btn span{position: relative;display: inline-block;}
.main-btn span::before,.main-btn.v2:hover span::before{
    content: "";
    position: absolute;
    top: -5px;
    width: 35px;
    height: 1px;
    background-color: var(--maincolor);
}
.main-btn span::after,.main-btn.v2:hover span::after{
    content: "";
    position: absolute;
    top: -5px;
    right: -35px;
    width: 11px;
    height: 1px;
    background-color: var(--maincolor);
    -webkit-transform-origin: bottom right;
    -ms-transform-origin: bottom right;
    transform-origin: bottom right;
    -webkit-transform: rotate(35deg);
    -ms-transform: rotate(35deg);
    transform: rotate(35deg);
}
.main-btn:hover span::before,.main-btn:hover span::after,
.main-btn.v2 span::before,.main-btn.v2 span::after{
    background-color: #fff;
}
.main-btn.prev span::before{   
    left: -45px;
}
.main-btn.prev span::after{   
    top: -6px;
    left: -55px;
    -webkit-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    transform: rotate(135deg);
}
/* 研究領域 */
.project_title{
    background-color: var(--maincolor);
    color: #fff;
    letter-spacing: 1px;
    text-align: center;
    padding: 10px 6px;
    margin: 0 2px;
}
.project_title a{color: #fff;}
/* .project_title+.lightbox{ margin: 0 2px;} */
.project_cover{
    background-position: center;
    background-size: cover;
    padding-bottom: 75%;  
}
/* about */
section.about_area{
    background-image: url(../img/about_bg.png);
}
.video-wrapper{
    transform: translateY(-28%);
    padding: 0px 40px;
}
/* footer */
.section.footer-area{
    position: relative;
    z-index: 5;
    background-image: none !important;
    background-color: var(--maincolordark) !important;
}
.footer-area a{color:#fff;}
.footer_angle{position: relative;padding-bottom: 50px !important;  margin-bottom: 50px;}
.footer_angle::before, .footer_angle::after {
    content: '';
    width: 120%;
    height: 150px;
    background: var(--maincolordark);
    position: absolute;
    bottom:-180px;
    z-index: 0;
}
.footer-area img{
    width: 450px;
    transform: translateX(-10px);
}
.about_area.footer_angle::after ,.about_area.footer_angle::before{
    height: 200px;
}
.footer_angle::before {
    left: 0;
    -webkit-transform: rotate(-4deg);
    -ms-transform: rotate(-4deg);
    transform: rotate(-4deg);
}
.footer_angle::after {
    right: 0;
    -webkit-transform: rotate(4deg);
    -ms-transform: rotate(4deg);
    transform: rotate(4deg);
}
.footer_angle .container{
    z-index: 3;
    position: relative;
}
.footer-area .list-icons li{
    padding: 10px;
    margin: 0 20px 0 0;
    border-bottom: 1px solid #fff3

}
.footer-area .list-icons li:hover a:before{
    border-color: transparent transparent transparent #fff;
}
/* news.php */
.nav-list{
    padding-right: 50px;
}
aside ul.nav-list > li > a.active,aside ul.nav-list > li:hover > a{
    color: var(--maincolor);
}
aside ul.nav-list > li > a.active::before,aside ul.nav-list > li:hover > a::before{
   border-color: transparent transparent transparent var(--maincolor);
}
.input-group .form-control{border-radius: 25px 0 0 25px !important}
.input-group .input-group-append .btn-primary{border-radius: 0 25px 25px 0 !important }

/* teacher */
.white_tri{ position: relative;}
.white_tri::before{
    content: '';
    background-image: url(../img/white_tri.png);
    width: calc(100% - 0px);
    height: 90px;
    position: absolute;
    top: -50px;
    background-size: cover;
}
.teacher_cat{
    margin-top: -35px;
    margin-bottom: 10px;
    padding-right: 15px;
}
.committee_t th:not(:first-child){
    text-align: center
}
.committee_t .btn_arrow{
    /* border-bottom: none; */

}
.committee_t .btn_arrow:hover{
 background-color: #edf2fc;
}
/* dual.php */
.dual_title{
    background-color: #eee;
}
.dual_title a{
    background-color: var(--maincolor);
    color: #fff;
    padding: 10px;
    width: calc(100% - 200px);
    display: inline-flex;
    position: relative;
}
/* .dual_title a:hover{
    color: var(--maincolor);
} */
.dual_title a:before{
    position: absolute;
    content: '';
    right: -30px;
    top: 0;
    border: none;
    border-left: solid 31px var(--maincolor);
    border-bottom: solid 50px transparent;
    z-index: 2;
}
a:not([href]):not([tabindex]){color: #667b90;}
.tab-pane-navigation> h4,.table_title{
    background-color: #558aa4;
    margin-bottom: 0;
    padding: 10px;
    color: #fff;
}
.tab-pane-navigation>.recent-posts{margin: 0;}
.high_cat .col{
    flex: 0 0 calc(100% / 7);
    max-width: calc(100% / 7);
}
.header-logo img{
    max-width:100%;height: auto;
}
.table.money th:last-child,.table.money td:last-child{text-align: left}
[id^=se]{
  padding-top: 80px !important;
  margin-top: -80px !important;  
}
.post-content table>tbody>tr td{ border:solid #bfbfbf 1.0pt;}
.post-content table>tbody>tr td:first-child{
    background: #d1dfe5;
    color: black;
}
.post-content table>tbody>tr:first-child td {
    background-color: #7cadc2;
    color: #fff;
}





/* time line */
.hexa{
  border: 0px;
  float: left;
  text-align: center;
  height: 35px;
  width: 60px;
  font-size: 22px;
  background: #f0f0f0;
  color: #3c3c3c;
  position: relative;
  margin-top: 15px;
}

.hexa:before{
  content: ""; 
  position: absolute; 
  left: 0; 
  width: 0; 
  height: 0;
  border-bottom: 15px solid #f0f0f0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  top: -15px;
}

.hexa:after{
  content: ""; 
  position: absolute; 
  left: 0; 
  width: 0; 
  height: 0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-top: 15px solid #f0f0f0;
  bottom: -15px;
}

.timeline {
  position: relative;
  padding: 0;
  width: 100%;
  margin-top: 20px;
  list-style-type: none;
}

.timeline:before {
  position: absolute;
  left: 0%;
  top: 0;
  content: ' ';
  display: block;
  width: 2px;
  height: 100%;
  margin-left: -1px;
  background: rgb(213,213,213);
  background: -moz-linear-gradient(top, rgba(213,213,213,0) 0%, rgb(213,213,213) 8%, rgb(213,213,213) 92%, rgba(213,213,213,0) 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(213,213,213,0)), color-stop(100%,rgb(213,213,213)));
  background: -webkit-linear-gradient(top, rgba(213,213,213,0) 0%, rgb(213,213,213) 8%, rgb(213,213,213) 92%, rgba(213,213,213,0) 100%);
  background: -o-linear-gradient(top, rgba(213,213,213,0) 0%, rgb(213,213,213) 8%, rgb(213,213,213) 92%, rgba(213,213,213,0) 100%);
  background: -ms-linear-gradient(top, rgba(213,213,213,0) 0%, rgb(213,213,213) 8%, rgb(213,213,213) 92%, rgba(213,213,213,0) 100%);
  background: linear-gradient(to bottom, rgba(213,213,213,0) 0%, rgb(213,213,213) 8%, rgb(213,213,213) 92%, rgba(213,213,213,0) 100%);
  z-index: 5;
}

.timeline li {
  padding: 1.5em 0;
}

.timeline .hexa{
  width: 16px;
  height: 10px;
  position: absolute;
  background: var(--mainlight);
  z-index: 5;
  left: 0;
  right: 0;
  margin-left:auto;
  margin-right:auto;
  top: -30px;
  margin-top: 0;
}

.timeline .hexa:before {
  border-bottom: 4px solid var(--mainlight);
  border-left-width: 8px;
  border-right-width: 8px;
  top: -4px;
}

.timeline .hexa:after {
  border-left-width: 8px;
  border-right-width: 8px;
  border-top: 4px solid var(--mainlight);
  bottom: -4px;
}

.direction-l,
.direction-r {
  float: none;
  width: 100%;
  text-align: center;
}

.flag-wrapper {
  text-align: left;
  position: relative;
  padding-left: 25px;
}

.flag {
  position: relative;
  display: inline;
  background: rgb(255,255,255);
  font-weight: 600;
  z-index: 15;
  padding: 6px 10px;
  text-align: left;
  border-radius: 5px;
}

.direction-l .flag:after,
.direction-r .flag:after {
  content: "";
  position: absolute;
  left: 50%;
  top: -15px;
  height: 0;
  width: 0;
  margin-left: -8px;
  border: solid transparent;
  border-bottom-color: rgb(255,255,255);
  border-width: 8px;
  pointer-events: none;
}

.direction-l .flag {
  -webkit-box-shadow: -1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
  -moz-box-shadow: -1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
  box-shadow: -1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
}

.direction-r .flag {
  -webkit-box-shadow: 1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
  -moz-box-shadow: 1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
  box-shadow: 1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
}

.time-wrapper {
  display: block;
  position: relative;
  margin: 4px 0 0 0;
  z-index: 14;
  line-height: 1em;
  vertical-align: middle;
  color: #fff;
}

.direction-l .time-wrapper {
  float: none;
}

.direction-r .time-wrapper {
  float: none;
}

.time {
  background: var(--mainlight);
  display: inline-block;
  padding: 8px;
}

.desc {
  position: relative;
  margin: 1em 0 0 0;
  padding: 1em;
  background: rgb(254,254,254);
  z-index: 15;
}

.direction-l .desc,
.direction-r .desc {
  position: relative;
  margin: 1em 1em 0 1em;
  padding: 1em;
  z-index: 15;
  line-height: 1.7;
}
.t-item {
    
}
.t-item::after {
    content: "";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
.t-item .leftbox {
    float: left;
    width: 190px;
    /* height: 254px; */
    overflow: hidden;
}
.page-t-item.t-item .leftbox {
    width: 250px;
}
.t-item .leftbox img {
    /* width: 190px; */
    object-fit: cover;
}
.t-item .rightbox {
    overflow: hidden;
    padding-left: 20px;
}
.rankheight {
    height: 68px;
}
@media(min-width: 768px){
  .timeline {
    margin-top: 20px;
  }

  .timeline li:after {
    content: "";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
  }
  
  .timeline .hexa {
    left: -7px;
    right: auto;
    top: 8px;
  }

  .timeline .direction-l .hexa {
    left: auto;
    right: -28px;
  }

  .direction-l {
    position: relative;
    /* width: 310px; */
    float: left;
    text-align: right;
  }

  .direction-r {
    position: relative;
    /* width: 310px; */
    float: left;
    text-align: left;
  }

  .flag-wrapper {
    display: block;
  }
  
  .flag {
    font-size: 18px;
  }

  .direction-l .flag:after {
    left: auto;
    right: -16px;
    top: 50%;
    margin-top: -8px;
    border: solid transparent;
    border-left-color: rgb(254,254,254);
    border-width: 8px;
  }

  .direction-r .flag:after {
    top: 50%;
    margin-top: -8px;
    border: solid transparent;
    border-right-color: rgb(254,254,254);
    border-width: 8px;
    left: -8px;
  }

  .time-wrapper {
    display: inline;
    vertical-align: middle;
    margin: 0;
  }

  .direction-l .time-wrapper {
    float: left;
  }

  .direction-r .time-wrapper {
    /* float: left; */
    border-bottom: 1px solid var(--mainlight);
    display: block;
  }

  .time {
    padding: 5px 10px;
    font-size: 18px;
  }

  .direction-r .desc {
    margin: 1em 0 0 1.2em;
  }
}

@media(min-width: 992px){
  .timeline {
    width: 800px;
    margin-top: 20px;
  }

  .direction-l {
    position: relative;
    /* width: 380px; */
    float: left;
    text-align: right;
  }

  .direction-r {
    position: relative;
    /* width: 380px; */
    float: left;
    text-align: left;
  }
}
@media(min-width: 1279px){
    .header-logo,.header-logo img{
      width: 250px;
      height: auto !important;
    }
}
@media(min-width: 1439px){
    .header-logo,.header-logo img{
      width: 500px;
      height: auto !important;
    }
}
::-webkit-scrollbar {
    -webkit-appearance: none;
}

::-webkit-scrollbar:vertical {
    width: 5px;
}

::-webkit-scrollbar:horizontal {
    height: 5px;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, .5);
    border-radius: 10px;
    border: 2px solid transparent;
}

::-webkit-scrollbar-track {
    background-color: transparent; 
}
.header-container.container-lg, .header-top-borders .container-lg {
    width: 100vw;
    max-width: 100vw;
}

/*
| ----------------------------------------------------
| responsive
| ----------------------------------------------------
*/
@media (min-width: 1500px){
    .container {
        max-width: 75vw;
    }
    #header .header-nav.header-nav-links nav > ul > li > a{padding: 0 .5rem}
    #header .header-nav-main nav > ul > li > a{font-size: 15.5px;}
    #header.header-effect-shrink .header-container{height:90px !important;}
    
}
@media (max-width: 1499px){
    .container {
        /* max-width: 80vw; */
    }
    #header .header-nav.header-nav-links nav > ul > li > a{padding: 0 .6rem}
    #header .header-nav-main nav > ul > li > a{font-size: 17px;font-weight: 400;}
    /* .page-header .c-title::before{ left: 38%;} */
}
@media (max-width: 1367px){
    .container {
        max-width: 90vw;
    }
    .header-logo,.header-logo img{width: 330px !important; height:46px !important; }
    td .btn_arrow {width: 100%;}
}
@media (max-width: 1281px){
    .header-container {
        max-width: 92vw;
    }
}
@media screen and (min-width:1026px) and (max-width:1100px){
    #header .header-nav-main nav > ul > li{height: 45px;}
    html #header .header-nav-links .header-nav-main nav > ul > li.dropdown-full-color.dropdown-light a{height: auto;}
    #header .header-body:not(.h-100){height: 150px !important}
    .sticky-header-active #header .header-body:not(.h-100){height: 110px !important}
}
@media (max-width: 1100px) {
     .container {
        max-width: 93vw;
    }
    .header-logo, .header-logo img {
        width: 240px !important;
        height: 33px !important;
    }
    #header .header-nav.header-nav-links nav > ul > li > a{padding: 0 0.4rem;}
    .c-title {
        font-size: 2rem;
        transform: translateX(40px);
    }
    .c-title::before {
        left: -35px;
    }
    .tabs-vertical .nav-tabs.news_link{padding: 0 20px}

}

@media (max-width: 1025px) {
    .c-title{transform: translateX(0px);}
    .container { max-width: 95vw;}
    /* .header-logo,.header-logo img{width: 200px!important;height: 35px !important} */
    #header .header-nav.header-nav-links nav > ul > li > a{padding:10px .5rem}
    #header .header-nav-main nav > ul > li > a{font-size: 14px;}
    td .btn_arrow > span{width: 70%;}
    td .btn_arrow:hover::before{right: 6px}
    #newstype{min-height: 45px;}
}

@media (max-width: 992px) {
    
}
@media (max-width: 821px) {
    .sitemap ul ul li{margin-right: 15px;}
    .sitemap ul ul ul li{padding-left: 20px;}
    .sitemap li a, .sitemap li a.multi:after{padding: 10px;}
    .sitemap ul, .sitemap li{display: block}
    .sitemap ul ul li:before{width: 0}
    .sitemap > ul > li > a, .sitemap > ul > li > ul > li, .sitemap-2 li a{width: 100%}
    /* .slider-container .slider,.slider-container {height: 35vh !important;} */
    .teacher-list .isotope-item .col-md-8{min-height: 100px;}    
    .header-logo,.header-logo img{width: 345px!important;height: 50px !important}
    #header .header-nav-main nav{max-height: 70vh;}
    #header .header-nav.header-nav-links nav > ul > li > a{padding: 15px 8px}
    .page-header.page-header-modern.page-header-md{background-position-x: 20%;}
    .list.list-icons li,.list.list-icons.list-icons-sm li{padding-left: 0}
    .news_section::after{content: none}

}


 /*iphone plus*/
@media (max-width: 415px) {
    #header.header-effect-shrink .header-logo,#header .header-logo img{
        width: 280px !important;
        height: 42px !important;
    }
    #header .header-top.header-top-borders .nav-item-borders{padding-right: 6px;}
     /*凍結第一列*/
    .fixth{    
        max-height: 600px;
        overflow: auto;
    }
    .fixth table th {
        position: sticky;
        background-color: #fff;
        top: -1px;
    }
    /*凍結左側*/
    .scrolling table {
        table-layout: inherit;
        *margin-left: -182px;/*ie7*/
    }
    .scrolling tr:first-child{  background-color: #eaeef7;  }
    .scrolling td, th {
        vertical-align: top;
        padding: 10px;
        min-width: 100px;
    }
    .scrolling th:first-child,.scrolling td:first-child {
        position: absolute;
        *position: relative; /*ie7*/
        left: 0;
        width: 100px;
    }
    .scrolling th:nth-child(2),.scrolling td:nth-child(2){
        position: absolute;
        *position: relative; /*ie7*/
        left: 100px;
        min-width: 82px;
        width: 82px;
        /**/
    }   
    .scrolling table.gradient th:first-child,.scrolling table.gradient td:first-child,
    .scrolling table.gradient th:nth-child(2),.scrolling table.gradient td:nth-child(2){
        min-height: 69px;
    }
    .scrolling .red th:first-child,.scrolling .red td:first-child,
    .scrolling .red th:nth-child(2),.scrolling .red td:nth-child(2){
        background-color: #fffaf2;
    }
    .outer {
        position: relative
    }
    .inner {
        overflow-x: auto;
        overflow-y: visible;
        margin-left: 182px;
        border-left: 2px solid #ddd;
    }
    .col-md-6.border-left{border-left:none !important;border-top:1px solid #DADADA !important;padding-top: 20px;}
    .history_list{height: 400px;}
    .table {min-width:600px; }
    .table td, .table th{border:1px solid #e8e9ea;padding: 0.6rem 8px;}
    table.paper tr>td>table tr td:last-child{width: 75%}
    .tabs-vertical .nav-tabs > li{display: inline-block; width: 49%;}
    .honor .post img{width: 100%;}
    .isotope-item{text-align: left}
    .header-top >.container.h-100{padding:0;}
    .header-nav-top{ width: 100% }
    .header-nav-top >.nav-pills{justify-content: space-between;width: 100%;}
    .teacher-list .isotope-item>.row{min-height: 128px}
    .page-header{margin:0 0 15px 0;}
    select.form-control{height: calc(1.5em + .75rem + 10px)}
    /* 化工 */
    .news_section::after{content: none}
    .video-wrapper{
        /* transform: translateY(-28%); */
        transform: translateY(0);
        padding: 0px;
        margin-bottom: 20px;
    }
    .dual_title a{width: 100%;}
    .tabs-vertical .nav-tabs.news_link{padding: 0 5px;}
    .page-header.page-header-modern.page-header-md{background-position-x: 30%;padding: 20px 0;}
    .blog-posts.single-post table{min-width: 700px}
    .news_section .tab-pane{padding: 15px;}
    .coverimg.pd150.mb-3{padding-bottom: 60%; width: 50%;}
    .timeline .hexa{right: auto;left: -8px;top: 0;}
    .direction-r .desc{margin-top: 0px}
    .breadcrumb-out{padding-left: 0px}
    .show_table{display: table}
    .list-icons li span.showtd{display: table-cell;min-width: 60px;}
    .nav-list,.sidebar form{padding-right: 0}
    .news_section::before{top:-10%;}
    .page-t-item.t-item .leftbox {
        width: 100%;
    }
    .page-t-item.t-item .rightbox {
        width: 100%;
        padding-left: 0;
    }
    .tab-pane-navigation .news-item .news-title {
        max-width: 100%;
        margin-right: 0;
    }
    .t-item .leftbox {
        width: 130px;
    }
    .rankheight {
        height: auto;
    }
}


/*iphone: 7px*/
@media (max-width: 376px) {}



/*iphone 5*/
@media (max-width: 321px) {
    #header.header-effect-shrink .header-logo,#header .header-logo img{
        width: 245px !important;
        height: 35px !important;
    }
    #header .header-nav-top .nav > li > a, #header .header-nav-top .nav > li > span{padding: 6px 7px} 
}


/*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) {}