/*
    字體檔
*/
/* @import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;600;800&family=Poppins:wght@100&display=swap'); */
/* 已停用 Google Fonts @import：下載 Noto Sans TC 需 39 個子集請求，嚴重影響載入速度。
   已改由 common.css 的系統字型 stack 取代（Microsoft JhengHei / PingFang TC / Noto Sans CJK TC）。
   如需恢復：取消第 4 行的 @import 註解，並刪除 common.css 的 * font-family 規則。 */

:root {
    --windowH: 0;
}

* {
    font-family: Univers, Arial, 'Noto Sans TC', "Microsoft JhengHei", 'Apple LiGothic Medium', 'DFKai-sb', sans-serif, wingdings;
}

html {
    /*    scrollbar-color: #ccc #e0e0e0;*/
    scrollbar-width: thin;
}

body {
    background: #f5f5f5;
    transition: background 0.3s linear, color 0.3s linear;
}

.card-header {
    background-color: hsl(355, 70%, 60%);
    color: #FFF;
    font-size: 18px;
    line-height: 1.5;
    padding: 0.5rem;
    border-bottom: none;
}

.form-control-custom1 {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    background-clip: padding-box;
    border: var(--bs-border-width) solid var(--bs-border-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: var(--bs-border-radius);
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.commit {
    display: block;
    color: red;
    padding-bottom: 0.5rem;
}

.commit span {
    text-decoration: underline;
    color: blue;
    cursor: pointer;
}

.form-group {
    margin-bottom: 2rem;
}

.divlabel,
label {
    margin-bottom: 0.5rem;
}

.c2inlineblock {
    display: inline-block;
}

label {
    color: #0000ff;
}

.form-check-input {
    border: 1px solid rgba(0, 0, 0, .25);
    vertical-align: baseline;
}

.iti {
    display: block;
}

.twzipcode {
    display: flex;
}

.area_nottw {
    display: none;
}

.btn_period,
.btn_money,
.btn_month {
    padding: 5px;
    min-height: 55px;
    background-color: #eee;
    border-radius: 0;
    border: transparent;
    width: 125px;
    margin-right: 0.5rem;
    margin-bottom: 1rem;
}

.btn {
    font-family: "arial";
    font-size: 1rem;
}

.btn:hover {
    background-color: #ccc;
    color: #fff;
}

.btn:focus {
    background-color: #ccc !important;
    color: #fff;
}

.btn:active {
    background-color: #999;
    color: #fff !important;
    ;
}

.btn.active {
    background-color: #999 !important;
    color: #fff;
    outline: 0;
    border: 1px #444 solid;
}

input:hover {
    border: 1px solid hsl(355, 70%, 70%);
}

.cofirm_submit {
    text-align: center;
}

.step_go {
    padding: 10px 20px;
}

.step_modify {
    padding: 15px 20px;
    transform: translateX(-1em);
}

.step_pay {
    padding: 15px 25px;
    font-weight: bolder;
    font-size: 1.2;
}

.btn_color1 {
    color: #fff;
    background-color: hsl(355, 70%, 60%);
    border-color: hsl(355, 70%, 60%);
    /*font-weight:bolder;*/
}

.btn_color1:focus,
.btn_color1:hover {
    color: #333;
    -webkit-filter: opacity(.9);
    background-color: hsl(355, 70%, 80%) !important;
    border-color: hsl(355, 70%, 60%);
}

.btn_color2 {
    color: #fff;
    background-color: #adb5bd;
    border-color: #adb5bd;
}

.btn_color2:focus,
.btn_color2:hover {
    color: #333;
    -webkit-filter: opacity(.9);
    /*background-color: #adb5bd !important;*/
    border-color: #adb5bd;
}

.donation_notice_area p {
    text-align: left;
}

.donation_notice_area img {
    max-width: 25%;
    margin-bottom: 2rem;
}

.text-title {
    color: #3f51b5;
    font-weight: 600;
}

.text-left {
    text-align: left;
}

#batch-period-group>button:last-child {
    width: 210px;
}

/*nav*/
#plbTopMenu {
    box-shadow: 0px 0px 12px rgba(0, 0, 0, .15);
    background: rgba(255, 255, 255, .65);
    padding-top: 45px;
    padding-left: 1em;
    position: relative;
    height: 112px;
    position: fixed;
    z-index: 7;
    left: 0;
    right: 0;
    top: 0;
}

#plbTopMenu .menuwrap>ul {
    /*display: flex;*/
    justify-content: flex-end;
    align-items: flex-end;
    margin-bottom: 0;
    margin-right: 0;
}

#plbTopMenu .menuwrap>ul>li {
    flex: 0 0 auto;
    margin: 0 1em;
    font-size: 18px;
    line-height: 40px;
    /*box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;*/
    border-radius: 7px;
    padding: 0 6px;
    cursor: pointer;
    transition: ease-in all 0.2s;
}

#plbTopMenu .menuwrap>ul>li:hover {
    color: #d8231c;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

#plbTopMenu .menuwrap>ul>li {
    position: relative;
    transition: all .25s;
}

.plbToLogo {
    position: absolute;
    padding: 0 5px;
    border-radius: 5px;
    cursor: pointer;
    z-index: 10;
    transition: ease-in all 0.2s;
}

.plbToLogo:hover {
    position: absolute;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

.plbToLogo img {
    max-width: 200px;
    width: 100%;
}

#plbTopMenu .menuwrap>ul>li:hover>a {
    color: #d8231c;
}

#plbTopMenu .menuwrap>ul>li>a {
    text-decoration: none;
    text-align: center;
    font-size: 18px;
    color: rgba(0, 0, 0, .85);
    transition: all .25s;
}

#plbTopMenu .menuwrap>ul>li>a:visited,
#plbTopMenu .menuwrap>ul>li>as:focus {
    outline: 0;
}

#plbTopMenu.-fixed {
    height: 64px;
    backdrop-filter: blur(32px);

    background: rgba(255, 255, 255, .65);
    box-shadow: 0px 0px 24px rgba(0, 0, 0, .1);
    transition: all .5s cubic-bezier(0.16, 1, 0.3, 1);

}

#plbTopMenu.-fixed .menuwrap {
    position: relative;
    top: -32px;
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

picture img {
    width: 100%;
}

.container {
    padding-top: 15em;
}

.pc {
    display: flex;
}

@media (max-width:390px) {

    #batch-money-group,
    #batch-period-group {
        text-align: center
    }

    .step_pay,
    .step_modify {
        padding: 15px 10px;
    }
}

@media (max-width:470px) {
    .plbToLogo img {
        display: none;
    }
}

@media (max-width:700px) {
    .plbToLogo img {
        max-width: 50px;
    }

    #plbTopMenu .menuwrap>ul>li {
        padding: 0;
    }
}

@media (min-width:768px) {
    .mb-5 {
        margin-bottom: 0 !important;
    }
}

@media (max-width:799px) {
    .donMeWrap {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .donMethodGroup {
        position: relative;
        width: 90%;
        margin-top: 6em;
    }

    .donMethodGroup::before {
        content: "";
        position: absolute;
        left: 0;
        bottom: -3em;
        background: #fff;
        box-shadow: 0px 2px 16px rgba(0, 0, 0, .05);
        border-radius: 8px;
        width: 100%;
        height: 256px;
        z-index: -1;
    }

    .donMethodItem {
        margin-top: 48px;
        padding: 0 8px;
        height: 256px;
        text-align: center;
    }

    .donMethodItem .icon {
        margin-left: auto;
        margin-right: auto;
        width: 96px;
        height: 96px;
        margin-top: -48px;
        margin-bottom: 16px;
    }

    .donMethodItem .icon {
        background-position: center center;
        background-size: contain;
    }

    .donMethodItem h4 {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 4px;
        font-size: 24px;
        line-height: 40px;
    }

    .donMethodItem .plbDonButton {
        margin-left: auto;
        margin-right: auto;
        width: 96px;
        text-align: center;
        font-size: 20px;
        line-height: 38px;
    }

    .donMethodItem .plbDonButton {
        display: block;
        color: #000;
        border-radius: 1000px;
        border: 1px solid #333;
        cursor: pointer;
        transition: all 0.2s;
    }
}

@media (min-width: 800px) {
    .donMeWrap {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-around;
    }

    .donMethodGroup {
        position: relative;
        width: 45%;
        margin-top: 6em;
    }

    .donMethodItem .p {
        height: 72px;
    }
}

@media (max-width: 1000px) {
    .donMethodItem .p {
        margin-left: auto;
        margin-right: auto;
        font-size: 16px;
        line-height: 24px;
        height: 100px;
    }

    .contactItem .email {
        padding-right: 19px;
    }

    #plbFooter .footerWrapper .infoCol {
        flex: 0 0 100%;
        text-align: center;
        margin-bottom: 24px;
    }

    #plbFooter .footerWrapper .menuCol {
        flex: 0 0 calc(50% - 24px);
        padding: 24px 0;
        text-align: center;
        line-height: 32px;
        margin-top: 24px;
    }

    #plbFooter .footerBlock .brandCol .logo {
        width: 200px;
        margin: auto;
        margin-bottom: 24px;
    }

    #plbFooter .footerBlock .contactCol {
        text-align: center;
        flex: 0 0 calc(100%);
        justify-content: center;
    }

    #plbFooter .footerBlock .contactCol .snsList {
        justify-content: center;
    }

    .donation_body .s0 {
        flex-direction: column;
    }
}

@media (min-width: 1000px) {
    #plbTopMenu .menuwrap>ul {
        justify-content: flex-end;
        align-items: flex-end;
        margin-right: 32px;
    }

    .pc {
        display: flex;
    }

    .mobile {
        display: none;
    }
}

@media (min-width: 1200px) {
    .plbToLogo img {
        max-width: 250px;
    }

    .pc {
        display: flex;
    }

    .mobile {
        display: none;
    }

    .container {
        max-width: 85%;
    }

    .navbar-brand {
        max-width: 300px;
    }
}