/*Time line*/
.timelineblock .content{
  display:inline-block;
  width:calc(100% - 60px);
  font-size: 16px;
  line-height: 1.55em;
}
.timelineblock li{
  list-style: none;
  padding-left: 190px;
  position: relative;
}
.timelineblock li:before{
  background: white;
    content: "";
    height: 100%;
    left: 170px;
    margin-left: 7px;
    position: absolute;
    top: 5px;
    width: 1px;
}

.timelineblock li:after {
    background: white;
    border-radius: 100%;
    content: "";
    height: 17px;
    left: 170px;
    position: absolute;
    top: 5px;
    width: 17px;
}

.timelineblock .l{
  left: 0;
  position: absolute;
  text-align: right;
  width: 130px;
}

.timelineblock .event{
  padding-bottom: 35px;
  padding-left: 45px;
}

.timelineblock .event p{
  margin-top: 0;
  color:white;
  display: list-item; /* This has to be "list-item"*/
  list-style:disc outside none;
}

.timelineblock .year {
  color: white;
  margin-top:0px;
  font-weight:500;
  font-family: Oswald;
  font-size: 23px;
  line-height: 1em;
  margin-top: 3px;
  letter-spacing:0px;
}

@media screen and (max-width:580px){
  .timelineblock .event{
  padding-left: 55px;
}

  .timelineblock .l{
    width: 60px;
  }
  .timelineblock li {
    padding-left: 70px;
  }
.timelineblock li:before {
    left: 80px;
  }
.timelineblock li:after {
    left: 80px;
  }
.timelineblock .content {
    width:100%;
  }
}


/*** Grid Layout***/

#home_content_outer_grid{
display: grid;
grid-auto-rows: minmax(285px, auto);
grid-template-columns: repeat(12,8.33%);
margin: 0;
max-width:1440px;
width: 100vw;
/*background-color:#606060;*//*54AFCF*/
grid-auto-flow: row;
margin: 10px auto;
}

/* 981~1280 */
@media screen and (max-width:1280px) and (min-width:981px){
  #home_content_outer_grid{
    grid-auto-rows: minmax(240px, auto);
    }
}

.box{
position:relative;
margin:8px;
display:block;
overflow:visible;
/*background-color:#54AFCF;*/
}

.dashboard_box{
background-repeat: no-repeat;
background-size:cover;
}

/* .box_title p.box_number{
font-size:60px;
font-weight:800;
} */

.box_1r1c {
grid-column-end: span 3; /* 終點線 = 物件所佔的空間數 */
grid-row-end: span 1; /* 不設定終點線 */
/*background-color: red!important;*/
}

.box_1r1p3c {/*for Vedio*/
grid-column-end: span 4; /* 終點線 = 物件所佔的空間數 */
grid-row-end: span 1; /* 不設定終點線 */
/*background-color: red!important;*/
}

.box_1r2c {
grid-column-end: span 6; /* 終點線 = 物件所佔的空間數 */
grid-row-end: span 1; /* 不設定終點線 */
/*background-color: green!important;*/
}
.box_1r3c {
grid-column-end: span 9; /* 終點線 = 物件所佔的空間數 */
grid-row-end: span 1; /* 不設定終點線 */
/*background-color: green!important;*/
}
.box_1r4c {
grid-column-end: span 12; /* 終點線 = 物件所佔的空間數 */
grid-row-end: span 1; /* 不設定終點線 */
/*background-color: green!important;*/
}
.box_2r2c {
grid-column-end: span 6; /* 終點線 = 物件所佔的空間數 */
grid-row-end: span 2; /* 不設定終點線 */
/*background-color: blue!important;*/
}

.box_2r3c {
grid-column-end: span 9; /* 終點線 = 物件所佔的空間數 */
grid-row-end: span 2; /* 不設定終點線 */
/*background-color: blue!important;*/
}



.youtube{
    overflow:hidden;
    width:100%;
    height:100%;
  }

  .youtube img{
    max-width:none;
  }

.youtube:hover .play,
.youtube .play:hover{
    filter: contrast(300%);
  }



  @media only screen and (min-width: 581px) and (max-width: 980px){

    #home_content_outer_grid,#home_dashboard_outer,#home_vdo_outer{
    display: grid;
    grid-auto-rows: minmax(315px, auto);
    grid-template-columns: repeat(2,48vw);
    margin: 0;
    width: 96vw;
    /*background-color:#606060;*//*54AFCF*/
    grid-auto-flow: row;
    margin: 10px 2vw;
    }

    .box_1r1c,.box_1r1p3c, .box_2r2c, .box_1r2c, .box_1r3c,.box_1r4c{
      grid-column-end: span 1; /* 終點線 = 物件所佔的空間數 */
      grid-row-end: span 1; /* 不設定終點線 */
    }
    .box_1r4c{
      grid-column-end: span 2; /* 終點線 = 物件所佔的空間數 */
      grid-row-end: span 1; /* 不設定終點線 */
    }

    .box_2r3c{
      grid-column-end:span 1;
      grid-row-end:span 1;
    }

    

    .box_indicator_outer{
      width:48vw!important;
      color:#0b4677;
    }

    .box_title{
      grid-row:3;
      grid-column:2;
    }

    /* .home_content_box1{
      background-image: url('/img/2022/annual2022.png')!important;
    } */
    
    .slide1{
      background-image: url('/img/2024/conf2024.png?1')!important;
    }
    .slide2{
      background-image: url('/img/2022/aigc2023.webp?1')!important;
    }
    .slide3{
      background-image: url('/img/2022/Sinica.webp?1')!important;
    }

    .home_content_box4{
      background-image: url('/img/2022/AIinTaiwan.png?1')!important;
    }

  }

.home_content_box_title{
  position:absolute;
  bottom:0;
  height:12%;
  width:100%;
  background-color:rgba(60,110,200,0.7);
  padding: 0px 10px;
  display:flex;
  align-items:center;
}

[class*=home_content_box]:hover .home_content_box_title,
.home_content_box_title:hover{
    background-color:rgba(60,110,200,0.9);
  }

.home_content_box_title p{
  color:white;
  font-weight:800;
  font-size:22px;
  line-height:100%;
  margin:0!important;
}

#home_content_outer_grid a.box,#home_content_outer_grid div.box,#home_vdo_outer div.box{
  background-size: cover;
  background-repeat:no-repeat;
  overflow: hidden;
}

.zoom-in::before{
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: inherit;
  background-size: cover;
  transform-origin: center;
  transition: transform .4s ease-in-out;
}

.zoom-in:focus::before,.zoom-in:hover::before {
  transform: scale(1.05);
}

/* Chrome, Safari, Opera */
@-webkit-keyframes test {
    50% {background-size: 125%;}
}
/* Standard syntax */
@keyframes test {
    50% {background-size: 125%;}
}


@media only screen and (max-width: 580px) {

  #home_content_outer_grid{
  display: grid;
  grid-auto-rows: minmax(72vw, auto);
  grid-template-columns: repeat(1,96vw);
  margin: 0;
  width: 96vw;
  /*background-color:#606060;*//*54AFCF*/
  grid-auto-flow: row;
  margin: 10px 2vw;
  }

  #home_dashboard_outer,#home_vdo_outer{
  display: grid;
  grid-auto-rows: minmax(260px, auto);
  grid-template-columns: repeat(1,96vw);
  margin: 0;
  width: 96vw;
  /*background-color:#606060;*//*54AFCF*/
  grid-auto-flow: row;
  margin: 10px 2vw;
  }

  .box_1r1c,
  .box_1r1p3c,
  .box_2r2c,
  .box_1r2c,
  .box_1r3c,
  .box_1r4c{
    grid-column-end: span 1; /* 終點線 = 物件所佔的空間數 */
    grid-row-end: span 1; /* 不設定終點線 */
  }
  .box_2r3c{
    grid-column-end:span 1;
    grid-row-end:span 1;
  }
  .box_indicator_outer{
    width:96vw!important;
  }

  .box_title{
    grid-row:6;
  }
    /* .home_content_box1{
      background-image: url('/img/2022/annual2022.png')!important;
    } */
  .slide1{
    background-image: url('/img/2024/conf2024.png?1')!important;
  }
  .slide2{
    background-image: url('/img/2022/aigc2023.webp?1')!important;
  }
  .slide3{
    background-image: url('/img/2022/Sinica.webp?1')!important;
  }
  .home_content_box4{
    background-image: url('/img/2022/AIinTaiwan.png?1')!important;
  }
}


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

.dashboard_layout{
    display:flex;
    flex-wrap:wrap;
    justify-content:space-between;
    width:40vw;
    min-height:200px;
    margin:5vw 10%;
    overflow:hidden;
    padding:2vw;
}

div.dashboard_box{
    display:flex;
    flex-wrap:wrap;
    align-content:center;
    align-items: center;
    justify-content: center;
    color:white;
}

div.box_title{
  padding: 20px 0;
}

p.box_number{
    color:#0b4677;
    font-size:90px;
    font-weight:600;
    width:100%;
    margin:0px!important;
}

.box_indicator_outer{
    position: absolute;
    height: 249px;
    display: flex;
    width: 40vw;
    align-items: flex-end;
    justify-content: space-around;
    padding-bottom: 30px;
}

.box_indicator_outer_title{
  position:static;
  height:auto;
  display:block;
  padding:0;
}

p.box_indicator:not(.update_time){
    color:#0b4677;
    font-size:24px;
    font-weight:800;
    letter-spacing:-0.5px;
    margin:0px!important;
}


/*sponsor*/
  .subtitle{
    display:flex;
    align-items:center;
    justify-content:center;
    margin-top:40px;
  }

  .subtitle h2{
    color:#54AFCF;
    font-size:36px;
    font-weight:800;
  }

  .sponsors_box{
    display:flex;
    align-items:center;
    justify-content:center;
  }

@media screen and (min-width:981px){
  #sponsor_content_outer{
    display: grid;
    grid-auto-rows: minmax(100px, auto);
    grid-template-columns: repeat(12,8.33%);
    margin: 0;
    max-width:980px;
    width: 90vw;
    grid-auto-flow: row;
    margin: 10px auto 70px auto;
  }

  .sponsors_1r1c {
    grid-column-end: span 3; /* 終點線 = 物件所佔的空間數 */
    grid-row-end: span 1; /* 不設定終點線 */
  }

  .sponsors_2r4c {
    grid-column-end: span 12; /* 終點線 = 物件所佔的空間數 */
    grid-row-end: span 2; /* 不設定終點線 */
  }
}

@media screen and (max-width:980px) and (min-width:581px){
  .subtitle h2{
    font-size:32px;
  }
  #sponsor_content_outer{
    display: grid;
    grid-auto-rows: minmax(100px, auto);
    grid-template-columns: repeat(2,50%);
    margin: 0;
    max-width:720px;
    min-width:580px;
    width: 60vw;
    grid-auto-flow: row;
    margin: 10px auto;
  }

  .sponsors_1r1c {
    grid-column-end: span 1; /* 終點線 = 物件所佔的空間數 */
    grid-row-end: span 1; /* 不設定終點線 */
  }

  .sponsors_2r4c {
    grid-column-end: span 2; /* 終點線 = 物件所佔的空間數 */
    grid-row-end: span 2; /* 不設定終點線 */
  }
}

@media screen and (max-width:580px){

  .subtitle h2{
    font-size:32px;
  }

  #sponsor_content_outer{
    display: grid;
    grid-auto-rows: minmax(100px, auto);
    grid-template-columns: repeat(2,50%);
    margin: 0;
    max-width:580px;
    width: 90vw;
    grid-auto-flow: row;
    margin: 10px auto;
  }

  .sponsors_1r1c {
    grid-column-end: span 1; /* 終點線 = 物件所佔的空間數 */
    grid-row-end: span 1; /* 不設定終點線 */
  }

  .sponsors_2r4c {
    grid-column-end: span 2; /* 終點線 = 物件所佔的空間數 */
    grid-row-end: span 2; /* 不設定終點線 */
  }
}

