@media screen and (max-width: 1366px){
#student {	max-width: 710px;}	
#student span {width: 120px;  height: 110px;right: 50px !important;
    left: auto; bottom:-15px;}
#header {max-height: 300px}	
.motto img {    max-height: 25px;}	
}
@media screen and (max-width: 1200px){	
.template-C ul{   grid-template-columns: repeat(3, 1fr); gap: 2%; }
.mission {	width: 100%;}	
	#header {min-height: 260px;}	
	ul#main-menu li a { font-size: 22px;line-height: 14px;
    white-space: nowrap;}


}


@media screen and (max-width: 1023px){
	.region--content-below {flex-wrap: wrap;}
	#block-olivero-index-button {flex: 0 0 100%;}	
#block-olivero-views-block-calendar-block  {flex: 0 0 100%;}	
	.top_button a{width: 60px;  height: 60px;  font-size: 14px;}	
	.top_button a img {		width: 20px;}
	
	#logo img {  max-height: 70px;	}
		.slider-slogan .slogan_text img {max-height: 90px;}
	.slider-slogan .slogan_text {
  font-size: 2em;
		line-height: 1em;}
		  #student {    max-width: 470px; height: calc(100% - 50px); }
	#block-olivero-motto {top: 75px;    left: 90px;}

}

@media screen and (max-width: 960px){
.contact_area{ padding:0 0 10px 0}
#banner_area .screen{ padding:0}
#block-olivero-views-block-slideshow-block-1 {
  padding: 0 0 10px 0;
}
#block_useful_link .screen{ padding:0}
html,body { font-size: 16px ; line-height:28px;		}
.screen{ padding:0 15px;}
#header{ position:  relative; z-index: 10;max-height: none !important;
    min-height: auto !important;    background: none;    aspect-ratio: auto;clip-path: none;}
.menu_arrow ul::before{ display:none;}
.right_top{ margin-right: 10px; width: auto; margin-left: auto}
	
	#header .screen {background: #3c85ecf0;padding: 45px 0 10px 0;
    margin: 0 0 20px 0;flex-wrap: wrap;}	
#main-menu {
    position: fixed !important;
    top: 0; 
	background:#013c8e   !important;
	padding:30px 10px;
    bottom: 0;
    width: 100%;
    transition: all 0.5s ease-in-out;
    max-width: 280px;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 12;
            transform: translateX(100%);
}
#menu-mask {
    display: none; /* 默认不显示 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 黑色半透明 */
    z-index: 2; /* 确保遮罩层位于其他内容上方 */
}
	
.site-branding{ min-height: auto ;margin: 0 auto;    padding: 0;    width: 100%;}
.title , .blocktitle , .sch_highlights b , #banner_title h1, .banner_title h1{  font-weight: 350;  margin: 0 0 30px 0;  font-size:26px; line-height:32px; }
.sch_highlights .title::before {  top:23px;    }
	
.sch_highlights{ padding: 20px 0}
.sch_highlights ul {
  padding: 15px 0;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.bg_god_msg{ padding:0}
.bg_god_msg .contents{  width: calc(100% - 0px) ; margin:30px 0%;  padding:15px; }
	
ul#main-menu li a{ color:#fff;}
#main-menu.open{transform: translateX(0);}
	



#lang ul{ margin:15px -15px 0 0; background:none}
#lang ul li{ margin: 0 0; background: none; } 
#lang ul li+li{ margin:0 0 0 10px}
	

	
.cd-top{ right:0; bottom:0;}
	
.slider-slogan{  bottom: 10%; }
.slider-slogan .slogan_text{ font-size: 1.45em;
  padding: 0.45em;
  line-height: 1.6em;
}
.breadcrumb__content{ margin:0}
.breadcrumb::after{ display:none}

.Block_A ul {  grid-template-columns: repeat(1, 1fr);  gap: 2%;}	
.template-A ul{   grid-template-columns: repeat(2, 1fr); gap: 2%; }
.template-B ul{   grid-template-columns: repeat(2, 1fr); gap: 2%; }
.template-C ul{   grid-template-columns: repeat(2, 1fr); gap: 2%; }

	
h1{ font-size:30px; line-height:38px;}
h2{ font-size:26px; line-height:34px;}
h3{ font-size:21px; line-height:30px;}
h4{ font-size:21px; line-height:30px;}
h5{ font-size:21px; line-height:30px;}
h6{ font-size:21px; line-height:30px;}

#block-sidebar-nav h2{ padding:	15px 0}
	
#main_content{width:100%}
#sidebar-nav{width:100%}

	
.useful-links ul{
  grid-template-columns: repeat(2, 1fr); column-gap:
  gap: 10px;
} 
footer .copyright , footer .power{
  text-align: center;
  width: 100%; float: none;
}
footer{ padding: 0}
.list-item .content {flex-direction: column;}
.list-item .content b { text-align: center}
.contact_info ul li{ margin:0}
.contact_info ul li + li{  width:100%; }
.contact_info ul ul li + li{  width:auto; }
.contact_area::before{display:none}
	ul#main-menu p{ text-shadow: 0 0 0;}
.Block_A ul {
  grid-template-columns: repeat(1, 1fr);
  gap: 2%;
}	
.slider-slogan{  bottom: 10%; }
.slider-slogan .slogan_text{ font-size: 1.4em;
  padding: 0.25em;
  line-height: 1.6em;
}
.sitemap-item ul {grid-template-columns: repeat(1, 1fr); gap: 15px;}
	
.subjectmenu ul {
  display: flex; padding:5px;
  flex-wrap: wrap; /* 允許換行 */
  justify-content: flex-start; /* 元素對齊方式 */
}
.subjectmenu ul li { margin:5px }
	
	#main_content{ min-height:300px;}
.template-A ul{   grid-template-columns: repeat(1, 1fr); gap: 2%; display: list-item; padding-bottom: 50px; }
.template-B ul{   grid-template-columns: repeat(1, 1fr); gap: 2%; display: list-item; padding-bottom: 50px; }
.template-C ul{   grid-template-columns: repeat(1, 1fr); gap: 2%; display: list-item; padding-bottom: 50px; }

.news-card a{overflow: hidden;  display: block;}
	
.region--breadcrumb {margin:0 0 20px 0; padding: 0;}

.breadcrumb__list { padding:0px; margin: 0;}
.category ul li a {  padding: 5px 10px; font-size:1.1em;  margin: 0 10px;}
.category{ float:none ; text-align:  center;}
	
.banner_title {  margin: -11vw 0 0 0;}
.banner_title h1{  margin:0; z-index:1 } 
.banner_title h1::before { left:-46%; width:50%; height:1px;  bottom:30px;     }
.banner_title::afterr{ background-size: 70% auto}
	#banner_title h1::after, .banner_title h1::after, #nonbanner_title h1::after {bottom: 0px; }
#nonbanner_title { background: url(../images/web/bg_news.png) no-repeat bottom center; }
#nonbanner_title h1{  padding:120px 0 30px 5% ; color:var(--main-color) ; text-shadow: 0 0 0; } 
#nonbanner_title h1::before {background: var(--main2-color); bottom:43px;}

.sch_highlights b{ font-size:17px; line-height: 21px; margin:0}
.sch_highlights ul li span, .sch_highlights .boxing { font-size:15px; padding:10px 0; }  
	
#block_latest-news::before { display:none}
.bg_whystcc .contents{ width:100%}
.bg_whystcc{ padding:20px 0;}
	
#block-olivero-views-block-latestnews-block {  padding: 20px 0;}	

	.useful_link {
  padding: 30px 0 40px 0;
}
	#block-olivero-views-block-awards-block {padding: 30px 0 0 0;}	
	.home_zoneC {padding: 0px 0 0 0;background: url("../images/web/colored_paper.png") no-repeat top #fff;background-size: cover;}	
.index_button {  padding: 50px 0 0 0;}
	.mission {flex-wrap: wrap;}	
	.mission_title {top: 0px;left: 0;}	
.mission_content {width: 100%;  margin: -20px auto 0 0;}	
.mission_cover {width: 70%;  margin:50px auto 0 auto;}
.mission_content p {padding: 30px 30px; font-size: 18px}
.useful_link .block-info {grid-template-columns: repeat(2, 1fr);}
.contact_info {flex-wrap: wrap;gap: 20px;}	
.logo_bottom {		flex: 0 0 auto;  margin: 0;}
.footer_bottom{ padding:20px 0;}
.logo_bottom img {		max-height: 80px;}
.region--home-useful-links {clear: both;}
.contact_info ul li {text-align: center; line-height:21px;}
.region--footer_top__inner > *, .region--footer_bottom__inner > * {margin-block-end: 0;}
.view-more, .view-more2 { margin:  0px auto}	
.view-more a {padding:10px 25px 10px 25px;font-size: 17.5px;}	
	.view-more a:hover {padding: 15px 25px 10px 25px}
	
	.main_calenadr{ margin-top: 0}
	
	#logo img {max-height: 100px;    margin: 10px 0 60px 0;    padding: 0 0 0px 0px;}

/* .sticky #header {
  position: fixed;
  top: 0px;
  z-index: 10;
  width: 100%;

  min-height: auto;
  max-width: 100%;
  background: none; filter: none;aspect-ratio: auto;
} */
	.swiper img {min-height: 240px;}
	
	.mission_title { font-size: 30px}	
	.home_zoneB {padding: 0 0 0px 0;}	
	
	ul#main-menu li a {background:none !important;}	
	.slider-slogan .slogan_text img {min-height: 0;max-height: 80px;}	
	
	lord-icon { display: none}
	.top_rr_area{ position:relative; width:100%;}
	
#banenr_linking{ position:relative; right:0; top:auto; z-index:1; padding: 0 10px;}
	#banenr_linking ul{ display:flex;flex-wrap: wrap; }
		#banenr_linking ul li{  flex: auto;    width: calc(50% - 20px);    margin: 10px;}
#banenr_linking ul li a{  padding:10px 20px; border-top-left-radius: 8px; border-top-right-radius: 8px; border-bottom-right-radius: 8px;
border-bottom-left-radius: 8px; text-align: center; font-size:19px; line-height:20px; color:#fff; }
	#banenr_linking ul li a span,	#banenr_linking ul li:nth-child(2n) a span ,#banenr_linking ul li:nth-child(3n) a span ,#banenr_linking ul li:nth-child(4n) a span ,#banenr_linking ul li:nth-child(5n) a span {background-size: 40px 40px;padding: 10px 0 10px 45px;}

.banenr-linking{ position:relative; right:0; top:0; z-index:1; padding: 0 10px; margin-top: 0px; transform: translateY(0) !important;}
.banenr-linking ul{ display:flex;flex-wrap: wrap; }
.banenr-linking ul li{  overflow: visible;flex: auto;    width: calc(50% - 20px);    margin: 2px;}
.banenr-linking ul li > a{ overflow: hidden; padding:5px ; border-top-left-radius: 8px; border-top-right-radius: 8px; border-bottom-right-radius: 8px;
border-bottom-left-radius: 8px; text-align: center; font-size:19px; line-height:20px; color:#fff; display:flex; align-items:center; white-space: normal; word-break: break-word; overflow-wrap: anywhere; max-width: 100%; }
.banenr-linking ul li > a img{ width:40px; height:40px;               font-size: 15px;
	/* float: left; */
	text-align: left;/*margin-right:10px;*/ }
.banenr-linking ul li > a span{ padding:0; flex: 1 1 auto; min-width: 0;        text-align: left;font-size: 16px; line-height:20px; }
	
	
	#block-olivero-eclass {margin: 0;  position: absolute;  top: 0;  width: 100%;}	

.top_button { width: 33.3% ;margin: 0;}
#eclass a, #hw a, #home a  { border:0 !important;    width: 100%;    height: 35px;    font-size: 14px;    display: flex;    align-items: center;    justify-content: center;  border-radius: 0 ; border:0}	
	
.top_button a img {    width: auto;    max-height: 25px;    margin: 0;  }
	#block-olivero-bannerlinkingicons { position: relative}	
	#banner_area {padding: 0 0  30px 0;}	
	
	#student  { display: none}	
	#header::before,#header::after {display: none}
	
	#block-olivero-motto {top: auto;    left: 0;right: 0;    margin: auto;    text-align: center;    padding: 40px 0 0 0;}
	  .motto img {    margin: auto;max-height: 36px;  }

@media screen and (max-width: 576px){
	.index_button ul {flex-wrap: wrap;}
	.index_button ul li {flex: 0 0 100%;}
	
  .logo_bottom img {    max-height: 60px;  }	
	#block_latest-news .blocktitle span {width: 60px;  height: 70px;}	
	#block_latest-news .blocktitle p {		padding: 0 20px 0 60px;}
	#block_latest-awards .blocktitle span {width: 60px;  height: 90px;}	
	#block_latest-awards .blocktitle p {		padding: 0 20px 0 60px;}
	.main_calenadr .blocktitle span {width: 60px;  height: 60px;}
	.main_calenadr .blocktitle p {		padding: 0 20px 0 60px;}
}
