:root {
    --color1: hsl(160, 40%, 50%);
    --color2: hsl(55, 85%, 55%);
    --color3: hsl(-5, 100%, 50%);
    /* --color4: hsl(45, 75%, 70%); */
    --tag_01: var(--color2);
    --tag_02: var(--color1);
    --yellow: hsl(55, 85%, 55%);
    --money: hsl(55, 85%, 55%);
}

body {
    background-color: #FFF;
    background-image: url(../images/bg.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 120%;
    background-blend-mode: multiply;
}
@media (max-width: 576px) {
    body {        
        background-size: cover;
    }
}

#mainNav {
    height: auto;
}

.header .navbar-brand {
    display: inline-flex;
    max-width: 80%;
    height: auto;
    max-height: unset;
    aspect-ratio: 36 / 7;
    align-self: center;
    padding: 0;
    margin: 0 inherit;
}

.header .navbar-brand img {
    display: block;
    width: 100%;
    height: auto;
}

@media (min-width: 992px) {
    .header .navbar-brand {
        width: 100%;
        max-width: 300px;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .header .navbar-brand .img-fluid.logo_scale {
        width: auto;
        height: 50px;
    }
}


.header_nav {
    background-color: var(--color1);
    margin-top: 0;
}

.header_nav nav ul li {
    width: auto;
}

.header_nav nav ul li a {
    color: #FFF;
}
.header_nav nav>ul>li>a:before{
    width: 0;
    height: 10%;
    background-color: var(--color2);
    left: 50%;
    transition: all .5s;
}
.header_nav nav>ul>li>a:hover, .header_nav nav>ul>li>a:focus{    
    color: var(--color2);
}
.header_nav nav>ul>li>a:hover:before, .header_nav nav>ul>li>a:focus:before{
    width: 100%;
    height: 10%;
    top: unset;
    left: 0;
    transition: all .5s;
}
@media screen and (max-width:1024px) {
    .header_nav nav ul{
        overflow-x: auto;
    }
    .header_nav nav ul li a{
        font-size: 18px;
        /* padding-inline: 10px; */
    }
}
.header_nav nav .sub_menu li {
    background-color: #FFF;
}

.header_nav nav .sub_menu li a {
    color: #333;
    border-bottom: 1px solid hsla(45, 100%, 25%, .2);
}

.top_list {
    margin-top: 0;
}

.main-slider {
    padding: 0;
}

/* 頁尾 */
.footer_area {
    background-color: var(--color1);
    color: #eee;
}

.footer_area h2 {
    color: #eee;
    border-color: #ccc;
    margin-top: 1rem;
}
.footer_area a{
    color: #eee;
}
.footer_area ul li a {
    color: #eee;
    font-size: 15px;
}
.footer_area a:hover, .footer_area a:focus, .footer_area a:active, .footer_area a:hover h2{
    color: var(--color2)
}

.footer_area .card-header.--link a, .footNav_m .card-header a[aria-expanded="true"], .footNav_m .card-header a[aria-expanded="false"]{
    color: #eee;
}


.footNav_pc ul li:not(:last-child) {
    border-color: hsla(0, 0%, 100%, .5);
}

.footNav_pc ul li:last-child {
    margin-bottom: 2rem;
}

.footNav_m .card-header {
    border-color: #ccc;
}

.footer_toggle_wrap {
    border-bottom: 3px solid var(--color2);
}

#footer_toggle {
    background: var(--color2);
}

.sidebar_info i {
    color: var(--color2);
}
.section_footer{
    background-color: #eee;
}

/* 登入 */
.fast_or {
    display: flex;
    color: #999;
    text-align: center;
    justify-content: center;
    margin: 1rem 0 2rem;
    padding: 0;
}

.fast_or:before, .fast_or:after {
    width: calc(50% - 1.5em);
    background-color: #e7e7e7;
}

.fast_or:before {
    left: 0;
}

.fast_or:after {
    right: 0;
}

.login_section .card {
    padding: 1em;
}

.login_section .form-group.row.justify-content-start {
    justify-content: center !important;
}

.login_section .form-group.row.justify-content-start .ml-3 {
    margin-left: 0 !important;
}

.donate_fastlogin {
    display: flex;
    width: 100%;
    text-align: center;
    justify-content: center;
    justify-self: center;
    margin: 1rem auto;
}

.donate_fastlogin a {
    display: inline-block;
}

.donate_fastlogin label {
    display: none;
}

.donate_fastlogin button {
    border-radius: 10px;
}

.donate_fastlogin button, .donate_fastlogin:not(.login) a {
    margin: 0 .5rem;
    justify-self: center;
}

input, select, .form-control:not(textarea) {
    border-color: #ccc;
}

textarea, textarea.form-control {
    border-color: #ccc;
}

.form-control::placeholder,
.form-control::-webkit-input-placeholder,
::-webkit-input-placeholder {
    color: #666 !important;
}

/* 麵包屑 */
.breadcrumb-item {
    color: #666;
    font-size: 14px;
}

.breadcrumb-item a {
    color: #666;
}


/* 內文 */
.section_title {
    padding: 3rem 0 .5rem;
}

.section_title .title {
    color: #333;
    font-size: 2em;
}

.section_title .title:before {
    display: none;
    background-image: none;
    background-color: #666;
}

.section_title_wrap {
    border-bottom: none;
}

.section_title .title_more a {
    background-color: transparent;
}
@media screen and (max-width:576px) {
    .section_title .title{
        font-size: 30px;
    }
    .section_title .title_more a{
        font-size: 16px;
        line-height: 20px;
    }
}
.page_title i {
    color: var(--color4);
}

.section_title.page_title h1 {
    font-size: 2em;
}

.section_title.page_title i {
    color: var(--color2);
    font-size: 2em;
}

.custom_column .custom_wrap {
    border-color: var(--color4);
    margin-bottom: 1em;
}

.custom_column .custom_wrap h3 {
    background-color: var(--color4);
    color: #FFF;
    padding: .5em 1em;
    margin-top: -0.5em;
}

.news_content .news_column, .news_content .events_column {
    margin-top: 0;
}

.card.end {
    border-color: transparent;
    background-color: transparent;
}

.donate_info {
    margin-bottom: 1rem;
}

.donate_info h2 {
    color: #333;
}
.faq_header .faq_question{
    background-color: var(--color2);
    border-radius: 4px;
    padding: 0px 5px;
}
.text-orange {
    color: #000;
}

.faq_header .faq_number {
    color: #000;
}
.faq_header .faq_title{
    vertical-align: bottom;
}

.nav-tabs .nav-item:not(:last-child) {
    margin-right: 5px;
}

.nav-tabs .nav-item .nav-link {
    background-color: transparent;
    color: var(--color1);
    border-color: #ccc;
}

.nav .nav-link, .news_filter a {
    background-color: transparent;
    color: var(--color1);
    border-color: #ccc;
}

.button.btn-gray:hover, button.btn-gray:focus, button.btn-gray.active{
    color: #000 !important;    
}

.cart_content .pay{
    justify-content: space-between;
}
.cart_content .pay label,.cart_content .pay .btn-link{
    white-space: nowrap;
}
.cart_content .pay_group button{
    margin-bottom: 5px;
}

.fixed_bottom span{
    color: var(--color3);
}
/* 修正升級手機版分享歪斜 start*/
.fixed_bottom ul {
    font-size: 0;
}
.fixed_bottom ul li {
    display: inline-block;
    float: none;    
}
@media (max-width: 576px) {
    .fixed_bottom .share_wrap a{
        display: block;
        padding: 0;
    }
    .fixed_bottom i{
        display: block;
        line-height: 1;
        margin-bottom: .5rem;        
    }
    .fixed_bottom .share_wrap a > div{
        margin-top: 0;
    }
}
/* 修正升級手機版分享歪斜 END */

.tag_01{
    color: #000;
}
#cart_order tbody tr td:first-child span{
    color: #000;
}

.table{
    box-shadow: 0 0 10px hsla(0, 0%, 0%, 0.1);
}
.setup_content .money_group button, button.btn-gray{
    color: #000 !important;
}
button.btn-gray:hover, button.btn-gray:focus, button.btn-gray.active {
  color: #000 !important;
  background: var(--money);
}