body {
 width: 1920px;
  margin: 0 auto;   /* 置中 */
  background: #fff2cc;
  overflow-x: auto; /* 如果螢幕太小，允許橫向捲動 */

}



h1, h2, h3{
    margin: 0;
    padding: 1em 0;
}

	#table_line td {
			border: 1px solid;
		}			

    .awards_left {
        float: left!important;
        width: 100px;
    }


    .awards_right {
        float: right!important;
        width: 100px;
    }
    


#smalltable{

	width: 50%;
	margin:auto;
}

#smalltable td{
		border: 1px solid;
}


/* 透明bg文字內容 */

#op_img
{
	 opacity: 0.2;
	position: absolute;
	width: 100%;
}

/* Banner */
#top_banner{
    
    width: 100%;
    position: flex;
}
 

#banner{
    display: block;
    width: 100%;
    float: left;
  margin-top:-10px;
  
}



/* header */

.header {
  background-color: #fff;
  box-shadow: 1px 1px 4px 0 rgba(0,0,0,.1);
  position: fixed;
  width: 100%;
  z-index: 3;
  display: none;
}


.top_img{
    position: absolute;
    width: 70%;
    margin: 5px; 
  margin-left: 15%;


	
}

.header ul {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;

  height: 100%;
}

.header li a {
  display: block;
  padding: 20px 20px;
 
  text-decoration: none;
}

.header li a:hover,
.header .menu-btn:hover {
  background-color: #f4f4f4;
}

.header .logo {
  display: block;
  float: left;
  font-size: 2em;
  padding: 10px 20px;
  text-decoration: none;
}

/* menu */

.header .menu {
  clear: both;
  max-height: 0;
  transition: max-height .2s ease-out;
  height: 50%;
  position: static;

}

/* menu icon */

.header .menu-icon {
  cursor: pointer;
  float: left;
  padding: 28px 20px;
  position: relative;
  user-select: none;
  
}

.header .menu-icon .nav-icon {
  background: #333;
  display: block;
  height: 5px;
  position: relative;
  transition: background .2s ease-out;
  width: 30px;
}

.header .menu-icon .nav-icon:before,
.header .menu-icon .nav-icon:after {
  background: #333;
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .2s ease-out;
  width: 100%;
}

.header .menu-icon .nav-icon:before {
  top: 10px;
}

.header .menu-icon .nav-icon:after {
  top: -10px;
}

/* menu btn */

.header .menu-btn {
  display: none;
}

.header .menu-btn:checked ~ .menu {
  max-height: 100%;
  background-color: white;

}

.header .menu-btn:checked ~ .menu-icon .nav-icon {
  background: transparent;
}

.header .menu-btn:checked ~ .menu-icon .nav-icon:before {
  transform: rotate(-45deg);
  top:0;
}

.header .menu-btn:checked ~ .menu-icon .nav-icon:after {
  transform: rotate(45deg);
  top:0;
  
}

  



/* menu */
#menu {
    
    width: 100%;
    height: 100px;
    float: left;
}



#menu .menubg{
    background: white;
    width: 100%;
    float: left;

   
   
   
}







#menu .logo {
   width: 20%; 
    
    float: left;
}

#menu .logo img{
   
    width: 100%;
    margin-top: 10px;
}






#menu .space{
    width: 10%;
    float: left;

}

#menu .menubar{
    float: left;
    width: 70%;
  
}


.red {
    background-color: #fff;
    width: 100%;
    
}

.skyblue {
    background-color:  #fff;
    width: 100%;
}

.green1 {
    background-color: #fff;
    width: 100%;
}

.blue {
    background-color: #fff;
    width: 100%;
}

.plum {
    background-color:  #fff;
    width: 100%;
}

.goldenrod {
    background-color:  #fff;
    width: 100%;
}

.grey {
    background-color:  #fff;
    width: 100%;
}

.rlightsalmon {
    background-color:  #fff;
    width: 100%;
}




#video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}
#video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}





#subject_page
{
	
	width:100%;

	
}

#subject_page img {

}



#mid13banner{
	background-image : url("intro/mid13.png");
	background-size : 100% 100%;
	

	}
	
	
		#mid13banner .righttext 
	{

	vertical-align:bottom;
	text-align:right;
	letter-spacing: 3px;
position: relative;
margin-right: 40px;
font-family: '方正細圓' ;
  color : #ffffff;
  font-size: 20px;
 line-height: 420px;
	}



/* Tables */

table {
	width:100%;
	border-collapse: collapse;
	font-size:20px;
}

 #table_menu > td{
	  font-size:20px;
	  color: #a31d3a;
 }


th {

 border: 1px solid black;
 margin:auto;
 text-align:center;
}


#font_show{
	    width: 100%;
		background : white ;
	animation-name: fade-in;
	  animation-duration: 10s;

  -webkit-animation-fill-mode: forwards; 
}

@keyframes fade-in
{
	0%{ opacity: 0;}
    100%{opacity:1;}
}

#main_data_full {
		background :#fff2cc;
	
}


#maintable {
	width:100%;

	 display: block;
}

#maintable_m {
	width:100%;

	 display: none;
	
}

#mainbanner {
width:100%;
 display: block;
 margin-top: -10px;
}


#mainbanner_m {
width:100%;
display: none;
}

#inpicture {
	width: 50%;
}

#rightinimg {
		width: 30%;
		  margin-left: auto;
  margin-right: auto;
  display: block;
  padding-right:20%;
}

#midimage {

	width: 100%;
}

#image80 {
	width: 80%;
}

#image60 {
	width: 60%;
}


#image40 {
	width: 40%;
}

#midimage_test {

	width:100%;
}


#midimage_op02 {
background-color:rgba(255,255,255,0.5);
  border: 0px solid black;
width:100%;
background-blend-mode: screen;
 background-image: url("../../page/introduction/image2/mid5.jpg") ;
background-size:100%;

}

#midimage_op02 p {
	width: 95%;
	padding-left:5%;
	padding-top:5%;
  font-weight: bold;
  color: #000;
 

}


  td p{
	 	font :  30px Georgia, serif;
  }
  

#midtitlename {
	font :  30px Georgia, serif;
	 text-decoration: underline;
}



#righttitlename {
	font :  30px Georgia, serif;
	 text-decoration: underline;
	  text-align: center;
	padding-left:10%;
padding-right:10%;	
}

#rightintext {
	padding-left:10%;
padding-right:10%;	
}


#lefttitlename {
	font :  30px Georgia, serif;
	 text-decoration: underline;
	  text-align: center;
	 	padding-left:10%;
padding-right:10%;	
}

#leftintext {
	padding-left:10%;
padding-right:10%;	
}


#libname {
	font :  70px Georgia, serif;
	 text-decoration: underline;
	  text-align: center;
	 	padding-left:10%;
padding-right:10%;	
}




/* Footer */
#footer
{ width:100%;	
	height:70px;
	background-color: #a31d3a;
margin-top: 45px;
position: relative;
text-align: center;
float: left;
}

#footer .copyright {
    
  
    margin-top: -10px;
    text-align: center;
    font-size: 20px;
    font :  bold 20px Georgia, serif;
    color:white;
    width:100%;

}


/* Subject title */
#maintitle {
	font-size: 0px;
	text-align: center;
	font :  bold 40px Georgia, serif;
}




/* Library picture */

#l_photo img{
	width:200px;
	height: auto;
	
	
}
/* Navbar 外觀 */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  color: #a31d3a;
  background-color: #fff;

  z-index: 1000;
}

/* Link 外觀 */
.navbar a {
  color: #a31d3a;
  font-weight: bold;
  font-size: 28px;   /* ← 統一字體大小，桌面/手機都相同 */
  padding: .5rem 1rem;
 
}

.navbar a:hover,
.navbar .dropdown-item:hover {
  color: #fff;
  background-color: #ed8f15;
}

/* Dropdown menu */
.navbar .dropdown-menu {
  position: absolute;
  white-space: normal;
  overflow-wrap: break-word;
  min-width: 220px;
}

/* 第二層、第三層向右展開 */
.navbar .dropend .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: 0;
  margin-left: 0;
}

/* hover 展開 */
.navbar-nav li:hover > ul.dropdown-menu {
  display: block;
}

/* Dropdown 子箭頭方向提示 */
.dropdown-submenu > .dropdown-toggle::after {
  transform: rotate(-90deg);
  margin-left: .35rem;
}
