﻿


/* #region BANNER */

.banner-wrap {
    max-width: 100%;
    height: 80vh;
    background-image: url(); 
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}
#qa-banner-app {
    height: 250px;
    background-color: hsl(46deg 89% 78%);
}
.search-banner-wrap {
    height: 100%;
    position: relative;
    background-image: linear-gradient(60deg, hsl(32deg 100% 71%) 0%, hsl(34deg 98% 72%) 4%, hsl(36deg 96% 73%) 13%, hsl(39deg 94% 74%) 26%, hsl(41deg 93% 75%) 40%, hsl(43deg 91% 76%) 54%, hsl(46deg 89% 78%) 66%, hsl(49deg 87% 80%) 76%, hsl(53deg 85% 81%) 84%, hsl(57deg 83% 83%) 91%, hsl(61deg 85% 85%) 96%, hsl(66deg 100% 88%) 100%);
}

.banner-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    margin: 0 50px;
}

.banner-title,
.banner-desc {
    text-align: center;
    color: #fff;
    text-shadow: 1px 1px 6px #292318c7;
    /* #98654b */
    font-display: optional;
}

.banner-title {
    margin-bottom: 10px;
    font-size: 40px;
    font-family: 'Montserrat';
    font-weight: bold;
}

.search-banner-title,
.search-banner-desc {
    color: #fff;
    font-weight: bold;
    font-family: var(--default-ff);
    text-shadow: 0px 0px 10px rgb(206 122 9 / 37%);
    font-display:optional;
}

.search-banner-title {
    font-size: 30px;
}

.search-banner-desc {
    font-size: 18px;
}

.left-bottom-image {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200px;
}

/* #endregion */

/* #region search input*/

.search-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    padding: 0 10px;
    max-width: 80vw;
    box-sizing: border-box;
    /* background-color: #ffffff8a; */
    border-radius: 35px;
    box-shadow: 0px 1px 19px 1px #cd62002b;
    border: 1px solid #fff;
}

/* .search-input-wrap {
    display: flex;
    align-items: center;
    padding: 10px;
} */

.search-input {
    min-width: 200px;
    padding: 10px;
    color: #6c4937;
    text-align: center;
    font-size: 18px;
    font-family: var(--default-ff);
    background-color: rgba(255, 255, 255, 0);
    border: none;
    /* border-bottom: 2px solid #fff; */
}

    .search-input::placeholder {
        color: #d1460071;
        /* color: rgba(162, 105, 13, 0.371); */
    }

    .search-input:focus {
        outline: none;
    }

.search-icon-wrap {
    display: inline-block;
    color: #fff;
    padding-left: 10px;
}

.search-icon-wrap,
.search-btn {
    font-size: 24px;
}

.search-btn {
    color: #6c4937;
    /* color: rgb(157, 58, 0); */
    background-color: rgba(255, 255, 255, 0.291);
    border: 1px solid transparent;
    border-radius: 20px;
    transition: 0.2s;
}

    .search-btn:hover {
        color: #f48349;
    }

/* #endregion */

.qa-background {
    background-color: #fffbf0;
    padding-bottom: 100px;
}

/* #region breadcrumb */
.qa-breadcrumb-wrap {
    width: 90vw;
    max-width: 1300px;
    margin: auto;
    padding: 30px 0 10px;
    font-size: 14px;
    font-family: var(--default-ff);
}

.qa-breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
}

.qa-breadcrumb-item,
.qa-breadcrumb-link {
    color: rgb(204 166 127);
    text-decoration: none;
}

    .qa-breadcrumb-link:hover {
        color: #efb400;
        text-decoration: underline;
    }
    .qa-breadcrumb-item.active {
        color: #6a4634;
    }

    .qa-breadcrumb-item:not(:last-child)::after {
        content: ">";
        margin: 0 10px;
        color: rgb(157, 157, 157);
    }

/* #endregion */

/* #region qa系列 */
/* .qa-series-group */
.qa-box-group {
    width: 90vw;
    margin: auto;
}

/* .qa-series-box  */
.qa-box {
    display: flex;
    align-items: center;
    padding: 20px 10px;
    margin-bottom: 10px;
    font-family: var(--default-ff);
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 1px 1px 3px #813d0045;
    transition: 0.3s;
}

    /* .qa-series-box:hover  */
    .qa-box:hover {
        transform: scale(1.05);
        box-shadow: 1px 1px 3px #813c006b;
    }

.qa-series-icon {
    display: none;
    padding: 0px 10px;
    margin-right: 20px;
}

.qa-series-icon-img {
    color: rgb(91, 74, 52);
    /* color: rgb(193 110 12); */
    font-size: 50px;
    transition: 0.2s;
}

.qa-series-box:hover .qa-series-icon-img {
    color: rgb(229, 155, 16);
}

/* .qa-series-title */
.qa-box-title {
    margin-bottom: 5px;
    font-size: 20px;
    color: #454545;
}

/* .qa-series-info  */
.qa-box-info {
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    color: #8c8c8c;
    font-size: 14px;
    font-family: var(--default-ff);
}

/* .qa-series-info-icon  */
.qa-box-info-icon {
    padding: 0px 5px;
    color: rgb(255, 211, 129)
}

    .qa-box-info-icon .fa-fw {
        text-align: left;
    }

/* #endregion */
/* #region qa單個系列內頁 */
.qa-series-single-background {
    max-width: 1300px;
    margin: 0 5vw;
    padding: 20px 5vw;
    font-family: var(--default-ff);
    /* box-shadow: 1px 1px 3px 1px #cea70047; */
    box-shadow: 2px 2px 3px 0px #b1762d40;
    /* background-color: rgb(255 245 201); */
    background-color: rgb(255 243 229);
}

.qa-series-single-title {
    font-weight: bold;
    font-size: 24px;
    color: #6a4634;
}

.qa-series-single-date {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: rgb(204 166 127);
}

.qa-series-single-date-icon {
    margin: 0 5px;
    font-size: 14px;
}

.qa-categories {
    margin-top: 30px;
}

.qa-category-wrap {
    margin-bottom: 30px;
}

.qa-category-group-title {
    /* padding-left: 10px; */
    margin-bottom: 10px;
    font-size: 18px;
    color: #6a4634;
}

    .qa-category-group-title::after {
        /* left: 10px; */
    }

.qa-category-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 5px;
    padding: 20px 10px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0px 1px 4px rgb(204 166 127);
    transition: 0.2s;
}
    .qa-category-item:hover {
        transform: scale(1.05);
        box-shadow: 1px 1px 3px #813c006b;
    }

.qa-category-item-title {
    color: #6a4f42;
    font-size: 16px;
}

.qa-category-item-date {
    color: rgb(204 166 127);
    font-size: 14px;
}

/* #endregion */
/* #region qa搜尋 */
.qa-search-box {
    padding: 20px 30px;
}

.qa-search-text {
    width: 90vw;
    max-width: 1300px;
    margin: auto;
    padding: 30px 0 10px;
}

.qa-search-text,
.qa-emphasize-text {
    font-size: 16px;
    font-family: var(--default-ff);
}

.qa-search-text {
    color: #6a4634;
}

.qa-emphasize-text {
    /* font-weight: bold; */
    font-size: 20px;
    color: rgb(255 193 61);
}

.qa-preview-content {
    padding-bottom: 10px;
    color: #ccc;
    font-size: 16px;
}
/*搜尋無資料*/
.qa-no-result-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 240px;
    background-color: #474747;
    border-radius: 20px 0px 40px 0px;
}

.qa-no-result-text {
    text-align: center;
    font-size: 18px;
    font-family: var(--default-ff);
    color: rgb(179 179 179);
}

.qa-no-result-icon {
    margin-bottom: 10px;
    font-size: 40px;
    color: #fff;
    /* box-shadow: 0px 0px 10px 0px #ffbc5e; */
}

.qa-no-result-icon.fa-solid.fa-ghost::before {
    text-shadow: 1px 5px 20px #c3c3c3;
}
/* #endregion */
/* #region qa單個文章 */
.qa-article {
    width: 90vw;
    margin: auto;
    padding: 20px 20px 30px;
    background-color: #fff;
    box-shadow: 2px 2px 3px 0px #b6a79440;
}

.qa-article-info {
    margin-bottom: 20px;
}

.big-title,
.medium-title,
.content-text,
.content-ul {
    color: #464646;
    font-family: var(--default-ff);
}

.big-title {
    font-weight: bold;
    font-size: 26px;
    margin-bottom: 10px;
}

.medium-title {
    font-size: 20px;
    margin: 30px 0 10px;
}
.content-link {
    font-size: 16px;
    font-family: var(--link-ff);
    color: #00abf5;
}

.content-link:hover {
    color: #d89907;
}
.content-text,
.content-ul {
    font-size: 16px;
    line-height: 1.7;
}

.content-text {
    margin-bottom: 10px;
}

.content-ul {
    /* list-style: none; */
    padding: 0 15px;
    margin: 0 20px 10px;
}
.content-li {
    margin-bottom: 10px;
}
.content-hint-text {
    margin: 10px 20px;
    padding: 10px;
    font-size: 15px;
    font-family: var(--default-ff);
    color: #ea8f00;
    background-color: rgb(255 244 227);
    border-radius: 10px;
}

.content-highlight-text {
    margin: 10px;
    padding: 10px;
    background-color: rgb(81, 81, 81);
    color: rgb(226 255 0);
    /*font-weight: bold;*/
    font-size: 16px;
    font-family: var(--default-ff);
}

.content-img {
    margin: auto;
    margin-bottom: 10px;
}

.attachment-area {
    margin: 30px 0;
    border-top: 1px dashed #7346343d;
    padding-top: 20px;
}

.attachment-title {
    font-size: 18px;
    font-family: var(--default-ff);
    font-weight: bold;
    color: #6a4634;
    margin-bottom: 10px;
}

.attachment-item {
    display: flex;
    align-items: center;
    font-family: var(--default-ff);
    margin-bottom: 10px;
}


.pdf-color,
.pdf-color:hover {
    color: rgb(153 42 12) !important;
}

.doc-color,
.doc-color:hover {
    color: rgb(34, 54, 141) !important;
}

.zip-color,
.zip-color:hover {
    color: #8e2fb1 !important;
}

.attachment-icon {
    font-size: 28px;
    padding-right: 10px;
}

.attachment-down-icon {
    padding-left: 50px;
    font-size: 26px;
    color: #d5d5d5;
    /* color: #ffd363; */
    opacity: 0;
    transition: 0.3s;
}

.attachment-item:hover .attachment-down-icon {
    opacity: 1;
}
    .attachment-item:hover .attachment-down-icon:hover {
        color: #6a4634;
    }
.attachment-span {
    display: block;
    font-size: 14px;
}
    .attachment-span:hover {
        outline: none;
    }

    .attachment-span:focus,
    .attachment-span:focus-visible {
        outline: none;
        text-decoration: none;
    }
.attachment-size {
    color: gray;
}

.qa-article-help {
    margin: 50px 0 0;
    display: flex;
    /* justify-content: space-between; */
    /* align-items: center; */
    flex-direction: column;
}

.qa-article-help-text {
    width: 100%;
    text-align: center;
    /* flex-grow: 1; */
    font-family: var(--default-ff);
    font-size: 16px;
    padding: 10px;
    margin-bottom: 5px;
    /* margin-right: 5px; */
    /* color: #fff; */
    /* background-color: rgb(109, 101, 86); */
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 20px;
}

.ans-wrap {
    width: 100%;
}

.ans-yes,
.ans-no {
    width: 49%;
    /* width: 40px; */
    height: 40px;
    /* line-height: 40px; */
    text-align: center;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 20px;
    /* border-radius: 50%; */
}

.ans-yes {
    margin-right: 2%;
    /* margin-right: 5px; */
    font-size: 18px;
    color: mediumspringgreen;
}

    .ans-yes:hover {
        color: #fff;
        background-color: rgb(101 183 100);
        border-color: rgb(101 183 100);
    }

.ans-no:hover {
    color: #fff;
    background-color: rgb(217 69 69);
    border-color: rgb(217 69 69);
}

.ans-no {
    color: rgb(210, 40, 40);
}

/* #endregion */

@media screen and (min-width:768px) {

    /* #region search區塊 */
    #qa-banner-app{
        height: 400px;
    }
    .search-banner-title {
        font-size: 40px;
    }

    .search-banner-desc {
        font-size: 20px;
    }

    .search-box {
        width: fit-content;
        margin-top: 50px;
    }

    .search-icon-wrap {
        font-size: 26px;
    }

    .search-input {
        width: 500px;
        font-size: 22px;
    }

    .search-btn {
        width: 50px;
        height: 50px;
        margin-right: 10px;
        font-size: 24px;
        font-family: var(--default-ff);
        color: #6c4937;
        /* color: rgb(157, 58, 0); */
        background-color: rgba(255, 255, 255, 0.291);
        border: 1px solid transparent;
        border-radius: 50%;
        transition: 0.2s;
    }

    /* #endregion  */

    .qa-background {
        padding-bottom: 200px;
    }

    .qa-box-group,
    .qa-breadcrumb-wrap,
    .qa-search-text {
        width: 80vw;
    }

    /* #region breadcrumb區塊 */
    .qa-breadcrumb-wrap {
        font-size: 16px;
        padding: 50px 0 20px;
    }

    .qa-search-text {
        padding: 50px 0 20px;
    }

    /* #endregion */

    /* #region qa系列 */

    .qa-series-icon {
        display: block;
    }

        .qa-series-icon .qa-series-icon-img {
            width: 100px;
            height: 100px;
            line-height: 100px;
            text-align: center;
            border-radius: 14px;
            font-size: 40px;
        }

    .qa-series-title {
        font-size: 24px;
    }

    /* #endregion */

    /* #region qa單個系列內頁 */
    .qa-series-single-background {
        width: 80vw;
        padding: 30px 50px;
        margin: auto;
    }

    .qa-series-single-title {
        font-size: 26px;
    }

    .qa-category-item-title {
        font-size: 20px;
    }

    /* #endregion */

    /* #region 單個文章*/
    .qa-article {
        width: 80vw;
        padding: 30px 5vw 50px;
    }

    .qa-article-info {
        display: flex;
    }

    .big-title {
        font-size: 26px;
    }

    .attachment-area {
        margin: 50px 0;
    }

    .attachment-title {
        font-size: 20px;
    }

    .attachment-icon {
        font-size: 32px;
    }

    .attachment-down-icon {
        font-size: 28px;
    }

    .attachment-span {
        font-size: 16px;
    }

    .attachment-size {
        font-size: 14px;
    }

    .qa-article-help {
        justify-content: space-between;
        align-items: center;
        flex-direction: row;
    }

    .qa-article-help-text {
        flex-grow: 1;
        width: unset;
        margin-right: 5px;
        margin-bottom: 0;
        text-align: left;
    }

    .qa-article-help .ans-wrap {
        width: max-content;
    }

    .ans-no,
    .ans-yes {
        width: 40px;
        line-height: 40px;
        border-radius: 50%;
    }

    .ans-yes {
        margin-right: 5px;
    }

    /* #endregion */
}

@media screen and (min-width:1300px) {

    /* #region search區塊 */
    .search-banner-title {
        font-size: 60px;
    }

    .search-banner-desc {
        font-size: 24px;
    }

    /* #endregion */

    .qa-box-group,
    .qa-breadcrumb-wrap,
    .qa-search-text {
        width: 60vw;
    }

    .qa-box-info {
        padding-right: 10px;
        font-size: 15px;
    }

    /* #region qa系列 */
    .qa-series-icon {
        display: block;
    }


    /* #endregion */

    /* #region qa單個系列內頁 */
    .qa-series-single-background {
        width: 60vw;
        margin: auto;
    }

    .qa-series-single-title {
        font-size: 28px;
    }

    .qa-series-single-date,
    .qa-category-item-date {
        font-size: 16px;
    }

    .qa-category-wrap {
        margin-bottom: 40px;
    }

    /* #endregion */
    /* #region 單個文章*/
    .qa-article {
        width: 60vw;
        padding: 30px 5vw 50px;
    }

    .big-title {
        font-size: 28px;
    }

    .medium-title {
        margin-bottom: 15px;
        font-size: 23px;
    }

        .medium-title:not(:first-child) {
            margin: 50px 0 15px;
        }

    .attachment-title {
        font-size: 23px;
    }

    .content-text,
    .content-ul,
    .content-highlight-text {
        font-size: 17px;
    }

    .content-highlight-text {
        margin: 30px 10px;
    }

    .content-hint-text {
        font-size: 16px;
    }

    /* #endregion */
}
