img{
	max-width:100%;
}

#intro .jumbotron{    
    height: 40vh;
    margin-bottom: 0; 
    position: relative;
}

/* 偽元素-開始 */
/* 將背景圖片變暗，且不影響文字 */
#intro .jumbotron::after{
    content: '';
    position: absolute;    
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    
    background: url('../pictures/top.jpg');
	background-size: cover;
    background-repeat: no-repeat;
    background-position: 50%;
    filter:brightness(0.5);    
}
#intro .jumbotron > * {
    z-index: 100; 
}
/* 偽元素-結束 */


#intro h2{
    color:white;
}

#intro h1{
    color:white;
}

#intro .container{
	position: relative;
	top: 50%;
	-webkit-transform: translateY(-50%);	/*舊版適用*/
	-ms-transform: translateY(-50%);		/*舊版適用*/
	transform: translateY(-50%);
}

/* 選單bar */
/* navbar */
.nav-link {
    transition: 1s ease;
}

header a:after{
    content: "";
    display: block;
    height: 2px;
    width: 0%;
    background: #fff;
    margin: 5px 0;
    transition: 1000ms ease;
}

header a.active:after{
    width: 100%;
}

#lokiArrow {
    opacity: 0;
    transition: 500ms ease;
}
#lokiArrow.shown {
    opacity: 1;
}
#lokiMenu {
    transition: 1s ease;
}




header li{
    margin: 0 18px;
}

header {
    background-color: #212529;
}

header .container>div>div>ul{
    margin: 0;
}

/* 最新消息 */

#enrich_news .container{
    padding-top: 150px;
    padding-bottom: 75px;
}

.news_title_conatiner {
    padding: 8px;
    margin: 5px 0px;
    background-color: #ffffff
}

.news_title{
    padding: 5px 0px  5px 20px;    
    border-left: #FFBB54 4px solid;
    margin-bottom:2px;    
    margin-right:0px;
    margin-top:2px;
    cursor: pointer;    
}

.news_title>a {
    text-decoration: none;
}

.news_title>a>span {    
    color:#E88B00;
    font-size: 14px;
}

.news_title > a > p {
    color: #1d1d1d;
    margin: 5px 0px 0px 0px;
    font-size: 18px;
}

.news_title:hover {
    background-color: #fffaf0;
}

li:hover>.news_title_conatiner{
    background-color:#e2e2e2;
}

.news_body {
    background: #e88b0030;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
    /* transition: max-height 0.3s ease; */
    padding: 0 20px;
}

.news_body.open {
    max-height: 1000px; /* 适当的高度，以展示完整内容 */
    padding: 10px 20px;
}



/* 服務項目 */

#enrich_service .container{
    padding-top: 75px;
    padding-bottom: 150px;    
}

/* 呼叫div下面div的方法 */
#enrich_service .container>div{
    padding-top: 20px;
}

/* 課程資訊 */
#enrich_curr {
    padding-top: 40px;
    padding-bottom: 40px;
    background: linear-gradient(to bottom, #ffffff, #f3f3f3);
}

#enrich_curr .row {
  justify-content: center;
}

#enrich_curr .box_curr .btn a {
    font-size: 18px;
    color: white;
    text-decoration: none;
}

/* #enrich_curr .circle-box {
  width: 165px;
  height: 165px;
  border: none; 
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;  
}*/






/* ABC知識園地 */
/* .card-img-fixed {
  width: 100%;
  height: 150px;
  object-fit: cover;
  object-position: center;
  background-color: #a53232;
  border-top-left-radius: 0.375rem;
  border-bottom-left-radius: 0.375rem;
  margin: 0;
  padding: 0;
  display: block;
}

.object-fit-container {
  width: 100%;
  height: 100%;
  max-height: 150px;
  overflow: hidden;
  background-color: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top-left-radius: 0.375rem;
  border-bottom-left-radius: 0.375rem;
}

.img--cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.card .row .col-md-4 {
  overflow: hidden;
}*/

/* 卡片圖片容器，高度同步右側內容 */
.card-img-sync {
  height: 100%;
  overflow: hidden;
  border-top-left-radius: 0.375rem;
  border-bottom-left-radius: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f5f5f5;
}

/* 圖片本身填滿容器 */
.card-img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* 確保文字區也填滿 */
.card-body {
  height: 100%;
}


/* 聯絡我們 */
#enrich_contact{
    background-color: #E88B00;    
}

#enrich_contact .container{
    padding-top: 40px;
    padding-bottom: 40px;
    margin-bottom: 0;    
}


/* 最底下 */
#enrich_down{
    background-color: #1d1d1d;
    color: #bdbdbd;

}

#enrich_down .container>div>div>p{
    font-size: 10PT;
    text-align:center;    
    display:  flex;
    align-items: center;
    justify-content:  center;
    margin-bottom: 0;
}


/* About關銓佑 */

#enrich_about1 {    
    /* background-color: #d4d4d4; */
    background: linear-gradient(to bottom, #ffffff, #f3f3f3);
}


#enrich_about1 .container{
    padding-top: 150px;
    padding-bottom: 150px;       
}

.about1_text{    
    line-height: 60px;
    font-size : 25px;

}


.about1_title{
    /* border-style:double; */
    border-style:solid;    
    border-radius: 30px;
    border-width: 2px;

    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 55px;
}

.about2_title{    
    margin-top: 100px;
    margin-bottom: 30px;
    
}

.about3_title{    
    margin-top: 80px;
    margin-bottom: 30px;
    
}

.about4_title{    
    margin-top: 80px;    
    margin-bottom: 30px;
    
}

.about4_body{    
    margin-bottom: 100px;
}

#enrich_about2box .container {
    margin-top: 80px;
    margin-left: 100px;
}

#enrich_about2 h2 {    
    margin-bottom: 30px;
}

#enrich_about2 p {    
    margin-bottom: 70px;
}




/* Service服務項目 */
#enrich_service1 #enrich_ser1{
    font-size: 25px; 
}

#enrich_ser2 ul {
  list-style-type: disc;
  margin-left: 1.5em; 
  padding-left: 1em;
}

#enrich_ser2 ul ul {
  list-style-type: circle; /* 第二層用空心圓 */
  margin-left: 1.5em;
}


/* curriculum課程資訊 */





/* 共用 */


ul {
    margin: 0;
    padding: 0;    
    list-style: none; 
}

a{
    text-decoration:none;
}
