.tab-panels {
  margin: 50px 0 0 0;
}

.tab-panels ul {
    margin: 0 0 0 6px;
    padding: 0;
    font-size: 0px;
}

.tab-panels ul li {
  list-style-type: none;
  display: inline-block;
  background: #ececec;
  padding: 12px 0 6px 0;
  border-radius: 12px 12px 0 0;
  color: #696968;
  font-weight: 500;
  font-family: PingFangTC-Medium, 'Noto Sans TC';
  cursor: pointer;
  height: 8vw;
  width: 26vw;
  vertical-align: middle;
  text-align: center;
  line-height: 8vw;
  font-size: 2.7vw;
  letter-spacing: 1px;
}

.tab-panels ul li.active {
    color: #c12134;
}

.tab-panels .panel {
  display:none;
  background: #ececec;
  padding: 50px 0;
}

.tab-panels .panel > div {
  width: 100%;
}

.tab-panels .panel.active {
    display:block;
    text-align: center;
}

.video-container {
  position: relative;
  overflow: hidden;
  padding-top: 56.25%;
  margin: 0 10px;
}

.mobile-desc {
  text-align: left;
  margin: auto;
  padding: 2vw 5vw;
}

.mobile-desc > p {
  font-size: 3vw;
}

.mobile-desc > p:first-child {
  font-family: PingFangTC-Medium, 'Noto Sans TC';
  font-weight: 500;
  margin-bottom: 2vw;
}

.mobile-desc > p:nth-child(2) {
  font-family: PingFangTC-Medium, 'Noto Sans TC';
  font-weight: 500;
  margin-bottom: 2vw;
  color: #4a4a4a;
}

.mobile-desc > p:nth-child(2) > span:nth-child(2) {
  margin-left: 3vw;
}

.mobile-desc > p:nth-child(3) {
  font-family: PingFangTC-Light, 'Noto Sans TC';
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.5px;
  text-align: justify;
}

.mobile-desc > p:nth-child(4) {
  margin: 8px 0;
  text-align: right;
}

.mobile-desc > p:nth-child(4) > a {
  color: #ea0d4c;
  border-bottom: 1px solid #ea0d4c;
}

.mobile-desc > p:nth-child(4) > i {
  color: #ea0d4c;
  margin-left: 5px;
}

.desc {
  display: none;
}

hr {
  border: 2px solid #fff;
  margin-bottom: 5vw;
}

.video-container > iframe, .video-container > img {
position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media only screen and (min-width: 950px) {
  .tab-panels {
    margin: 30px 0 0 0;
  }

  .tab-panels ul li {
    height: 4vw;
    width: 14vw;
    line-height: 4vw;
    font-size: 1.4vw;
    letter-spacing: 1px;
  }

  .tab-panels ul {
    margin: 0 0 0 50px;
  }

  .tab-panels .panel .panel-table {
    table-layout: fixed;
  }

  .tab-panels .panel .work-row {
    display: table-row;
    /*background: yellow;*/
  }

  .tab-panels .panel .work-item {
    display: table-cell;
  }
  
  .work-item-side {
    width: 10%;
  }
  
  .work-item-middle {
    width: 7%;
  }
  
  .video-container {
    position: relative;
    overflow: hidden;
    /*padding-top: 56.25%;*/
    margin: auto;
  }

  .video-container > iframe, .video-container > img {
    position: absolute;
    top: 0;
    left: 0;
/*    width: 80%;
    height: 80%;*/
    border: 0;
    margin: auto;
  }

  .mobile-desc {
    display: none;
  }

  .desc {
    display: table;
    padding: 1vw 0;
  }

  .desc-left {
    display: table-cell;
    width: 13vw;
    text-align: left;
  }

  .desc-right {
    display: table-cell;
    width: 21vw;
    font-size: 1vw;
    padding-left: 2vw;
    text-align: left;
    line-height: 1.5;
    font-family: PingFangTC-Light, 'Noto Sans TC';
    font-weight: 300;
    text-align: justify;
  }

  .desc-right > p {
    margin: 2vw 0;
    text-align: right;
    vertical-align: bottom;
  }

  .desc-right > p > a {
    color: #c12134;
    border-bottom: 1px solid #c12134;
  }

  .desc-right > p > i {
    color: #c12134;
    margin-left: 5px;
  }

  .desc-left > div > div > div {
    font-family: PingFangTC-Medium, 'Noto Sans TC';
    font-weight: 500;
    font-size: 1vw;
    line-height: 1.6;
    color: #666666;
  }

  .desc-left > div > div > div:first-child {
    width: 3.5vw;
  }

  .desc-left > div > div > div:nth-child(2) {
    width: 10vw;
  }

  .desc-left > p:first-child {
    font-family: PingFangTC-Medium, 'Noto Sans TC';
    font-weight: 500;
    font-size: 1.4vw;
    color: #000000;
    margin-bottom: 10px;
  }

  hr {
    border: 3px solid #fff;
    margin-bottom: 3vw;
  }

  hr.mobile {
    display: none;
  }

}