:root {
    --color1: hsl(270, 40%, 60%);
    --color2: hsl(270, 40%, 30%);
    --color3: hsl(-10, 80%, 50%);
    --color4: hsl(45, 80%, 50%);
    --tag_01: hsl(270, 40%, 30%);
    --tag_02: hsl(270, 40%, 60%);
    --yellow: hsl(45, 80%, 50%);
    --money: hsl(-10, 80%, 50%);
}

body {
    background-color: #f4f4f4;
}

#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 {
    margin-top: 0;
}
/* .header_nav::before,.header_nav::after{
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color4);
    background-image: linear-gradient(to right,var(--color4) 30%, hsl(55, 75%, 75%) 37%,hsl(55, 75%, 75%) 42%,var(--color4) 50%, var(--color4) 60%, hsl(37.5, 72.5%, 55%) 90%);
} */

.header_nav nav ul li {
    width: auto;
}

.header_nav nav ul li a {
    color: #FFF;
}
.header_nav nav>ul>li>a:before{
    background-color: var(--color4);
}
.header_nav nav>ul>li>a:hover, .header_nav nav>ul>li>a:focus{
    color: var(--color2);
}

.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);
}

@media (min-width: 577px) and (max-width: 1024px) {
    .header_nav{
        overflow-x: auto;
    }
    #nav{
        justify-content: flex-start;
    }
    .header_nav nav ul li a {
    font-size: 16px;
    line-height: 40px;
    letter-spacing: 0;
    padding: 5px 10px;
    }
}

@media (min-width: 480px) and (max-width: 768px) {
    .header .hamburger {
        top: 50%;
    }
}
.top_list {
    margin-top: 0;
}

.main-slider {
    padding: 0;
}

/* 頁尾 */
.footer_area {
    background-color: var(--color2);
    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{
    color: #fff;
}

.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(--color4);
}

#footer_toggle {
    background: var(--color4);
}

.sidebar_info i {
    color: var(--color4);
}
.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;
}

.page_title i {
    color: var(--color4);
}

.section_title.page_title h1 {
    font-size: 2em;
}

.section_title.page_title i {
    font-size: 2em;
}

@media screen and (max-width:576px) {
    .section_title .title{
        font-size: 30px;
    }
    .section_title .title_more a{
        font-size: 14px;
        line-height: 20px;
        padding: 5px 10px;
    }
}

.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;
}

.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: #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: #FFF !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);
}
.fixed_bottom ul {
    font-size: 0;
}
.fixed_bottom ul li {
    display: inline-block;
}

.fixed_bottom .share_wrap a{    
    margin: 0;
    padding: 0;
}
.fixed_bottom .share_wrap a i{    
    line-height: 1;
    margin-bottom: .4rem;    
}
.fixed_bottom .share_wrap a i~div{
    color: #888;
    padding: 0;
    margin: 0;
}

.pay_group button[paytypename="LINE Pay" i] img {
	width: 100%;
	height: 24px;
}
.pay_group button[paytypename="全支付"] img, 
.pay_group button[paytypename="PX Pay"] img, 
.pay_group button[paytypename="悠遊付"] img {
	width: 100%;
	height: 30px;
}

.project_main  .new_project {
    display: flex;
}
.new_project .nav-item{
    width: auto;
    flex: 1 1 40%;
}