/*--- reset ---*/
body,
dl,
dt,
dd,
ul,
ol,
li,
th,
td,
form,
input,
textarea,
p {
  margin: 0;
  padding: 0;
}
img {
  display: block;
  border: 0;
}
li {
  list-style: none;
}
sup {
  vertical-align: text-top;
}
sub {
  vertical-align: text-bottom;
}
article,
aside,
canvas,
figure,
figure img,
figcaption,
footer,
header,
hgroup,
menu,
nav,
section,
audio,
video {
  display: block;
  margin: 0;
  padding: 0;
}
/*--- common ---*/
html {
  overflow-y: scroll;
  background-color: #222;
}
body {
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
  font-family: "微軟正黑體", "Microsoft JhengHei", sans-serif;
  color: #8f8f8f;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}
p {
  text-align: justify;
  text-justify: distribute;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: fixed;
  border: 1px solid #000;
}
th {
  border: 1px solid #000;
}
td {
  border: 1px solid #000;
}
a {
  outline: none;
  text-decoration: none;
}
.clear {
  clear: both;
}
input {
  vertical-align: middle;
}
/*--- layout ---*/
.outerwpr {
  max-width: 1396px;
  margin: 0 auto;
  position: relative;
  text-align: left;
  overflow: hidden;
}
.outerwpr:after {
  content: "";
  display: table;
  clear: both;
}
.header {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 43px;
  background-color: rgba(34, 34, 34, 0.96);
}
.main {
  width: calc(100% - 172px);
  float: left;
  position: relative;
}
/*--- header ---*/
.header__inner {
  position: relative;
  max-width: 1224px;
  height: 100%;
  margin: 0 auto;
  padding-right: 172px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #999;
  font-size: 15px;
  line-height: 1;
}
.header__inner .project-title {
  position: relative;
  top: 2px;
}
.header__inner .title {
  font-size: 24px;
  color: #ccc;
}
.header__inner .title i {
  font-style: normal;
  margin-right: 3px;
}
.header__inner a.title {
  display: inline-block;
  position: relative;
  padding-right: 25px;
}
.header__inner a.title:hover {
  color: #fff;
}
.header__inner a.title:after {
  content: "";
  display: inline-block;
  opacity: 0.8;
  width: 20px;
  height: 20px;
  position: absolute;
  right: 0;
  top: 0;
  background-image: url(assets/50e3394a14fb8d6eb909a5ff50cf1a32.png);
  background-repeat: no-repeat;
  background-size: 100% auto;
}
.header__inner a.title:hover:after {
  opacity: 1;
}
.header__inner .slash {
  margin: 0 4px;
}
/*--- footer ---*/
.footer #nextProject {
  display: block;
  height: 50px;
  cursor: pointer;
  color: #ccc;
  font-size: 17px;
  text-align: center;
  line-height: 50px;
  opacity: 0.7;
}
.footer #nextProject:hover {
  opacity: 1;
}
.footer #nextProject span,
.footer #nextProject i {
  pointer-events: none;
}
.footer #nextProject .arrow {
  display: inline-block;
  width: 14px;
  height: 13px;
  margin: 0 10px;
  background-image: url(assets/a50626efd6111f0ef4fbda36e7bb6eca.png);
  background-repeat: no-repeat;
  background-size: 100% auto;
}
.footer #nextProject .org {
  font-size: 15px;
  color: #999;
  margin-left: 5px;
}
/*--- album ---*/
.album {
  padding-top: 43px;
}
.album .picwpr {
  position: relative;
  margin: 0 auto;
}
.album .picwpr + .picwpr {
  margin-top: 10px;
}
.album img {
  width: 100%;
  border-radius: 2px;
  box-shadow: 0 0 1px #000;
}
.album .pic-group + .picwpr {
  margin-top: 10px;
}
.album .picwpr + .pic-group {
  margin-top: 10px;
}
.album .pic-group + .pic-group {
  margin-top: 10px;
}
.album .pic-group:after {
  content: "";
  display: table;
  clear: both;
}
.album .pic-group .picwpr {
  width: calc(50% - 5px);
}
.album .pic-group .picwpr + .picwpr {
  margin-top: 0;
}
.album .pic-group .p01 {
  float: left;
}
.album .pic-group .p02 {
  float: right;
}
.album.icpma .picwpr {
  max-width: 1200px;
}
.album.counselusc .picwpr {
  max-width: 900px;
}
.album.youcam .picwpr,
.album.sketch .picwpr {
  max-width: 720px;
}
/*--- menu btn ---*/
#menuBtn {
  width: 50px;
  height: 43px;
  position: absolute;
  left: 0;
  top: 0;
  cursor: pointer;
  background-color: #181818;
  border-right: 1px solid #282828;
  display: none;
}
#menuBtn .icon {
  width: 24px;
  height: 3px;
  position: absolute;
  right: 13px;
  top: 20px;
  background-color: #ccc;
  border-radius: 1px;
  pointer-events: none;
}
#menuBtn .icon:before,
#menuBtn .icon:after {
  content: "";
  display: block;
  width: 24px;
  height: 3px;
  position: absolute;
  left: 0;
  background-color: #ccc;
  border-radius: 1px;
  transition-duration: 200ms;
  transition-property: transform;
}
#menuBtn .icon:before {
  top: -7px;
}
#menuBtn .icon:after {
  bottom: -7px;
}
#menuBtn .text {
  position: absolute;
  right: 50px;
  top: 0;
  font-family: Verdana;
  line-height: 43px;
  color: #888;
  transition: 400ms;
  pointer-events: none;
}
/*--- 選單展開的狀態 ---*/
.expand #menuBtn .icon {
  background-color: transparent;
}
.expand #menuBtn .icon:before {
  transform: rotate(45deg);
  top: 0;
}
.expand #menuBtn .icon:after {
  transform: rotate(-45deg);
  bottom: 0;
}
.expand #menuBtn .text {
  opacity: 0;
}
.expand .main {
  left: 190px;
}
@media screen and (max-width: 1396px) {
  .header__inner {
    padding-left: 10px;
  }
}
/*--- RWD: 1000px 以內，隱藏 sidebar ---*/
@media screen and (max-width: 1000px) {
  .header {
    z-index: 200;
  }
  .header__inner {
    padding: 0 10px 0 60px;
  }
  .header__inner .project-title {
    margin: 0 auto;
    left: -25px;
  }
  .main {
    width: 100%;
    float: none;
    z-index: 100;
    background-color: #222;
    transition: 400ms;
    transition-property: left;
    left: 0;
  }
  #menuBtn {
    display: block;
  }
}
/*--- RWD: 800px 以內，取消圖片並排顯示 ---*/
@media screen and (max-width: 800px) {
  .album .pic-group .picwpr {
    width: 100%;
  }
  .album .pic-group .picwpr + .picwpr {
    margin-top: 10px;
  }
  .album .pic-group .p01 {
    float: none;
  }
  .album .pic-group .p02 {
    float: none;
  }
}
@media screen and (max-width: 500px) {
  .header__inner .title {
    font-size: 22px;
  }
  .header__inner .slash,
  .header__inner .org {
    display: none;
  }
  .footer #nextProject .org {
    display: none;
  }
}
@media screen and (max-width: 360px) {
  .header__inner .title {
    font-size: 20px;
  }
}
@media screen and (max-width: 320px) {
  .header__inner .project-title {
    left: -12px;
  }
  .header__inner .title {
    font-size: 19px;
  }
  .header__inner span.index {
    display: none;
  }
}

#sidebar {
  width: 172px;
  height: 100vh;
  float: right;
  position: relative;
  will-change: min-height;
}
.sidebar__inner {
  transform: translate(0, 0);
  transform: translate3d(0, 0, 0);
  will-change: position, transform;
  width: 172px;
}
.sidebar__inner #backHome {
  display: block;
  width: 74px;
  height: 75px;
  margin: 0 auto 15px auto;
  padding-top: 18px;
  cursor: pointer;
  background-image: url(assets/6f8772ce8e0755f5ef62e7a5a7e0a353.png);
  background-repeat: no-repeat;
  background-size: 42px auto;
  background-position: 16px 24px;
}
.sidebar__inner .avatar {
  width: 130px;
  height: 130px;
  margin: 0 auto 25px auto;
  background-image: url(assets/6e3ee562da70fb74fd76c246895e9bc7.jpg);
  background-repeat: no-repeat;
  background-size: 100% auto;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.sidebar__inner .intro {
  padding: 0 15px 15px 25px;
  overflow: hidden;
}
.sidebar__inner h2 {
  margin-bottom: 10px;
  font-size: 17px;
  line-height: 1;
  color: #6f6f6f;
  font-weight: bold;
}
.sidebar__inner .ability {
  width: 158px;
  height: 194px;
  margin: 24px 0 32px 0;
  position: relative;
  left: -13px;
  background-image: url(assets/c93e3a3ec0f2ad48f032409fc8dfaf57.png);
  background-repeat: no-repeat;
  background-size: 100% auto;
}
.sidebar__inner .list-group + .list-group {
  padding-top: 16px;
  margin-top: 14px;
  border-top: 1px solid #2f2f2f;
}
.sidebar__inner .list-group h2 {
  color: #818181;
}
.sidebar__inner .list-group li {
  height: 30px;
  line-height: 30px;
  cursor: pointer;
  white-space: nowrap;
  color: #7f7f7f;
  font-size: 14px;
  display: flex;
  align-items: center;
}
.sidebar__inner .list-group li:hover {
  color: #bbb;
}
.sidebar__inner .list-group li.current {
  color: #f1f1f1;
}
.sidebar__inner .list-group .num {
  width: 18px;
  height: 18px;
  margin-right: 6px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 12px;
  color: #aaa;
  font-weight: bold;
  line-height: 1;
  background-color: #3f3f3f;
  border-radius: 50%;
  pointer-events: none;
}
.sidebar__inner .list-group li.current .num {
  color: #eee;
  background-color: #a62438;
}
.sidebar__inner .list-group .ellipsis {
  margin-left: 2px;
}
.sidebar__inner .list-group.current h2 {
  color: #c1c1c1;
}
/* .sidebar__inner */
/*--- RWD ---*/
@media screen and (max-width: 1000px) {
  #sidebar {
    float: none;
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    overflow-y: auto;
    padding-right: 40px;
    transition: 400ms;
    transition-property: opacity;
    opacity: 0;
  }
  .expand #sidebar {
    opacity: 1;
  }
  .sidebar__inner #backHome {
    padding-top: 0;
    height: 30px;
    background-image: none;
    pointer-events: none;
  }
}

