html {
    scroll-behavior: smooth;
}

body {
    font-size: 20px;
    line-height: 1.6;
    color: #111111;
    font-family: 'Noto Sans', 'Noto Sans TC', Helvetica, '微軟正黑體', '新細明體', Arial, sans-serif;
    letter-spacing: 2px;

}

section {
    padding: 2em 1.5em;
}


.jumbotron {
    height: 560px;
    background: url(../img/kv.png) center no-repeat;
    background-size: cover;
    margin-bottom: 0;
}


nav {
    font-weight: 700;
    box-shadow: 0 0 3px rgb(0 0 0 / 20%);
}

.navbar {
    padding: 0px 5vw;
    margin: 0px;
}

.navbar-brand img {
    max-width: 75%;
}

.navbar-nav {
    width: 100%;
}



.nav-link {
    padding: 20px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
    transform: translate(2px, 1px);

}

.jumbotron h1 {
    font-size: 2.6em;
    font-weight: 600;
    text-align: center;
    color: #fff;
    text-shadow: rgba(0, 0, 0, 0.8) 0px 3px 8px;
    margin-top: 2.6em;
}

.txt-green {
    color: #76b900;

}

a {
    color: #EC6604;
}

a:hover {
    color: #FEA82F;
    text-decoration: none;
}

.section-kv {
    padding: 0;
}

@media(min-width: 600px) {
    .xs-v{
        display: none;
    }
}
@media(max-width: 600px) {
    .xs-h{
        display: none;
    }
}

.btn-main {
    background-color: #fbaf34;
    border-color: #fbaf34;
    padding: 10px 30px;
    border-radius: 30px;
    margin-bottom: 10px;
    margin-top: 10px;
    font-size: 16px;
}

.btn-main:hover {
    background-color: #3d5260;
    border-color: #3d5260;
}

.btn-more {
    border: 1px #FFFFFF solid;
    border-radius: 8px;
    padding: 6px 16px;
    font-size: 16px;
}

.btn-more:hover {
    color: #fbaf34;
    border: 1px #fbaf34 solid;
    cursor: pointer;
}

.btn-signup {
    font-size: 30px;
    background-color: #ed1374;
    padding: 18px 60px;
    border-radius: 50px;
    color: #FFFFFF;
}

.btn-signup:hover {
    background-color: #065dae;
    color: #FFFFFF;
}

/* content */
.section-foreword {
    color: #343434;
    /* background-color: #16161a; */
    padding:3.5em 2em;
}

.foreword-title {
    color: #e04010;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.8;
    text-align: center;
    font-size: 2.2em;
}


.foreword-info {
    background-color: #fff;
    padding: 10px;
    margin-bottom: 30px;
    color: #121212;
    font-size: 20px;
}


.main-title {
    font-size: 3rem;
    color: #242629;
    text-align: center;
    font-weight: 700;
    margin-bottom: 2rem;
}


.four-box {
    /* padding: 20px; */
    /* border-radius: 10px; */
    /* background-color: #74b71b; */
    margin-bottom: 25px;
}

.list-box {
    padding: 1.5em 1em;
}

.list-txtbox {
    border: 3px #111111 solid;
    background-color: #FFFFFF;
    padding: 16px 30px;
    border-radius: 10px;
    margin-top: 30px;
    min-height: 390px;
    text-align: justify;
    font-size: 18px;
    line-height: 1.4;
    letter-spacing: 0.5px;
}

.list-txtbox p {
    font-weight: 700;
    font-size: 24px;
    letter-spacing: 4px;
    padding-top: 8px;
}

.list-txtbox p span{
    border-bottom: 5px #fbaf34 solid;
    padding-bottom: 3px;
}

.solution-title {
    font-weight: 700;
    font-size: 28px;
    letter-spacing: 0.3px;
}

.section-agenda {
    background-color: #f1f1f1;
    padding: 3.5em 2em;
}

.section-agenda ul li {
    font-size: 15px;
    line-height: 1.8;
}

.sp-info {
    border-left: 2px solid #76b900;
    padding-left: 10px;
    margin: 15px 0;
}

.sp-name {
    color: #16161a;
    font-size: 1.5rem;
}

.sp-desc {
    color: #94a1b2;
}

.read-more {
    color: #ec9b01;
}

.read-more:hover {
    color: #EC6604;
    text-decoration: none;
}

.collapse-txt {
    font-size: 16px;
}

.collapse-title {
    font-weight: 700;
    color: #000;
}

.section-tech {
    background-color: #00152a;
    padding: 4.5em 2em;
    color: #FFFFFF;
    background: url(../img/bg.png);
}



.section-date {
    padding: 5em 0;
    background-size: cover;
    background: url(../img/bg.png);
}



.date-box {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px 60px;
    text-align: center;
    color: #121212;
    /* border: 3px solid #ff6a00; */
}


.date-box h3 {
    font-size: 1.8em;
    font-weight: 700;
    line-height: 1.5;
}

.date-box p {
    margin: 20px 0 0;
    font-size: 20px;
}





/*sidebar*/
#sidebarReg .register {
    background-color: #ed1374;
    color: #fff;
    position: fixed;
    bottom: 33%;
    right: 0;
    border: none;
    display: block;
    font-weight: bold;
    font-size: 22px;
    writing-mode: vertical-lr;
    padding: 25px 16px;
    z-index: 10;
    border-radius: 0px;
    box-shadow: 2px 3px 8px 0px rgba(58, 15, 228, 0.32);
}

#sidebarReg .register:hover {
    background-color: #fbaf34;
}

#sidebarReg2 .register {
    background-color: #0072e4;
    color: #fff;
    position: fixed;
    bottom: 10%;
    right: 0.8%;
    border: none;
    display: block;
    font-weight: bold;
    font-size: 16px;
    writing-mode: vertical-lr;
    padding: 14px 10px;
    z-index: 10;
    border-radius: 30px;
    box-shadow: 2px 3px 8px 0px rgba(58, 15, 228, 0.32);
}

#sidebarReg2 .register:hover {
    background-color: #fbaf34;
}

#gotopBtn {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Fixed/sticky position */
    bottom: 20px;
    /* Place the button at the bottom of the page */
    right: 30px;
    /* Place the button 30px from the right */
    z-index: 99;
    /* Make sure it does not overlap */
    border: none;
    /* Remove borders */
    outline: none;
    /* Remove outline */
    background-color:#fbaf34;
    color: #fff;
    cursor: pointer;
    /* Add a mouse pointer on hover */
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 18px;
}

#gotopBtn:hover {
    background-color:  #3d5260;
}

:target:before {
    content: "";
    display: block;
    height: 72px;
    /* fixed header height*/
    margin: -72px 0 0;
    /* negative fixed header height */
}

/* 第二區塊 */


.section-agenda .fourlist ul{
    margin: 0 ;
    padding: 0;
}

.section-agenda .fourlist li{
    font-size: 1.1rem;
    list-style-type: decimal;
    list-style-position: inside;
    margin: 10px 0;
    background-color: #0665c332;
    border-radius: .5rem;
    padding: 15px;
}

.section-agenda .text2{
    font-weight: 600;
    color: #0664c3;

}
.section-agenda .fourlist h4{
    text-align: center;
}

.text-left{
    margin:  10px 0;
}




 /* 第三區塊 抽好禮 */

 .gifttext{
    margin: 30px 0;
	font-size: 18px;
 }

@media(max-width: 992px) {
 .gifttext{
	height: 150px;
 }
}

@media(max-width: 768px) {
 .gifttext{
	height: auto;
 }
}

/* 第四區塊 */
.level-block-title {
    color: #ababab;
    font-weight: 700;
    text-align: center;
    margin: 20px 0 10px;
}

.level-block img {
    max-width: 250px;
}
/* 
footer {
    color: #fff;
    background-color: #121212;
    font-size: 16px;
    padding: 1% 0;
    line-height: 1.4em;
} */

fieldset .col-sm-9 ,.col-sm-3{
    margin-left: 130px;

}

@media screen and (max-width:750px){
    fieldset .col-sm-9 ,.col-sm-3{
        margin-left: 0px;
        padding: 0;
    
    }
    fieldset .col-sm-12 {
        padding: 0;
    }
   
}


/* 燈箱 */
.modal {
	background:rgb(0,0,0,0.5);
}

/* 產品介紹顯示更多 */
.solution-content {
	font-size:18px;
	font-weight:300;
	line-height: 1.5;
	max-height: 5.3em;
	overflow: hidden;
	
}

[line-clamp="3"] {
  max-height: 5.3em;
}
[line-clamp="4"] {
  max-height: 7em;
}
[line-clamp="5"] {
  max-height: 8.4em;
}

.solution-content::before{
  content: '';
  float: right;
  width: 0;
  /*height: calc(100% - 24px);*/
  height: 100%;
  margin-bottom: -24px;
}

.show-more {
  float: right;
  clear: both;
  margin-left: 32px;
}

.show-more::before{
  content: '...';
  position: absolute;
  right: 42px;
  color: #fff;
  transform: translateX(-100%)
}

.wrap{
  display: flex;
}

.exp:checked+.solution-content{
	max-height: none;
}

.show-more::after{
  content:'展開'
}

.exp:checked+.solution-content .show-more::after{
  content:'收起'
}

.exp:checked+.solution-content .show-more::before {
    visibility: hidden; /*在展開狀態下隱藏省略號*/
}