body{
  background: #000;
}
.miaoli-videobg-container {
  height: 95vh;
  width: 100%;
  position: relative;
}
.miaoli-videobg-container:after {
  content: '';
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 1) 100%);
  top: 0;
  left: 0;
}
.miaoli-videobg-container video {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  z-index: 0;
}
.vid-bg-content-warp{
  z-index: 1;
  position: absolute;
  bottom: 5%;
  left: 0;
  width: 100%;
}
.vid-content{
  /*background:linear-gradient(to right bottom ,rgba(0, 0, 0, 0.5) 0% ,transparent 70%);
  padding:50px;
  border-radius: 5px;*/
  padding-bottom: 50px;
}
.vid-content img{
  display: block;
  max-width: 80%;
  margin-bottom: 30px;
}
.vid-content p{
  font-weight: 200;
  font-family:'Noto Serif TC', serif;
  color: #fff;
  line-height: 1.7;
  font-size: 0.7em;
  margin-bottom: 0;
}

.miaoli-btn-video{
  position: absolute;
  right:4% ;
  bottom:65px;
  color:rgba(255,255,255,0.5);
  font-size: 3em;
}
.miaoli-btn-video :hover{
  color: #fff;
}


.arrowdown{
  position: absolute;
  bottom:0;
  left: 50%;
  transform: translateX(-50%);
  max-width: 50px;
  z-index:9;
}

@media screen and (max-width: 768px) {
  .miaoli-videobg-container {
    height: 85vh;
    width: 100%;
    position: relative;
  }
  .miaoli-videobg-container .vid-content{
    padding-bottom: 20px;
  }
  .vid-content img{
    display: block;
    margin-bottom:0;
  }
  .arrowdown{
    margin-bottom: -15px;
  }
  .miaoli-btn-video{
    bottom: 20px;
    font-size: 2.5em;
  }
}

/* intro
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.intro{
  background: #000;
  padding:300px 0 20px;
  background-image:linear-gradient(to bottom,rgba(0, 0, 0, .2) 0% ,transparent 100%), url(../images/miaoli/intro-bg.jpg);
  background-size: cover;
  background-position:right center;
  min-height: 500px
}
.intro-content{
  position: relative;
  color: #fff;
}
.intro-content h2{
  font-family:'Noto Serif TC', serif;
  color: #FF6339;
  font-size: 2em;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: 0.1em;
}

.intro-content p{
  font-family:'Noto Serif TC', serif;
  font-size: 1em;
  margin-bottom: 18px;
  line-height: 2;
  font-weight: 300;
  text-align: justify;
}
.intro-content img{
  display: block;
  max-width: 120px;
  margin:20px auto 0;
}

button {
  background: transparent;
  border: none;
  cursor: pointer;
  outline: none;
}

@media screen and (max-width: 768px) {
  .intro{
    padding:80px 0 0;
  }
}

/* TIMELINE
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.timeline {
  margin: auto;
  max-width: 1320px;
  white-space: nowrap;
  overflow-x: hidden;
  padding-bottom: 30px;
}

.timeline ol {
  font-size: 0;
  width: 100vw;
  padding:350px 0 250px;
  transition: all 1s;
}

.timeline ol li {
  position: relative;
  display: inline-block;
  list-style-type: none;
  width: 130px;
  height: 3px;
  background: #fff;
}

.timeline ol li:last-child {
  width: 700px;
}

.timeline ol li:not(:first-child) {
  margin-left: 14px;
}

.timeline ol li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(100% + 1px);
  bottom: 0;
  width: 12px;
  height: 12px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #FF6339;
}

.timeline ol li .timeline-card {
  position: absolute;
  left: calc(100% + 7px);
  width: 200px;
  padding: 0;
  white-space: normal;
  color: #fff;
/*  background: rgba(255, 255, 255, 0.2);*/
}

/*.timeline ol li .timeline-card::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;

}*/

.timeline ol li:nth-child(odd) .timeline-card {
  top: -16px;
  transform: translateY(-100%);
}

/*.timeline ol li:nth-child(odd) .timeline-card::before {
  top: 100%;
  border-width: 8px 8px 0 0;
  border-color: rgba(255, 255, 255, 0.2) transparent transparent transparent;
}*/

.timeline ol li:nth-child(even) .timeline-card {
  top: calc(100% + 16px);
}

/*.timeline ol li:nth-child(even) .timeline-card::before {
  top: -8px;
  border-width: 8px 0 0 8px;
  border-color: transparent transparent transparent rgba(255, 255, 255, 0.2);;
}*/

.timeline ol li .timeline-card h5{
  color: #FF6339;
  font-size: 0.8rem;
  margin:0;
  padding: 10px 0 15px;
  display: inline-block;
}
.timeline ol li .timeline-card img{
  border-radius: 8px;
  box-shadow: 0px 3px 0px 0px #FF6339;
}
.timeline ol li .timeline-card .loc{
  color: #fff;
  font-weight: bold;
  display: block;
  padding-top: 10px;
  font-size:1.2em;
}
.timeline ol li .timeline-card p{
  color: #fff;
  font-size: 0.75rem;
  margin-bottom: 0;
  text-align: justify;
}

/* TIMELINE ARROWS
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.timeline .arrows {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.timeline .arrows .arrow__prev {
  margin-right: 30px;
}
.timeline .arrows img {
  width: 30px;
}

/* image hover
–––––––––––––––––––––––––––––––––––––––––––––––––– */
#hover-image-container {
  position: absolute;
  pointer-events: none;
  display: none;
  z-index: 99999;
}
#hover-image {
  max-width:650px;
  height: auto;
  border-radius: 5px;
  border:1px solid #fff;
}

@media screen and (max-width: 768px) {
  .timeline ol {
    padding:250px 0 230px;
  }
  #hover-image-container {
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
  }
  #hover-image {
    max-width:350px;
  }
  .timeline .arrows img {
    width: 50px;
    height: 50px;
  }
} 
    

/* chronic
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.chronic{
    position: relative;
    min-height: 100vh;
    background-color: #000;
    padding: 70px 0 0px;
    color: #fff;
}
.chronic-1::before {
    content: "February";
    position: absolute;
    top: 0px;
    right:0;
    font-size: 15em;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    font-weight: bold;
}
.chronic-2::before {
    content: "March";
    position: absolute;
    top: 0px;
    left: 10%;
    font-size: 15em;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    font-weight: bold;
}
.chronic-3::before {
    content: "April";
    position: absolute;
    top: 0px;
    left: 30%;
    font-size: 15em;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    font-weight: bold;
}
.chronic-4::before {
    content: "April";
    position: absolute;
    top: 0px;
    right: 10%;
    font-size: 15em;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    font-weight: bold;
}

.chronic-sp-bg{
  background: #000;
  background-image:linear-gradient(to bottom,rgba(0, 0, 0, .5) 0% ,transparent 100%), url(../images/miaoli/chronic-bg.jpg);
  background-size: contain;
  background-position:center right;
  background-repeat: no-repeat;
}

.chronic-content {
    position: relative;
    z-index: 1;
}
.chronic-content h2{
  font-family:'Noto Serif TC', serif;
  font-size: 2.5em;
  line-height: 1.4;
  font-weight: 900;
  margin-bottom: 30px;
}
.chronic-content h4{
  color:#FF6339;
  font-family:'Noto Serif TC', serif;
  font-size: 1.2em;
  font-weight: 300;
  border-bottom: 1px solid #fff;
  padding-bottom: 30px;
  margin-bottom: 30px;
}
.chronic-content p{
  font-family:'Noto Serif TC', serif;
  font-size: 1em;
  margin-bottom: 18px;
  line-height: 2;
  font-weight: 300;
  text-align: justify;
}

.chronic-article-flex{
  display: flex;
  align-items: stretch;
}
.chronic-article-bg{
  width: 100%;
  height: auto;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.ch5-title{
  padding:60px 50px 0 120px;
}

.video-background {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-background video {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  z-index: 0;
}

@media screen and (max-width: 768px) {
  .chronic-1::before {
      font-size: 3em;
  }
  .chronic-2::before {
      font-size: 3em;
  }
  .chronic-3::before {
      font-size: 3em;
  }
  .chronic-4::before {
      font-size: 3em;
  }
  .chronic-article-bg{
    margin-top: 15px;
    min-height: 200px;
  }
  .ch5-title{
    padding:70px 0 0;
  }
}


/* medal-bg
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.medal-bg{
  background: #000;
  background-image:linear-gradient(to bottom,rgba(0, 0, 0, .5) 0% ,transparent 100%), url(../images/miaoli/article-bg.jpg);
  background-size: cover;
  background-position:right bottom;
  background-repeat: no-repeat;
  min-height: 500px;
  padding: 50px 0;
}

/* article
–––––––––––––––––––––––––––––––––––––––––––––––––– */


.miaoli-articletitle h4{
  font-family: 'Noto Serif TC', serif;
  position: relative;
  font-size: 1.2em;
  color: #fff;
  margin-bottom: 40px;
}
.miaoli-articletitle h4:before{
  content: "";
  width: 100%;
  background-color: #fff;
  height: 1px;
  position: absolute;
  left: 0;
  bottom:10px ;
}
.miaoli-articletitle h4 span{
  background-color: #000;
  padding-right:10px;
  display: inline-block;
  position: relative;
  font-weight:500;
}



.miaoli-card{
  position: relative;
  border-radius: 5px;
  background-color:rgba(255, 255, 255, .1);
  padding: 25px;
  margin-bottom: 30px;
}
.miaoli-card img{
  border-radius: 5px;
}
.miaoli-card h3{
  font-family:'Noto Serif TC', serif;
  font-size: 20px;
  line-height: 1.7;
  font-weight: bold;
  margin-bottom: 20px;
}
.miaoli-card a{
  color: #fff;
}
.miaoli-card p{
  font-size:12px;
  margin-bottom: 0;
  color: #AAAAAA;
  font-weight: 200;
}

/* footer
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.miao-footer-bg{
  background: #000;
  background-image:linear-gradient(to bottom, #000 ,transparent 100% , #000 ), url(../images/miaoli/footer.jpg);
  background-size: cover;
  background-position:center bottom;
  padding: 200px 0 200px;
  font-family:'Noto Serif TC', serif;
}

.ending-text{
  margin-bottom:20em;
}
.ending-text h6{
  font-size: 2em;
  color: #fff;
  font-weight: bold;
  line-height: 1.8;
}
.ending-text img{
  max-width: 150px;
}

.miao-footer-bg .staff h6{
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  color: #ccc;
}
.miao-footer-bg .staff p{
  color: #ccc;
  font-size: 12px;
  font-weight: 200;
  line-height: 2;

}
@media screen and (max-width: 768px) {
  .miao-footer-bg{
    padding: 50px 0;
  }
  .ending-text{
    margin-bottom:0;
  }
  .ending-text h6{
    font-size: 1.5em;
    margin-bottom: 50px;
  }
  .miao-footer-bg .staff h6{
    font-size: 1.2em;
  }
  .miao-footer-bg .staff p{
    font-size: 0.9em;
  }


}




