@charset "utf-8";
/* CSS Document */

html,
body {
  --font-sans:  'Lato', 'Helvetica', 'Arial', -apple-system, BlinkMacSystemFont, "Segoe UI", 'PingFang TC', 'Microsoft JhengHei', '微軟正黑體', sans-serif;
  --font-serif: 'Lato', 'Helvetica', 'Arial', -apple-system, BlinkMacSystemFont, "Segoe UI", 'PingFang TC', 'Microsoft JhengHei', '微軟正黑體', sans-serif;
  
  font-family: 'Lato', 'Helvetica', 'Arial', -apple-system, BlinkMacSystemFont, "Segoe UI", 'PingFang TC', 'Microsoft JhengHei', '微軟正黑體', sans-serif;

  font-weight: 500;
  font-size: 18px;
  line-height: 30px;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

:root {
  --main-color: #2461a2;
  --main2-color: #0045a4;
  --main3-color: #3b3286;
  --main4-color: #f5f9ff;
}

.region>* {  margin: 0;}
.clear, .view-content {  clear: both}
img {  border: 0;}
div,
ul li {  margin: 0px auto;  padding: 0px;}
iframe {  width: 100%;  min-height: 350px;}
a, #logo img{-moz-transition: all 0.3s ease-in-out;
   -o-transition: all 0.3s ease-in-out;
   -ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out; opacity: 1;}

.screen { position: relative;  padding: 0px 30px;  max-width: 1400px;  margin: 0 auto}
.node__content {  clear: both;}


.editingAdd {  position: absolute;  top: -35px;}
.home-add {  top: 35px !important;}
#add_normal {  position: relative;  top: 0;  padding: 10px;}
.editingAdd a {
  background-color: #ffd800 !important;
  padding: 3px 15px;
  border-radius: 15px;
  color: #000 !important;
}
.editingAdd a:hover {
  background-color: #cbff0f  !important;
  color: #000 !important;
}
.editing a:hover {  background-color: #cbff0f;}
li .editing a {  display: none !important;}
li:hover .editing a {  display: block !important;}
.slick-slide:hover .editing a {  display: block !important;}
.swiper-slide .editing a {  display: block !important;}
#banner_editing {  position: absolute;  left: 45px;  z-index: 2}
.topBanner_editing {  bottom: 50px !important;  top: auto !important}
.editing {  position: absolute;  z-index: 2;  top: 5px;  left: 5px;}
.editing a {
  /* Override the .focusable height: auto */
  width: 30px !important;
  font-size: 0;
  border-radius: 50%;
  /* Override the .focusable height: auto */
  height: 30px !important;
  background-color: #ffd800  !important;
  text-indent: -9999px;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3e%3cg%3e%3cpath fill='%23000000' d='M14.545 3.042l-1.586-1.585c-.389-.389-1.025-.389-1.414 0l-1.293 1.293 3 3 1.293-1.293c.389-.389.389-1.026 0-1.415z'/%3e%3crect fill='%23000000' x='5.129' y='3.8' transform='matrix(-.707 -.707 .707 -.707 6.189 20.064)' width='4.243' height='9.899'/%3e%3cpath fill='%23000000' d='M.908 14.775c-.087.262.055.397.316.312l2.001-.667-1.65-1.646-.667 2.001z'/%3e%3c/g%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 20px 20px;
}


#main_content a, #main_content a:visited  {  color: #00266e;  text-decoration: none; transition: all 0.3s ease-in-out;}
#main_content a:hover {  color: #0e4886;  text-decoration: underline;}

.pager {  display: inline-block}
#page img { max-width: 100%}
#page .term-tree-list {
  position: relative;
  margin-top: 15px;
}
#page .term-tree-list .term {
  list-style: none;
  margin: 0;
  padding: 5px 0 5px 30px;
}
#page .term-tree-list .term::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  background-color: var(--main-color);
  -webkit-mask-image: url(../images/tag1.svg);
  mask-image: url(../images/tag1.svg);
  background-size: cover;
  width: 20px;
  height: 26px;
}
#page .term-tree-list .selected {
  font-weight: normal;
  text-decoration: underline
}

.container {  max-width: 100%}
.wide-content {  width: auto;  margin: 0}

.breadcrumb {
  font-size: 15px;
  padding: 0 15px;
}
.breadcrumb a {
  color: var(--main-color);
}
.block-views-blockslideshow-block-1 {
  position: relative;
  box-shadow: 0 0 5px #6666;
}

.footer_links {    text-align: center; }
.footer_links ul li {    display: inline-block;    margin: 0 35px; }
.footer_links ul li a {
    font-size: 18px; text-decoration:none;
    line-height: 30px;
    font-weight:600;
	
    color: #fff; }
.footer_links ul li a:hover {    color: #2c9fce;  text-decoration: underline;}

footer #footer-contact li {
    float: left;
    font-size: 14px;
    color: #fff;
    line-height: 20px; }
footer #footer-contact li a {
    color: #fff;
    text-decoration: underline; }
footer #footer-contact li:after {
    content: "|";
    margin: 0 15px; }
footer #footer-contact li:nth-last-child(1):after {
    display: none; }
footer .copyright {
    font-size: 13px;
    line-height: 16px; }
footer .copyright a {
    color: #fff;
    text-decoration: none; }

#news1, #news2, #news3{ max-width:80% !important}

h1,
h2,
h3 {
  font-weight: 600;
  margin: 0;
}

h4,
h5,
h6 {
  font-weight: 400;
  margin: 0;
}

p {  margin: 0px;  padding: 0px}

h1 {
  font-size: 38px;
  line-height: 42px;
  color: var(--main-color);
  text-transform: uppercase;
  padding-bottom: 20px;
}

h2 {
  font-size: 34px;
  line-height: 38px;
  color: var(--main2-color);
  padding-bottom: 20px;
}

h3 {
  font-size: 26px;
  line-height: 32px;
  color: var(--main3-color);
  margin-bottom: 20px;
  padding: 5px 0;
  border-bottom: 1px solid var(--main2-color)
}

h4 {
  font-size: 23px;
  margin: 0px;
  color: var(--main-color);
  line-height: 33px;
  padding: 5px 0;
}

h5 {
  font-size: 23px;
  margin: 0px;
  color: var(--main2-color);
  line-height: 33px;
  padding: 5px 0;
}

h6 {
  font-size: 23px;
  margin: 0px;
  color: var(--main3-color);
  line-height: 33px;
  padding: 5px 0;
}

.title,
.sch_highlights b,
#banner_title h1,
.banner_title h1 {
  font-optical-sizing: auto;
  font-weight: 550;
  font-style: normal;
  margin: 5px 0;
  padding: 5px 0;
  font-size: 32px;
  line-height: 38px;
  letter-spacing: 0;
  position: relative;
  color: #333333;
}

.blocktitle {
position: relative;
  font-size: 24px;
  color: #fff;
  line-height: 40px;
  margin: 5px 0 ;
    margin-bottom: 0px;
  padding: 2px 10px 2px 70px;
  background-color: #2c9fce;
  border-radius: 20px;
  background-size: 40px;
  background-position: left center;
  background-repeat: no-repeat;
  text-align: left;
  font-weight: 600;
  margin-bottom: 20px;
}
.blocktitle p::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 10px;
  width: 50px;
  height: 50px;
  background-size: 50px;
}

#block_latest-news .blocktitle p::before {
  background-image: url('../images/web/icon_home_news.png');
}
#block_activity .blocktitle p::before {
  background-image: url('../images/web/icon_home_event.png');
}
.main_calenadr .blocktitle p::before {
  background-image: url('../images/web/icon_home_calendar.png');
}
#block_latest-news .blocktitle  {  background-color: #0dbd4c}
#block_activity .blocktitle  {  background-color: #ffaa2a}
.main_calenadr .blocktitle  {  background-color: #b700c3}

.Block_C  {
  position: relative;
  padding: 20px;
  height: calc(100% - 80px);
  background-color: #fff;
  border-radius: 20px;
  border: 1px solid #63cdf8;
    border-top-color: rgb(99, 205, 248);
    border-right-color: rgb(99, 205, 248);
    border-bottom-color: rgb(99, 205, 248);
    border-left-color: rgb(99, 205, 248);
  box-shadow: 0 0 10px rgba(0, 0, 0, .2);
  margin: 0px; 
min-height: 600px;
}

.menu--sidebar .is-active,
#block-olivero-main-menu .is-active {
  font-weight: 600;
  color: var(--main-color) !important
}


#header {
  padding:  0;
  z-index: 2;
  width: 100%; background: #fff;
  position: relative;
}
#logo { padding: 15px 0;}

#header .screen {
  display: flex;
  align-items: center; width: 100%;
}
#header .logo {
  margin-left: 0
}

.sticky {
  z-index: 10;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  opacity: 1;
}

.sticky #header {
  position: fixed;
  top: 0px;
  z-index: 10;
  width: 100%;
  box-shadow: 0 0 3px rgba(0, 0, 0, .2);
  min-height: auto;
  max-width: 100%;
}
.sticky #logo {
  padding: 5px 0;
}


.site-branding {  margin-left: 0; }


.right_top {
  display: inline-flex; background-color: #2461a2; width: 100%;
}

#block-olivero-languageswitcher{display: flex;  align-items: center; margin-right: 0 ; margin-left: 0}
#block-olivero-social-area{ margin-right: 0}

#lang {
  margin: 0 ;
  padding: 0;
  display: flex;
  width: auto;
  background: #fff;
  border-radius: 36px;
  position: relative;
  font-size: 14px;
  white-space: nowrap;
}
#lang { position: relative;   display: inline-block; z-index:11 ; margin-left:15px;   }

#lang > button {
      background: url(../images/web/icon_lang01.png) no-repeat left center; background-size:  auto 20px; 
      border: none;
      padding: 10px 20px 10px 25px; 
  font-size: 18px;
  line-height: 30px;
      cursor: pointer; white-space: nowrap; 
  border-bottom: 1px solid #000; margin-top:5px; position:relative; font-family: "Noto Sans TC",'Lato', 'Microsoft JhengHei', sans-serif;
    }

#lang > button::after {
  position: relative; content:""; width:9px; height:6px;
  display: block; position:absolute; right:0; top:22px;
  background: url("../images/web/icon_arrow01.png") no-repeat ;
}

    #lang > button:focus {
      outline: 2px solid #005a9e; /* Focus outline for accessibility */
    }

    /* Dropdown menu container */
    #lang ul {
      list-style-type: none;
      margin: 0;
      padding: 0;
      position: absolute;
      top: 100%; width:100%;
      left: 0;
      display: none; /* Initially hidden */
      z-index: 10; background:#fff; box-shadow: 0 0 5px rgba(0,0,0,.3)
    }

    /* Show menu when parent is active */
    #lang:hover ul {
      display: block;
    }

    /* List item styles */
    #lang ul li {
      padding: 0px;
      text-align: center;
    }

    #lang ul li a {
      text-decoration: none;  font-size:14px; line-height:19px; padding:10px;
  color:#333;
      display: block;
      font-size: 16px; white-space:nowrap
    }

    #lang ul li a:hover { color:#2461a2
    }
#lang ul li a.is-active {
  color: #000; font-weight:bold;
}


#page img {  max-width: 100%;}

.home_zoneA {}
.home_zoneB {padding:15px 0 50px 0;background-color: #fff;
  background-image: url('../images/web/bg01.jpg');
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100%;}
.home_zoneD {position: relative;
  background-color: #2461a2;
  padding: 35px 0;}



.view-more, .view-more2 {position: absolute;  right: 30px;  bottom: -15px;}

.more-link a {
  transition: 0.4s;
  -webkit-transition: 0.4s;
  display: block;
  width: 140px;
  height: 36px;
  background-color: #0045a4;
  border-radius: 20px;
  line-height: 36px;
  font-size: 16px;
  color: #fff;
  text-align: center;
  padding: 0 20px;
  background-image: url("../images/web/icon_arrow02.png");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

#block_latest-news .more-link a{  background-color: #0dbd4c;}
#block_activity .more-link a{  background-color: #ffaa2a;}



.view-more2 a {
  position: relative;
  display: inline-block;
  padding: 10px 35px;
}

.view-more2 a::before,
.view-more2 a::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-style: solid;
  border-radius: 8px;
  border-color: var(--main3-color);
  transition: transform 0.3s ease;
}

.view-more2 a::before {
  border-width: 2px 0 2px 0;
  transform: scaleX(0);
}

.view-more2 a::after {
  border-width: 0 2px 0 2px;
  transform: scaleY(0);
}

.view-more2 a:hover::before,
.view-more2 a:hover::after {
  transform: scale(1, 1);
}

.region--breadcrumb {
  background: #fff;
  margin: 0 0 50px 0;
  padding: 10px 0 0 0;
}

.news_tag {
  position: absolute;
  left: -5px;
  top: -5px;
  background-image: url(../images/icon/i_news.png);
  width: 90px;
  height: 44px;
  background-size: cover;
  z-index: 1;
  pointer-events: none;
}

.news_tag2 {
  position: absolute;
  left: 0;
  top: 0;
  background-image: url(../images/icon/i_news2.png);
  width: 90px;
  height: 28px;
  background-size: cover;
  z-index: 1;
  pointer-events: none;
}


#logo img{ max-height:95px; height:auto;}
.sticky #logo img{ max-height:75px; height:auto;}

.sch_highlights ul {
  display: grid;
  padding: 50px 0;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
}

.sch_highlights ul li {
  width: calc(100% - 2px);
  padding: 1px;
  display: flex;
  align-items: center;
  text-align: center;
  position: relative;
  box-shadow: 0 0 5px rgba(0, 0, 0, .2);
}

.sch_highlights ul li span,
.sch_highlights .boxing {
  position: absolute;
  bottom: 0;
  width: 100%;
  left: 0;
  color: #fff;
  font-size: 21.5px;
  padding: 30px 0;
  background: linear-gradient(0deg, rgba(44, 51, 98, 1) 20%, rgba(44, 51, 98, 0) 100%);
  margin: 0
}



.banner_title {
  background-color:#002853;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  pointer-events: none;
  background-position: center center; margin-bottom: 40px;
}

.banner_title h1 {
  color: #fff; position: relative;
  text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.4);
  padding: 55px 0;
  margin: 0;
  z-index: 1
}
.banner_title h1 span{ position: relative; }
.banner_title h1 span::after {
  background: url(../images/web/icon_h1span.png) no-repeat left center; content: ""; position: absolute; left: 0; bottom: -20px; width: 57px; height: 8px;
}


#block_latest-news { float:left; width:32%; position:relative}
#block_activity { float:left; width:32%; margin: 0 2%; position:relative}
.main_calenadr { float:right; width:32%; position:relative}


.btn_back{ margin:0px auto; text-align: center; margin-top:50px; margin-bottom:50px;}
.btn_back a{ display: inline-block; padding:10px 50px; color:#fff !important;  background: linear-gradient(to left, #0067b3 50%, #feb811 50%); background-size: 200% 100%; background-position: right bottom;  transition: all .5s ease-out;  }
.btn_back a:hover { background-position: left bottom; color:#000 !important;}



.video_theme {
  max-width: 80%;
  margin: 50px auto;
}

.slider-slogan {
  position: absolute;
  bottom: 15%;
}

.slider-slogan .slogan_text {
  bottom: 150px;
  line-height: 50px;
  font-size: 36px;
  color: #fff;
  padding: 15px 40px 15px 60px;
  background-color: rgba(0, 69, 164, 0.7);
}

.slogan_left {
  left: 0;
}

.slogan_right {
  right: 0;
}

.view-empty {
  clear: both
}

footer {
background-color: #0e4886;
  padding: 20px 0;font-size: 14px;
  color: #fff;
  line-height: 20px;
}

footer .text-content,
footer a {  color: #333;  font-size: 14px}
footer .power {  float: right;}
footer .copyright {  float: left}
footer .copyright a,footer .power a {  color: #2f3563;  text-decoration: underline}


#main_content {
  float: right;  width: 77%;  min-height: 500px;
}

#sidebar-nav {
  float: left;  width: 21%;
}


.useful-links ul {
  display: grid;
  list-style: none;
  padding: 0;
  margin: 0;
  grid-template-columns: repeat(5, 1fr);
  column-gap:
    gap: 10px;
}

.useful-links ul li {
  width: calc(100% - 10px);
  position: relative;
  padding: 5px;
}

#ctd-fliters .form--inline .form-actions {
  margin: auto
}
#ctd-fliters {
  margin-block-end: var(--sp1);
  text-align: right;
  float: right;
}
.contextual-region .view-header {
  margin-block-end: var(--sp1) !important;
}

/* Table */
#main_content table {
  border-collapse: inherit;
  width: 100%;
  line-height: 33px;
  border: 1px solid var(--main-color);
  margin: 0;
}

#main_content tr:nth-child(even) td {
  background: #f2f2f2;
  color: #333;
  padding: 5px;
}

#main_content tr:nth-child(odd) td {
  background: #fff;
  color: #333;
  padding: 5px;
}

#main_content table ul,
table ol {
  margin: 0;
}

#main_content tr th {
  background: var(--main-color);
  color: #fff;
  padding: 5px;
}

.location {
  width: 100%;
  margin: 20px 0;
  box-shadow: 0 0 3px rgba(0, 0, 0, .2);
}
/* Template */
.tpl-info time,
.block-info time,
.node__content time {
  position: relative;
  display: inline-block;
  padding: 0px 0;
}

#page time { 
  position: relative;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 0px;
font-size: 16px;
  line-height: 24px;
  font-weight: 400; 
}
#block_latest-news time{ color:#0dbd4c}
#block_activity time{ color:#ffaa2a}

.block-info {
  list-style: none;
  margin: 0;
  padding: 0;overflow-y: auto;
  min-height: 500px;
  background: none
}

.block-info li {
  position: relative;
}


.tpl-info {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tpl-info li {
  position: relative;
}

.tpl-info li:hover {
}

.tpl-info li a {
  color: #333;
  display: block;
  width: 100%
}

.tpl-info li a:hover {
  color: #333;
}

.tpl-info li b,
.block-info li b {
  display: block
}

.tpl-info figure img,
.block-info figure img {
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
  opacity: 1;
}

.tpl-info figure:hover img,
.block-info figure:hover img {
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
  opacity: .8;
}

.tpl-info figure,
.block-info figure {
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  background: #fff;
  overflow: hidden;
}
#page .term-tree-list{ display:none}
.template-D ul {}
.template-D ul li {
  width: 100%;
  padding: 20px 0;
  border-bottom: 1px solid #c0c0c0;
  overflow: hidden;
}
.template-D ul li  .cover{
  width: 26%;
  float: left;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0, .2);
}
.template-D ul li  .content{
  width: 72%; color:#333;
  float: right;
}
.template-D ul li  b{color: #2461a2;}

.template-A ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.template-A ul li {
  background: #fff;
  display: flex;
  margin-bottom: 20px;
  align-items: center;
  text-align: center;
}

.template-B ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.template-B ul li {
  width: calc(100% - 30px);
  background: #fff;
  padding: 15px;
  display: flex;
  margin-bottom: 20px;
  align-items: center;
  text-align: center;
}

.template-C ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.template-C ul li {
  width: calc(100% - 30px);
  padding: 15px;
  display: flex;
  align-items: center;
  text-align: center;
}


.Block_A ul {  display: grid;  grid-template-columns: repeat(3, 1fr);  gap: 30px;}
.Block_A ul li {  position: relative;  width: 100%;}

.Block_B ul {  display: grid;  grid-template-columns: repeat(2, 1fr);  gap: 30px;}
.Block_B ul li {  position: relative;  width: 100%;  background: #fff;}

.Block_C ul {  margin: 0;  padding: 0; list-style:none; }
.Block_C ul li {  position: relative;  width: 100%;  background: #fff;  margin: 0 0; padding:10px 0}
.Block_C ul li + li{ border-top:1px solid #ddd;}
.Block_C ul li a{ display: block}
.Block_C ul li .cover {  float: left;  width:33%}
.Block_C ul li .content {  float: right;  width: 65%;  padding: 5px 0;}
.Block_C ul li b { font-size:16px; font-weight:400; line-height:21px; text-decoration:underline}
.Block_C ul li:hover b { color:#2c9fce;}
.template-A .content{ padding:10px;}
.template-A b{
font-size: 20px;
  line-height: 28px;
  margin: 0 0 10px 0; text-align:left;
  color: #0045a4;
  font-weight: normal;
}
.template-A time, .template-D time{padding: 0 0 0 25px; 
  font-size: 14px;
  line-height: 24px;
  height: auto; display: inline-block; margin-bottom:15px;
  color: #000;
  background: none;
  background: url("../images/web/icon_calendar02.png") no-repeat left center;}
  
.news-card {
  border: 0px solid aqua;
  margin: 1px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 5px rgba(0, 0, 0, .2);
  flex: 1;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
}

.news-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0) linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.7) 80%);
  ;
  z-index: 0;
}

.news-card__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 1s ease;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  position: relative;
  z-index: -1;
}

.news-card__text-wrapper {
  position: relative;
  padding: 5px 10px 15px 10px;
  width: calc(100%);
  color: #333;
  background-color: #fff;
  transition: background-color 1.5s ease;
}

.news-card__title {
  transition: color 1s ease;
  margin-bottom: .5rem;
}

.news-card__details-wrapper {
  max-height: 0;
  opacity: 0;
  transition: max-height 1.5s ease, opacity 1s ease;
}

@media (min-width: 900px) {
  .news-card:hover .news-card__details-wrapper {
    max-height: 20rem;
    opacity: 1;
  }

  .news-card:hover .news-card__text-wrapper {
    background-color: #eae0f0
  }

  .news-card:hover .news-card__title {
    color: yellow;
  }

}
/* End Template */

#ctd-fliters .button {
  background: var(--main-color);
}

#ctd-fliters select {
  color: var(--main-color);
}

#ctd-fliters .button,
#ctd-fliters select {
  font-size: 16px;
  line-height: 24px;
  height: 50px;
}

/* Category */
.category {
  float: left;
  background: #ebeff2;
  padding: 8px 10px;
  border-radius: 8px;
  margin: 9px 0;
  z-index: 1;
  position: relative;
}

.category ul {
  list-style: none;
  margin: 0;
  padding: 0
}

.category ul li {
  display: inline-block;
}

.category ul li a {
  display: block;
  padding: 5px 20px;
  font-size: 1.3em;
  text-decoration: none;
  color: #333333;
  font-weight: 400;
  margin: 0 10px;
}

.category ul li+li {
  border-left: 1px dotted #666;
}

.category ul li a,
.category ul li a:after,
.category ul li a:before {
  transition: all .5s;
}

.category ul li a:hover {
  color: var(--main-color);
}

/* stroke */
.category.stroke ul li a,
.category.fill ul li a {
  position: relative;
}

.category.stroke ul li a:after,
.category.fill ul li a:after {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 0%;
  content: '.';
  color: transparent;
  background: var(--main-color);
  ;
  height: 2px;
}

.category.stroke ul li a:hover:after {
  width: 100%;
}

.category.fill ul li a {
  transition: all 2s;
}

.category.fill ul li a:after {
  text-align: left;
  content: '.';
  margin: 0;
  opacity: 0;
}

.category.fill ul li a:hover {
  color: #fff;
  z-index: 1;
}

.category.fill ul li a:hover:after {
  z-index: -10;
  animation: fill 1s forwards;
  -webkit-animation: fill 1s forwards;
  -moz-animation: fill 1s forwards;
  opacity: 1;
}

/* SHIFT */
.category.shift ul li a {
  position: relative;
  z-index: 1;
}

.category.shift ul li a:hover {
  color: #91640F;
}

.category.shift ul li a:after {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  width: 100%;
  height: 1px;
  content: '.';
  color: transparent;
  background: var(--main-color);
  visibility: none;
  opacity: 0;
  z-index: -1;
}

.category.shift ul li a:hover:after {
  opacity: 1;
  visibility: visible;
  height: 100%;
}


.category .current a,
.category .current a:hover {
  color: #fff;
  background: var(--main-color);
}


/* Keyframes */
@-webkit-keyframes fill {
  0% {
    width: 0%;
    height: 1px;
  }

  50% {
    width: 100%;
    height: 1px;
  }

  100% {
    width: 100%;
    height: 100%;
    background: var(--main-color);
    ;
  }
}

/* Keyframes */
@-webkit-keyframes circle {
  0% {
    width: 1px;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    height: 1px;
    z-index: -1;
    background: var(--main-color);
    ;
    border-radius: 100%;
  }

  100% {
    background: var(--main-color);
    ;
    height: 1000%;
    width: 1000%;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    border-radius: 0;
  }
}

.sitemap-item {
  margin: 0px auto;
  padding: 0;
}
.sitemap-item ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  list-style-type: none;
  padding: 0;
  margin: 0;
}
.sitemap-item ul ul {
  grid-template-columns: repeat(1, 1fr);
  gap: 5px;
  margin: 10px;
  padding: 0 25px;
  list-style-type: initial;
}
.sitemap-item ul li {
  width: 100%;
  margin: 0;
  padding: 0
}
.sitemap-item ul li a,
.sitemap-item ul li span {
  padding: 10px 15px;
  display: block;
  border-bottom: 1px solid #ddd;
  transition: background 0.3s ease;
}
.sitemap-item ul li a {
  color: var(--main-color);
}
.sitemap-item ul li span {
  color: #555;
}
.sitemap-item ul li a:hover {
  background: var(--main2-color);
  color: #fff;
}
.sitemap-item ul li ul li a,
.sitemap-item ul li ul li span {
  padding: 5px 0 5px 0px;
  display: block;
  border-bottom: 0;
  font-size: 1em;
  font-weight: 300
}
.sitemap-item ul li ul li a:hover {
  background: none;
  color: var(--main2-color)
}


figure.effect-honey {
  background: #4a3753;
  min-height: 180px;
}
figure.effect-honey img {
  opacity: 0.9;
  max-width: 125%: -webkit-transition: opacity 0.35s;
  transition: opacity 0.35s;
  transition: all 0.3s ease-in-out;
  opacity: 1;
}
figure.effect-honey:hover img {
  opacity: 0.5;
}
figure.effect-honey figcaption::before {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: var(--main2-color);
  content: '';
  -webkit-transform: translate3d(0, 10px, 0);
  transform: translate3d(0, 10px, 0);
}
figure.effect-honey h2 {
  position: absolute;
  font-style: normal;
  bottom: 0;
  left: 0;
  padding: 0.5em 1.5em;
  color: #fff;
  text-shadow: 0 0 8px #000000a1;
  width: 100%;
  text-align: left;
  -webkit-transform: translate3d(0, -30px, 0);
  transform: translate3d(0, -30px, 0);
}
figure.effect-honey figcaption::before,
figure.effect-honey h2 {
  -webkit-transition: -webkit-transform 0.35s;
  transition: transform 0.35s;
}
figure.effect-honey:hover figcaption::before,
figure.effect-honey:hover h2,
figure.effect-honey:hover h2 i {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.view-subjects {
  padding: 0;
  margin: 0;
  clear: both;
}

.subjectlist ul {
  list-style: none;
  margin: 0;
  padding: 15px;
}

.subjectlist ul li {
  float: none;
  border-bottom: 1px solid var(--main3-color);
  position: relative
}

.subjectlist ul li a {
  padding: 15px 15px 15px 30px;
  display: block;
  font-size: 21px;
  line-height: 27px;
}

.subjectlist ul li a::before {
  content: "\2022";
  font-family: Arial;
  position: absolute;
  color: var(--main2-color);
  left: 0;
  top: 19px;
  font-size: 50px;
  font-weight: 400;
}

.contact_area {
  padding: 30px 0; background:#7a58da; 
  overflow: hidden;
  position: relative;
  z-index: 3
}

.contact_info {
  color: #fff;
  position: relative;
  z-index: 1;
  vertical-align: bottom;
  display: table-cell;
}
.contact_info ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact_info ul li {
  float: left;
  width: 100%;
  margin: 5px 0;
}

.contact_info ul li+li {
  width: 50%;
}

.contact_info ul li span {
  background: url(../images/ctcampus/i_address.png) no-repeat left center;
  padding: 5px 0 5px 35px;
  min-width: 115px;
  display: inline-block;
}

.contact_info ul li+li span {
  background: url(../images/ctcampus/i_tel.png) no-repeat left center;
}

.contact_info ul li+li+li span {
  background: url(../images/ctcampus/i_fax.png) no-repeat left center;
}

.contact_info ul li+li+li+li span {
  background: url(../images/ctcampus/i_email.png) no-repeat left center;
}

.contact_info ul ul li {
  width: auto;
  margin: 5px 5px 0px 5px;
}

.contact_info ul ul li img {
  width: 30px !important;
}

.contact_info ul li a {
  color: #fff;
  text-decoration: underline;
}
#footer-contact{ list-style: none; margin: 0; padding: 0;}


.english_verison a {
  display: inline-block;
  position: fixed;
  opacity: 1;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05); border-radius: 50%;
  height: 50px;
  width: 50px;
  bottom: 50px;
  right: 110px;
  z-index: 99999;
  white-space: nowrap;
  border: 1px solid #fff;
  box-shadow: 0px 0px 5px #999;
  background: #666;color: #fff;
  line-height: 50px;
  text-align: center;

}

.cd-top {
  display: inline-block;
  position: fixed;
  opacity: 1;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05); border-radius: 50%;
  height: 50px;
  width: 50px;
  bottom: 50px;
  right: 50px;
  z-index: 10;
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  border: 1px solid #fff;
  box-shadow: 0px 0px 5px #999;
  background: #2461a2 url(../images/ctcampus/cd-top-arrow.svg) no-repeat center center;

}

.cd-top:hover {
  -webkit-transition: opacity .3s 0s, visibility 0s 0s;
  -moz-transition: opacity .3s 0s, visibility 0s 0s;
  transition: opacity .3s 0s, visibility 0s 0s;
  background: #eb9d4f url(../images/ctcampus/cd-top-arrow.svg) no-repeat center center;
}

.cd-top.cd-is-visible {
  visibility: visible;
  opacity: 1;
}

.cd-top.cd-fade-out {
  opacity: .9;
}

.no-touch .cd-top:hover {
  background-color: #40498a;
  opacity: 1;
}

.list-item { padding: 15px ; }
.list-item ul {display: block;}
.list-item .content { display: flex;  margin: 0;  width: 100%;}
.list-item .content time{ flex: 0 0 20%; white-space: nowrap}
.list-item .content .notice_no{ flex: 0 0 10%; }
.list-item .content b{ flex: 0 0 50%; }
.list-item .content .download{ flex: 0 0 20%; }
.list-item ul li{background: none; box-shadow:none;padding: 15px ; text-align: left ; background:#fff; margin-bottom:5px; width:100% } 
.list-item .content .download a{ background:url(../images/icon/icon_download.png) no-repeat left; background-position:3px 5px; padding:8px 0 3px 30px; line-height:19px; color:#555; background-size:23px 23px; display:block;transition: all 0.3s ease 0s;}
.list-item .content .download a:hover{ background:url(../images/icon/icon_download.png) no-repeat left; background-position:3px 8px; color:#666;background-size:23px 23px}

.subjectmenu ul {
  list-style: none;
  margin: 0 0 30px 0  ; background:#fff3d6; border-radius:16px; 
  padding: 10px 20px; display:flex; justify-content: flex-start; /* 項目靠左對齊 */

  flex-wrap: wrap; /* 允許換行 */
}

.subjectmenu ul li {
margin:0 10px;
  position: relative
}
.sub_heading{ text-align: center; padding:5px 0;}
.subjectmenu ul li a {
  padding: 5px 15px; background:#fff;
  display: block;color: var(--main-color) !important; border-radius:6px; font-size:16px; line-height:24px;
}
.subjectmenu ul li a:hover { background:var(--main4-color);  }
.subjectmenu ul li a.current { background:var(--main-color); color: #fff !important; }

#social-nav { list-style: none;}
#social-nav li {
    float: left;
    margin-right: 10px; }
#social-nav li a {
    display: block;
    width: 24px;
    height: 24px;
    background: url("../images/web/btn_social.png"); }
#social-nav li a:hover {
    background-position-y: 24px; }
#social-nav li a.icon-fb {
    background-position-x: calc(100% / 1 * 0); }
#social-nav li a.icon-yt {
    background-position-x: calc(100% / 1 * 1); }

