﻿.condiv {
    margin: 1rem auto;
    text-align: left;
    letter-spacing: 0.1rem;
    font-size: 1.1rem;
    line-height: 2rem;
    color: #221814;
}

h2 {
    font-size: 1.17em;
    letter-spacing: 0.1rem;
    color: #3C3C3C;
    text-decoration: wavy underline #BF3B83;
    display: block;
    line-height: 2rem;
}

    h2 > span {
        padding: 0.2rem;
    }

input[type=button], input[type=submit] {
    -webkit-appearance: none; /* Safari 和 Chrome，常用於iOS下移除內建樣式 */
    -moz-appearance: none; /* FireFox */
    height: 1.9rem;
    vertical-align: middle;
    background: #dbdbdb;
    border: 1px #9D9D9D solid;
}

/*列表頁面的標題和時間*/
.Ptitle {
    text-align: left;
    list-style: none;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 0px;
    word-break: break-all;
}

    .Ptitle li:first-child {
        margin-top: 0;
    }

    .Ptitle li {
        width: 95%;
        margin-left: auto;
        margin-right: auto;
        margin-top: 0.5rem;
        border-bottom: 1px dashed #898989;
        padding: 0.5rem;
        word-break: break-all;
    }

    /*日期樣式*/
    .Ptitle .Ptitledate {
        background-color: #BF3B83;
        color: #FFFFFF;
        display: inline-block;
        padding: 0.3rem 1rem;
        border-radius: 10px;
        vertical-align: top;
        text-align: center;
        font-size: 1rem;
        margin-right: 2rem;
        margin-bottom: 0.5rem;
    }

    /*標題*/
    .Ptitle .Ptitletxt {
        width: 70%;
        display: inline-block;
        text-decoration: none;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
        overflow: hidden;
        vertical-align: middle;
        color: #3E3A39;
        font-size: 1.2rem;
        font-weight: bold;
        overflow: hidden; /*--設定超出的內容隱藏, IE, FireFox通用--*/
        text-overflow: ellipsis; /*--(IE專用)在內容超出時,在後方補上逗號--*/
        white-space: nowrap; /*-- 設定內容強制顯示一行,直到內容結束或<br>--*/
        padding: 0 0 0.1rem;
        line-height: 2rem;
    }

        .Ptitle .Ptitletxt:hover {
            color: #BF3B83;
        }

        .Ptitle a:focus {
            color: #BF3B83;
            outline: 2px #BF3B83 dashed;
        }

/*置頂重要*/
.impt {
    background-color: #D9006C;
    color: #ffffff;
    padding: 0 0.2rem;
    border-radius: 10px;
    margin-right: 0.5rem;
    display: inline-block;
    line-height: 2rem;
    letter-spacing: 0.1rem;
}

/*前往按鈕*/
.pmiddle .button {
    width: 50px;
    height: 30px;
    background-color: #FFFFFF;
    border-color: #3E3A39;
    vertical-align: middle;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    display: inline-block;
    text-align: center;
}

    .pmiddle .button:hover {
        background-color: #FCECF3;
    }

/*頁碼*/
.page {
    text-align: center;
    margin-top: 15px;
    margin-bottom: 10px;
    text-shadow: none;
}

    .page a {
        text-decoration: none;
        display: inline-block;
        border: 1px solid #323322;
        border-radius: 8px;
        padding: 5px 10px;
        margin: 1px;
        background-color: #FFFFFF;
        color: #323332;
        vertical-align: middle;
        text-align: center;
        letter-spacing: normal;
    }

        .page a:hover {
            background-color: #DDE6CF;
            color: #323332;
        }

/*第一頁*/
.one {
    display: inline-block;
    min-width: 5rem;
}

/*數字頁碼*/
.pmiddle {
    display: inline-block;
    width: 10rem;
    text-align: center;
}

    .pmiddle .DDList {
        font-size: large;
        height: 31px;
        vertical-align: middle;
        margin-right: 0.2rem;
    }

/*最終頁*/
.end {
    display: inline-block;
    min-width: 5rem;
}

/*服務公告&文件下載內文樣式*/
.Service {
    overflow: hidden;
}

    .Service .sdate {
        display: inline-block;
        text-align: center;
        border-radius: 0 30px 30px 0;
        overflow: hidden;
        vertical-align: middle;
        letter-spacing: 0.05rem;
        color: #FFFFFF;
        background-color: #BF3B83;
        padding: 0.4rem 0.8rem;
        margin-right: 1.5rem;
        margin-bottom: 3.8rem;
        width: 4rem;
        float: left;
    }

    .Service > .SVtitle {
        color: #323322;
        display: block;
        font-size: 1.8rem;
        font-weight: bolder;
        line-height: 2rem;
        margin: 0.5rem 0 1.2rem 0.5rem;
    }

    .Service .SVContent {
        width: 85%;
        margin: auto;
        line-height: 2rem;
        margin-top: 0.5rem;
        padding: 1rem;
    }

.date {
    margin: auto;
    margin-top: 0.5rem;
    color: #403f3f;
    font-size: 1rem;
}

    .date .update {
        float: right;
    }

.ps { /*附件區塊*/
    width: 88%;
    margin: auto;
}

    .ps > span {
        border-bottom: #808080 double;
    }

    .ps > ul {
        list-style-position: inside;
        margin-left: 1.5rem;
    }

        .ps > ul > li {
            list-style-position: inside;
            margin-top: 0.5rem;
        }

            .ps > ul > li > a {
                color: #262626;
            }

            .ps > ul > li > img {
                vertical-align: middle;
            }

/*園區導覽*/
.tList_Title {
    position: relative;
    font-size: 1.3rem;
    font-weight: bold;
    display: inline-block;
    text-align: left;
    border-radius: 0 30px 30px 0;
    overflow: hidden;
    vertical-align: middle;
    color: #323322;
    word-break: break-all;
    background-color: #DDE6CF;
    padding: 0.7rem 1rem 0.7rem 1rem;
    margin: 0 auto;
    width: 98%;
}

.tList_Content {
    width: 98%;
    margin: 0.5rem auto;
}

.tList_Date {
    margin-top: 0.5rem;
    text-align: right;
    font-size: 0.9rem;
    color: #565657;
    padding-bottom: 0.2rem;
}

/*附件樣式*/
.Append {
    margin: 0 auto;
    letter-spacing: 0.1em;
    width: 98%;
    padding: 0.2rem;
    border-radius: 10px;
}

    .Append li {
        margin-bottom: 0.5rem;
        padding: 0.2rem;
    }

        .Append li img {
            vertical-align: middle;
        }

.ControlMenu {
    margin-top: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}
    /*底部控制項*/
    .ControlMenu a {
        display: inline-block;
        /*無底線*/
        text-decoration: none;
        /*邊線*/
        border: 1px solid #dbdbdb;
        /*背景顏色 */
        background-color: #ffffff;
        /*內距*/
        padding: 10px;
        /*字距*/
        letter-spacing: 0.2em;
        /*字顏色*/
        color: #000000;
        margin: 0.3rem;
    }

        .ControlMenu a:hover {
            background-color: #dbdbdb;
            color: #000000;
        }

/*do錯誤*/
.doMsg {
    text-align: center;
    margin-top: 8rem;
    color: #903;
    letter-spacing: 0.2em;
}

/*沒資料*/
.ndata {
    text-align: center;
    margin-top: 8rem;
    color: #595757;
    letter-spacing: 0.2em;
}

/*04A警語*/
.mmsg {
    text-align: left;
    letter-spacing: 0.1rem;
    color: #C00000;
}

/*米字**/
.miword {
    color: #C2006C;
    text-indent: -1rem;
    margin-left: 1rem;
}

/*textbox錯誤*/
.msgdiv {
    width: auto;
    height: 2rem;
    text-align: center;
    margin: 0 auto;
}

/*錯誤訊息*/
.eMsg {
    color: #D50000;
}

.sMsg {
    color: #007500;
}

/*文件下載,殯葬法規*/
.tconent {
    width: 80%;
    margin: 0 auto;
}

    .tconent ul {
        margin: 0;
    }

        .tconent ul > li {
            border-bottom: 0.05rem #808080 solid;
            padding: 0.5rem;
            padding-left: 1rem;
            margin-left: 0.9rem;
            text-indent: -0.9rem;
        }

            .tconent ul > li img {
                vertical-align: top;
            }

/*建議路線 應備文件 查詢條件*/
.sspan {
    background: #FDF5F9;
    color: #BF3B83;
    text-align: center;
    border: 0.15rem solid #FFCBE2;
    padding: 0.1rem;
    word-break: keep-all;
    white-space: nowrap;
    font-weight: bold;
}

/*表格*/
.TableStyle1 {
    border-spacing: 0 0;
    border-collapse: collapse;
    text-align: center;
}

    .TableStyle1 th {
        background-color: #FCECF3;
        border: 1px solid #323322;
        padding: 0.3rem;
        color: #323322;
    }

    .TableStyle1 td {
        border: 1px solid #323322;
        padding: 0.5rem;
    }

        .TableStyle1 td.tdleft {
            text-align: left;
        }

        .TableStyle1 td.keep {
            word-break: keep-all;
            white-space: nowrap;
        }

        .TableStyle1 td.dinone {
            display: normal;
        }

    .TableStyle1 .rwdfloor {
        display: none;
    }

    .TableStyle1 td span {
        word-break: keep-all;
        white-space: nowrap;
    }

/*Content_List樣式*/
.list {
    counter-reset: li; /*數字*/
    list-style: none;
    padding: 0;
    padding-left: 2rem;
    margin: 0 auto;
    margin-bottom: 4rem;
    width: 70%;
}

    .list a {
        position: relative;
        display: block;
        padding: 0.4rem 0.4rem 0.4rem 1rem;
        margin: 1rem 0;
        background: #FDF5F9;
        color: #221814;
        text-decoration: none;
        font-size: 1.1rem;
        font-weight: bolder;
        letter-spacing: 0.1rem;
    }

        .list a:hover {
            background: #FEDFED;
        }

        .list a::before {
            content: counter(li);
            counter-increment: li;
            position: absolute;
            top: 50%;
            left: -2.8rem;
            margin-top: -1.3rem;
            background: #FFCBE2;
            height: 2.2rem;
            width: 2.2rem;
            line-height: 2.2rem;
            border: 0.2rem solid #fff;
            text-align: center;
            font-weight: bold;
        }

        .list a::after {
            position: absolute;
            content: "";
            border: 0.6rem solid transparent;
            left: -1.3rem;
            top: 50%;
            margin-top: -0.6rem;
        }

        .list a:hover::after {
            left: -0.5rem;
            border-left-color: #FFCBE2;
        }

/*3張照片*/
.imgdiv img {
    max-width: 100%;
}

/*首行空兩格*/
.indent2 {
    text-indent: 2.2rem;
}

/*公告類型按鈕*/
.ws_submenu {
    text-align: center;
    margin-bottom: 1.5rem;
}

    .ws_submenu a {
        display: inline-block;
        text-decoration: none;
        border: 2px #BF3B83 dashed;
        padding: 0 1.5rem 0 1.5rem;
        font-size: 1.1rem;
        font-weight: bold;
        color: #BF3B83;
        background: #FFFFFF;
        line-height: 3rem;
        border-radius: 0.6rem;
        margin: 5px;
    }

        .ws_submenu a.focus {
            background: #BF3B83;
            color: #FFFFFF;
        }

        .ws_submenu a:hover {
            border: 2px #BF3B83 solid;
        }