html {
    scroll-behavior: smooth;
}

body {
    font-size: 16px;
    line-height: 1.8em;
    color: #333;
    font-family: 'Noto Sans TC', Arial, '微軟正黑體', '新細明體', Helvetica, sans-serif;
    background-color: #DFD5F7;
}


h1 {
    font-weight: 700;
    padding-bottom: 2rem;
    text-align: center;
}

h2 {
    text-align: center;
    font-weight: 700;
    padding: 20px;
}


h3 {
    text-align: center;

}

h4 {
    text-align: center;
    margin-bottom: 1rem;
}

section {
    padding: 2em 1.2em;
}

.foreword,
.section-agenda,
.section-logo-well {
    background-color: #fff;
}


/*錨點位置調整*/
:target:before {
    content: "";
    display: block;
    height: 20px;
}

.btn-main {
    color: #ffffff;
    background-color: #6650A9;
}

.btn-main:hover {
    color: #ffffff;
    background-color: #927BD4;
}

.kv {
    background-color: #2d0065;
    padding-top: 4rem;
}


nav {
    background: #000000;
}

.navbar {
    padding: 0px 5vw;
    margin: 0px;
}

.navbar-brand img {
    max-width: 75%;
}

.navbar-nav {
    width: 100%;
}

.hightlight {
    background-color: #f4c900;
}

.navbar-dark .navbar-nav .nav-link {
    color: #ffffff;
}

.nav-link {
    padding: 20px;
}

.nav-link:hover {
    background-color: #c7b2ea;
    transition: 0.5s;
}

/* foreword */
.foreword-text {
    font-size: 18px;
    letter-spacing: 1.5px;
    text-align: justify;
    padding: 1rem 0 0;
}

.topic-title span {
    color: #F25D3C;
}

/* info */
.info-block img {
    max-width: 150px;
    padding: 20px 10px;
}

.info-block h3 span {
    background: linear-gradient(transparent 60%, #f4c900 60%);
}

.info-block {
    text-align: center;
}

.info-box {
    background-color: #fff;
    margin: 30px;
    padding: 20px 25px 5px;
}

.info-box h5 {
    color: #332270;
}

/* agenda */
.agenda-date {
    font-size: 2rem;
    text-align: center;
}

.carousel-inner {
    padding-bottom: 2em;
}

.carousel-item .nav-pills .nav-link {
    text-align: center;
}

.carousel-control-next-icon:after {
    content: '>';
    font-size: 55px;
    color: #6650A9;
}

.carousel-control-prev-icon:after {
    content: '<';
    font-size: 55px;
    color: #6650A9;
}

.carousel-item .nav-pills .nav-item {
    position: relative;
}

.carousel-item .nav-pills .nav-item .active:after {
    position: absolute;
    bottom: -12px;
    left: 0;
    right: 0;
    margin: auto;
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 10px 0 10px;
    border-color: #007bff transparent transparent transparent;

    );
}



.agenda-box {
    margin: 1.8rem 0;
    padding: 1rem 1.2rem;
    /* border: 3px solid #dfd5f7; */
    background-color: #dfd5f7;

}

.agenda-time {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.agenda-title {
    font-weight: 700;
    color: #6650A9;
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.agenda-name {
    font-size: 18px;
    margin-bottom: 20px;
}

.agenda-name span {
    color: #666;
}

.thumb {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    -webkit-box-shadow: 5px 5px 0 #5ABFE1;
    box-shadow: 5px 5px 0 #5ABFE1;
    margin: 0 auto;
}

.ag-img {
    border-radius: 50%;
    max-width: 220px;
    /* border: 6px solid #fff;   */
}


@media (max-width: 767px) {
    .ag-img {
        margin-top: 10px;
    }
}

/* news */
.card {
    position: relative;
    margin-bottom: 1.8rem;
}

.card:before {
    content: "";
    display: inline-block;
    position: absolute;
    top: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 50%;
    height: 5px;
    border-radius: 0 0 3px 3px;
    background-color: #F25D3C;
}

.card-title {
    color: #F25D3C;
    text-align: left;
    font-weight: 600;
}

.card-text {
    font-size: 16px;
}


/*logo well*/
.level-block {
    padding: 30px 0 15px;
    font-weight: 700;
}

.level-block span {
    background: linear-gradient(transparent 50%, #f0ff66 50%);
    padding: 0 10px;
}




/* ---------------
         footer
   --------------- */
.footer {
    position: relative;
    margin: 0;
    padding: 20px 20px;
    width: 100%;
    padding-bottom: 2%;
    background-color: #002c53;
    background: -moz-linear-gradient(top, #002c53 0%, #000000 80%, #000000 100%);
    background: -webkit-linear-gradient(top, #002c53 0%, #000000 80%, #000000 100%);
    background: linear-gradient(to bottom, #002c53 0%, #000000 80%, #000000 100%);
    background-repeat: no-repeat;
    background-size: 100%;
    overflow: hidden;
    width: 100%;
}

.footer * {
    color: #aaaaaa;
}

.footer .footer-row {
    -webkit-display: flex;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    max-width: 100%;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    margin-top: 15px;
}

@media (min-width: 1200px) {
    .footer .footer-row {
        max-width: 1200px;
    }
}

@media (max-width: 767px) {
    .footer .footer-row {
        max-width: 300px;
    }
}

@media (max-width: 991px) {
    .footer:after {
        bottom: -98px;
        height: 110px;
        top: -10px;
    }
}

.footer--ithome {
    padding: 0 0 0 5px;
    flex: 0 0 100%;
    max-width: 100%;
}

@media (min-width: 1060px) {
    .footer--ithome {
        -ms-flex: 0 0 28%;
        flex: 0 0 28%;
        max-width: 28%;
    }
}

@media (max-width: 1059px) and (min-width: 768px) {
    .footer--ithome {
        -ms-flex: 0 0 60%;
        flex: 0 0 60%;
        max-width: 60%;
    }
}

.footer--ithome .ithome-logo {
    margin: 20px 0;
    padding: 0;
    max-width: 200px;
    display: inline-block;
}

.footer--ithome .ithome-logo img {
    width: 100%;
}

.footer--ithome .ithome-fb {
    display: inline-block;
}

.footer--ithome .ithome-info {
    padding: 0;
    -webkit-display: flex;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    align-items: flex-start;
    -ms-align-items: flex-start;
}

.footer--ithome .ithome-info i {
    border-radius: 50%;
    background-color: #dddddd;
    width: 40px;
    height: 40px;
    text-align: center;
    font-size: 20px;
    line-height: 40px;
    margin-right: 10px;
    color: #333333;
    margin-right: 10px;
}

.footer--ithome .ithome-info-p {
    display: inline-block;
}

.footer--activity {
    padding: 0 10px 0 5px;
    flex: 0 0 100%;
    max-width: 100%;
}

@media (min-width: 1060px) {
    .footer--activity {
        -ms-flex: 0 0 20%;
        flex: 0 0 20%;
        max-width: 20%;
    }
}

@media (max-width: 1059px) and (min-width: 768px) {
    .footer--activity {
        -ms-flex: 0 0 40%;
        flex: 0 0 40%;
        max-width: 40%;
    }
}

.footer--activity .activity-logo img {
    max-width: 225px;
    width: 100%;
    /* margin: 5px; */
}

.footer--activity .activity-year {
    color: #666666;
    margin: 20px 0;
}

.footer--activity .activity-year a {
    color: #ffffff;
}

.footer--about {
    -webkit-display: flex;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: flex-end;
    padding: 0 0 0 5px;
    flex: 0 0 100%;
    max-width: 100%;
}

@media (min-width: 1060px) {
    .footer--about {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 1059px) and (min-width: 768px) {
    .footer--about {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.footer--about .about-title {
    font-size: 22px;
    margin: 0 0 10px;
    color: #ffffff;
}

.footer--about ul li {
    line-height: 1.5;
    margin-bottom: 3px;
    word-break: keep-all;
}

.footer--about ul li:before {
    color: #aaaaaa;
    line-height: 1;
}

.footer--about .about-conf {
    padding: 0 0 0 3px;
    -ms-flex: 0 0 33.33%;
    flex: 0 0 33.33%;
    max-width: 33.33%;
}

@media (max-width: 767px) {
    .footer--about .about-conf {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.footer--about .about-webinar {
    padding: 0 0 0 3px;
    -ms-flex: 0 0 26%;
    flex: 0 0 26%;
    max-width: 26%;
}

@media (max-width: 767px) {
    .footer--about .about-webinar {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.footer--about .about-service {
    padding: 0 0 0 3px;
    -ms-flex: 0 0 36.33%;
    flex: 0 0 36.33%;
    max-width: 36.33%;
}

@media (max-width: 767px) {
    .footer--about .about-service {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.footer--copyright {
    color: #888;
    width: 100%;
}


/*sidebar*/
#sidebarReg .register {
    background-color: #f4c900;
    color: #333;
    position: fixed;
    bottom: 15%;
    right: 0;
    border: none;
    display: block;
    font-weight: bold;
    font-size: 20px;
    writing-mode: vertical-lr;
    padding: 25px 10px;
    z-index: 10;
    border-radius: 10px 0 0 10px;
    box-shadow: 2px 3px 8px 0px rgba(58, 15, 228, 0.32);
}

#sidebarReg .register:hover {
    background-color: #c7b2ea;
    color: #fff;
}


#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: rgba(0, 0, 0, 0.5);
    color: #fff;
    cursor: pointer;
    /* Add a mouse pointer on hover */
    padding: 15px 20px;
    border-radius: 50%;
    font-size: 18px;
}

#gotopBtn:hover {
    background-color: #999;
}