html {
    scroll-behavior: smooth;
}

body {
    font-size: 16.5px;
    line-height: 1.8;
    color: #fff;
    font-family: "微軟正黑體", "新細明體", Arial, Helvetica, sans-serif;
    background-color: #47B4DD;
}

a {
    color: #FF6B5E;
    transition: 0.3s ease;
}

a:hover {
    color: #DB4444;
    text-decoration: none;
}

h2 {
    text-align: center;
    /*color: #343a40;*/
    font-weight: 700;
    padding: 20px;
}

.title::after {
    content: "";
    width: 60px;
    /* height: 10px; */
    display: block;
    border: 2px dashed #0D376A;
    margin: 20px auto 0;

}

h3 {
    text-align: center;
}

h4 {
    text-align: center;
    margin-bottom: 1rem;
}

p {
    padding-bottom: 0.5em;
}

.foreword p {
    text-align: justify;
}

section {
    padding: 2em 0 3em;
}

section:nth-of-type(even) {
    background: #ffffff;
    color: #333;
}

.btn-primary ,.btn-primary:focus {
    font-size: 1.4rem;
    padding: 10px 20px;
    min-width: 30%;
    margin: 2%;
    background-color: #FF6B5E;
    text-shadow: none;
    outline: none;
    color: #fff;
    border: none;
}


.btn-primary:hover {
    background-color: #fff;
    color: #333;
    }





    /*錨點位置調整*/
:target:before
    {
        content: "";
        display: block;
        height: 75px;
    }


    .navbar {
        background: rgb(71, 180, 221, 0.9);
    }

    .navbar-brand {
        text-align: center;
    }

    .navbar-brand img {
        max-width: 200px;
        /* padding: 8px; */
    }

    .navbar-nav {
        width: 100%;
    }

    .nav-item {
        padding: 0 10px;
    }

    .nav-link {
        padding: 0.8rem 1rem;
    }

    .navbar .navbar-nav>li>a:hover {
        -webkit-transform: translateY(-3px);
        -ms-transform: translateY(-3px);
        transform: translateY(-3px)
    }

    .navbar-dark .navbar-nav .nav-link {
        color: #ffffff;
    }
    .navbar-dark .navbar-nav .nav-link.special {
        /* border: 2px solid #FF6B5E;
        padding: 10px 15px; */
        background-color: #FF6B5E;
        color: #ffffff;
    }
    .navbar-dark .navbar-nav .nav-link.special:hover {
        background-color: #FF6B5E;
        color: #ffffff;
    }

    /* 中文按鈕 */
    .nav-item.ch {
        margin-left: auto;
        padding: 0;
        font-weight: 500;
    }
    .navbar .navbar-nav .nav-item.ch a {
        padding: 0.5rem 1rem 0.4rem;
        border: 3px solid #ffc95f;
        transition: 0.3s;
    }
    .navbar .navbar-nav .nav-item.ch a:hover {
        -webkit-transform: translateY(0px);
        -ms-transform: translateY(0px);
        transform: translateY(0px);
        border: 3px solid #ffc95f;
        background-color: #ffc95f;
        color: #47B4DD;
    }
    @media(max-width:991px) {
        .navbar {
            background-color: rgb(106, 64, 190);
        }
        .nav-item.ch {
            width: 100%;
        }
        .kv {
            margin-top: 74px;
        }
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 5%;
    }

    .kv {
        width: 100%;
    }


    .kv img {
        width: 100%;
    }

    .foreword {
        /* font-size: 1.3rem;*/
        line-height: 1.8;
        position: relative;
        padding-top: 1em;
        /* filter: drop-shadow(0px -2px 2px #261a3f); */
    }
    /* .foreword::before {
    content:'';
    background: url('../img/head_foreword.svg') no-repeat center center /cover;
    width: 100%;
    height: 30px;
    position: absolute;
    top: -28px;
    left: 0;
    right: 0;
} */
    .head_foreword {
        position: relative;
        width: 100%;
    }
    .head_foreword .img {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 100%;
    }


    .color_bg {
        background-color: #47B4DD;

    }

    .color_bg:after {
        content: "";
        display: block;
        position: absolute;
        right: 50%;
        width: 0;
        height: 0;
        border-left: 30px solid transparent;
        border-right: 30px solid transparent;
        border-top: 30px solid #47B4DD;
        transform: translateX(30px);
    }


    .focus {
        color: #47B4DD;
        text-align: center;
        font-size: 1.5em;
        padding: 20px 0;
        font-weight: 700;
        letter-spacing: 2px;
    }

    .focus span {
        color: #ffc95f;
        font-size: 1.6em;
    }

    .focus2 {
        color: #47B4DD;
        text-align: center;
        font-size: 1.2em;
        font-weight: 700;
        line-height: 1.5;
    }

    .focus2 span {
        color: #ffc95f;
        font-size: 1.4em;
    }

    .intro-box {
        padding: 15px 25px;
    }
    .intro-box .intro-mark {
        font-size: 1.8rem;
        padding: 6px;
        color: #fff;
    }
    .intro-box .intro-mark:hover {
        color: #ddd;
    }

    .intro-box ol {
        padding-left: 15px;
    }

    .intro-location .fas {
        font-size: 2.3rem;
        color: #fff;
        margin-top: 0.5rem;
        transition: 0.3s ease;
    }
    .intro-location .fas:hover {
        color: #ddd;
    }

    .custom-icon li {
        background-image: url('../img/icon-01.png');
        background-position: left 7px;
        background-repeat: no-repeat;
        list-style-type: none;
        padding-left: 1.5rem;
        padding-bottom: 0.3rem;
        border-bottom: 1px solid #efefef;
    }

    .forward-box {
        padding: 1.5em;
        background-color: #F7EFF3;
        border-radius: 10px;
        box-shadow: 0 0 10px rgba(98, 82, 97, 0.5);
    }


    .speaker-title {
        font-size: 1.4em;
        padding: 20px;
    }

    .list-inline-item:not(:last-child) {
        margin-right: 0rem;
    }

    .line {
        height: 1px;
        background-color: #ffc95f;
        width: 2em;
        margin-top: 33px;
    }

    .speaker-box {
        text-align: center;
    }

    
    .speaker-name {
        padding: 5px 0;
        color: #47B4DD;
        font-weight: 700;
        font-size: 22px;
    }

    .speaker-txt {
        font-size: 16px;
        padding: 0 0 15px;
        color: #333;
    }

    


    /* intro */
    .sec-intro {
        background: #47B4DD;
        background-image: linear-gradient(-225deg, #47B4DD 0%, #1D8FE1 48%, #625EB1 100%);
    }

    .sec-intro .title {
        color: #DAFDFD;
    }


    /*  */
    .topic {
        padding: 5em 0 2em;
    }
    .topic-pre-titile {
        font-size: 2.1rem;
        line-height: 1.6;
        color: #0D376A;
    }

    .topic-hl{
        color: #47B4DD;
        font-size: 1.4rem;
    }

    /* 演講共識 */
    .focus-box {
        border: 8px double #B7F7FB;
        border-radius: 15px;
        padding: 10px 30px;
    }
    .focus-box-title {
        color: #338EBE;
        font-size: 2em;
        /*font-weight: 700;*/
        text-align: center;
        position: relative;
        top: -1.3em;
        margin-bottom: -1rem;
    }
    .focus-box-title span {
        background-color: #fff;
    }

    /* 投稿規範 */
    .specification {
        ;
        /* padding: 0; */
    }

    /* 聽眾真心話 */
    .expect {
        background: url('../img/bg-expect.jpg') no-repeat center bottom /cover;
        padding: 80px 20px 0;
    }
    .expect-box {
        background: #ffffffe0;
        /* border-radius: 30px;
    box-shadow: 0px 0px 20px 13px #fff; */
        padding: 20px;
        margin: 0 3% 3%;
    }
    .expect-box .title {
        width: 95%;
    }


    /*  */
    .section-focus-slogan.attachment {
        background: url('../img/bg-speakers.jpg') no-repeat center center;
        background-size: cover;
        background-attachment: scroll;
        position: relative;
        padding: 20% 0;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        align-items: center;
    }
    @media(min-width: 1201px) {
        .section-focus-slogan.attachment {
            height: 70vh;
            background: url('../img/bg-speakers.jpg') no-repeat center center;
            background-attachment: fixed;
        }
    }
    .section-focus-slogan .slogan-txt {
        color: #fff;
        text-shadow: none;
        text-shadow: 0 0 20px #38383873;
        /* text-shadow: 1px 1px 20px #fff, 5px 5px 0px #fff; */
        /* opacity: 0.8; */
    }
    @media(max-width: 1200px) {
        .section-focus-slogan .slogan-txt {
            ;
            /* text-shadow: 1px 1px 20px #fff, 3px 3px 0px #fff; */
            /* text-shadow: none; */
        }
    }

    .section-focus-slogan .slogan-title {
        line-height: 1.2;
        letter-spacing: 10px;
        font-weight: 700;
        font-size: 90px;
    }
    @media(max-width: 1200px) {
        .section-focus-slogan .slogan-title {
            line-height: 1.3;
            letter-spacing: 6px;
            font-size: 2.4rem;
        }
    }


    /* Contact Information */
    .sec-contact {}
    .sec-contact a {
        /* color: #ffc95f; */
        word-break: break-word;
        line-height: 1.8;
    }
   

    .history-block {
        text-align: center;
        padding: 10px;
    }

    .history-btn {
        font-size: 18px;
        padding: 15px 25px;
        border: 1px solid #ffffff;
        color: #3b93b3;
        background-color: #ffffff;
    }

    .history-btn:hover {
        color: #ffffff;
        background-color: #236C9F;
    }

    .history-btn2 {
        font-size: 18px;
        padding: 15px 25px;
        border: 1px solid #236C9F;
        color: #ffffff;
        background-color: #236C9F;
    }

    .history-btn2:hover {
        color: #236C9F;
        background-color: #ffffff;
    }

.year-box{
    border: 1px solid #000;
    padding: 0 85px 35px;

}

.year-box h2{
    margin-top: -40px;
}

.year-box h2 span{
    background-color: #fff;
    padding: 0 20px;
}

@media(max-width: 576px){
    .year-box{        
        padding: 0 10px 35px;    
    }
}

/* 表單 */
.sec-signup{
    background-color: #fff;
    padding-top: 150px;
    color: #333;    
}

.sec-signup label{
    font-weight: 600;
}

.help-block{
    color: #47B4DD;
}

    .footer-logo {
        text-align: center;
    }


    footer {
        color: #999999;
        background-color: #101010;
        font-size: 16px;
        padding: 2% 0;
        line-height: 1.4em;
    }

    #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(115, 210, 234, 0.8);
        color: #fff;
        cursor: pointer;
        /* Add a mouse pointer on hover */
        padding: 12px 20px;
        border-radius: 50%;
        font-size: 18px;
        transition: transform 0.5s ease 0s;    
    }

    #gotopBtn:hover {
        transform:scale(1.2,1.2);
    }
