body {
    background-color: hsl(40, 50%, 97%);
    line-height: 1.5;
}

:root {
    --color1: hsl(40, 80%, 60%);
    --color2: hsl(30, 100%, 50%);
    --color3: hsl(40, 80%, 60%);
    --menu: hsla(40, 80%, 60%, 0);
    --footer: hsl(40, 80%, 95%);
    --radius_s: 8px;
    --radius_b: 20px;
    --radius_r: 50px;
    --shadow_s: 3px 3px 5px hsl(40, 50%, 60%, .2);
    --shadow_b: 3px 3px 10px hsl(40, 50%, 60%, .2);
    --tag_01: hsl(30, 100%, 50%);
    --tag_02: #ebb447;
    --yellow: hsl(40, 80%, 60%);
    --money: hsl(40, 80%, 60%);
    --speed_f: all .3s;
    --hover: hsl(40, 80%, 90%);
}

.text-primary {
    color: var(--color2) !important;
}

input,
select,
.form-control,
.form-control:not(textarea) {
    border-color: #999;
}

textarea,
textarea.form-control {
    border-color: #999;
}

figure.img_4by3 img {
    transform: scale(1);
    transition: var(--speed_f);
}

figure.img_4by3:hover img {
    transform: scale(1);
    transition: var(--speed_f);
}

.header .container-fluid,
.header .container {
    padding: 0 30px;
}

a:not(.btn):hover {
    color: var(--color3);
}

#mainNav {
    height: auto;
    background-color: hsla(0, 0%, 100%, .7);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow_s);
    padding-bottom: 5px;
}

.top_list {
    padding: 25px 0;
    margin-top: 0;
    transition: var(--speed_f);
}

.top_list .list-inline {
    margin: 0;
}

.header.navbar-scrolled .top_list {
    padding: 0px 0;
    transition: var(--speed_f);
}

.header_nav {
    background-color: var(--menu);
    margin-top: 0;
}

.header_nav nav ul li a {
    line-height: 30px;
    padding: 5px;
}

.header_nav nav>ul>li>a:before {
    border-radius: var(--radius_r);
    pointer-events: none;
    top: 0;
    right: 50%;
    left: 50%;
    transition: var(--speed_f);
}

.header_nav nav>ul>li>a:hover:before {
    pointer-events: none;
    right: 0;
    left: 0;
    transition: var(--speed_f);
}

.header_nav nav>ul>li>a:hover,
.header_nav nav>ul>li>a:focus {
    border-radius: var(--radius_r);
}

.menu_scale {
    padding: 5px 10px !important;
}

.header .navbar-brand {
    display: inline-flex;
    max-width: unset;
    height: auto;
    width: clamp(200px, 50%, 300px);
    aspect-ratio: 36 / 7;
    object-position: center;
    object-fit: contain;
    max-height: unset;
    align-self: center;
    padding: 0;
    margin-top: 10px;
    margin-bottom: 10px;
    position: relative;
}

.header .navbar-brand img {
    display: block;
    max-width: unset;
    width: auto;
    height: 100%;
}

@media (min-width: 992px) {
    .header .navbar-brand {
        margin: 10px 0 10px 5%;
    }

    .header.navbar-scrolled .navbar-brand {
        max-height: 45px;
    }

    .header .navbar-brand .img-fluid.logo_scale {
        height: 45px;
    }
}

.header_nav nav .sub_menu {
    border: none;
    border-radius: var(--radius_s);
    box-shadow: var(--shadow_b);
    top: calc(100% - 1px);
}

a.menu_scale+ul.sub_menu {
    top: calc(100% - 1px);
}

.header_nav nav .sub_menu:before {
    border-bottom: 10px solid #fff;
    pointer-events: none;
    top: -10px;
    z-index: -1;
    transform: translateX(-50%);
}

.header_nav nav .sub_menu li:first-child,
.header_nav nav .sub_menu li:first-child a {
    border-radius: var(--radius_s) var(--radius_s) 0 0;
}

.header_nav nav .sub_menu li:last-child,
.header_nav nav .sub_menu li:last-child a {
    border-radius: 0 0 var(--radius_s) var(--radius_s);
}

.header_nav nav .sub_menu li:not(:last-child) {
    border-bottom: 1px dotted #ccc;
}

.header_nav nav .sub_menu li a {
    border: none;
}

.top_list {
    margin-top: 0;
}

.top_left {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.lang_group {
    position: static;
    justify-self: flex-end;
    transform: none;
    margin-left: auto;
}

.lang_group button {
    font-size: 16px;
    line-height: 1;
    padding: 5px;
}

.menu-toggle {
    display: none;
    justify-self: flex-end;
    margin: 0 0 0 10px;
}

.menu-toggle a {
    display: block;
}

.header .hamburger {
    top: 0;
    right: 10px;
    transform: none;
}

@media (max-width:991px) {
    .menu-toggle {
        display: flex;
        align-self: center;
        align-items: center;
    }
}

@media (max-width:576px) {
    .header .navbar-brand {
        margin: 0;
    }
}

/* 內容 */
.main-slider {
    padding-top: 0px;
    padding-left: 0;
    padding-right: 0;
}

.news_section,
.help_section,
.goods_section,
.custom_section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.news_wrap,
.news_card,
.events_card {
    border-radius: var(--radius_b);
    box-shadow: var(--shadow_b);
}

.post_prev a,
.post_next a,
.post_back a {
    display: flex;
    background-color: transparent;
    font-size: 18px;
    font-size: 1.125rem;
    line-height: 25px;
    justify-content: center;
    align-items: center;

    &:hover {
        background-color: var(--hover);
    }
}

.page_main {
    margin-top: 122px;
}

@media (max-width:991px) {
    .page_main {
        margin-top: 50px;
    }

    .main-slider {
        padding-top: 0;
    }

}

@media (max-width: 576px) {

    .news_section,
    .help_section,
    .goods_section,
    .custom_section {
        padding-top: 30px;
        padding-bottom: 30px;
    }
}

.section_title_wrap {
    border-bottom: none;
}

.section_title .title {
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.section_title .title:before {
    background-image: none;
    background-color: var(--color1);
    width: 2em;
    height: 4px;
    left: 50%;
    transform: translateX(-50%);
}

.title_more {
    top: unset;
    bottom: 0;
    right: 15px;
}

.section_title .title_more a {
    background-color: transparent;
    font-size: 16px;
    line-height: 20px;
    border: none;
}

.section_title .title_more a:hover {
    background-color: transparent;
    color: var(--color1);
    border: none;
}

.section_title .title_more a:hover i {
    animation: more_hover .5s ease-out;
    transform: translateX(0);
}

@keyframes more_hover {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(5px);
    }

    50% {
        transform: translateX(0px);
    }

    75% {
        transform: translateX(-5px);
    }

    100% {
        transform: translateX(0px);
    }
}

@media (max-width: 576px) {
    .section_title {
        padding: 10px 0;
    }

    .section_title .title {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .section_title .title:before {
        left: 0;
        transform: translateX(0);
    }

    .title_more {
        top: unset;
        bottom: 15px;
        right: 0;
    }

    .section_title .title_more a {
        font-size: 14px;
        line-height: 1;
    }
}

.nav-tabs {
    width: auto;
    background-color: transparent;
    justify-content: center;
    justify-self: center;
    align-items: center;
    border-radius: var(--radius_b);
    margin: 0 auto;
}

.nav-tabs .nav-item {
    display: inline-block;
    min-width: unset;
    box-shadow: var(--shadow_b);
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.nav-tabs .nav-item:first-child {
    border-radius: var(--radius_b) 0 0 var(--radius_b);
}

.nav-tabs .nav-item:last-child {
    border-radius: 0 var(--radius_b) var(--radius_b) 0;
}

.nav-tabs .nav-item:not(:last-child) {
    border-right: .5px solid hsla(0, 0%, 90%, .5);
}

.nav-tabs .nav-item .nav-link {
    background-color: #fff;
    font-size: 20px;
    line-height: 1.5;
    border: none;
    padding: 10px 30px;
}

.nav .nav-link.active:after,
.nav-tabs .nav-link.active:after,
.news_filter a.current:after,
.setup_content .nav .nav-link.active:after {
    display: none;
}

.nav-tabs .nav-item .nav-link:hover {
    background-color: #bbb;
}

.nav-tabs .nav-item .nav-link:hover,
.nav-tabs .nav-item .nav-link.active,
.nav-tabs .nav-item .nav-link.active:hover {
    border: none;
}

@media (max-width:576px) {
    .nav-tabs {
        box-shadow: none;
    }

    .nav-tabs .nav-item .nav-link {
        font-size: 18px;
        padding: 8px 20px;
    }

    .news_content .nav-item {
        margin-top: 0;
    }
}

.card {
    border-radius: var(--radius_b);
    box-shadow: var(--shadow_b);

    img {
        border-radius: var(--radius_b) var(--radius_b) 0 0;
    }

    .card-body {
        border-radius: 0 0 var(--radius_b) var(--radius_b);
    }
}

/* 最新消息 */
.news_content .news_column,
.news_content .events_column {
    padding-bottom: 40px;
}

.news_content .news_card,
.news_content .events_card {
    border-radius: var(--radius_b);
    box-shadow: var(--shadow_b);
    overflow: hidden;
}

.news_content .slick-slide .news_card,
.news_content .slick-slide .events_card {
    margin: 0 15px;
}

.news_content .news_info .card-title,
.news_content_info .news_info .card-title,
.news_content .events_info .card-title {
    font-weight: 600;
}

.news_tag,
.events_tag {
    border-radius: var(--radius_s);
}

.new_project {
    width: 100%;
    margin-bottom: 30px;
}

.new_project .nav-link {
    margin: 0;
}

.new_project .nav-item:not(:last-child) {
    margin-right: -2px;
}

@media (max-width:576px) {

    .news_content .news_info .card-title,
    .news_content_info .news_info .card-title,
    .news_content .events_info .card-title {
        font-size: 18px;
    }

    .card-text,
    .news_info .card-text,
    .news_content_info .news_info>.card-text,
    .events_info .card-text {
        font-size: 16px;
    }

    .news_date,
    .events_date {
        font-size: 14px;
    }
}

/* 幫助我們 */
.donate_case {
    border-radius: var(--radius_b);
    box-shadow: var(--shadow_b);
    margin-top: 0;
    margin-bottom: 30px;
    overflow: hidden;
}

.donate_info h2 {
    font-size: 22px;
    font-weight: 600;
}

.donate_info h2,
.donate_info p {
    line-height: 1.5;
    margin-bottom: 10px;
}

.donate_info p:empty,
.donate_info p:blank {
    display: none;
    line-height: 0;
}

.progress {
    background-color: #ddd;
    border-radius: var(--radius_s);
}

.progress_money p {
    font-size: 14px;
}


.progress_money span {
    font-size: 22px;
    font-weight: 600;
}

@media (max-width:576px) {
    .donate_case {
        margin-bottom: 30px;
    }

    .donate_info {
        min-height: unset;
    }

    .donate_info h2 {
        font-size: 20px;
    }

    .donate_info p {
        font-size: 16px;
    }

    .progress_money span {
        font-size: 20px;
    }
}

.project_main .bg-white {
    border-radius: var(--radius_b);
    box-shadow: var(--shadow_b);
    padding: 15px;
}

/* 義賣專區 */
.goods_column {
    margin-top: 0;
}

.goods_column .card {
    border-radius: var(--radius_b);
    box-shadow: var(--shadow_b);
    padding: 15px;
    margin-bottom: 30px;
}

.goods_section:not(.page_section) .goods_column .card {
    padding: 15px;
}

.goods_column .goods_content {

    padding: 10px 0 0;
}

.goods_section:not(.page_section) .goods_content {
    text-align: left;
}

.goods_column .goods_content .card-title {
    font-weight: 600;
}

.goods_content .goods_bottom {
    text-align: right;
}

.goods_content .goods_bottom span:nth-child(1) {
    text-align: right;
    font-size: 22px;
    font-weight: 600;
}

@media (max-width:576px) {
    .goods_column .goods_content .card-title {
        font-size: 20px;
    }

    .goods_content .goods_bottom span:nth-child(1) {
        font-size: 20px;
    }
}


/* 新增區塊 */
.custom_column .custom_wrap {
    background-color: transparent;
    text-align: center;
    border: none;
    padding: 0;
    margin: 0 0 30px;
    position: relative;
}

.custom_column .custom_wrap>h3 {
    width: auto;
    background-color: transparent;
    color: #000;
    text-align: center;
    padding: 5px 10px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
    position: static;
    transform: none;
}

.custom_column .custom_wrap .custom_content {
    border: none;
    border-radius: var(--radius_b);
    box-shadow: var(--shadow_b);
    padding: 15px;
}

.mCSB_inside>.mCSB_container {
    margin-right: 0;
}

/* 頁尾 */
.fixed_bottom {
    background-color: var(--color1);
    color: #eee;
}

.fixed_bottom ul {
    font-size: 0;
}

.fixed_bottom ul li {
    display: inline-block;
    float: none;
}

.fixed_bottom ul li:not(:last-child) {
    border-right: 1px solid hsla(0, 0%, 100%, .3);
}

.fixed_bottom ul li a {
    color: #eee;
    text-align: center;
}

@media (max-width: 576px) {
    .fixed_bottom .share_wrap a {
        display: block;
        color: #eee;
        text-align: center;
        padding: 0;
    }

    .fixed_bottom i {
        display: block;
        color: #eee;
        line-height: 1;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: .5rem;
    }

    .fixed_bottom i.fas,
    .fixed_bottom i.fa {
        color: #eee;
    }

    .fixed_bottom .share_wrap a>div {
        color: #eee;
        margin-top: 0;
    }

    .fixed_bottom span {
        background-color: #F00;
        color: #fff;
        line-height: 25px;
        border-radius: 50%;
        position: absolute;
        top: 0px;
        right: 5px;
    }

    .go_top {
        display: none;
    }
}

.section_footer {
    background-color: var(--footer);
}

#footer_toggle {
    width: 40px;
    height: auto;
    min-height: 30px;
    line-height: 30px;
    padding: 0;

    * {
        line-height: 30px;
        padding: 0;
    }
}

.footer_area {
    background-color: var(--footer);
    border-bottom: 1px solid hsl(40, 50%, 60%, .2);
}

.footer_area ul {
    margin-bottom: 30px;
}

.footer_area ul li {
    padding: 5px 5px;
}

.footNav_pc ul li:not(:last-child) {
    border-bottom: none;
}

.footer_social ul {
    display: block;
    font-size: 0;
    margin: 0;
    padding: 0;
}

.footer_social ul li {
    float: none;
    display: inline-block;
    margin-bottom: 5px;
}

.footer_social ul li:not(:last-child) {
    margin-right: 5px;
}

.footer_social a {
    background-color: var(--color3);
    width: 50px;
    height: 50px;
    font-size: 26px;
    line-height: 50px;
    border-radius: 50%;
    margin: 0;
}

.footer_social a i {
    line-height: 50px;
}

.footer-ig {
    background-image: none;
}


@media (max-width: 991px) {
    .section_footer {
        margin-bottom: 0;
    }
}

@media (max-width:576px) {
    .section_footer {
        margin-bottom: 4.5rem;
    }

    .footer_social {
        margin: 10px auto;
    }
}

.sidebar_wrap {
    border-radius: var(--radius_s);
    box-shadow: var(--shadow_b);
}

.faq_header {
    border-bottom: none;

    &:hover {
        background-color: var(--hover);
        border-radius: var(--radius_b);
    }
}

.faq_item {
    background-color: #FFF;
    border-radius: var(--radius_b);
    box-shadow: var(--shadow_b);
}

.aboutus_content {
    border-radius: var(--radius_b);
    box-shadow: var(--shadow_b);
}

.video {
    border-radius: var(--radius_b);
    overflow: hidden;

    .card-title {
        padding: 0 15px 0 30px;
    }

    .card-text {
        padding: 0 15px 0 30px;
    }
}

.cart_content .cart_info h2 {
    color: #333;
    font-size: 18px;
    font-size: 1.125rem;

    .text-primary {
        font-size: 22px;
        font-size: 1.5rem;
    }
}

#cart_order tbody tr:last-child td p {
    color: #000;
    font-size: 18px;
    font-size: 1.125rem;

    span {
        font-size: 22px;
        font-size: 1.5rem;
        color: var(--color2);
    }
}