@charset "UTF-8";
* {
  position: relative;
}

body {
  margin: 0px;
  padding: 0px;
  color: #000;
  font-weight: 400;
  font-family: "Custom", "Noto Sans TC", "Nobel Book";
  text-align: left;
  letter-spacing: 1px;
  margin-top: 90px;
}

.nonedata {
  display: none;
  color: #b1b1b1;
}

.loadingcover {
  background-color: #fff;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0px;
  left: 0px;
  z-index: 999;
}

centerwrap {
  max-width: 1240px;
  position: relative;
  margin: auto;
  text-align: center;
  height: 100%;
  display: block;
}

centerwraps {
  max-width: 960px;
  position: relative;
  margin: auto;
  text-align: center;
  height: 100%;
  display: block;
}

li {
  list-style: none;
}

a {
  display: contents;
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  margin-block-start: 0;
  margin-block-end: 0;
  font-weight: normal;
}

/* placeholder */
::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  font-weight: 300;
  color: #999;
}

::-moz-placeholder { /* Firefox 19+ */
  font-weight: 300;
  color: #999;
}

:-ms-input-placeholder { /* IE 10+ */
  font-weight: 300;
  color: #999;
}

:-moz-placeholder { /* Firefox 18- */
  font-weight: 300;
  color: #999;
}

/* 開發測試 */
.dev {
  display: none;
}

input, textarea, select {
  -moz-box-shadow: none !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  -moz-outline: none !important;
  -webkit-outline: none !important;
  outline: none !important;
}

/*  rwd  */
@media screen and (max-width: 960px) {
  .videoView .wrap {
    width: 100vw;
    height: 100vh;
    padding-bottom: 0;
    position: absolute;
    left: 0;
    top: 0;
    margin-left: 0;
    margin-top: 0;
  }
}
/* ............................................................ */
select {
  height: 40px;
  border-radius: 5px;
  border: 2px solid #d1cccc;
  width: 220px;
  font-size: 16px;
  text-align-last: center;
}

.pc {
  display: block;
}

.m {
  display: none;
}

pc {
  display: block;
}

m {
  display: none;
}

pc2 {
  display: block;
}

m2 {
  display: none;
}

#fb-root {
  display: none;
  opacity: 0;
}

.dotcover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background-color: rgba(0,0,0,0.1); */
  z-index: 2;
  background: url(/images/screentone.png) repeat 0 0;
  opacity: 0.8;
}

horizon {
  display: block;
  margin-bottom: 30px;
  margin-top: 30px;
  border-top: 1px dashed #e9e9e9;
}

body {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
}

/* topbanner  */
/* ............................................................ */
section.topbanner {
  margin-top: 90px;
}
section.topbanner .title {
  color: #535353;
  height: 120px;
  margin-left: 50px;
  font-size: 30px;
}
section.topbanner .title h1 {
  font-size: 30px;
  position: absolute;
  left: 0px;
  top: 34px;
  background-color: #FFF;
  z-index: 1;
  padding-right: 50px;
}
section.topbanner .title:after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background-color: #eeeeee;
  position: absolute;
  top: 58px;
}
section.topbanner .photo {
  background-color: #f9f9f9;
  height: 450px;
  background-size: cover;
  background-position: center;
}

/* 沒有值則隱藏 */
.valuenone[value=""] {
  display: none;
}

/* sitemap  */
/* ............................................................ */
section.sitemap {
  background-color: #2c7875;
}
section.sitemap centerwrap {
  padding: 40px;
  font-size: 12px;
  text-align: left;
  color: #FFF;
  line-height: 2;
}
section.sitemap centerwrap .each {
  display: inline-block;
  vertical-align: top;
  width: 9%;
  margin-right: 1%;
  margin: 0.3%;
}
section.sitemap centerwrap .each a {
  display: block;
  color: #d1eae7;
  line-height: 18px;
  margin-bottom: 12px;
}
section.sitemap centerwrap .each a.title {
  color: #FFF;
  font-size: 14px;
}

/* footer  */
/* ............................................................ */
footer {
  background-color: #161616;
  color: #FFF;
}
footer .in {
  display: flex;
}
footer centerwrap {
  padding: 60px;
  padding-bottom: 130px;
  background-image: url(/images/blacken.png);
  background-position: left 55px bottom;
  background-repeat: no-repeat;
}
footer .leftWrap {
  flex: 0 0 70%;
  vertical-align: top;
  text-align: left;
}
footer .leftWrap .name {
  font-size: 18px;
  color: #c4c4c4;
}
footer .leftWrap .nameEn {
  font-size: 14px;
  color: #c4c4c4;
}
footer .leftWrap .contactWrap {
  margin-top: 20px;
  font-size: 15px;
}
footer .leftWrap .contactWrap li {
  line-height: 1.8;
  margin-left: 75px;
  text-indent: -75px;
}
footer .rightWrap {
  flex: 0 0 30%;
  vertical-align: top;
  text-align: right;
}
footer .rightWrap .iconWrap .icon {
  display: inline-block;
  height: 45px;
}
footer .rightWrap .cpr {
  position: absolute;
  right: 0;
  bottom: -80px;
  font-size: 14px;
}

/* nav  */
/* ............................................................ */
body[scrolled=true] nav .pc_header {
  box-shadow: 0px 0px 50px 5px rgba(0, 0, 0, 0.06);
}
body[scrolled=true] nav .m_header {
  box-shadow: 0px 0px 50px 5px rgba(0, 0, 0, 0.06);
}

nav {
  z-index: 100;
}
nav .pc_header {
  position: fixed;
  top: 0;
  width: 100%;
  text-align: center;
  background-color: #FFF;
  z-index: 2;
  -webkit-transition: box-shadow 0.3s;
  -moz-transition: box-shadow 0.3s;
  -o-transition: box-shadow 0.3s;
  transition: box-shadow 0.3s;
}
nav .pc_header .logo {
  height: 55px;
  position: absolute;
  left: 23px;
  top: 14px;
}
nav .pc_header .logo-en {
  position: absolute;
  left: 92px;
  top: 46px;
  font-size: 10px;
  letter-spacing: 0;
}
nav .pc_header .logo-text {
  position: absolute;
  left: 91px;
  top: 24px;
  font-size: 16px;
}
nav .pc_header .nknu-nav {
  position: absolute;
  right: 30px;
  width: 77px;
  top: 30px;
}
nav .pc_header centerwrap {
  height: 90px;
}
nav .pc_header .btns_wrap {
  position: absolute;
  right: 30px;
  top: 0px;
  z-index: 4;
  color: #FFF;
}
nav .pc_header .btns_wrap .btn {
      display: inline-block;
    color: #303030;
    font-weight: 400;
    font-size: 14.5px;
    padding: 14px;
    padding-left: 2px;
    padding-right: 4px;
    letter-spacing: 0px;
    height: 61px;
    line-height: 60px;
}
nav .pc_header .btns_wrap .btn[page=unitPlanning] {
  color: #cc8686;
}
nav .pc_header .btns_wrap .btn[page=unitResearch] {
  color: #cc8686;
}
nav .pc_header .btns_wrap .btn[page=unitIAC] {
  color: #cc8686;
}
nav .pc_header .btns_wrap .btn[page=nstcpi] {
  letter-spacing: 0;
}
/* 暫時隱藏計畫主持人專區導覽入口，直接網址仍可使用 */
nav .btns_wrap .btn[page=nstcpi] {
  /* display: none; */
}
nav .pc_header .btns_wrap .btn:hover {
  color: #b22828;
  background-color: #f0f0f0;
}
nav .pc_header .btns_wrap .btn.selected {
  height: 59px;
  background-color: #f0f0f0;
}
nav .pc_header .btns_wrap .btn.active {
  color: #b22828;
  font-weight: bold;
}
nav .pc_header .btns_wrap .btn.morebtns:before {
  content: "...";
  position: absolute;
  top: 29px;
  width: 100%;
  left: 0;
  font-size: 20px;
}
nav .pc_header .fb {
  width: 35px;
  right: 40px;
  position: absolute;
  top: 20px;
}
nav .btnListWrap {
  background-color: #f0f0f0;
  width: 100%;
  position: fixed;
  left: 0;
  text-align: center;
  z-index: 2;
  margin-top: -2px;
}
nav .btnListWrap li {
  display: inline-block;
  padding: 15px;
  padding-top: 30px;
  padding-bottom: 30px;
  color: #585858;
  font-size: 14px;
}
nav .btnListWrap li br {
  display: none;
}
nav .btnListWrap li:hover {
  color: #b22828;
}
nav .btnListWrapCancel {
  background-color: red;
  width: 100%;
  height: 100%;
  z-index: 1;
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0;
}
nav .m_header {
  background-color: #FFF;
  height: 60px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  -webkit-transition: box-shadow 0.3s;
  -moz-transition: box-shadow 0.3s;
  -o-transition: box-shadow 0.3s;
  transition: box-shadow 0.3s;
}
nav .m_header .logo {
  height: 41px;
  top: 8px;
  left: 16px;
}
nav .m_header .logo-en {
  position: absolute;
  left: 63px;
  top: 29px;
  font-size: 10px;
  letter-spacing: 0;
}
nav .m_header .logo-text {
  position: absolute;
  left: 63px;
  top: 13px;
  font-size: 12px;
}
nav .m_header .btns_wrap {
  background-color: #cc5626;
  width: 100%;
  height: auto;
  position: fixed;
  top: 60px;
  text-align: center;
  color: #FFF;
  padding-top: 20px;
  padding-bottom: 50px;
  transition: opacity 0.1s ease-in-out;
  opacity: 0;
  pointer-events: none;
}
nav .m_header .btns_wrap .btn {
  height: 40px;
  height: 50px;
  line-height: 50px;
}
nav .m_header .menu-icon {
  position: fixed;
  right: 14px;
  font-size: 12px;
  top: 20px;
  cursor: pointer;
  z-index: 950;
  width: 30px;
  height: 25px;
  transition: all 0.3 ease;
}
nav .m_header .menu-icon span {
  height: 2px;
  width: 27px;
  background-color: #111;
  display: block;
  transition: all 0.3s ease;
}
nav .m_header .menu-icon:before {
  content: "";
  height: 2px;
  width: 27px;
  background-color: #111;
  display: block;
  margin-bottom: 7px;
  transition: all 0.3s ease;
}
nav .m_header .menu-icon:after {
  content: "";
  height: 2px;
  width: 27px;
  background-color: #111;
  display: block;
  margin-top: 7px;
  transition: all 0.3s ease;
}

nav.open .m_header .btns_wrap {
  opacity: 1;
  pointer-events: auto;
}

@media screen and (max-width: 1220px) and (min-width: 1081px) {
  nav .pc_header > centerwrap > a:first-child {
    transform: scale(0.8);
    transform-origin: left bottom;
    display: block;
    margin-top: 10px;
  }
}

body[scrolled=true] nav .pc_header {
  background: 0 0;
  filter: none;
  background-color: #FFF;
}

.button {
  border: 1px solid #FFF;
  padding: 5px;
  text-align: center;
  height: 40px;
  line-height: 40px;
  cursor: pointer;
  border-radius: 60px;
  max-width: 200px;
}

/* noteAlert  */
/* ...............................  */
.noteAlert {
  display: none;
  background-color: rgba(0, 0, 0, 0.6117647059);
  height: 100px;
  width: 300px;
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 999;
  margin-left: -150px;
  margin-top: -50px;
  border-radius: 10px;
  text-align: center;
}

.noteAlert i {
  color: #FFF;
  font-size: 35px;
  margin-top: 17px;
}

.noteAlert .text {
  color: #FFF;
  text-align: center;
  margin: 15px;
  font-size: 16px;
  margin-top: 5px;
}

/* btn */
body[p=about] .btns_wrap .btn[page=about],
body[p=news] .btns_wrap .btn[page=news],
body[p=recruit] .btns_wrap .btn[page=recruit],
body[p=student] .btns_wrap .btn[page=student],
body[p=enroll] .btns_wrap .btn[page=enroll],
body[p=plan] .btns_wrap .btn[page=plan],
body[p=acadact] .btns_wrap .btn[page=acadact],
body[page=download] .btns_wrap .btn[page=download],
body[page=links] .btns_wrap .btn[page=links],
body[page=teacherstaff] .btns_wrap .btn[page=teacherstaff] {
  color: #009688;
}

body[scrolled=true] .btn[page=newprojects] {
  background-color: #191919;
}

/* newsList */
/* ............................. */
.newsList li {
  border-bottom: 1px solid #e0e0e0;
  padding: 20px;
  text-align: left;
  font-size: 15px;
}
.newsList li:not([department=all]) b {
  margin-right: 8px;
}
.newsList li .date {
  color: #888888;
  margin-bottom: 5px;
}
.newsList li .type {
  position: absolute;
  right: 15px;
  top: 30px;
  color: #d82b2b;
}
.newsList li .text b {
  color: #b64343;
}

/*  rwd  */
/* -----------------------------------*/
/*  rwd  */
/* -----------------------------------*/
@media screen and (max-width: 1080px) {
  pc2 {
    display: none;
  }
  m2 {
    display: block;
  }
  body {
    margin-top: 60px;
  }
}
@media screen and (max-width: 768px) {
  .button {
    height: 30px;
    line-height: 30px;
    font-size: 14px;
  }
  pc {
    display: none;
  }
  m {
    display: block;
  }
  .pc {
    display: none;
  }
  .m {
    display: block;
  }
  section.topbanner {
    margin-top: 0px;
  }
  section.topbanner .title {
    height: 65px;
    margin-left: 0px;
    font-size: 30px;
  }
  section.topbanner .title h1 {
    font-size: 22px;
    position: absolute;
    left: calc(50% - 100px);
    top: 15px;
    z-index: 1;
    padding-right: 0px;
    width: 200px;
    letter-spacing: 4px;
  }
  section.topbanner .photo {
    height: 150px;
  }
  section.topbanner .title:after {
    top: 32px;
  }
  section.sitemap {
    display: none;
  }
  /* footer */
  footer .leftWrap .contactWrap {
    margin-bottom: 30px;
  }
  footer .in {
    display: block;
  }
  footer centerwrap {
    padding: 40px;
    padding-bottom: 34px;
    background-position: left 25px bottom;
  }
  footer .leftWrap .contactWrap {
    margin-top: 20px;
    font-size: 13px;
  }
  footer .rightWrap .iconWrap {
    text-align: center;
  }
  footer .rightWrap .cpr {
    position: relative;
    right: 0;
    bottom: 0;
    font-size: 14px;
    text-align: center;
    margin-top: 20px;
  }
  .newsList li .type {
    top: 20px;
  }
}
