@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400;700&display=swap');

/*----------------------------------------------------------*/

html,
body {
    font-size: 16px;
    font-family: 'Noto Sans TC', Microsoft Jhenghei, '微軟正黑', sans-serif;
}

.f_s_h1 { font-size: 2em; }
.f_s_h2 { font-size: 1.75em; }
.f_s_h3 { font-size: 1.5em; }
.f_s_h4 { font-size: 1.25em; }
.f_s_h5 { font-size: 1.125em; }
.f_s_sm { font-size: 0.875em; }
.f_s_xs { font-size: 12px; }

.f_w_900 { font-weight: 900; }
.f_w_700 { font-weight: 700; }
.f_w_300 { font-weight: 300; }
.lh_min { line-height: 1.1; }
.lh_max { line-height: 1.8; }

.layout_sec {
    padding-top: 60px;
    padding-bottom: 80px;
}
.layout_sec.bg_grey {
    background-color: rgba(0, 0, 0, 0.02);
}

/*------ SECTION STYLE ------*/
.section_bgc {
    background-color: #e0eff0;
}
.sec_title {
    position: relative;
    margin: 30px auto;
    width: 100%;
    text-align: center;
}
.sec_title .tit {
    position: relative;
    z-index: 3;
    margin: 0 auto;
    width: 100%;
    max-width: 240px;
    font-size: 24px;
    font-weight: 700;
    color: #00284a;
}
.sec_title .tit_in {
    position: relative;
    padding-bottom: 8px;
    z-index: 3;
}
.sec_title .tit::before,
.sec_title .tit::after {
    content: '';
    position: absolute;
}
.sec_title .tit::before {
    width: 100%;
    height: 4px;
    left: 0;
    bottom: 0;
    z-index: 2;
    background: linear-gradient(30deg, #000, #f5e827);
}


/*------ NAV MENU ------*/
.fixed-top {
    background-color: #000;
    background: linear-gradient(30deg, #000 50%, #565101);
}
.navbar-toggler-icon {
    background: url(img/UI/menu_button.svg);
}
.navbar {
    flex: 1 0 auto;
    padding: 10px 20px;
}
.nav-item {
    margin: 0 3px; 
}
.navbar-nav .nav-link {
    border: 1px solid transparent;
	padding: 0 1rem;
    color: #fff;
    text-align: center;
	line-height: 36px;
}
.navbar-nav .nav-link:hover {
    background-color: rgba(255,255,255,.2);
}
.navbar-nav .nav-link.active {
    border: 1px solid #fff;
    background-color: transparent;
    color: #fff;
}
.navbar-nav .nav-link.is_important {
    background-color: rgba(243,152,0,.5);
}


/*------ KEY VISUAL ------*/
.sec_hero {
    position: relative;
    margin-top: 58px;
}
.g_kv {
    position: relative;
}
.g_kv img {
    max-width: 100%;
}


/*------ INTRO ------*/
.g_intro {
    line-height: 1.5;
}
.g_intro>div {
    margin-left: auto;
    margin-right: auto;
    max-width: 52em;
}
.g_intro p {
    line-height: 1.5;
}
.g_intro .cta {
    text-align: center;
}
.g_intro .cta_btn {
    display: inline-block;
    padding: 15px 45px;
    background-color: #000;
    font-size: 1.5em;
    font-weight: 700;
    color: #f5e827;
    box-shadow: 8px 8px 4px rgba(0,0,0, .29);
    transition: box-shadow 300ms, transform 300ms;
}
.g_intro .cta_btn:hover {
    transform: translateY(5px);
    text-decoration: none;
    box-shadow: 3px 3px 2px rgba(0,0,0, .29);
}

.g_gift {
    margin-top: 40px;
    padding: 30px 20px;
    text-align: center;
    background-color: #eee;
}
.g_gift .g_tit {
    color: #00284a;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: .5rem;
}
.g_gift .g_tit_sup {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}
.g_gift .p_tit {
    padding: .75rem 2rem;
    font-size: 1.125rem;
    background-color: #0f878a;
    color: #f5e827;
    line-height: 1;
}
.g_gift .part {
    padding: 0 20px;
}
.g_gift .item {
}
.g_gift .i_img {
    margin-bottom: .5rem;
}
.g_gift .i_num {
    color: #0f878a;
}
.g_gift .i_tit {
    margin-top: .25rem;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
}


/*------ AGENDA ------*/
.s_agenda dl,
.s_agenda dt,
.s_agenda dd {
  margin: 0;
}
.s_agenda dt {
    font-weight: 400;
}
.s_agenda .table_tip {
    margin-top: 6px;
    font-size: 0.95em;
    text-align: center;
}
.s_agenda .table_tip span {
    display: inline-block;
    padding: .4em 1em;
    background-color: #ddd;
}
.s_agenda .ag_speaker {
    color: #00284a;
}
.s_agenda .border-bottom {
    border-color: #00284a!important;
}
.s_agenda .title_tr {
    font-weight: normal ;
}
.s_agenda .soft_tr {
    background-color: rgba(232,229,209, .5);
}


/*------ SPEAKER ------*/
.s_speaker {
    overflow-x: hidden;
}
.s_speaker img {
    max-width: 100%;
}
.s_speaker .card-text {
    margin-bottom: 0;
}
.speaker_item {
    cursor: pointer;
}
.speaker_item img {
    transition: transform 360ms;
}
.speaker_item:hover img {
    transform: scale(.96);
}


/*------ SPONSOR ------*/
.sponsor_sort {
    font-size: 0;
    color: #fff;
}
.sponsor_sort .btn {
    border-color: transparent;
    border-radius: 0;
    padding-left: 1.2em;
    padding-right: 1.2em;
    background-color: #b1dcff;
    transition: background 500ms;
    cursor: pointer;
}
.sponsor_sort .btn:not(:disabled):not(.disabled).active {
    background-color: #1357bd;
    color: #fff;
}
.sponsor_sort a {
    font-size: 1rem;
}
.sponsor_item img {
    max-width: 240px;
    width: 100%;
    transition: transform 300ms;
    background-color: #fff;
}
.sponsor_item a[href]:hover img {
    transform: scale(0.96);
}


/*------GIFT------*/
.s_gift .item {
    padding: 1.5em 0;
}
.s_gift .item .tit {
    margin-top: 1rem;
    font-size: 2em;
    font-weight: 300;
    line-height: 1.1;
}
.s_gift .item .name {
    margin: 10px 0;
    font-size: 1.33em;
    color: #3a87c6;
    line-height: 1.5em;
}
.s_gift .item .txt {
    margin: 0 auto;
    max-width: 25em;
    line-height: 1.5em;
    color: #676767;
}
.s_gift .item .img {
}


/*------VENUE------*/
.s_venue {
    
}
.iframe_wrap {
    position: relative;
    padding-top: 33%;
}
.iframe_wrap iframe {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}


/*------JOIN------*/
.s_join {

}


/*------ FIX BOTTOM ------*/
.g_fixbottom {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 5;
    transform: translateX(200%);
    transition: transform 400ms;
}
.g_fixbottom.avtive {
    transform: translateX(0); }
.g_fixbottom .totop,
.g_fixbottom .bttn {
    position: relative;
    right: 0;
    display: block;
    border: 1px solid #e4e4e4;
    border-radius: 4px;
    margin-bottom: 10px;
    width: 60px;
    height: 60px;
    cursor: pointer;
    text-align: center;
    transition: right 300ms;
    line-height: 1.4;
    animation-name: jump;
    animation-duration: 6s;
    animation-iteration-count: infinite;
}
.g_fixbottom .bttn.bgc_pri2 {
    background-color: #594f23;
}
.g_fixbottom .bttn div {
    display: block;
    padding: 7px 10px;
    color: #fff;
}
@keyframes jump {
    0% {
        transform: translateY(0);
    }
    76% {
        transform: translateY(0);
    }
    82% {
        transform: translateY(-10px);
    }
    88% {
        transform: translateY(0);
    }
    94% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}
.g_fixbottom .totop {
    text-align: center;
    padding: 25px 10px 10px;
    background: #fff url(img/ui/uparr-48-b.png) no-repeat center center;
    font-size: 0; }
.g_fixbottom .bttn:hover,
.g_fixbottom .totop:hover {
    right: 6px;
    text-decoration: none; 
}


/*------FOOTER------*/
.sec_footer {
    background-color: #00284a;
    background: linear-gradient(30deg, #00284a, #42e8e0);
}


@media (min-width:769px) {
    .modal-dialog {
        max-width: 600px;
    }
}

@media (max-width:768px) {
    .sec_title {
        max-width: 60%;
        margin: 0 auto 20px;
    }
    .g_active {
        margin-left: 0;
        margin-right: 0;
    }
    .g_gift .part {
        padding: 20px;
    }
    .g_gift .item {
        margin-top: 1rem;
    }
    .s_speaker .speaker_item .img-fluid {
        max-width: 275px;
    }
    .s_agenda .ag_time {
        text-align: left!important;
        color: #04365c;
    }
    .s_agenda .ag_title {
        text-align: left!important;
        line-height: 1.2;
    }
    .s_agenda .ag_speaker {
        margin-top: -.5em;
    }
    .s_agenda dt.bg-light,
    .s_agenda .bgc_yellow {
        border-left: 1px solid #dee2e6;
        border-right: 1px solid #dee2e6;
    }
    .s_agenda .ag_dtalk {
        text-align: left;
        margin-top: -.5em;
    }
    
    .iframe_wrap {
        padding-top: 100%;
    }
    .s_join ol {
        padding-left: 16px;
    }
    .s_join li {
        line-height: 1.2;
    }
    .g_fixbottom {
        right: 10px;
    }
    [data-aos^=fade][data-aos^=fade] {
        opacity: 1!important;
        transform: translate3d(0,0,0)!important;
    }
}

@media (max-width:600px) {
    .sec_title::before {
        width: calc(100% + 36px);
        left: -18px;
    }
    .g_intro {
        font-size: 1em;
        line-height: 1.6;
    }
    .g_intro>div {
        padding: 0 1rem;
    }

    .s_agenda .ag_title {
        font-size: 1.33em;
        margin-top: -.5em;
    }
    .g_fixbottom {
        bottom: 10px;
        width: 130px;
        font-size: 0;
    }
    .g_fixbottom .totop,
    .g_fixbottom .bttn {
        display: inline-block;
        vertical-align: bottom; 
        font-size: 1rem;
        margin-bottom: 0;
    }
    .g_fixbottom .bttn {
        margin-right: 10px;
        animation-name: none;
    }
}