@charset "UTF-8";
@import url('https://fonts.googleapis.com/css?family=Roboto:300,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Noto+Sans+TC:300,700&display=swap&subset=chinese-traditional');

/* Color */

.bg-shade-light{
  background-color: #bbe1e8!important;
}

.bg-shade-main{
  background-color: #4ba5c7!important;
}

.bg-shade-dark{
  background-color: #006e97!important;
}

.bg-shade-highlight{
  background-color: #a8c269!important;
}

.bg-gradient{
  background: linear-gradient(315deg, #006e97, #BBE1E8)!important;
}

.cl-shade-light{
  color: #bbe1e8!important;
}

.cl-shade-main{
  color: #4ba5c7!important;
}

.cl-shade-dark{
  color: #006e97!important;
}

.btn:hover.bg-shade-dark{
  background-color: #005f81!important;
}

/* icon */
.red{
  color: #ec6168;
}

.yellow{
  color: #f5c72c;
}

.blue{
  color: #48b1e1;
}

.green{
  color: #62b984;
}

.gray{
  color: #bea96f;
}



/* basic */
body {
  color: #343a40;
  font-family: 'Roboto', 'Noto Sans TC', sans-serif;
  font-size: 20px;
  line-height: 1.75em;
}

a {
  color: inherit;
}

a:hover {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6{
  letter-spacing: 0.125em;
}

hr.major {
  margin: 2em 0 5em 0;
}

.icon i{
  font-size: 2em;
}

h1.major::before, h1.major::after {
  content: "";
  display: inline-block;
  top: 50%;
  transform: translateY(-50%);
  background-color: #a8c269;
  width: 20vw;
  height: 1px;
  /* max-width: 350px; */
  margin: 0 20px;
}

@media (max-width: 770px) {
  h1.major::before, h1.major::after {
    content: "";
    display: inline-block;
    top: 50%;
    transform: translateY(-50%);
    background-color: #a8c269;
    width: 20vw;
    height: 1px;
    max-width: 0px;
    margin: 0 20px;
  }
}

.card.float{
  transition: box-shadow ease-in-out 218ms,transform 218ms ease-in-out;
}

.card.float:hover{
  transform: translate3d(0, -5px, 0);
  box-shadow: 0 7px 21px #DDDDDD;
}

/* list */
ul li {
  list-style-type: none;
}

/* navbar */
nav a{
  font-size: 17px;
}

.space{
  height: 75px;
}

@media (max-width: 770px) {
  .space{
    height: 56px;
  }
}

.nav-list{
  padding-left: 0;
}

/* news */
.news{
  align-items: center;
  margin:80px auto;
}

.news-box{
  width: 85%;
  margin: 50px auto;
  border-bottom: 0.1px solid #33333333;

}

.news a small{
  float: left;
  margin: 10px 20px;
}

.news-title{
  float: left;
  margin-left: 1rem;
  margin-top: 1rem;
  align-self: center;
}

.news-title-word{
  margin: 0;
}

.news-title-word i{
    margin-right: 0.75rem;
}

.news-item{
  border-top: 0.1px solid #33333333;
}

.more-news{
  text-align: center;
}

@media(max-width: 770px){
  .news-title{
    margin-top: 1px;
    width: 100%;
  }
}

/*timeline*/
.flex-parent {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 60%;
  margin: 150px auto 10px;
}

.input-flex-container {
  display: flex;
  justify-content: space-around;

  align-items: center;
  flex-wrap: wrap;
  width: 80vw;
  max-width: 100vw;
  position: relative;
  z-index: 0;
  margin-left: calc((80vw - 25px) / 20);
  margin-bottom: 120px;
}

.timeline-dot {
  width: 25px;
  height: 25px;
  background-color: #a8c269;
  position: relative;
  border-radius: 50%;
  display: block;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.timeline-dot:focus {
  outline: none;
}
.timeline-dot:hover + .dot-info{
  transform:scale(1.2);
}
.timeline-dot, .dot-info{
  transition: transform 150ms ease-in-out;
}

.timeline-group{
    width: max-content;
}

.timeline-group::before, .timeline-group::after {
  content: '';
  display: block;
  position: relative;
  z-index: -1;
  background-color: #a8c269;
}

.timeline-group::before{
    top: 14px;
    left: -5vw;
    right: 0%;
    width: 5.05vw;
    height: 5px;
}

.timeline-group::after{
    top: -24px;
    left: 10px;
    width: 5vw;
    height: 5px;
}

.timeline .timeline-group:focus-within ~ .timeline-group::after,
.timeline .timeline-group:focus-within ~ .timeline-group::before,
.timeline .timeline-group:focus-within::after,
.timeline .timeline-group:focus-within ~ .timeline-group .timeline-dot,
.timeline .ckecked-timeline-group ~ .timeline-group::after,
.timeline .ckecked-timeline-group ~ .timeline-group::before,
.timeline .ckecked-timeline-group::after,
.timeline .ckecked-timeline-group ~ .timeline-group .timeline-dot
{
    background-color: #9e9e9f;
}

.timeline .timeline-group .timeline-dot:checked{
  background-color: #a8c269;
}

.timeline-dot:checked + .dot-info span {
  font-size: 13px;
  font-weight: bold;
}

.dot-info {
  width: 25px;
  height: 8px;
  display: block;
  visibility: hidden;
  position: relative;
  z-index: -1;
  left: -0.2vh;
}
.dot-info span {
  visibility: visible;
  position: absolute;
  font-size: 12px;
}
.dot-info span.year {
  bottom: -32px;
  left: 30px;
  transform: translateX(-60%);
  width: 45px;
}
.dot-info span.label {
  top: -85px;
  left: 0;
  transform: rotateZ(-45deg);
  width: 70px;
  text-indent: -10px;
}


.timeline-group{
    display: inline-block;
}

.timeline-group .timeline-description{
  margin-top: 0;
  display: none;
  position: absolute;
  top: 300%;
  left: 0;
}

.timeline-group input.timeline-dot:checked ~  .timeline-description{
    display: block;
}


@media (max-width: 770px) {
  .flex-parent {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 60%;
    margin: 30px auto;
  }

  .input-flex-container {
    flex-wrap: wrap;
    justify-content: center;
    width: 90%;
    height: auto;
    margin-top: 0%;
    margin-bottom: 10rem;
    margin-left: 0;
  }

  .timeline-group{
      margin-left: 5%;
      margin-right: 5%;
      margin-top: 15%;
  }

  .timeline .timeline-dot, .dot-info{
    width: 60px;
    height: 60px;
    margin: auto;
  }


  .timeline input[type="radio" i]{
    border: none;
  }

  .timeline input {
    background-color: transparent !important;
    z-index: 1;
  }
  .timeline input::before, .timeline input::after {
    content: none;
  }

  .timeline-group::before, .timeline-group::after {
    content: none;
  }
  .timeline input:checked + .dot-info {
    background-color: #a8c269;
  }
  .timeline input:checked + .dot-info span.year {
    font-size: 14px;
  }
  .timeline input:checked + .dot-info span.label {
    font-size: 12px;
  }

  .dot-info {
    visibility: visible;
    border-radius: 50%;
    z-index: 0;
    left: 0;
    /* margin-left: -70px; */
    margin-top: -60px;
    background-color: #AEB6BF;
  }
  .dot-info span.year {
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ECF0F1;
  }
  .dot-info span.label {
    top: calc(100% + 15px);
    left: 60%;
    transform: translateX(-50%);
    /* text-indent: 0; */
    text-align: center;
    line-height: 1.5;
  }

  .timeline-group .timeline-description{
    position: absolute;
    top: 120%;
    left: 5%;
    /* font-size: 5rem; */
  }

}

/* theme */
.theme-card{
  margin: 80px auto;
}

.shadow{
  box-shadow: 0, 10px, 5px, #888888;
}

.face{
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.face.face1{
  box-sizing: border-box;
  padding: 20px;
}

.face.face2{
  position: absolute;
  transition: 0.5s;
}

.card:hover .face.face2{
  height: 60px;
}

.card:hover .face.face2 h4{
  font-size: 20px;
}

.face.face2 h4{
  margin: 0;
  padding: 0;
  transition: 0.5s;
}

.theme-icon{
  font-size: 50px;
  transition: 0.5s;
}

.card:hover .theme-icon{
  font-size: 20px;
}

/* button */
.button-more a{
  margin: 50px;
  width: 300px;
}

@media (max-width: 770px) {
  .button-more a{
    margin: 50px auto;
    width: 250px;
  }
}

.btn.angle i{
  transition: transform 218ms ease-in-out;
}

.button-more .btn:hover.angle:hover i{
  transform: translateX(10px);
}

.more-news .btn:hover.angle:hover i{
  transform: translateX(5px);
}

/* rule */
.rule{
  align-items: center;
  margin:80px auto;
}

.rule ul li {
  padding-left: 0.5em;
  list-style-type: none;
}

.article ul{
  padding-left: 0;
}

.rule li.first{
  list-style-type: none;
}

.rule li.second{
  list-style-type: cjk-ideographic;
  margin-left: 30px;
}

.rule li.third{
  list-style-type: none;
  text-indent: -2.1em;
  margin-left: 1.6em;
}

.rule .download{
  text-align: center;
  margin: 30px auto;
}

/* schedule */
.schedule-content{
  align-items: center;
  text-align: center;
  margin:80px auto;
}

.schedule {
  border-left: 4px solid #006e97; /*changeable*/
  border-bottom-right-radius: 4px;
  border-top-right-radius: 4px;
  color: black;
  margin: 50px 0 50px 350px;
  letter-spacing: 0.5px;
  position: relative;
  line-height: 1.4em;
  font-size: 1.03em;
  padding: 50px;
  list-style: none;
  text-align: left;
  font-weight: 100;
  max-width: 60%;
}

@media (max-width: 770px) {
  .schedule{
    margin: 50px 0 50px 170px;
    padding-left: 50px;
    padding-right: 10px;
  }

  .schedule h3{
    font-size: 1em!important;
    font-weight: 300!important;
  }

  .schedule p{
    font-size: 16px;
  }
}

.schedule .event {
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  margin-bottom: 30px;
  position: relative;
}

.schedule .event:last-of-type {
  padding-bottom: 0;
  margin-bottom: 0;
  border: none;
}

.schedule .event:before, .schedule .event:after {
  position: absolute;
  display: block;
  top: 0;
}

.schedule .event:before {
  left: -217.5px;
  color: #343a40;
  content: attr(data-date);
  text-align: right;
  font-weight: 100;
  font-size: 0.9em;
  min-width: 120px;
}

.schedule .pass.event:after{
  background: #bbd43f;/*changeable*/
}

.schedule .event:after {
  box-shadow: 0 0 0 4px #006e97;/*changeable*/
  left: -57.85px;
  background: #006e97;/*changeable*/
  border-radius: 50%;
  height: 11px;
  width: 11px;
  content: "";
  top: 8px;
}

/* QA */
.QA{
  align-items: center;
  margin:80px auto;
}

.QA .text{
  font-size: 18px;
  text-indent: 2em;
}

/* download */
.download{
  align-items: center;
  margin:80px auto;
}

/* achievement */
.achievement{
  align-items: center;
  margin:80px auto;
}

.achieve-group{
  align-items: center;
  margin: 50px auto;
}

.year-title{
  text-align: center;
  margin: 50px auto;
}

.year-title .year-title-out{
  background-color:	#DDDDDD;
  padding: 0;
  float: none;
  display: inline-block;
  text-align: center;
}

.year-title-out .year-title-in{
  background-color:	#DDDDDD;
  padding: 5px;
  margin: 5px;
  text-align: center;
}

.year-title-in h3{
  margin: 5px 5px;
}

.achieve-text{
  text-align: center;
}

.achieve-icon{
  font-size: 50px;
}

/* achieve-list */
.achievelist{
  align-items: center;
  margin:80px auto;
}

.achievelist .theme-title{
  text-align: center;
  margin: 50px auto;
}

.theme-title .theme-title-out{
  background-color:	#DDDDDD;
  padding: 0;
  float: none;
  display: inline-block;
  text-align: center;
}

.theme-title-out .theme-title-in{
  background-color:	#DDDDDD;
  padding: 5px;
  margin: 5px;
  text-align: center;
}

.theme-title-in h3{
  margin: 5px 5px;
}

.achievement-image{
  width: 100%;
  object-fit: cover;
}

.grade-title .theme-title-out{
  background-color:	#DDDDDD;
  padding: 0;
  float: none;
  display: inline-block;
  text-align: center;
}

p.intro{
  text-indent: 2em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

/* achieve-result */
.achieveresult{
  align-items: center;
  margin:80px auto;
}

.work-table{
  margin: 80px auto;
}

/* picture */
.picture{
  align-items: center;
  margin:80px auto;
}

.picture-box{
  margin: 50px auto;
}

.picture-title{
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.mask{
  background-color: rgba(0, 0, 0, 0.8);
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
  background-attachment: fixed;
  opacity: 0;
  transition: all .4s ease-in-out;
}

.mask:hover{
  opacity: 1;
}

@media (max-width: 770px) {
  .display-2 {
    font-size: 2.5rem;
  }
}

/* picture-display */
.picture-display{
  align-items: center;
  margin:80px auto;
}

.display-box{
  margin: 80px auto;
}

h1.display-2{
  margin: 0;
}

@media (max-width: 770px) {
  .card-columns {
    column-count: 1;
  }
}

/* member */
.member{
  align-items: center;
  margin: 80px auto;
}

@media (max-width: 770px) {
  .member td{
    font-size: 16px!important;
  }
}

/* evaluate */
.evaluate{
  align-items: center;
  margin:80px auto;
}

.evaluate td.tag{
  text-align: center;
}

.evaluate h3{
  display: inline-block;
  margin: 0 20px;
}

.evaluate .theme-title{
  margin: 30px auto;
  text-align: center;
}

.center{
  text-align: center;
}

/* judge */
.judge{
  align-items: center;
  margin: 80px auto;
}

.judge h3{
  display: inline-block;
  margin: 0 20px;
}

.judge .theme-title{
  margin: 30px auto;
  text-align: center;
}

.judge .judge-input{
  margin: auto 50px;
}

.judge .button-div{
  text-align: center;
  margin: 30px auto;
}

/* signin */
.signin{
  align-items: center;
  margin: 80px auto 100px;
}

.forget-link{
  float: right;
}

/* forget */
.forget{
  align-items: center;
  margin: 80px auto 100px;
}

.forget .forget-form{
  margin: 80px auto;
}

.forget .forget-button{
  text-align: center;
  margin: 30px auto;
}

/* reset */
.reset{
  align-items: center;
  margin: 80px auto 100px;
}

.reset-button{
  text-align: center;
  margin: 30px auto;
}

/* signup */
.signup{
  align-items: center;
  margin:80px auto;
}

/* validation */
.alert-icon{
  display: inline-block;
  margin: auto 10px;
}

.alert-icon i{
  align-items:center;
  display: block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 80px;
}

.alert-text{
  display: inline-block;
  margin: 10px 20px 10px 100px;
}

/* admin */
.team{
  align-items: center;
  margin: 80px auto;
}

.logo{
  margin:5px 0 0 6.75rem;
}

/* footer */
@media (max-width: 500px){
  li{
    padding: auto;
  }
  .footer-info{
    font-size: 0.9rem;
  }
  .footer-contact{
    font-size: 0.9rem;
  }
  li img{
    max-width: 10%;
  }
  .logo{
    margin:5px 0 0 5rem;
  }
  .footer-logo2{
    max-width: 37%;
  }
}

@media (max-width: 370px){
  ul{
    padding-inline-start: 10%;
  }
  .footer-info{
    font-size: 0.8rem;
  }
  .footer-contact{
    font-size: 0.8rem;
  }
  li img{
    max-width: 8%;
  }
  .logo{
    margin:5px 0 0 4.5rem;
  }
  .footer-logo2{
    max-width: 34%;
  }
}
