@charset "UTF-8";
.main-box {
  overflow: hidden;
}

.video-box {
  max-width: 1300px;
  margin: 0 auto;
  padding: 3% 0 0 0;
}

.video-box li {
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  position: relative;
  padding: 0 0 15% 0;
}

.video-box li .box {
  display: block;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  align-items: flex-start;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  cursor: pointer;
}

.video-box li:before {
  content: '';
  position: absolute;
  z-index: -1;
  background: url(../images/in/contact/bg.jpg) repeat;
  left: 32%;
  top: 35%;
  bottom: 14%;
  right: -500px;
}

.video-box li .pic {
  max-width: 1092px;
  overflow: hidden;
  line-height: 0;
  position: relative;
  z-index: 0;
}

.video-box li .date {
  color: #000;
  font-size: 16px;
  position: relative;
  -webkit-writing-mode: vertical-rl;
      -ms-writing-mode: tb-rl;
          writing-mode: vertical-rl;
  padding: 0 10px 0 80px;
}

.video-box li .txt {
  z-index: 2;
  left: 0;
  top: 40%;
  position: absolute;
  max-width: 450px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -ms-flex-direction: column;
      flex-direction: column;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.video-box li .txt:before {
  content: '';
  width: 65px;
  height: 65px;
  display: block;
  background: url(../images/in/video/icon.png) repeat;
  background-size: contain;
  margin-bottom: 10%;
}

.video-box li .txt .name {
  font-family: "Khula", "微軟正黑體", Arial, sans-serif, "0xe804";
  font-size: 24px;
  background: #E50012;
  padding: 12px 25px 6px;
  line-height: 1;
  color: #FFF;
  margin: 0 0 10px 0;
  display: inline-block;
}

.video-box li:nth-child(even) a {
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
}

.video-box li:nth-child(even):before {
  right: 32%;
  left: -500px;
}

.video-box li:nth-child(even) .pic {
  -webkit-box-ordinal-group: 2;
      -ms-flex-order: 1;
          order: 1;
}

.video-box li:nth-child(even) .date {
  -webkit-box-ordinal-group: 3;
      -ms-flex-order: 2;
          order: 2;
  padding: 0 80px 0 10px;
}

.video-box li:nth-child(even) .txt {
  left: auto;
  right: 0;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
}

.video-box li:nth-child(even) .txt .name {
  text-align: right;
}

.lightbox {
  position: fixed;
  top: -50px;
  bottom: -50px;
  left: -50px;
  right: -50px;
  z-index: 80;
  background: rgba(204, 204, 204, 0.7);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  display: none;
}

.lightbox .close-btn {
  position: absolute;
  right: -35px;
  top: -35px;
  width: 70px;
  height: 70px;
  background: #FFF900;
  border-radius: 100%;
  text-align: center;
  font-size: 40px;
  line-height: 1.8;
  cursor: pointer;
  z-index: 2;
}

.lightbox .vbox {
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  max-width: 1100px;
  width: 100%;
  margin: 85px;
  padding: 15px;
  background: #FFF;
  z-index: 1;
  position: relative;
}

.lightbox .vbox .video {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}

.lightbox .vbox .video iframe,
.lightbox .vbox .video object,
.lightbox .vbox .video embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}

body.active {
  overflow: hidden;
}

body.active header,
body.active main,
body.active footer,
body.active .mobile-btn {
  -webkit-filter: blur(4px);
          filter: blur(4px);
}

body.active header .lightbox,
body.active main .lightbox,
body.active footer .lightbox,
body.active .mobile-btn .lightbox {
  display: block;
}

body.active .lightbox {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

@media screen and (max-width: 650px) {
  .video-box {
    padding: 3% 0 0 0;
  }
  .video-box li {
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    position: relative;
    padding: 0 0 15% 0;
  }
  .video-box li .date {
    font-size: 14px;
    padding: 0 5px 0 50px;
  }
  .video-box li .txt {
    top: auto;
    bottom: 0;
  }
  .video-box li .txt:before {
    width: 30px;
    height: 30px;
  }
  .video-box li .txt .name {
    font-size: 16px;
    padding: 6px 10px 0px;
    margin: 0 0 2px 0;
  }
  .video-box li:nth-child(even) a {
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
  }
  .video-box li:nth-child(even):before {
    right: 32%;
    left: -500px;
  }
  .video-box li:nth-child(even) .pic {
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
  }
  .video-box li:nth-child(even) .date {
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
    padding: 0 50px 0 5px;
  }
  .video-box li:nth-child(even) .txt {
    left: auto;
    right: 0;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
  }
  .video-box li:nth-child(even) .txt .name {
    text-align: right;
  }
}

@media screen and (max-width: 500px) {
  .lightbox {
    position: fixed;
    top: -50px;
    bottom: -50px;
    left: -50px;
    right: -50px;
    z-index: 80;
    background: rgba(204, 204, 204, 0.7);
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    display: none;
  }
  .lightbox .close-btn {
    position: absolute;
    right: -20px;
    top: -20px;
    width: 40px;
    height: 40px;
    background: #FFF900;
    border-radius: 100%;
    text-align: center;
    font-size: 20px;
    line-height: 2;
    cursor: pointer;
  }
}