@charset "utf-8";
/*Google提供的中文字體*/
/*@import url(https://fonts.googleapis.com/css?family=Montserrat:300,400,400i,500,500i,600,600i,700,700i,800|Open+Sans:400,400i,600,600i,700,700i,800&display=swap);*/

:root {
    --primary: #009CFF;
    --secondary: #777777;
    --light: #F8F8F8;
    --dark: #252525;
}

img, figure { max-width: 100%; height: auto; vertical-align: middle;}

main { margin-top: 75px;}
/*h1 { color: #ffffff; font-weight:900;}*/

.bg-enfp { background-color: #053993; background-image: linear-gradient(#2064da, #0751d1 30%, #053993); border-bottom: 1px solid #adb5bd;}
.logo { display: inline-block; width: 60px; height: 60px;}
.logo img { max-height: 100%; max-width: 100%;}
.o-logo { display: inline-block; height: 40px; transition: .5s;}
.o-logo img { max-height: 100%;}
.o-logo:hover { margin-top: -2px;}

/*上方 右側機構圖示*/
.top-social { text-align: right;}
/*.top-social .social-icon { display: inline-block !important;}*/
.top-social ul { list-style: none; padding: 0; margin: 0;}
/*@media (max-width: 767px) { .top-social ul { margin-right: 0;} }*/
.top-social ul li { display: inline-block; padding: 0; margin-right: 20px;}
.top-social ul li:last-child { margin-right:0;}
/*.top-social ul li a { font-size: 0.875rem; color: #6f8aa6; padding: 5px 5px;}
.top-social ul li a:hover, .top-social ul li a:focus { color: #00b2ce;}*/
@media (min-width: 992px) { .navbar-collapse.m-lr-20 { margin-right:0;} }

/*主選單*/
/*@media (max-width: 1200px) { .navbar-expand-lg .navbar-nav .nav-link { font-size: 0.8125rem; padding-left: 0.25rem; padding-right: 0.25rem;} }*/
@media (min-width: 992px) and (max-width: 1200px) { .navbar-expand-lg .navbar-nav .nav-link { font-size: 0.8125rem; padding-left: 0.25rem; padding-right: 0.25rem;} }

@media (max-width: 991px) {
	.nav-item { border-bottom: 1px dashed #fff;}
	.top-social { padding-top: 15px; padding-bottom: 10px;}
}
.navbar-nav .nav-link.active { color: #ff3;}

/* 主圖輪撥 -------------------------------------------------- */
.carousel { margin-bottom: 4rem;}/*圖片輪播基本框架*/
.carousel-caption { bottom: 3rem; z-index: 10;}/*圖片標題*/
.carousel-item { height: 500px;}/*圖片高度*/
.carousel-item-bgpic { /*background-position: center center;*/ background-size: cover; animation-duration: 15000ms;}
.carousel-control-prev, .carousel-control-next { width:5%; transition: all .3s ease-in-out;}
/*.carousel-caption { right: 10%; left: 10%;}*/
.carousel-item-d-flex { height:100%; display: flex !important; align-items: center !important;}
.carousel-item-d-flex .carousel-caption { position:relative; bottom: auto;}

/* 文案內容 */
.marketing .col-lg-4 { margin-bottom: 1.5rem; text-align: center;} /*將輪播下方三列內的文字置中對齊*/
.marketing .col-lg-4 p { margin-right: .75rem; margin-left: .75rem;}

/*.featurette-divider { margin: 5rem 0;}*/
.featurette-divider { margin: 60px 0;}/*覆蓋 Bootstrap <hr> 分隔線*/
.featurette-divider-2 { margin: 30px 0;}
.featurette-heading { letter-spacing: -.05rem;}/*段落文章標題*/

/* 主圖輪撥 響應式 CSS -------------------------------------------------- */
@media (min-width: 576px) {
  .carousel-caption p { margin-bottom: 1.25rem; font-size: 1.25rem; line-height: 1.4;}
}
@media (min-width: 40em) {
  .featurette-heading { font-size: 50px;}
  /*.carousel-item { height: 300px;}*/
}
@media (min-width: 62em) { .featurette-heading { margin-top: 7rem;} }

/* 主圖輪撥(內頁) */
.carousel.pic-page .carousel-inner .carousel-item { height:250px;}
.carousel.pic-page::after { display: block; height: 100%; width: 100%; content: " "; position: absolute; top:0; background: rgba(0, 0, 0, .5);}/*圖片上加一層半透明黑色*/
.carousel.pic-page .carousel-indicators, /*下方控制按鈕*/
.carousel.pic-page .carousel-control-prev, /*上一張按鈕*/
.carousel.pic-page .carousel-control-next /*下一張按鈕*/ { display:none;}
.carousel.pic-index .character-fixed { display:none;}
    /*內頁文字固定在圖片上層*/
	.character-fixed { position: absolute; display:block; height: 100%; width:100%;}
	.character-fixed .carousel-caption { left:0%;}
    .character-fixed .carousel-caption h1 { /*color: #fc3;*/ letter-spacing: 5px; text-shadow: rgb(0, 0, 0) 3px 3px 8px;}

/*滾動到頂部*/
.back-to-top { position: fixed; display: none; right: 30px; bottom: 30px; z-index: 99;}

/*** Button ***/
.btn { font-weight: 500; transition: .5s;}
.btn.btn-primary { color: #ffffff;}
.btn-square { width: 38px; height: 38px;}
.btn-sm-square { width: 32px; height: 32px;}
.btn-lg-square { width: 48px; height: 48px;}
.btn-square, .btn-sm-square, .btn-lg-square { padding: 0; display: flex; align-items: center; justify-content: center; font-weight: normal;}

/*滑鼠感應位移+陰影*/
.fact-item { transition: .5s;}
.fact-item:hover { margin-top: -10px; background: #FFFFFF !important; border: solid 1px #2fa4e7; border-radius: 4px; box-shadow: 0 0 10px rgba(0, 0, 0, .07);}

h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1 { font-weight: 600; color:inherit;}

.card-text { height: 6em; text-overflow: ellipsis; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical;}
.pic-icon {
    display: flex; align-items: center; justify-content: center;
	width: 80px; height: 80px; font-size: 3rem; line-height: 1; color: rgba(255,255,255,.9);
	margin: 0 auto 1rem; border-radius: 50%; background: linear-gradient(145deg, #375ee3 0%, #6543e0 80%);}
.pic-icon.bg-none { background: none;}

/*page_07 歐洲教育展*/
.pic-icon-02 { border: 1px solid #dee2e6;
    display: flex; align-items: center; justify-content: center;
	width: 50%; height: auto; font-size: 3rem; line-height: 1;
	margin: 0 auto 1rem; border-radius: 5px;}
@media (max-width: 1199px) { .pic-icon-02 { width: 70%; border: none;} }

/***** 底部 *****/
.footer { color: #888; background:#343A40; padding-top: 40px; margin-top:80px;}
.footer-text { /*margin: 20px;*/}

.footer-container-box { position: relative; /*background:url(../images/erasmus-bg.png); background-position: 110% bottom; background-repeat:no-repeat;*/}
@media (max-width: 991px) { .footer-container-box { /*overflow:hidden;*/} }
    
	/*底部-人像*/
	.erasmus-pic-bg { position: absolute; z-index: 3; bottom:0; right:-50px; height:280px; width:330px; background:url(../images/erasmus-bg.png) right bottom no-repeat;}
	@media (max-width: 1450px) { .erasmus-pic-bg { right:0;} }
	@media (max-width: 500px) { .erasmus-pic-bg { height: auto; width:60%; background-size:cover; padding-top: 51%; overflow: hidden;} }
	/*@media (max-width: 500px) { .erasmus-pic-bg { height:212px; width:250px; background-size:cover;} }*/
    /*
	.erasmus-pic { position:absolute; z-index: 3; bottom:0; right:0; display: inline-block; height: 280px;}
	.erasmus-pic img { max-height: 100%; max-width: 100%;}
	.erasmus-star { position:absolute; z-index: 2; transform:rotate(90deg); bottom:0; right:-50px; height:350px; width:350px; opacity: 0.7; background:url(../images/star_02.png) right bottom no-repeat; background-size: 100%;}
	@media (max-width: 500px) { .erasmus-pic { height: 210px;} }
	@media (max-width: 500px) { .erasmus-star { height:270px; width:270px;} }*/

.list-item { list-style: none; margin: 0; padding: 0;}
.list-item li { margin-bottom: 5px;}
.list-arrow { list-style: none; margin: 0; padding: 0;}
.list-arrow li { margin-bottom: 5px;}
.list-arrow li:before { font-family: "Font Awesome 5 Free"; content: "\f105"; /*font: normal normal normal 14px/1 FontAwesome;*/ color: #747474; font-weight: bold; margin-right: 10px;}
.footer .copyright { font-size:12px; line-height:1.2; padding: 20px 0; border-top: 1px solid rgba(256, 256, 256, .1); background:#1b1b1b;}
.footer .copyright a { color: #f8f8f8; text-decoration:none;}
.footer .copyright a:hover { color: #009cff;}
.author { width: 30px; height: 30px; display: inline-block; vertical-align: middle; margin: auto 5px;}
.avatar { width: 100%; height: 100%; border-radius: 100%; background-size: 100%;}

.footer a { color: inherit; text-decoration: none; transition: all .25s;}
.footer a:hover, .footer a:focus { color: #009cff; text-decoration: none; cursor: pointer;}

.cc { display:inline-block; border-radius:3px; padding:4px 6px; /*transform: scale(0.8);*/}
.cc:hover { background: rgba(0, 0, 0, 0.5);}
.cc a { color:#028fcc;}
.cc a:hover { color:#ff6;}

/* 2026-1116 新增功能-最新消息 */
/*首頁-內容九宮格-卡片*/
.i-cards { padding: 0px 15px 15px 15px; margin-left: -15px; margin-right: -15px;/* margin-bottom:15px;*/   /*border-bottom: 1px solid #ddd;*//*卡片底線*/}
    /*標頭*/
	.i-cards-header { display: flex; flex-basis: 100%;/* background: #ebebeb;*/ border-bottom: 1px solid #2fa4e7; padding: 10px 5px 10px 5px; margin-bottom: 10px; align-items: center;}
	.i-cards-header:after { clear:both;}
	.i-cards-title { display:inline-block;/* padding-right:1rem;*/ overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
	.i-cards-header h3 { display: inline-block !important; margin: 0 !important; /*font-size: 1.5rem;*/ /*color:#177BB1;*/ /*font-weight:bold;*/}
	/*.i-cards-header h3:lang(en-us) {font-size: 1.3125rem;letter-spacing:-1px;}
    @media (min-width: 992px) and (max-width: 1200px) {
      .i-cards-header h3:lang(en-us) { font-size: 1.125rem;}
    }*/
	.i-cards-tools { display: inline-block; float: right; margin-top: 2.5px; padding: 0; margin-left:1rem; white-space: nowrap; flex-grow: 1;}
	.i-cards-tools .more { font-size:0.875rem; color: #666; background: #fff; text-decoration:none; border: 1px solid #ddd; border-radius: 15px; padding: 0px 10px;}
	.i-cards-tools .more:hover, .i-cards-tools .more:focus { color: #f93;}
    /*列表-圖片*/
	.i-cards-img-box { float: left; padding:10px; margin-top:5px; margin-right: 20px; margin-bottom: 5px; border: 1px solid #ddd; border-radius:3px;}
	.i-cards-img { background-position: center center; background-size: contain; background-repeat: no-repeat;/* margin:10px;*/ border-radius:3px;}
	.i-cards-img img { width: 100%;}
	.image-con { background-position: center center; background-size: cover;}
	.image-height { padding-top: 60%;}
    /*列表*/
	.i-cards-item { display: block; padding: 0 0 10px 0;}
	.i-cards-item + .i-cards-item { border-top: 1px solid #ddd; padding: 5px 0 5px 0;}
	.i-cards-item > .title a { /*font-size: 0.9375rem;*/ color:#495057; text-decoration: none; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical;}
	.i-cards-item > .title a:hover,
	.i-cards-item > .title a:focus { color:#009cff;}
	.i-cards-item > .title a.short-title  { -webkit-line-clamp: 2;} /*短標題改為呈現2行，原為1行*/
	.i-cards-item > .title > .date { /*font-size: 0.8375rem;*/ color:#2fa4e7; float:left; width: 6em; margin-bottom:0;}
	.i-cards-list .i-cards-item:first-child > .title > .date { float: none; width: auto;} /*第一筆資料的日期置於標題上方*/
	.i-cards-list .i-cards-item:first-child.not-page { padding: 3px 0 5px 0;}
	.i-cards-list .i-cards-item:first-child.not-page > .title > .date { float: left; width: 6em;} /*第一筆資料的日期,如果是連結或下載維持置於標題前方*/
	.i-cards-item > .text { font-size: 0.875rem; color: #999; overflow: hidden; height: 3em; text-overflow: ellipsis; display: -webkit-box;/*chrome*/ display: inline flow-root list-item;/*Firefox*/ -webkit-line-clamp: 2;/* -webkit-box-orient: vertical;*/}
    
    /*三分之二寬度 (較長的)*/
	.i-cards-longer .i-cards-list-con { /*display:table-cell;*/ display: grid;/*修正內容太短時不會自動撐開*/}
	.i-cards-list.i-cards-longer .i-cards-img-box.img-horizontal { width:230px;} /*橫式horizontal*/
	.i-cards-list.i-cards-longer .i-cards-img-box.img-vertical { width:140px;} /*直式straight*/
	@media (max-width: 768px) { 
	    .i-cards-longer .i-cards-img-box { display:none; padding:0px; margin-right:10px; border:none;}
		.i-cards-longer .i-cards-item .i-cards-img-box { display: inline-block;}
		.i-cards-list.i-cards-longer .i-cards-item .i-cards-img-box.img-horizontal { width:105px;} /*橫式horizontal*/
		.i-cards-list.i-cards-longer .i-cards-item .i-cards-img-box.img-vertical { width:60px;} /*直式straight*/
	}
	@media (min-width: 769px) { 
	    .i-cards-longer .i-cards-img-box { display: inline-block;}
		.i-cards-longer .i-cards-item .i-cards-img-box { display: none;}
	}