﻿.card {
    filter: drop-shadow(1px 1px 4px rgba(0, 0, 0, .2));
    background: #fff;
    padding: 0.8em;
    margin: 1em 0.8em;
    border-radius: 3px;
}

#card_all span {
    font-weight: 700;
    font-size: 18px;
}

.span_rank {
    background: #808080;
    color: #fff;
    width: 20px;
    height: 20px;
    display: inline-block;
    border-radius: 10px;
    text-align: center;
}

.span_Headline {
    font-weight: 700;
    font-size: 24px;
    line-height: 36px;
}

.span_gray {
    color: #787878;
    font-size: 14px;
    font-weight: 700;
}

.span_right {
    float: right;
}

.txt_content {
    color: #333;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
    margin: 13px 0 0 0;
}



.detail_row {
    font-size: 18px;
    white-space: nowrap;
    display: flex;
    width: 100%;
}

.card-arrow::after {
    content: '\f107';
    font-family: 'FontAwesome';
    width: 20px;
    height: 20px;
    font-size: 22px;
}

.card-arrow[aria-expanded="true"]::after {
    content: '\f106';
}

.card-綠色 {
    border-left: 5px solid #3f9c25;
}

.card-黃色 {
    border-left: 5px solid #ffa600;
}

.card-橙色 {
    border-left: 5px solid #c95c0e;
}

.card-紅色 {
    border-left: 5px solid #c21f32;
}

.lvl-綠色 {
    color: #3f9c25;
    font-weight: 700;
}

.lvl-黃色 {
    color: #ffa600;
    font-weight: 700;
}

.lvl-橙色 {
    color: #c95c0e;
    font-weight: 700;
}

.lvl-紅色 {
    color: #c21f32;
    font-weight: 700;
}

.progress {
    height: 12px;
    margin: auto 0;
}

.progress-國定古蹟 {
    /*background:#c23e42;*/
    background: #17539c;
}

.progress-歷史建築 {
    /*background:#c92979;*/
    background: #a04fa6;
}

.progress-國定考古遺址 {
    /*background:#d18c04;*/
    background: #f44e7e;
}

.progress-文化景觀 {
    /*background:#db733b;*/
    background: #ff625e;
}

.progress-重要聚落建築群 {
    /*background:#3da3d1;*/
    background: #ff823a;
}

.progress-紀念建築 {
    /*background:#99b81f;*/
    background: #fe7f36;
}

.progress-史蹟 {
    /*background:#4eaeb5;*/
    background: #ffa600;
}

.tippy-box[data-theme~='progress'] {
    background: rgba(215,215,215,0.95);
    color: #3c3c3c;
    margin-left: 10px;
}

    .tippy-box[data-theme~='progress'][data-placement^='top'] > .tippy-arrow::before {
        border-top-color: #d4d4d4;
    }

    .tippy-box[data-theme~='progress'][data-placement^='bottom'] > .tippy-arrow::before {
        border-bottom-color: #d4d4d4;
    }

    .tippy-box[data-theme~='progress'][data-placement^='left'] > .tippy-arrow::before {
        border-left-color: #d4d4d4;
    }

    .tippy-box[data-theme~='progress'][data-placement^='right'] > .tippy-arrow::before {
        border-right-color: #d4d4d4;
    }

.span_subTitle {
    font-size: 21px;
    font-weight: 700;
}

@media (max-width: 768px) {
    .txt_content {
        font-size: 15px;
    }

    .span_gray {
        font-size: 13px;
    }

    .detail_row {
        font-size: 15px;
    }

    .span_Headline {
        font-size: 22px;
    }

    .span_subTitle {
        font-size: 18px;
    }
    .progress {
   width:40%
}
}
