@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400&family=Noto+Serif+TC:wght@300;500&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' */
}
:root{
    --font:'Noto Sans TC', 'Noto Serif TC', "Poppins",-apple-system, "Helvetica Neue", Helvetica, "Nimbus Sans L", Arial,"Microsoft JhengHei" , "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:#086ea8;
    --maindark:#014271;
    --mainlight:#83c0d7;
    --lighter: #e0e8ed;
}

.Caesar li a.nav-link {
  color: black;
  background-color: white;
  font-size: 16px;
}
.Caesar li .nav-link.active,
.Caesar li.active .nav-link.active {
  color: var(--main);
  background-color: white;
  font-size: 16px;
}
.David button {
  padding: 1.2em 0.6em;
  font-size: 20px;
}

p,a{-webkit-font-smoothing: antialiased;}
a:hover,a:hover> h3{text-decoration: none;color: var(--mainlight);transition: all 0.4s ease;}
.pos-r{position: relative;}
.bg-main{background-color: #086ea8;background-color: var(--main)}
.bg-maindark{background-color: #014271;background-color: var(--maindark)}
.bg-mainlight{background-color: #83c0d7;background-color: var(--mainlight)}
.bg-lighter{background-color: #e0e8ed;background-color: var(--lighter)}
.text-main{color: #086ea8;color: var(--main)}
.text-maindark{color: #014271;color: var(--maindark)}
.text-mainlight{color: #5facca;}
.text-lighter{color: #e0e8ed;color: var(--lighter);}
.font-weight-400{font-weight: 400}
.span-date{letter-spacing: 2px;}
.dog_bg:before{
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  background-image: url(../img/dot.png);
  pointer-events: none;
}
.thumb-info-caption p.title-2{font-size: 14px;}
.news_area .col-md-4{border-right:1px solid #eee;margin-bottom: 48px;}
.news_area .col-md-4:nth-child(3n){border-right: none;}
.news_area .thumb-info-side-image-custom{margin-bottom: 0;}
.news_area .font-weight-semibold{min-height: 54px}
.school_logo .col-lg-s5{
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 20%;
    margin-bottom: 25px;
}
.school_logo .cover:before{
    content: '';
    position: absolute;
    width: 92%;
    height: 106%;
    border: 2px solid #fff;
    left: 4%;
    top: -3%;
}
.inpage.school_logo .cover,.with-shadow{
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.inpage.school_logo .cover:hover,.with-shadow:hover{
  -webkit-box-shadow: 10px 10px 74px -15px rgba(0, 0, 0, 0.33) !important;
  box-shadow: 10px 10px 74px -15px rgba(0, 0, 0, 0.33) !important;
}
.school_logo.inpage .col-6{border-right:1px solid #eee;}
.school_logo.inpage .col-6:nth-child(5n){border-right:none;}
.school_logo.inpage .col-6{margin-bottom: 30px}
.titleBox:before {
    content: '';
    width: 3px;
    height: 100%;
    background-color: #83c0d7;
    background-color: var(--mainlight);
    display: inline-block;
    position: absolute;
    bottom: 0;
    left: 0px;
}
.text-dark.titleBox:before{background-color: #014271;background-color: var(--maindark);}
.border-bottom-light.border-top-light{border-bottom-width:2px !important;border-top-width:2px !important;}
.titleBox.text-main:before{ background-color:#086ea8;background-color: var(--main);}
.teaching_title,.album{transform: translateX(-28px);z-index: 3;}
.text-decoration-none:hover h3{color: #83c0d7;color: var(--mainlight);}
.text-decoration-none .thumb-info-side-image-custom:hover {
    -webkit-box-shadow: 10px 10px 50px -15px rgb(0 0 0 / 33%) !important;
    box-shadow: 10px 10px 50px -15px rgb(0 0 0 / 33%) !important;
}
html body .teaching .tabs.tabs-vertical.tabs-right{transform: translate(-30px, -33px)}
html body .teaching .tabs.tabs-vertical.tabs-right .nav-tabs li.nav-item,
html body .teaching .tabs.tabs-vertical.tabs-right .nav-tabs li.nav-item a{border: none !important;margin-bottom: 0;}
html body .teaching .tabs.tabs-vertical.tabs-right .nav-tabs li.nav-item{border-bottom: 1px solid #a2cedf!important}
html body .teaching .tabs.tabs-vertical.tabs-right .nav-tabs li.nav-item a{
    background-color: #83c0d7 !important;
    background: var(--mainlight)!important;
    padding: 24px 45px!important;
    color: #fff;
    font-size: 18px;
    display: flex;
    align-items: center;
}
html body .teaching .tabs.tabs-vertical.tabs-right .nav-tabs li.nav-item.active a,
html body .teaching .tabs.tabs-vertical.tabs-right .nav-tabs li.nav-item:hover a{
    background-color:#086ea8;
    background-color: var(--main) !important;
    color: #fefefe;
}
.custom-step-item .step {
  position: relative;
  text-align: center;
  clear: both;
  position: absolute;
  top: 0;
  left: 0;
  font-weight: 400;
}
.custom-step-item .step:before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  right: -20px;
  height: 63px;
  border-left: 1px solid #e4e4e4;
}
.custom-step-item .step .step-number {
  display: block;
  font-size: 3em;
  font-weight: 700;
  letter-spacing: -4px;
  line-height: 1;
}
.custom-step-item .step-content {
  margin-left: 80px;
}
.readmore_btn{
    position: relative;
    display: block;
    width: 100px;
    height: 33px;
    line-height: 33px;
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: .04em;
    border-bottom: 1px solid #ececec;    
    transition: all .5s;
}
.readmore_btn:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 0;
    height: 1px;
    background-color: #83c0d7;
    background-color: var(--mainlight);
    transition: all .5s;
}
.readmore_btn:before {
    content: "";
    position: absolute;
    right: 2px;
    bottom: 0px;
    width: 0px;
    height: 0px;
    border-color: transparent transparent #ececec #ececec;
    border-style: solid;
    border-width: 2px 4px;
    transition: all .5s;
}
.readmore_btn:hover,.tab-pane .col-lg-4:hover .readmore_btn {
    color: #83c0d7;
    color: var(--mainlight);
    text-decoration: none;
    padding-left: 15px;
}
/* .tab-pane .col-lg-4:hover h3{color:  var(--mainlight)} */
.readmore_btn:hover:before,.tab-pane .col-lg-4:hover .readmore_btn:before{
    border-color: transparent transparent #83c0d7 #83c0d7;
    border-color: transparent transparent var(--mainlight) var(--mainlight);

}
.readmore_btn:hover:after ,.tab-pane .col-lg-4:hover .readmore_btn:after{
    width: 100%;
}
.more_btn{
    position: relative;
    padding:8px 40px 8px 12px;
    margin:0 0 10px 10px;
    font-size: 16px;
    letter-spacing: 2px;
    text-align: right;
    cursor: pointer
}
.more_btn:before{
    content: "";
    position: absolute;
    right: 30px;
    top: 55%;
    border-top: 1px solid #222;
    border-right: 1px solid #222;
    width: 8px;
    height: 8px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transform-origin: top right;
    -ms-transform-origin: top right;
    transform-origin: top right;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: all .4s ease;
    -o-transition: all .4s ease;
    transition: all .4s ease;
    -webkit-animation: more_arrow 1.5s forwards cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
    animation: more_arrow 1.5s forwards cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;  
}
.more_btn:hover,.text-decoration-none:hover .more_btn{
    color: #83c0d7;
    color: var(--mainlight);
}
.more_btn:hover:before,.text-decoration-none:hover .more_btn:before{
    border-top: 1px solid #83c0d7;
    border-right: 1px solid #83c0d7;
    border-top: 1px solid  var(--mainlight);
    border-right: 1px solid  var(--mainlight);
}
.tolist_btn{position: relative;}
.tolist_btn:before{
    content: '';
    display: inline-block;
    width: calc(100% - 160px);
    height: 1px;
    background-color:#086ea8;
    background-color: var(--main);
    margin-right: 14px;
    margin-bottom: 5px;
}
.thumb-info.custom-thumb-info-style-1 .thumb-info-caption{
    position: relative;
    padding: 25px;
    display: block;
    transition: ease background 300ms, ease width 300ms;
}
.thumb-info.custom-thumb-info-style-1 .thumb-info-caption .custom-arrow {
  position: absolute;
  top: 50%;
  right: 25px;
  width: 40px;
  transform: translateY(-50%);
  transition: ease all 300ms;
}
.thumb-info.custom-thumb-info-style-1 .thumb-info-caption .custom-arrow:before {
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  right: -2px;
  width: 70%;
  border-top: 1px solid #1e1e24;
  transform: translateY(-50%);
}
.thumb-info.custom-thumb-info-style-1:hover .thumb-info-caption .custom-arrow {
    width: 55px;
}
.thumb-info.custom-thumb-info-style-1 .thumb-info-caption .custom-arrow:after {
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  right: 0;
  width: 15px;
  height: 15px;
  border-top: 1px solid #1e1e24;
  border-right: 1px solid #1e1e24;
  transform: translateY(-50%) rotate(45deg);
}
.thumb-info.custom-thumb-info-style-1:hover .thumb-info-caption {
  background-color:#086ea8 !important;
  background-color: var(--main) !important;
}
.thumb-info.custom-thumb-info-style-1:hover .thumb-info-caption .custom-thumb-info-title span {
    color: #FFF !important;
}
.thumb-info.custom-thumb-info-style-1:hover .thumb-info-caption .custom-arrow:after {
    border-top: 1px solid #FFF;
    border-right: 1px solid #FFF;
}
.thumb-info.custom-thumb-info-style-1:hover .thumb-info-caption .custom-arrow:before{
    border-top: 1px solid #FFF;
}
.custom-thumb-info-name{min-height: 62px;}
.item_i{
    display: inline-block;
    width: 40px;
    height: 40px;
    margin-right: 10px;
    background-size: cover;
    background-position: center;
}
.titlewithline:before{
    content: '';
    position: absolute;
    border-top: 1px solid #53585e;
    width: calc(100% - 150px);
    left: 130px;
    top: 28px;
}
.titlewithline.lettle:before{
    width: calc(100% - 130px);
    left: 100px;
}
#footer p{margin-bottom: 5px;font-size: 14px}
.breadcrumb li{
    padding: 5px 12px 5px 12px;
    border-right: 1px solid #e5e4e4;
    line-height: 1;
    letter-spacing: 2px;
}
.breadcrumb li:last-child{
  border-right: none;
}
.post_date p{
  padding: 25px 2px;
  margin-bottom: 0px;
  border-bottom: 1px solid #eee;
  font-size: 16px;
  letter-spacing: 1.5px;
  color: #999;
}
.post_date p.tagname{color:#086ea8;color: var(--main);border-top:2px solid #086ea8;border-top: 2px solid var(--main);
  font-size: 20px;letter-spacing: 2px}
.post_date_back{padding: 25px 2px;}
/* .icon_close{
  position: relative;
  width: 38px;
  height: 38px;
  background-color: #0cb59b;
  margin-right: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
} */
.icon_close{
    background-color: #999;
    width: 38px;
    height: 38px;
    line-height: 38px;
    text-align: center;
    margin-right: 12px;
    color: #fff;
    font-size: 24px;
}
.this_tabs{
  font-size: 18px;
  padding: 5px 12px;
  color: #444;
}
.this_tabs.active,.this_tabs:hover{color: #83c0d7;color: var(--mainlight)}
.border-title,.content_data h4{
  font-weight: bold;
  margin-bottom: 15px;
  color: #83c0d7;
  color: var(--mainlight);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  letter-spacing: 2px;
}
.border-title::after,.content_data h4::after{
    content: '';
    display: inline-block;
    width: 87px;
    height: 1px;
    background-color: #83c0d7;
    background-color: var(--mainlight);
    margin-left: 14px;
}
.content_data h4{
  color: #212529;
}
.content_data h4::after,.text-dark h4::after,.text-dark h3::after,.text-dark h2::after{
  background-color: #212529;
}
.box_title{
    position: relative;
    text-align: center;
    font-weight: 400;
    letter-spacing: 2.5px;
    color:#086ea8;
    color: var(--main);
    border-bottom: 3px solid #086ea8;
    border-bottom: 3px solid var(--main);
    padding-bottom: 20px;
    margin-bottom: 25px;
}
.box_title:before{
  content: '';
  position: absolute;
  border-bottom:1px solid #086ea8;
  border-bottom: 1px solid var(--main);
  opacity: .7;
  display: block;
  width: 97%;
  left: 1.5%;
  bottom: -13px;
}
.content_data img{max-width: 100%;margin-bottom: 40px;}
.content_data p,.post_content p{font-size: 16px;line-height: 1.8}
.post_content img{display: block; max-width: 100%;height: auto;}
.post_content iframe{max-width: 100%;margin-bottom: 20px;}

.list-borders a{
  position: relative;
  display: flex;
  align-items: center;
  font-size: 1.2em;
  color: #444;
  letter-spacing: 1px;
}
.list-borders a i{
    font-size: 2rem;
    margin-right: 8px;
    z-index: 2;
}
.list-borders a:before{
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  top: -3px;
  border-radius: 25px;
  background-color: #83c0d7;
  background-color: var(--mainlight)
}
.list-borders a:hover,.rule_btn:hover .card h4{
  color:#086ea8;
  color: var(--main);
}
.rule_btn .card{
  letter-spacing: 2px;
  border: 1px solid #c2c8cb;
  border-radius: 6px !important;
  transition: all 0.4s ease;
}
.rule_btn .card h4{font-weight: 400;letter-spacing: 1px;
  font-size: 1.2em;color: #444;margin-left: 24px;}
.rule_btn .card:hover{border:1px solid #83c0d7;border: 1px solid var(--mainlight);
    box-shadow: 0 0 0px 4px #61b4d557;}
.rule_btn .card i{z-index: 2;color: #fff;font-size: 1.4rem;margin-left: -3px;}
.rule_btn .card:after{
  content: '';
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 50px;
  top: 20%;
  left: 30px;  
  background-color: #83c0d7;
  background-color: var(--mainlight);
  z-index: 0;  
}
.history_month{margin-top: 45px;margin-bottom: 15px;color:#086ea8;color: var(--main);    font-size: 1.5rem;}
.history_month span{
    letter-spacing: 1px;
    font-style: normal;
    font-size: 20px;
    color: #83c0d7;
    color: var(--mainlight);
    border-right: 1px solid #ccc;
    margin-right: 20px;
    padding-right: 18px;

}
.start{
  text-align:center;
  font-size: 2rem;
  color: #444;
  margin-bottom: 40px;
}
.min-device-height{
  min-height: calc(100vh - 410px - 6rem)
}
.wrok.list.list-borders li{border-bottom:1px solid #dfdfdf;}
.side_menu{border-top: 1px solid #ddd;padding-left: 0;margin-right: 20px;}
.side_menu li,.tabs-navigation-simple.tabs-navigation .nav-tabs > li{ list-style: none; border-bottom: 1px solid transparent;}
.side_menu li,.tabs-navigation-simple.tabs-navigation .nav-tabs > li:last-child{border-bottom: 1px solid #dfdfdf;}
.side_menu li a,.tabs-navigation-simple.tabs-navigation .nav-tabs > li a.nav-link{
  letter-spacing: 2px;
  display: block;
  font-size: 18px;
  padding: 25px 2px;
  color: #666;
  position: relative;
}
.side_menu li a:before,.tabs-navigation-simple.tabs-navigation .nav-tabs > li a.nav-link:before{
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  right: 12px;
  width: 10px;
  height: 10px;
  border-top: 1px solid #666;
  border-right: 1px solid #666;
  transform: translateY(-50%) rotate(45deg);
}
.tabs-navigation-simple.tabs-navigation .nav-tabs > li a.nav-link.index:before{
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
}
.side_menu li.active,.tabs-navigation-simple.tabs-navigation .nav-tabs > li.active a.nav-link{
  border-top: 2px solid #086ea8 !important;
  border-bottom:2px solid #086ea8 !important;
  border-top: 2px solid var(--main) !important;
  border-bottom: 2px solid var(--main) !important;
  border-right: none;
}
.side_menu li.active a:before,.tabs-navigation-simple.tabs-navigation .nav-tabs > li.active a.nav-link:before{
  border-top: 1px solid #086ea8;
  border-right:1px solid #086ea8;
  border-top: 1px solid var(--main);
  border-right: 1px solid var(--main);
}
html body .tabs.tabs-vertical.tabs-navigation-simple.tabs-right .nav-tabs li .nav-link:hover,html body .tabs.tabs-vertical.tabs-navigation-simple.tabs-right .nav-tabs li .nav-link{border-right: none;}
.side_menu li.active a,.tabs-navigation-simple.tabs-navigation .nav-tabs > li.active a{
  color: var(--main)
}
.border-radious-right{border-radius: 25px 0 0 25px !important;}
.tab-pane p{font-size: 16px}
.list.list-icons.list-borders li{padding-left: 5px}
.table.work{min-width: 650px;}
.table.work th{
  background: #e0e8ed;
  background: var(--lighter);
  border-top: 1px solid #086ea8;
  border-bottom:1px solid #086ea8;
  border-top: 1px solid var(--main);
  border-bottom: 1px solid var(--main);
  font-size: 16px;
  color: #086ea8;
  color: var(--main);
}
.table.work td{ vertical-align: middle;font-size: 15px;font-weight: 400}
.table.work td a{color: #212529}
.table.work td li,.table.work td li a{font-weight: 400}
.custom-padding-2 {
    padding: 40px 48px !important;
    padding: 2.5rem 3rem !important;
}
select.team-select{
  appearance:none;
  background-color: #014271;
  background-color: var(--maindark);
  color: #fff;
  padding: 8px 30px 8px 12px;
  height: 45px;
}
select.team-select:focus{background-color: #014271;background-color: var(--maindark); color: #fff;}
select~label{
  display: block;
  position: absolute;
  bottom: 13px;
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
  right: 26px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  width: 8px;
  height: 8px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  z-index: 3;
}
.map_item{
  padding: 10px 12px;
  display: block;
  font-size: 18px;
  border-radius: 2px;
  color: #fff !important;
}
.map_item.bg-mainlight{margin-top: 25px}
.list-unstyled li .map_item{color: #444!important}
.list-unstyled li:hover,.map_item:hover{filter: brightness(1.04);-webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;}
.resource .thumb-info-caption{min-height: 136px;}
.logos-box ul{line-height: 5px;padding-left: 15px;}
.logos-box li {margin: 0 5px;}
.logos-box li.name{
    line-height: 55px;
    vertical-align: bottom;
    color: #014271;
    color: var(--maindark);
    font-size: 16px;

}
.logos-box li a .cover{width: 68px;}
.owl-carousel .owl-nav button[class*="owl-"], .owl-carousel.rounded-nav .owl-nav button[class*="owl-"]{border-radius: 50px !important;}
.resource-box{overflow: hidden;}
.resource-box .with-shadow:before,.resource-box .with-shadow:after{
  content: '';
  position: absolute;
}
.resource-box .with-shadow:before{
  height: 100%;
  top: 0;
  left: -1px;
  border-left: 1px solid #DADADA;
}
.resource-box .with-shadow:after{
  width: 100%;
  height: 0;
  top: auto;
  left: 0;
  bottom: -1px;
  border-bottom: 1px solid #DADADA;
}
.office_area{min-height: calc(100vh - 550px)}
.tp-bullets{visibility:visible !important;opacity:1!important;top:95% !important;}
.dropdown-item.active, .dropdown-item:active{
  background-color: #6ea8e2;
}

/* 20220505 ADD */
.badge{
  border-radius: 25px !important;
  line-height: 1.4;
  letter-spacing: 1px;
}
.btn-with-arrow-solid span {
    background-color: #ccc;
    display: inline-block;
    height: 25px;
    line-height: 24px;
    width: 24px;
    border-radius: 50%;
    margin-left: 10px;
    transition: all .1s linear;
}
#footer .btn-with-arrow-solid.btn-light{
    position: relative;
    background-color: #fff;
    color: #797b7e;
    display: inline-block;
    text-align: left;
    font-size: 14px;
    line-height: 1.5;
    vertical-align: middle;
    padding: 10px 12px;
    margin-bottom: 16px;
    cursor: pointer;
    border-color: #d9d9d9 #d9d9d9 #bfbfbf;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    width: 49%;
    border-radius: 4px;
}
#footer .btn-with-arrow-solid.btn-light span{
    top: 28%;
    right: 10px;
    text-align: center;
    position: absolute;
    background-color: #f2f2f2;
    color: #797b7e;
    font-size: 10px;
    display: inline-block;
    height: 25px;
    line-height: 24px;
    width: 24px;
    border-radius: 50%;
    margin-left: 10px;
    transition: all .1s linear;
}
.btn-with-arrow-solid:hover span {
    transform: translateX(5px);
    /* background-color: #fff; */
    background-color: #f2f2f2;
    border-color: #e6e6e6 #e6e6e6 #cccccc;
}
.btn-modern{border:1px solid var(--mainlight);font-weight: 400;margin-right: 4px;}
.feature_link li{
    display: inline-block;
    text-decoration: none;
    padding: 6px 12px;
    position: relative;
    background-color: #f7f7f7;
    margin-bottom: 8px;
    border-radius: 5px;
    margin-right: 8px;
}
.feature_link li a{color: #444;}
.feature_link li a:hover{color: var(--main);}
.feature_link li:hover{background-color: #ecf4f9;}
.feature_link li:not(:last-child):before{
  /* content: ''; */
  border-right: 1px solid #eee;
  position: absolute;
  right: -3px;
  top: 9px;
  height: 20px;

}
.post_date a{color: #999;font-size: 16px;word-break: break-all;}
.post_content .list.list-icons.list-borders li{padding-left: 30px;}
.post_content .list.list-icons.list-borders li a:before{content: none}
html .badge-primary{background-color: #0e85c9;}
.forum .custom-step-item .step {left:15px;letter-spacing: 2px;}
.forum .custom-step-item .step-content { margin-left: 90px;}
.forum .custom-step-item .step-content a span{color:var(--main);}
.forum .custom-step-item .step .step-number{letter-spacing:-1px;font-size: 20px;}
.list.links li{
  padding: 8px 12px;
  display: block;
  border-radius: 15px;
}
.post_content h2{
  font-weight: bold;
  margin-bottom: 15px;
  margin-top: 15px;
  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;
  font-size: 22px;
  font-weight: 400;
}
.post_content h2::after{
    content: '';
    display: inline-block;
    width: 87px;
    height: 1px;
    background-color: var(--main);
    margin-left: 14px;
}
.post_content a[target="_blank"]{
  display: block;
  color: #444;
  padding: 5px 0;
}
.post_content a[target="_blank"]:hover{
  color: var(--main);
}
.post_content.sport.benefit a[target="_blank"] {
  display: inline-block;
  color: #444;
  padding: 5px 0;
}
.post_content.sport.benefit a[target="_blank"]:hover {
  color: var(--main);
}







@-webkit-keyframes more_arrow {
  0% {
    right: 30px;
    opacity: 0;
  }
  100% {
    right: 15px;
    opacity: 1;
  }
}

@keyframes more_arrow {
  0% {
    right: 30px;
    opacity: 0;
  }
  100% {
    right: 15px;
    opacity: 1;
  }
}
/* ::-webkit-scrollbar {
    -webkit-appearance: none;
}

::-webkit-scrollbar:vertical {
    width: 2px;
}

::-webkit-scrollbar:horizontal {
    height: 2px;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, .5);
    border-radius: 10px;
    border: 2px solid transparent;
}

::-webkit-scrollbar-track {
    background-color: transparent; 
} */
/*==================================
    TIMELINE
==================================*/
/*-- GENERAL STYLES
------------------------------*/
.timeline {
  line-height: 1.4em;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}
.timeline h1, .timeline h2, .timeline h3, .timeline h4, .timeline h5, .timeline h6 {
  line-height: 1.3;
  margin-bottom: 15px;
  font-size: 1.5em;
}

/*----- TIMELINE ITEM -----*/
.timeline-item {
  padding-left: 40px;
  position: relative;
}
.timeline-item:last-child {
  padding-bottom: 0;
}

/*----- TIMELINE INFO -----*/
.timeline-info {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 3px;
  margin: 0 0 .5em 0;
  text-transform: uppercase;
  white-space: nowrap;
}

/*----- TIMELINE MARKER -----*/
.timeline-marker {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 15px;
}
.timeline-marker:before {
  background: #FF6B6B;
  border: 3px solid transparent;
  border-radius: 100%;
  content: "";
  display: block;
  height: 15px;
  position: absolute;
  top: 4px;
  left: 0;
  width: 15px;
  transition: background 0.3s ease-in-out, border 0.3s ease-in-out;
}
.timeline-marker:after {
  content: "";
  width: 3px;
  background: #CCD5DB;
  display: block;
  position: absolute;
  top: 24px;
  bottom: 0;
  left: 6px;
}
.timeline-item:last-child .timeline-marker:after {
  content: none;
}

.timeline-item:not(.period):hover .timeline-marker:before {
  background: transparent;
  border: 3px solid #FF6B6B;
}

/*----- TIMELINE CONTENT -----*/
.timeline-content {
  padding-bottom: 40px;
}
.timeline-content p:last-child {
  margin-bottom: 0;
  font-size: 16px;
}

/*----- TIMELINE PERIOD -----*/
.period {
  padding: 0;
}
.period .timeline-info {
  display: none;
}
.period .timeline-marker:before {
  background: transparent;
  content: "";
  width: 15px;
  height: auto;
  border: none;
  border-radius: 0;
  top: 0;
  bottom: 30px;
  position: absolute;
  border-top: 3px solid #CCD5DB;
  border-bottom: 3px solid #CCD5DB;
}
.period .timeline-marker:after {
  content: "";
  height: 32px;
  top: auto;
}
.period .timeline-content {
  padding: 40px 0 70px;
}
.period .timeline-title {
  margin: 0;
}
/*----------------------------------------------
    MOD: TIMELINE SPLIT
----------------------------------------------*/
@media (min-width: 768px) {
  .timeline-split .timeline, .timeline-centered .timeline {
    display: table;
  }
  .timeline-split .timeline-item, .timeline-centered .timeline-item {
    display: table-row;
    padding: 0;
  }
  .timeline-split .timeline-info, .timeline-centered .timeline-info,
  .timeline-split .timeline-marker,
  .timeline-centered .timeline-marker,
  .timeline-split .timeline-content,
  .timeline-centered .timeline-content,
  .timeline-split .period .timeline-info,
  .timeline-centered .period .timeline-info {
    display: table-cell;
    vertical-align: top;
  }
  .timeline-split .timeline-marker, .timeline-centered .timeline-marker {
    position: relative;
  }
  .timeline-split .timeline-content, .timeline-centered .timeline-content {
    padding-left: 30px;
  }
  .timeline-split .timeline-info, .timeline-centered .timeline-info {
    padding-right: 30px;
  }
  .timeline-split .period .timeline-title, .timeline-centered .period .timeline-title {
    position: relative;
    left: -45px;
  }
}

/*----------------------------------------------
    MOD: TIMELINE CENTERED
----------------------------------------------*/
@media (min-width: 992px) {
  .timeline-centered,
  .timeline-centered .timeline-item,
  .timeline-centered .timeline-info,
  .timeline-centered .timeline-marker,
  .timeline-centered .timeline-content {
    display: block;
    margin: 0;
    padding: 0;
  }
  .timeline-centered .timeline-item {
    padding-bottom: 40px;
    overflow: hidden;
  }
  .timeline-centered .timeline-marker {
    position: absolute;
    left: 50%;
    margin-left: -7.5px;
  }
  .timeline-centered .timeline-info,
  .timeline-centered .timeline-content {
    width: 50%;
  }
  .timeline-centered > .timeline-item:nth-child(odd) .timeline-info {
    float: left;
    text-align: right;
    padding-right: 30px;
  }
  .timeline-centered > .timeline-item:nth-child(odd) .timeline-content {
    float: right;
    text-align: left;
    padding-left: 30px;
  }
  .timeline-centered > .timeline-item:nth-child(even) .timeline-info {
    float: right;
    text-align: left;
    padding-left: 30px;
  }
  .timeline-centered > .timeline-item:nth-child(even) .timeline-content {
    float: left;
    text-align: right;
    padding-right: 30px;
  }
  .timeline-centered > .timeline-item.period .timeline-content {
    float: none;
    padding: 0;
    width: 100%;
    text-align: center;
  }
  .timeline-centered .timeline-item.period {
    padding: 50px 0 90px;
  }
  .timeline-centered .period .timeline-marker:after {
    height: 30px;
    bottom: 0;
    top: auto;
  }
  .timeline-centered .period .timeline-title {
    left: auto;
    color: #086ea8;
    color: var(--main);
    font-weight: 400;
    font-size: 1.8em;
  }
}

/*----------------------------------------------
    MOD: MARKER OUTLINE
----------------------------------------------*/
.marker-outline .timeline-marker:before {
  background: transparent;
  border-color: #FF6B6B;
}
.marker-outline .timeline-item:hover .timeline-marker:before {
  background: #FF6B6B;
}
/*
| ----------------------------------------------------
| responsive
| ----------------------------------------------------
*/
@media (max-width: 1367px) {}


@media (max-width: 1025px) {  
  .tp-bullets{top:83% !important;}
}


@media (max-width: 769px) {  
    .teaching_title,.album { transform: translateX(20px); }
    .tab-pane .col-lg-4{border-bottom: 1px solid #ddd;padding-bottom: 25px;margin-bottom: 30px;}
    .tab-pane#tabs2 .col-lg-4,.tab-pane#tabs3 .col-lg-4{border:none;}
    .school_logo .col-lg-s5{
        -ms-flex:0 0 25%;
        flex:0 0 25%;
        max-width: 25%;
    }
    .timeline-centered .period .timeline-title{color: #086ea8;color: var(--main);font-weight: 400;font-size: 1.8em;}
    .timeline-content{padding-bottom: 25px}
}


 /*iphone plus*/
@media (max-width: 430px) {
  .tp-bullets{top:100% !important;}
  .header-logo img{width: 241px !important;height: 60px !important;}
  .school_logo .col-lg-s5{
      -ms-flex:0 0 50%;
      flex:0 0 50%;
      max-width: 50%;
  }
  .school_logo .cover:before {
      width: 85%;
      height: 115%;
      border: 1px solid #fff;
      left: 8%;
      top: -7%;
  }
  .custom-padding-2{padding: 15px 20px !important; padding: 1.5rem 2rem !important;}
  .medical-schedules .box-four .feature-box{padding: 15px 0}
  .medical-schedules{margin: 0 -15px}
  .medical-schedules .box-one, .medical-schedules .box-two, .medical-schedules .box-three, .medical-schedules .box-four{height: 77px}
  select.team-select.inindex{margin-top: -70px;z-index: 2; position: relative;}
  .dog_bg:before{background-color: rgb(255 255 255 / .6);}
  .dog_bg .teaching_title{z-index: 2}
  #header .header-nav-main nav > ul li a{padding: 15px 10px;font-size: 14px;}
  html #header .header-nav-main nav > ul > li.dropdown-full-color.dropdown-secondary > a{color: #444;font-size: 15px;}
  #header .header-nav-main nav > ul li.active a{color:#086ea8;color: var(--main)}
  .this_tabs{padding: 5px 0;font-size: 15px}
  .period .timeline-content{padding: 40px 15px 70px}
  .timeline-marker:before{left: 16px;}
  .timeline-marker:after{left:22px;}
  .timeline-content .img-responsive{width: calc(100vw - 60px);margin-top: 10px;}
  .owl-carousel.stage-margin .owl-stage-outer{margin-left: 10px !important; margin-right: 10px !important;}
  .col-4.border-left{padding: 0 5px;}
  #header .container { width: 100%; border-bottom: 1px solid #b1c9d8;}
  .resource-box .with-shadow .border-title{font-size: 18px}
  .resource-box .with-shadow .border-title::after{ width: 37px;}
  /* 20220505 ADD */
  .col-lg-8>h2.border-title{font-size: 24px;}
  .col-lg-8>h2.border-title::after{width: 30px;}

}


/*iphone: 7px*/
@media (max-width: 400px) {}



/*iphone 5*/
@media (max-width: 321px) {  
  .header-logo img{width: 201px !important;height: 50px !important;}
}


/*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) {}