@charset "UTF-8";
@import url("https://fonts.googleapis.com/css?family=Kanit");
html,
body {
  height: 100%;
  font-size: 16px;
  line-height: 1.5;
  font-family: Helvetica, Arial, '微軟正黑體', 'LiHei Pro', '新細明體',
 sans-serif;
  background-image: url(../images/white_plaster.png);
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-weight: bold;
}

.jumbotron {
  display: block;
  background-color: #fffbee;
  margin-bottom: 0;
  padding: 25px 15px;
  border-top: 20px solid #990000;
  border-radius: 0;
  margin-top: 40px;
}

.jumbotron img {
  -webkit-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
}

.jumbotron img:not([src$='logo_ntu_system_s.png']):hover {
  -webkit-transform: scale(1.4);
  -ms-transform: scale(1.4);
  transform: scale(1.4);
}

@media screen and (max-width: 1250px) {
  #header .jumbotron {
    margin-top: 90px;
  }
}

@media screen and (max-width: 768px) {
  #header .jumbotron {
    margin-top: 40px;
  }
}

#wrapper {
  margin: auto;
  background: #f4f4f4;
  padding: 0;
  -webkit-box-shadow: 0 0 1px #ccc;
  box-shadow: 0 0 1px #ccc;
}

.flexslider {
  border: 0;
}

.flexslider .flex-caption {
  width: 100%;
  height: 60px;
  line-height: 60px;
  text-align: center;
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
  font-size: 1.5em;
  font-weight: bolder;
  letter-spacing: 1px;
  margin-bottom: 0;
  margin-top: -60px;
}

.flexslider a:hover {
  text-decoration: none;
}

#content {
  padding: 3%;
  border-left: 1px solid #ebebeb;
  border-right: 1px solid #ebebeb;
}

/*首頁焦點新聞區塊*/
#content .panel {
  border: 1px solid #dddddd;
  margin-bottom: 30px;
}

#content .panel-heading {
  font-size: 1.2em;
  font-weight: bold;
  color: #cf3213;
  letter-spacing: 2px;
  background-color: #efede8;
}

#content .panel-body {
  padding: 15px;
}

#content small.date {
  display: block;
  color: #baa789;
  margin-bottom: 5px;
}

#content .spot a {
  display: block;
  text-decoration: none;
}

#content .spot h3 {
  color: #0068b7;
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 30px;
  -webkit-transition: all 0.6s;
  -o-transition: all 0.6s;
  transition: all 0.6s;
}

#content .spot h3:hover {
  color: #28a4ff;
}

#content .spot p.spot-CT {
  font-size: 0.95em;
  color: #313131;
  text-align: justify;
  margin-bottom: 20px;
}

#content .spot p:nth-of-type(2) {
  max-height: 280px;
  overflow: hidden;
}

/*首頁最新消息區塊*/
#content .news ul.news-list {
  padding: 20px;
}

#content .news ul.news-list li,
#content ul.allnews li {
  list-style-type: none;
}

#content .news ul.news-list li a:before,
#content ul.allnews li a:before {
  content: ' ';
  display: inline-block;
  margin-right: 10px;
  width: 6px;
  height: 6px;
  line-height: 6px;
  background-color: #13b5b1;
  border-radius: 100%;
}

#content .news ul.news-list li a,
#content ul.allnews li a {
  display: block;
  padding-top: 20px;
  padding-bottom: 20px;
  text-decoration: none;
  color: #313131;
  font-size: 1em;
  white-space: nowrap;
  overflow: hidden;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  border-bottom: 1px solid #e5e5e5;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

#content .news ul.news-list li a:hover,
#content ul.allnews li a:hover {
  color: #eb6100;
}

#content .news ul.news-list li:first-child a {
  padding-top: 0;
}

#content .news ul.newsPagerNav,
#content ul.newsPagerNav {
  text-align: center;
  margin: 0;
  padding: 0;
  margin-top: 30px;
  margin-bottom: 20px;
  text-decoration: none;
}

#content .news ul.newsPagerNav li,
#content ul.newsPagerNav li {
  list-style-type: none;
  display: inline-block;
  margin-bottom: 15px;
}

#content .news ul.newsPagerNav li a:before,
#content ul.newsPagerNav li a:before {
  content: '';
  display: none;
}

#content .news ul.newsPagerNav li a,
#content ul.newsPagerNav li a {
  font-size: 0.9em;
  color: #fff;
  display: inline-block;
  width: 30px;
  height: 30px;
  background-color: #edbcb2;
  margin-right: 20px;
  padding-top: 2px;
  border-radius: 100%;
  -webkit-transition: all 0.6s;
  -o-transition: all 0.6s;
  transition: all 0.6s;
}

#content .news ul.newsPagerNav li a:hover,
#content .news ul.newsPagerNav li.currentPage a,
#content ul.newsPagerNav li a:hover,
#content ul.newsPagerNav li.currentPage a,
#content ul.newsPagerNav li.active a {
  background-color: #ed4726;
  text-decoration: none;
}

#content {
  min-height: 800px;
}

#content .more {
  display: inline-block;
  width: 60px;
  height: 30px;
  padding: 5px 10px;
  font-family: 'arial';
  font-size: 10px;
  color: #cf3213;
  text-decoration: none;
  border-radius: 15px;
  border: 1px solid #dddddd;
  background-color: #fff;
  letter-spacing: normal;
  position: absolute;
  right: 12px;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

#content .more:hover {
  color: #fff;
  background-color: #f07158;
  border: 1px solid #eb4a2a;
}

#content .news {
  margin-bottom: 30px;
}

#content .news .panel-heading {
  position: relative;
}

#content .posts .panel-heading {
  margin-bottom: 20px;
  position: relative;
}

#content .posts .post {
  text-align: center;
  padding: 0 15px;
}

#content .posts .post .actTitle {
  font-size: 14px;
  line-height: 1.2;
  height: 40px;
  padding: 8px 5px 0 5px;
  color: #313131;
  letter-spacing: 1px;
}

#content .posts .post.lecture h4 {
  width: 100%;
  font-size: 13px;
  letter-spacing: 1px;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  height: 40px;
  line-height: 40px;
  color: #fff;
  text-align: center;
  text-decoration: none;
  position: absolute;
  bottom: -50px;
  background-color: rgba(51, 51, 51, 0.8);
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.8);
  opacity: 0;
  -webkit-transition: all 1s;
  -o-transition: all 1s;
  transition: all 1s;
}

#content .posts .post.lecture:hover img {
  -webkit-transform: scale(1.5) translateY(-5%);
  -ms-transform: scale(1.5) translateY(-5%);
  transform: scale(1.5) translateY(-5%);
}

#content .posts .post.lecture:hover h4 {
  bottom: 0;
  opacity: 1;
}

#content .posts .post a {
  display: inline-block;
  width: 100%;
  min-height: 160px;
  overflow: hidden;
  text-decoration: none;
  position: relative;
  background-color: #fff;
}

#content .posts .post img {
  width: 100%;
  position: relative;
  -webkit-transition: all 2s;
  -o-transition: all 2s;
  transition: all 2s;
}

/*內頁文章區塊*/
#content article img.img-thumbnail + p {
  font-size: 13px;
  margin-top: 10px;
  letter-spacing: 1px;
  margin-bottom: 30px;
}

#content article {
  line-height: 2;
  padding-left: 5%;
  padding-right: 5%;
}

#content article a {
  color: #eb6100;
}

#content article h1 {
  font-size: 1.5em;
  font-weight: bold;
  color: #990000;
  letter-spacing: 2px;
  border-bottom: 3px solid #990000;
  line-height: 2.4;
  text-shadow: 0 1px 1px rgba(42, 0, 0, 0.3);
  margin-bottom: 50px;
}

#content article h2 {
  font-size: 1.3em;
  font-weight: bold;
  line-height: 2.4;
  color: #0a5892;
}

#content article h5 {
  padding-bottom: 35px;
  line-height: 1.5;
}

#content article p {
  line-height: 1.5;
  margin-bottom: 25px;
}

#content article #campusInfo ul {
  margin-bottom: 20px;
}

/*內文table樣式開始*/
#content .myTable {
  margin: 20px 0;
  width: 100%;
  border: 1px solid #a0967f;
}

#content .myTable th {
  font-weight: bold;
  background: #e9e0c9;
  border: 1px solid #a0967f;
  padding: 10px;
}

#content .myTable td {
  border: 1px solid #a0967f;
  padding: 10px;
}

/*內文table樣式結束*/
/*圖片至中*/
.img-center {
  width: 100%;
  max-width: 720px;
  height: auto;
  display: block;
  margin: auto;
}

/*小icon齊上*/
.img-small {
  max-width: 400px;
}

.icon_small {
  vertical-align: text-top;
}

footer {
  color: #fff;
  background-color: #990000;
  padding: 20px 0;
}

footer .totalNum {
  display: inline-block;
  font-family: 'Kanit', sans-serif;
  font-size: 22px;
  letter-spacing: 1px;
  margin: 5px;
}

#goTop {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  position: fixed;
  right: 30px;
  bottom: 30px;
  cursor: pointer;
}

#goTop i {
  font-size: 50px;
  opacity: 0.3;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

#goTop:hover i {
  opacity: 0.8;
}

.success .post {
  padding: 30px;
}

.success a {
  display: inline-block;
  min-height: 200px;
  background-color: #333;
  overflow: hidden;
  position: relative;
}

.success h4 {
  width: 100%;
  font-size: 15px;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  height: 40px;
  line-height: 40px;
  color: #fff;
  text-align: center;
  text-decoration: none;
  position: absolute;
  bottom: 0;
  background-color: rgba(51, 51, 51, 0.9);
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.8);
}

.success img {
  width: 100%;
}

ul.nav.navbar-nav {
  position: relative;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
}



