/********** 2023. 2024dvcw**********/
/*https://fontawesome.com/v5/search?o=r&m=free*/
/********** 未使用的部分**********/
@font-face {
font-family: 'NotoSansTC-Thin';
src: url("../Gfont/TC/NotoSansTC-Thin.otf")format("opentype");
}
@font-face {
font-family: 'NotoSansTC-Light';
src: url("../Gfont/TC/NotoSansTC-Light.otf")format("opentype");
}
@font-face {
font-family: 'NotoSansTC-Regular';
src: url("../Gfont/TC/NotoSansTC-Regular.otf")format("opentype");
}
@font-face {
font-family: 'NotoSansTC-Medium';
src: url("../Gfont/TC/NotoSansTC-Medium.otf")format("opentype");
}
@font-face {
font-family: 'NotoSansTC-Bold';
src: url("../Gfont/TC/NotoSansTC-Bold.otf")format("opentype");
}
@font-face {
font-family: 'NotoSansTC-Black';
src: url("../Gfont/TC/NotoSansTC-Black.otf")format("opentype");
}


.text-primary {
    color:  #f7da9b !important;/*深黃*//*#ff8f80深澄*/
}
.text-pink {
    color: #ffccd9 !important;/*淺粉紅*/
}
.text-ltyellow {
    color: #f1de97 !important;/*淺粉黃*/
}
.text-dkyellow {
    color: #b28702 !important;/*深黃*/
}
.text-dkred {
    color: #c03332 !important;/*深紅*/
}



.text-purple {
    color: #755daf !important;/*中深灰紫*/
}

.text-ltpurple {
    color: #a490d6 !important;/*淺灰紫*/
}
.text-ltgray {
    color: #d2d2d4 !important;/*淺灰*/
}
.text-grblue {
    color: #6487a1 !important;/*灰藍*/
}
.text-dkgray {
    color: #6c757d !important;/*灰*/
}


/*字體大小*/
.display-7{
    font-size: 0.8rem;
}
.display-8{
    font-size: 0.7em;
}
.display-9{
    font-size: 0.6em;
}

/*粉紅色*/
.btn-primary {
    background-color: #f9b8c8 !important;
    border-color: #ffc27f;
} 
/*粉黃*/
.btn-yellow {
    background-color: #f1de97 !important;
    border-color: #ffc27f;
}
/*中深灰紫*/
.btn-activity{
   font-size: 1.1rem;
   font-weight: bold;
   text-decoration: none;
   color: #f0ecec;
    background-color: #7b528f;
    border-radius: 50rem !important;
    border: 1px solid #7b528f;
    padding: 5px 15px 5px 15px;
    display: inline;
}
/*深粉紅*/
.btn-reg{
   font-size: 1.4rem;
   font-weight: bold;
   text-decoration: none;
   color: #f0ecec;
    background-color: #c65b6e; /*#ff8f80深澄*/
    border-radius: 50rem !important;
    border: 1px solid #7b528f;
    padding: 5px 15px 5px 15px;
    display: inline;
}

.bg-primary {
    background-color: #d8b465 !important;/*#ff8f80深澄*/
}  
.bg-purple {
    background-color: #596fb3 !important;
}  
.bg-secondary {
    background-color: #576fb5 !important; 
    border-color: #576fb5;
}   
.bg-pink {
    background-color: #ffc8d5 !important;
    border-color: #ffc8d5;
} 
.bg-dark {
    background-color: #2d2532 !important;
}
.border-primary {
    border-color: #ff8f80 !important;
}
.border-secondary {
    border-color: #7b528f !important;
}

.white-top-line {
    border-top: 1px dotted #8a8254; /* 上方白色點點線 */
    padding-top: 6px;            /* 與文字距離 */
}
.white-top-dots {
    position: relative;
    padding-top: 10px;
}

.white-top-dots::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;

    /* 可自訂點點間距 */
    background: repeating-linear-gradient(
        to right,
        #8a8254 0px,
        #8a8254 2px,     /* 點的大小 → 可調 */
        transparent 2px,
        transparent 10px  /* 點之間的間距 → 加大或縮小 */
    );
}

body {
    background-color: #303f6a;
}
a {
    color: #ffdd60;
}
a:hover {
    color: #ff77a4;
}
#database a {
    color: #f55f4b;
}

/**********  CSS **********/
:root {
    --primary: #ff8f80;  /*粉澄色*/
    --secondary: #fbf490; /*黃色*/
    --light: #F8F8F9;   /*淡灰藍色*/
    --dark: #001D23;    /*深灰藍色*/
    --purple:#7b528f ;/*中紫灰*/
    --dkpurple:#42324a ;/*紫深*/
    --dgpink:#bd8787;/*深灰粉紅*/
    --seccess: #FF6F0F;  /*橘色*/

}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
    border-radius: 2rem;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    color: #5b509b;

}

.btn.btn-primary:hover {
    color: var(--primary);
    background: transparent;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}
.btn-lg-circle {
    width: 48px;
    height: 48px;

}

/********** 導覽選單修改片段 **********/
/*
 * 請以此段取代 style.css 內原本的 Navbar 區塊。
 * 保留原網站的粉紅色背景、白色文字與點狀底線效果。
 * 手機版選單使用 checkbox 控制，不需要 JavaScript。
 */

/* 固定導覽列的過場效果 */
.fixed-top {
    transition: .5s;
}

/* 網頁最上方資訊列 */
.top-bar {
    height: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    background-color: #5e5656;
}

/* 隱藏純 CSS 手機選單控制框 */
#mobile-menu-toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* 導覽列原始外觀 */
.navbar {
    font-family: 'Noto Sans TC', sans-serif;
    background-color: #e994a6;
    font-size: 1.05em;
}

/* 桌面版選單文字 */
.navbar .navbar-nav .nav-link {
    margin-right: 22px;
    padding: 20px 0 13px;
    color: #ffffff;
    font-weight: 500;
    text-align: center;
    outline: none;
}

/* 滑鼠移入與目前頁面的原始點狀底線效果 */
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link:focus,
.navbar .navbar-nav .nav-link.active {
    color: var(--secondary);
    border-bottom: 5px dotted #cde7ff;
}

/* 手機選單按鈕 */
.navbar .navbar-toggler {
    cursor: pointer;
    border-color: rgba(255, 255, 255, .55);
}

.navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 .2rem rgba(255, 255, 255, .25);
}

/* 手機和平板版 */
@media (max-width: 991.98px) {
    /* 未勾選時收合選單 */
    #navbarCollapse {
        display: none;
        flex-basis: 100%;
        width: 100%;
    }

    /* 點選漢堡按鈕後展開選單 */
    #mobile-menu-toggle:checked ~ #navbarCollapse {
        display: block;
    }

    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid rgba(0, 0, 0, .07);
        background-color: var(--dgpink);
    }

    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
        border-bottom: 2px dotted #cde7ff;
        color: #fffdf0;
        font-size: 14pt;
    }

    .navbar .navbar-nav .nav-link:hover,
    .navbar .navbar-nav .nav-link:focus,
    .navbar .navbar-nav .nav-link.active {
        color: var(--secondary);
        border-bottom: 2px dotted #cde7ff;
    }
}

/* 桌面版固定顯示選單 */
@media (min-width: 992px) {
    #navbarCollapse {
        display: flex !important;
        flex-basis: auto;
    }
}




.regmenu{
    background-color: #58b1dfe0;
}
.regmenu, .regmenu-link, .regmenu a:hover,.regmenu a:active,{
    padding: 0px;
    color: #FFFFFF;
    font-weight: 500;
    outline: none;
    text-align: center;
    text-decoration: none;
}

.regmenu a{
    color: #f1de97;
    text-decoration: none;
    font-weight: bolder;
}

}
.regmenu a:hover{
    color: #a3450b;
    font-weight: none;
    text-decoration:underline;
}
.regmenu-link a:hover{
    color: #a3450b;
    font-weight: none;
    text-decoration:underline;
}
.regtitle{
    background-image: url("../img/carousel-1.jpg");
}

/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
      /*background: rgba(24, 22, 23, .6); 有濾鏡顏色的背景*/
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--dark);
    border: 12px solid var(--dark);
    border-radius: 3rem;
}

.carousel-caption h1{
    font-family: 'Noto Sans TC', sans-serif;
    font-weight: 900;
}

.carousel-caption h2{
     font-family: 'Saira', sans-serif;
    font-weight: 900;
}
.carousel-caption h3{
    font-family: 'Noto Sans TC','Saira', sans-serif;
    font-weight: 500;
    color: #FF6F0F;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    padding-top: 12rem;
    padding-bottom: 6rem;
    background: linear-gradient(rgba(0, 29, 35, .8), rgba(0, 29, 35, .8)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: #999999;
}

/*** About ***/
.about {
    background-color: #4f5056;
}
.about p{
    font-size: 14pt;
    color: #FFFFFF;
}
.about .en{
    font-size: 12pt;
    color: #FFFFFF;
}

/*** Causes ***/
.causes-item .progress {
    height: 5px;
    border-radius: 0;
    overflow: visible;
}

.causes-item .progress .progress-bar {
    position: relative;
    overflow: visible;
    width: 0px;
    border-radius: 0;
    transition: 5s;
}

.causes-item .progress .progress-bar span {
    position: absolute;
    top: -7px;
    right: 0;
    width: 40px;
    height: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    background: var(--primary);
    color: #FFFFFF;
}

.causes-item .causes-overlay {
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}

.causes-item:hover .causes-overlay {
    height: 100%;
    opacity: 1;
}

/*** Album Photos 相簿***/
.album .causes-item{
    text-align: center;
    background-color: #f49386;
}


/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .06);
}


/*** program ***/
.program {
    background: rgba(24, 22, 23, .6);
}

.btn-group .btn-light:hover,
.btn-group input[type="radio"]:checked+label {
    color: var(--primary);
    border-color: var(--primary);
}

.program .table td {
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #CCC;
    font-size: 1.2em;
    color: #08609f;
    padding: 3px 0px;
    vertical-align: middle;
    text-align: center;
}
.program a{
    color: #d7620b;
    text-decoration:none;

}
.program a:hover{
    color: #a3450b;
    font-weight: bolder;
    text-decoration:underline;
}

/*** reg***/
.person-data{
    padding: 10px 30px;  
}
.person-data p{
    text-align: left;
    padding: 0px 50px;
    font-size: 0.9em;    
}
.regtable tr {
    border-bottom-width: 2px;
    border-bottom-style: solid;
    border-bottom-color: #bfb6d5;
}
.regtable td {
    font-size: 1em;
    color: #2a1756;
    padding: 3px 5px;
    vertical-align: middle;
}

.regtable input[type=text] {
  border: 1px solid #e9d910;
  border-radius: 8px;
}

@media (max-width: 768px) {
    .regtable td {
     font-size: 0.9em;
     font-weight: bold;
     color: #071f56;
     padding: 3px 3px;
     vertical-align: middle;
     }
     
    .person-data p{
     padding: 0px;    
     }
}

@media (max-width: 576px) {
    .regtable td {
     font-size: 0.8em;
     color: #0c0816;
     }
}


/*** Team ***/
.team-item img {
    position: relative;
    top: 0;
    transition: .5s;
    padding: 20px;
}

.team-item:hover img {
    top: -30px;

}

.team-item .team-text {
    position: relative;
    height: 100px;
    transition: .5s;
}

.team-item:hover .team-text {
    margin-top: -60px;
    height: 160px;
}

.team-item .team-text .team-social {
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-text .team-social {
    opacity: 1;
}

.team-item .team-social .btn {
    display: inline-flex;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 40px;
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}

.team-item .dep{
    font-size: 0.5em;
    line-height:-50px;
}


/*** 與會嘉賓***/
#speakers .overflow-hidden {
    background: #FFFFFF;
}
#speakers{
    background: rgba(24, 22, 23, .6);
}



/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-item .testimonial-text {
    background: var(--light);
    transform: scale(.8);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primary);
    transform: scale(1);
}

.testimonial-carousel .owl-item .testimonial-text *,
.testimonial-carousel .owl-item .testimonial-item img {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
    color: var(--light) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item img {
    background: var(--primary) !important;
} 

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    color: var(--primary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

/*** map ***/
.bg-map{
    background: linear-gradient(0deg, rgba(64,32,79,0.639093137254902) 0%, rgba(85,85,139,0.7763480392156863) 49%, rgba(0,0,0,1) 100%),
                url('../img/ISS.jpg')no-repeat center top/cover;
}


/*** Footer ***/

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: rgba(255,255,255,0.5);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: rgba(255,255,255,0.5);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-square {
    color: rgba(255,255,255,0.5);
    border: 1px solid rgba(255,255,255,0.5);
}

.footer .btn.btn-square:hover {
    color: var(--secondary);
    border-color: var(--light);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--secondary);
}

.footer .copyright a:hover {
    color: var(--primary);
}

/********** 2026 中英文介面與純 CSS 切換新增樣式 **********/
/* 活動簡介中英文副標題 */
.about-title-en {
    display: block;
    margin-top: .45rem;
    font-family: 'Inter', sans-serif;
    font-size: .48em;
    line-height: 1.35;
}

/* 中英文切換按鈕：使用 radio 與 CSS，完全不使用 JavaScript */
.language-switch {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    align-items: center;
}
.language-switch-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.language-switch-button {
    cursor: pointer;
    border: 1px solid #f1de97;
    border-radius: 50rem;
    padding: .45rem 1.25rem;
    color: #fff;
    font-weight: 700;
    background: transparent;
}
.language-switch-input:focus + .language-switch-button {
    outline: 3px solid rgba(241, 222, 151, .45);
    outline-offset: 2px;
}
#about-lang-zh:checked + .language-switch-button,
#about-lang-en:checked + .language-switch-button {
    color: #42324a;
    background: #f1de97;
}
.language-panel {
    display: none;
    flex-basis: 100%;
    width: 100%;
}
#about-lang-zh:checked ~ .language-panel-zh,
#about-lang-en:checked ~ .language-panel-en {
    display: block;
}

/* 英文說明與雙語小字的排版 */
.timeline-en {
    display: block;
    margin-top: .3rem;
    font-family: 'Inter', sans-serif;
    font-size: .68em;
    line-height: 1.35;
}
.guidelines-en-note, .event-notice-en {
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 10.5pt;
}
.database-en-name {
    min-height: 1.5em;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}
.database-logo {
    width: 100%;
    max-height: 230px;
    object-fit: contain;
}

/* 五個重要時程卡片在大螢幕平均排列 */
@media (min-width: 992px) {
    .timeline-five-col {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

/* 手機版切換按鈕維持易讀與易點選 */
@media (max-width: 576px) {
    .language-switch-button {
        flex: 1 1 calc(50% - .5rem);
        text-align: center;
    }
    .about-title-en {
        font-size: .42em;
    }
}
