﻿/* #region banner */
#bi-banner {
    background-color: #005e99;
}
.bi-banner-wrap {
    height: 160px;
    /* height: 250px; */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center 80%;
    background-image: url(/Assets/images/bi_report/bi_banner02.png);
    background-color: #0a4b7e;
    /* background-image: linear-gradient(40deg,
            hsl(206deg 76% 45%) 0%,
            hsl(203deg 77% 46%) 10%,
            hsl(201deg 73% 49%) 20%,
            hsl(200deg 72% 52%) 30%,
            hsl(198deg 75% 56%) 40%,
            hsl(197deg 77% 60%) 50%,
            hsl(195deg 80% 64%) 60%,
            hsl(194deg 83% 68%) 70%,
            hsl(192deg 86% 73%) 80%,
            hsl(190deg 92% 77%) 90%,
            hsl(187deg 100% 81%) 100%); */
}

    .bi-banner-wrap .banner-title {
        text-shadow: 1px 1px 6px #46532575;
        /*font-size: 40px;*/
    }


.bi-title {
    padding: 0 20px;
    color: #152941;
}

    .bi-title.title-with-bar::after {
        background: linear-gradient(217deg, #2a9fff52, #ffffff6b 70%), linear-gradient(127deg, #dbf1f5, #ffffff6b 70%), linear-gradient(336deg, #bbd8ff, #0162c4);
    }

.bi-title-desc {
    padding: 0 20px;
    text-align: center;
    margin-top: 20px;
    font-family: var(--default-ff);
    font-size: 15px;
    /* color: #6399da; */
    color: #152941;
}

/* #endregion banner */

/* #region bi-intro */
.bi-intro-bg {
    padding-top: 20px;
    /* background-color: rgb(241, 241, 241); */
    background-color: rgb(249 249 249);
}

.bi-intro-group {
    padding: 10px 10px 40px;
}

.bi-intro-item {
    margin-bottom: 20px;
    border-radius: 50px 50px 20px 20px;
    box-shadow: 0px 1px 3px 1px #46565e36;
}

.bi-intro-draw {
    /* flex-basis: 38%; */
    display: flex;
    justify-content: center;
    align-items: center;
    /* width: 100px; */
    width: 100%;
    /* margin: 0 auto -20px; */
    padding: 10px 10px;
    font-size: 16px;
    font-family: var(--default-ff);
    color: #152941;
    background-color: #3dabe270;
    /* background-color: #fff; */
    /* background-color: rgb(25 171 193 / 84%); */
    border-radius: 50px 50px 0 0;
    /* border-radius: 5px; */
    position: relative;
    z-index: 1;
}

.bi-intro-icon {
    padding: 0px 5px;
    color: #152941;
    font-size: 20px;
}

.bi-intro-content {
    /* flex-basis: 60%; */
    width: 100%;
    padding: 10px;
    /* padding: 20px 10px 10px; */
    font-family: var(--default-ff);
    text-align: center;
    line-height: 2;
    color: #152941;
    /* color: #3dabe2; */
    /* color: rgb(21, 164, 185); */
    background-color: rgb(255, 255, 255);
    /* background-color: #152941; */
    border-radius: 0 0 20px 20px;
    /* border-radius: 10px; */
}

.bi-intro-desc {
    font-size: 16px;
}

/* #endregion bi-intro */

/* #region bi報表 */
.bi-report-bg {
    padding: 20px 0;
    /* background-color: rgb(233, 251, 255); */
    /* background-color: rgb(245 251 255); */
    /* background-color: rgb(240 244 246); */
    background-color: rgb(249 249 249);
}

.bi-report-box {
    margin: 30px 10px;
}

.bi-report-img-wrap {
    border: 1px solid #37448b;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #001722;
}

.bi-report-content-wrap {
    /* padding-top: 10px; */
    /* background-color: #ccc; */
}

.bi-report-small-title {
    padding: 10px;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: bold;
    font-family: var(--default-ff);
    text-align: center;
    /* background-color: #37448b; */
    background-color: #2564b1;
    /* color: #a8e1ff; */
    color: #fff;
    border-radius: 14px;
}

.bi-report-chart-list {
    display: flex;
    flex-wrap: wrap;
    /* justify-content: center; */
    justify-content: flex-start;
    align-items: center;
    padding-left: 0;
    font-family: var(--default-ff);
    list-style: none;
}

.bi-report-box .chart-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* width: 100%; */
    /* height: 170px; */
    /* padding: 10px 20px; */
    /* margin-bottom: 10px; */
    width: 46%;
    height: 130px;
    margin: 1%;
    padding: 10px;
    background-color: rgb(228 241 255);
    border-radius: 20px;
    box-sizing: border-box;
    transition: 0.3s;
}

.bi-report-box .chart-item-icon,
.bi-report-box .chart-item-text {
    color: hsl(213deg 65% 42%);
}

.bi-report-box .chart-item-text {
    font-size: 16px;
    text-align: center;
}

.bi-report-box .chart-item-icon {
    margin-bottom: 15px;
    font-size: 40px;
    transition: 0.3s font-size;
}


/* #endregion */
/* #region 單一圖表 chart */
.bi-chart-group-bg {
    padding: 0 0 50px;
    background-color: #152941;
    /* background-image: linear-gradient(0deg,
            hsl(199deg 100% 7%) 0%,
            hsl(203deg 35% 16%) 21%,
            hsl(204deg 20% 25%) 30%,
            hsl(205deg 12% 34%) 39%,
            hsl(206deg 8% 44%) 46%,
            hsl(206deg 6% 54%) 54%,
            hsl(206deg 6% 65%) 61%,
            hsl(206deg 6% 75%) 69%,
            hsl(206deg 6% 86%) 79%,
            hsl(0deg 0% 98%) 100%); */
    /* background-image: linear-gradient(0deg,
            hsl(199deg 100% 7%) 0%,
            hsl(198deg 84% 15%) 20%,
            hsl(197deg 82% 23%) 29%,
            hsl(196deg 83% 31%) 36%,
            hsl(194deg 88% 39%) 43%,
            hsl(193deg 100% 45%) 50%,
            hsl(198deg 77% 66%) 57%,
            hsl(200deg 74% 75%) 64%,
            hsl(201deg 70% 83%) 71%,
            hsl(201deg 61% 91%) 80%,
            hsl(0deg 0% 98%) 100%); */
}

.bi-chart-bg {
    padding: 40px 10px 0px;
    /* background-color: rgb(213 229 241); */
}

.bi-bg .bi-chart-bg:last-child {
    padding-bottom: 40px;
}

.bi-chart-box {
    margin: 0px 10px;
    /* background-color: rgb(228 241 255); */
    background-color: rgb(255, 255, 255);
    border-radius: 10px;
    overflow: hidden;
}

.bi-chart-img-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    /* background-color: #d9deff; */
    /* border: 1px solid #d9deff; */
}

.bi-chart-content {
    padding: 20px;
    text-align: center;
    font-family: var(--default-ff);
}

.bi-chart-content-title {
    /* background-color: rgb(228 241 255); */
    color: hsl(213deg 65% 42%);
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    /* font-family: var(--default-ff); */
}

.bi-chart-content-text {
    margin-top: 10px;
    color: rgb(21 41 65);
    font-size: 16px;
    line-height: 2;
    white-space: pre-line;
}

/* #endregion */


@media screen and (min-width: 768px) {
    .bi-title {
        font-size: 28px;
    }

    .bi-title-desc {
        padding: 0 50px;
        font-size: 18px;
    }

    .bi-intro-bg {
        padding-top: 40px;
    }

    .bi-intro-group {
        padding: 10px 30px 40px;
        display: flex;
        justify-content: space-between;
        align-items: stretch;
    }

    .bi-intro-item {
        flex-basis: 32%;
        display: flex;
        flex-direction: column;
        justify-content: start;
    }

    .bi-intro-draw {
        background-color: #3dabe270;
    }

    .bi-intro-content {
        flex-grow: 1;
    }

    .bi-intro-desc {
        position: relative;
        top: 50%;
        transform: translateY(-50%);
    }

    .bi-report-box,
    .bi-chart-box {
        width: 80vw;
    }

    .bi-report-box {
        margin: 40px auto;
    }

    .bi-chart-box {
        margin: 0 auto;
    }

    .bi-report-box .chart-item {
        /* width: 18%; */
        width: 31%;
        height: 120px;
        padding: 10px;
        margin: 1%;
        border-radius: 20px;
        transition: 0.3s;
    }

    /*reverse：chart 與 報表詳細圖片 左右反過來*/
    .bi-report-box.reverse {
        flex-flow: row-reverse;
    }

        .bi-report-box.reverse .bi-report-img-wrap {
            margin-right: 0;
            margin-left: 20px;
        }

    /*less-chart：設定chart佔30%寬度， 報表詳細圖片佔70%寬度*/
    .bi-report-box.less-chart .bi-report-img-wrap {
        flex-basis: 70%;
    }

    .bi-report-box.less-chart .bi-report-content-wrap {
        flex-basis: 30%;
    }

    .bi-report-box.less-chart .chart-item {
        flex-basis: 100%;
        margin: 1% 0;
    }
}

@media screen and (min-width: 1024px) {
    .bi-intro-bg {
        padding: 50px 0 0;
    }

    .bi-intro-group {
        width: 80vw;
        margin: 0 auto;
    }

    .bi-intro-draw,
    .bi-intro-desc {
        font-size: 18px;
    }

    .bi-report-bg {
        padding: 50px 0 30px;
    }

    .bi-report-box {
        display: flex;
        /* width: 90vw; */
        width: 80vw;
        margin: 40px auto;
        justify-content: center;
    }

    .bi-report-small-title {
        font-size: 22px;
    }

    .bi-report-img-wrap {
        margin-right: 20px;
    }

    .bi-report-box .chart-item {
        /* width: 46%; */
        width: 23%;
        height: 140px;
        padding: 10px;
        margin: 1%;
        border-radius: 20px;
        transition: 0.3s;
    }

    .bi-report-box .chart-item-text {
        font-size: 18px;
    }

    .bi-chart-bg {
        padding: 40px 10px 20px;
    }

    .bi-chart-box {
        width: 80vw;
        margin: 0px auto;
    }

    .bi-chart-content-title {
        font-size: 22px;
    }

    .bi-chart-content-text {
        font-size: 18px;
        line-height: 1.5;
    }
}

@media screen and (min-width:1200px) {
    .bi-title.content-box-title {
        margin-bottom: 30px;
    }

    .bi-title-desc {
        padding: 0 50px;
        font-size: 18px;
        max-width: 1000px;
        margin: 0px auto;
    }

    .bi-report-box {
        width: 70vw;
    }

    .bi-chart-box {
        width: 60vw;
        max-width: 700px;
    }
}
