:root {
    --color1: hsl(205, 95%, 35%);
    --color2: hsl(200, 97%, 45%);
    --color3: hsl(345, 80%, 60%);
    --tag_01: hsl(345, 80%, 60%);
    --tag_02: hsl(200, 97%, 45%);
    --yellow: hsl(345, 80%, 60%);
    --money: hsl(345, 80%, 60%);
}

body {
    background-color: hsl(200, 60%, 98%);
    background-image: url(../images/bg.jpg);
    background-position: center;
    background-repeat: repeat;
    background-attachment: fixed;
    background-size: cover;
    background-blend-mode: multiply;
}

#mainNav {
    height: auto;
}

.header .navbar-brand {
    display: inline-flex;
    max-width: 80%;
    height: auto;
    max-height: unset;
    align-self: center;
    padding: 0;
    margin-top: 10px;
    margin-bottom: 10px;
}

.header .navbar-brand img {
    display: block;
    width: 100%;
    height: auto;
}

@media (min-width: 992px) {
    .header .navbar-brand {
        width: 100%;
        max-width: 300px;
    }
    .header .navbar-brand .img-fluid.logo_scale {
        width: auto;
        height: 50px;
    }
}


.header_nav {
    background-color: hsl(200, 97%, 95%);
    margin-top: 0;
}
.header_nav::before,.header_nav::after{
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color1);
}

.header_nav nav ul li {
    width: auto;
}

.header_nav nav ul li a {
    color: #333;
}
.header_nav nav>ul>li>a:before,
.header_nav nav>ul>li>a:after{
    content: '';
    display: block;
    background-color: var(--color1);
    width: 0;
    height: 50%;
    position: absolute;
    top: 0;
    right: unset;
    bottom: unset;
    left: 0;
    z-index: -1;
    -webkit-transition: all .2s ease-in;
    transition: all .2s ease-in;
}
.header_nav nav>ul>li>a:after{
    top: 50%;
    -webkit-transition: all .2s ease-in;
    transition: all .2s ease-in;
}

.header_nav nav>ul>li>a:hover, .header_nav nav>ul>li>a:focus{
    color: #fff;
}
.header_nav nav>ul>li>a:hover:before, .header_nav nav>ul>li>a:active:before, .header_nav nav>ul>li>a:focus:before{
    width: 100%;
    top: 0;
    right: unset;
    bottom: unset;
    left: 0;
    -webkit-transition: all .2s ease-in;
    transition: all .2s ease-in;
    transition-delay: .1s;
}
.header_nav nav>ul>li>a:hover:after, .header_nav nav>ul>li>a:active:after, .header_nav nav>ul>li>a:focus:after{
    width: 100%;
    top: 50%;
    right: unset;
    bottom: unset;
    left: 0;
    -webkit-transition: all .2s ease-in;
    transition: all .2s ease-in;    
}
.header_nav nav .sub_menu{
    border: 2px solid var(--color1);
    border-radius: 0 20px;
    overflow: hidden;
}
.header_nav nav .sub_menu li {
    background-color: var(--color2);
}

.header_nav nav .sub_menu li a {
    color: #eee;
    border-bottom: 1px solid hsla(45, 100%, 25%, .2);
}

.top_list {
    margin-top: 0;
}

.main-slider {
    padding: 0;
}

/* 頁尾 */
.footer_area {
    background-color: hsl(200, 97%, 95%);
    color: #333;
}

.footer_area h2 {
    color: #333;
    border-color: #ccc;
    margin-top: 1rem;
}
.footer_area a{
    color: #333;
}
.footer_area ul li a {
    color: #333;
    font-size: 15px;
}
.footer_area a:hover, .footer_area a:focus, .footer_area a:active{
    color: var(--color1);
}

.footer_area .card-header.--link a, .footNav_m .card-header a[aria-expanded="true"], .footNav_m .card-header a[aria-expanded="false"]{
    color: #333;
}


.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(--color1);
}

#footer_toggle {
    background: var(--color1);
}

.sidebar_info i {
    color: var(--color1);
}
.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;
    border-radius: 0;
    border: none;
    border-bottom: 2px solid var(--color1);
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition:all .3s;
}
.section_title .title_more a::after{
    content: '';
    display: block;
    width: 0;
    height: 100%;
    background-color: var(--color1);
    position: absolute;
    left: 0;
    top: 0;
    transition:all .3s;
    z-index: -1;
}
.section_title .title_more a:hover{
    background-color: ;
}
.section_title .title_more a:hover::after{
    width: 100%;
    transition:all .3s;
}

@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(--color1);
}

.section_title.page_title h1 {
    font-size: 2em;
}

.section_title.page_title i {
    font-size: 2em;
}

.custom_column .custom_wrap {
    border-color: var(--color1);
    margin-bottom: 1em;
}

.custom_column .custom_wrap h3 {
    background-color: var(--color1);
    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;
}

.text-orange {
    color: var(--color3);
}

.faq_header .faq_number {
    color: var(--color3);
}

.nav-tabs .nav-item:not(:last-child) {
    margin-right: 5px;
}

.nav-tabs .nav-item .nav-link {
    background-color: transparent;
    color: var(--color1);
    border-color: var(--color1);
}

.nav .nav-link, .news_filter a {
    background-color: transparent;
    color: var(--color1);
    border-color: var(--color1);
}
.setup_content a[aria-selected="false"]{
    background-color: transparent;
}

.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 */

.card, .news_wrap, .news_card, .events_card, .news_content .news_card, .news_content_info .news_card, .donate_case {
    /* border: 2px solid var(--color2); */
    border-radius: 0 20px;
    box-shadow: none;
    overflow: hidden;
}

.donate_case{
    padding-bottom: 0;
    margin-bottom: 30px;
}
.donate_info{
    border-radius:0 0 0 20px;
    margin-bottom: 0;
}

input, select, .form-control:not(textarea){
    border-color: #999;
}
.progress-bar{
    background-color: var(--color3);
}

.faq_item{
    color: #333;
    background-color: #FFF;
}
.faq_item p{
    margin-bottom: 10px;
}