.t-gray-600 {
    color: #666666;
}
.underline {
    text-underline-offset: 2px;
}

.form-list .text {
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 2em;
}
.form-list .panel-box {
    margin: 1em auto 1em;
}
@media (max-width: 600px){
    .donate-form .form-list {
        padding: 1rem 0;
    }
    .form-button-area {
        padding-top: 0.8rem;
        padding-bottom: 0.8rem;
    }
}
/* toggler */
.btn-panel-toggler-wrap {
    max-width: 480px;
    width: 100%;
    display: flex;
    margin: 0 auto;
}
.btn-panel-toggler-wrap .btn {
    width: 50%;
    border-radius: 0;
    background-color: #EEEEEE;
    color: #AAAAAA;
}
.btn-panel-toggler-wrap .btn.active {
    background-color: #FF6667;
    color: #FFFFFF;
    font-weight: bold;
    pointer-events: none;
}
.btn-panel-toggler-wrap .btn:first-of-type {
    border-top-left-radius: 99px;
    border-bottom-left-radius: 99px;
    font-size: 18px;
}
.btn-panel-toggler-wrap .btn:last-of-type {
    border-top-right-radius: 99px;
    border-bottom-right-radius: 99px;
    font-size: 16px;
}
/* form-control-static */
.form-control-static p {
    font-size: 13px;
}
.form-control-static .link {
    color: #2890EF;
    text-decoration: none !important;
}
.form-control {
    height: calc(2em + .5rem + 2px);
}

/* donate money form */
.panel-box .form-control::placeholder {
    color: #AAAAAA;
    opacity: 1; /* Firefox */
}
.panel-box .form-control::-ms-input-placeholder { /* Edge 12 -18 */
    color: #AAAAAA;
}
.donate-money {
    margin-bottom: 1em;
}
.donate-money .row {
    gap: 8px;
    padding-left: 10px;
    padding-right: 10px;
}
.donate-money .col-6 {
    padding: 0;
    max-width: calc(50% - 4px);
}
.donate-money .col-12 {
    padding: 0 5px;
}
.donate-money a.btn-gray {
    border-radius: 99px;
    background-color: #EEEEEE;
    color: #AAAAAA;
    margin-bottom: 0;
}
.donate-money a.btn-gray:hover,
.donate-money a.btn-gray:focus,
.donate-money a.btn-gray.active {
    background-color: #49555A;
    color: #FFFFFF;
}

#oneoff-check.popupBox {
    width: 650px;
}
#oneoff-check.popupBox h2 {
    border-bottom: 0;
    font-size: 1.5em;
    margin-bottom: 0;
}
.popupBox .btnBox {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.popupBox .btnBox .btn {
    border-radius: 99px;
    margin: 0;
    width: 130px;
}

@media (min-width: 576px){
    .donate-money .col-12 {
        padding: 0;
    }

    .popupBox .btnBox .btn {
        width: 180px;
    }
    .d-sm-inline {
        display: inline!important;
    }
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.video-container iframe, .video-container object, .video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

figure img {
    width: 100%;
}

.image-style-align-left {

}

.image-style-align-center {
    margin-left: auto;
    margin-right: auto;
}

.image-style-align-right {
    margin-left: auto;
    margin-right: 0;
}

.text-huge {
    font-size: 1.8em;
}

.link {
    color: blue;
    text-decoration: underline !important;
}

.slick-arrow:before {
    color: red;
}

.slick-slide img {
    width: 100%;
}

@media (max-width: 480px) {
    .also-buy .col-md-3 {
        padding-left: 5px;
        padding-right: 5px;
    }

    .funds-list .funds-detail {
        padding: 0;
    }
}

.donate-money .btn-red {
    background: #ffffff;
    color: #b8b8b8 !important;
    border: solid 1px #FF6667;
}

.donate-money a:hover, .donate-money a:focus, .donate-money a.active {
    background: #FF6667;
    color: #fff !important;
}

.share-icon {
    width: 50px !important;
    max-width: 50px;
}

@media only screen and (max-width: 992px) and (min-width: 501px) {
    .w-50, .w-30, .footer_copyright img, .donateBox img {
        width: 50px !important;
    }

    .donateBox img.w-100 {
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    .share-icon {
        width: 30px !important;
    }

    .slick-prev {
        left: -35px;
    }

    .slick-next {
        right: -35px;
    }

    .also-buy-period .slick-prev {
        left: -20px;
    }

    .also-buy-period .slick-next {
        right: -20px;
    }

    .slick-next:before, .slick-prev:before {
        font-size: 30px;
    }

    #goDonate {
        /*display: none;*/
    }

    .form-list .text {
        font-size: 13px;
    }

    .donor-info {
        font-size: 14px;
    }

    .donor-info input {
        font-size: 14px;
    }

    input[type="number"] {
        font-size: 14px;
    }
}


.projectBOX .module_title {
    font-size: 1.5rem;
}

.article {
    line-height: 30px;
}

@media (max-width: 500px) {
    .heading-s {
        margin-bottom: 0;
    }

    .socialMedia li {
        width: 33% !important;
    }
}

.form-list .text {
    padding: 1rem;
}

.text-9 {
    font-size: 9pt;
}

.text-10 {
    font-size: 10pt;
}

.text-12 {
    font-size: 12pt;
}

.text-14 {
    font-size: 14pt;
}

.text-16 {
    font-size: 16pt;
    font-weight: bold;;
}

@media (max-width: 912px) {
    .module_img_rectangle_full {
        /*max-width: 212px;*/
        min-height: 140px;
        max-height: 140px;
    }
}

@media (max-width: 767px) {
    .module_img_rectangle {
        height: 290px;
    }
}

@media (max-width: 600px) {
    .module_img_rectangle {
        height: 230px;
    }
}

@media (max-width: 540px) {
    .module_img_rectangle_full {
        /*max-width: 212px;*/
        min-height: 270px;
        max-height: 270px;
    }

    .module_img_rectangle {
        height: 290px;
    }
}

@media (max-width: 414px) {
    .module_img_rectangle_full {
        min-height: 190px;
        max-height: 190px;
    }

    .module_img_rectangle {
        height: 210px;
    }
}

@media (max-width: 375px) {
    .module_img_rectangle_full {
        min-height: 175px;
        max-height: 175px;
    }

    .module_img_rectangle {
        height: 182px;
    }
}

@media (max-width: 280px) {
    .module_img_rectangle_full {
        min-height: 115px;
        max-height: 115px;
    }
}

@media (min-width: 768px) {
    .module_img_rectangle {
        min-height: 155px;
    }
}

@media (min-width: 992px) {
    .module_img_rectangle_full {
        min-height: 190px;
        max-height: 190px;
    }

    .module_img_rectangle {
        height: 215px;
    }
}

@media (min-width: 1200px) {
    .module_img_rectangle_full {
        min-height: 230px;
        max-height: 230px;
    }

    .module_img_rectangle {
        height: 259px;
    }
}

@media (max-width: 912px) {
    .donateproject-detail h3 {
        font-size: 1rem;
        line-height: 1.2;
    }
}

@media (max-width: 820px) {
    .module_img_eight {
        max-width: 200px;
        max-height: 200px;
    }

    .module_img_arrow {
        max-width: 212px;
        max-height: 140px;
    }

    .donateproject-detail h3 {
        font-size: 0.9rem;
        line-height: 1.2;
    }

    /*.module_img_rectangle_full {*/
    /*    max-width: 200px;*/
    /*    min-height: 100px;*/
    /*    max-height: 140px;*/
    /*}*/
}

@media (max-width: 540px) {
    .module_title {
        margin-top: 10px;
    }
}

@media (max-width: 290px) {
    .text-9 {
        font-size: 0.6rem;
    }

    .text-10 {
        font-size: 0.6rem;
    }

    .text-12 {
        font-size: 0.7rem;
    }

    .text-14 {
        font-size: 0.8rem;
    }

    .text-16 {
        font-size: 0.9rem;
    }

    .progressBOX .progress-goal {
        font-size: 0.9rem;
    }

    .donateproject-detail h3 {
        font-size: 0.9rem;
        line-height: 1.2;
    }

    .donateproject-detail p {
        font-size: 0.8rem;
    }

    .module_img_cycle {
        max-width: 200px;
        max-height: 200px;
    }

    .module_img_rectangle {
        max-width: 212px;
        max-height: 105px;
    }

    .module_img_eight {
        max-width: 200px;
        max-height: 200px;
    }

    .module_img_arrow {
        max-width: 200px;
        max-height: 200px;
    }

    /*.module_img_rectangle_full {*/
    /*    max-width: 200px;*/
    /*    min-height: 100px;*/
    /*    max-height: 140px;*/
    /*}*/
    .maskkking {
    }
}

.transI {
    background: #000;
    color: #fff;
}

.video-text-3 {
    background: #ffe9c9;
}

.gradient {
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffd2b2+0,ffd2b2+90&1+0,0+100 */
    background: -moz-linear-gradient(left, rgba(255, 210, 178, 1) 0%, rgba(255, 210, 178, 0.1) 90%, rgba(255, 210, 178, 0) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(left, rgba(255, 210, 178, 1) 0%, rgba(255, 210, 178, 0.1) 90%, rgba(255, 210, 178, 0) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right, rgba(255, 210, 178, 1) 0%, rgba(255, 210, 178, 0.1) 90%, rgba(255, 210, 178, 0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd2b2', endColorstr='#00ffd2b2', GradientType=1); /* IE6-9 */
    text-align: center;
}

.popupBox .btnBox .btn {
    padding: 0.5rem;
}

.progressBOX .progress-goal b {
    color: #FF6667;
}

/* 推薦單位輪播 */
.also-buy-period {
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.also-buy-period .slick-list {
    overflow: hidden;
}

.also-buy-period .slick-slide {
    box-sizing: border-box;
    padding: 0 8px;
    min-width: 0;
}

.also-buy-period .card {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.also-buy-period .card-title,
.also-buy-period .card-text {
    overflow-wrap: anywhere;
}

.also-buy-period .slick-slide img {
    width: 100%;
    height: auto;
    max-width: 100%;
}
