﻿.condiv {
    width: 95%;
    margin: 0 auto;
    text-align: left;
    letter-spacing: 0.1rem;
    font-size:1.05rem;
}

h3 {
    letter-spacing: 0.1rem;
    color: #0D589F;
    display:block;
    line-height:2rem;
}
    h3 > span {
        border-bottom: 0.2rem double #0D589F;
        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;
}

/*服務公告列表標題和時間、文件下載列表標題和時間*/
.ndata {
    text-align: center;
    margin-top: 8rem;
    color: #595757;
    letter-spacing: 0.2em;
}

.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 {
        margin-top: 0.5rem;
        border-bottom: 1px dashed #0D589F;
        padding: 0;
    }

        .Ptitle li a:link, .Ptitle li a:visited {
            color: #3C3C3C;
        }

        .Ptitle li a:hover, .Ptitle li a:active {
            color: #B22222;
        }

/*公告日期*/
    .Ptitle .Ptitledate {
        display: inline-block;
        width: 6rem;
        font-size: 0.8rem;
        background-color: #FFECC9;
        color: #0D589F;
        margin-right: 0.2rem;
        padding: 0.2rem 0.1rem;
        vertical-align: top;
        text-align: center;
        font-weight: bolder;
        line-height: 1.6rem;
        -moz-border-radius: 20px;
        -webkit-border-radius: 20px;
        border-radius: 20px;
    }

    /*標題*/
    .Ptitle .Ptitletxt {
        display: inline-block;
        width: 80%;
        vertical-align: top;
        overflow: hidden; /*--設定超出的內容隱藏, IE, FireFox通用--*/
        text-overflow: ellipsis; /*--(IE專用)在內容超出時,在後方補上逗號--*/
        white-space: nowrap; /*-- 設定內容強制顯示一行,直到內容結束或<br>--*/
        padding: 0.3rem 0 0.3rem 0.2rem;
    }

        .Ptitle .Ptitletxt:hover {
            background-color: #F0F0F0;
        }

    /*頁碼*/
    .page {
        /*字置中*/
        text-align: center;
        /*外距*/
        margin-top: 15px;
        margin-bottom: 10px;
        text-shadow: none;
    }

    .page a {
        /*無底線*/
        text-decoration: none;
        /*區塊*/
        display: inline-block;
        /*邊線*/
        border: 1px solid #2E4986;
        /*內外距*/
        padding: 5px 10px;
        margin: 1px;
        /*背景顏色 白*/
        background-color: #ffffff;
        /*字顏色 黑*/
        color: #000000;
        /*字位置*/
        vertical-align: middle;
        text-align: center;
        letter-spacing: normal;
    }

        .page a:hover {
            /*邊線*/
            border: 1px solid #2E4986;
            /*背景顏色 灰*/
            background-color: #dbdbdb;
            /*字顏色 黑*/
            color: #000000;
        }

    .page .currentpage {
        /*背景顏色 藍*/
        background-color: #2E4986;
        /*字顏色 白*/
        color: #ffffff;
        /*邊線*/
        border: 1px solid #2E4986;
    }

/*第一頁*/
.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;
}

/*服務公告內容標題和時間、文件下載內容標題和時間*/
.matterdiv {
}

.tList_Title {
    font-size: 1.3rem;
    font-weight: bold;
    text-align: left;
    color: #0D589F; /*#0D589F 藍色*/
    word-break: break-all;
    margin: 0 auto;
    padding: 0.5rem;
    background: #FFECC9;
    border: 1.5px #0D589F solid;
    border-radius: 10px;
}

.tList_Content {
    width: 98%;
    margin: 0 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;
    }

    .Append a, .Append a:visited {
        color: #7A0099;
    }

.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;
}

/*警語*/
.mmsg {
    text-align: left;
    color: #003C9D;
    letter-spacing:0.1rem;
}

/*置頂重要*/
.impt {
    background-color: #D9006C;
    color: #ffffff;
    padding: 0 0.2rem;
    border-radius: 10px;
    margin-right:0.2rem;
    display:inline-block;
}

.toptext {
    text-indent: -1rem;
    margin-left: 1rem;
}

/*textbox錯誤*/
.msgdiv {
    width: auto;
    height: 2rem;
    text-align: center;
    margin: 0 auto;
}

/*錯誤訊息*/
.eMsg {
    color: #D50000;
}

.sMsg {
    color: #007500;
}

/*相片數量*/
.tCount {
    margin-top: 0.5rem;
    text-align: right;
    color: #565657;
    padding-bottom: 0.2rem;
}

/*相簿說明*/
.tExp {
    display: block;
    width: 98%;
    color: #313131;
    text-align: left;
    margin: 0 auto;
}

/*文件下載,殯葬法規*/
.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;
            }

/*加重文字第一行*/
.tCon {
    padding-left: 1rem;
}

/*建議路線 應備文件 查詢條件*/
.sspan {
    background: #FFECC9;
    color: #000000;
    text-align: center;
    border: 0.1rem solid #CC6600;
    padding: 0.1rem;
    word-break:keep-all;
    white-space: nowrap;
    font-weight: bold;
}

/*收費標準空位數量table樣式*/
.P0304BCtable {
    border-spacing: 0 0;
    border-collapse: collapse;
    margin: 0 auto;
    text-align: center;
    width: 80%;
}

    .P0304BCtable th {
        background-color: #E5EFD3;
        border: 1px solid #135127;
        padding: 0.3rem;
    }

    .P0304BCtable td {
        border: 1px solid #135127;
        background-color: #ffffff;
        padding: 0.5rem;
    }


/*留言聯絡table樣式*/
#P1014_table {
    display: table;
    border-collapse: collapse;
    border-spacing: 0;
    width: 80%;
    margin: 0 auto;
}

.P1014_tr {
    display: table-row;
}

.P1014_th {
    display: table-cell;
    background-color: #E5EFD3;
    padding: 0.2rem;
    text-align: center;
    border: 1px solid #135127;
    font-weight: bolder;
    width: 20%;
}

.P1014_td {
    display: table-cell;
    padding: 0.2rem;
    text-align: center;
    border: 1px solid #135127;
}

    .P1014_td .tabletb {
        width: 95%;
        height: 1.2rem;
        margin: 0.2rem 0;
    }

/*驗證碼後的T*/
#P1014_table a.ChkcoodTxt {
    border-radius: 0.5rem;
    padding: 0.2rem 0.5rem;
    letter-spacing: 0rem;
    background-color: #999999;
    color: #000000;
    cursor: pointer;
    font-weight: bold;
    vertical-align: middle;
}

    #P1014_table a.ChkcoodTxt:hover {
        background-color: #585053;
        color: #FFF;
    }

    #P1014_table a.ChkcoodTxt:focus {
        background-color: #585053;
        color: #FFF;
    }

/*驗證碼*/
#imgValidateCode {
    border-color: #999999;
    border-width: 1px;
    margin: 5px;
    border-style: solid;
    vertical-align: middle;
}

#imgValidateCode:focus {
    outline: 2px solid #BD117E;
}

/*米字**/
.miword {
    color: #C2006C;
}

/*菜單*/
.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: #FFECC9;
        color: #28004D;
        text-decoration: none;
        font-size: 1.1rem;
        font-weight: bolder;
        letter-spacing: 0.1rem;
    }

        .list a:hover {
            background: #eee;
        }

        .list a::before {
            content: counter(li);
            counter-increment: li;
            position: absolute;
            top: 50%;
            left: -2.8rem;
            margin-top: -1.3rem;
            background: #fa8072;
            height: 2.2rem;
            width: 2.2rem;
            line-height: 2.2rem;
            border: 0.2rem solid #fff;
            text-align: center;
            font-weight: bold;
            color: #28004D;
        }

        .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: #fa8072;
        }
@media screen and (max-width:874px) {
    .ndata, .doMsg {
        margin: 5rem auto;
    }
}

@media screen and (max-width:760px) {
    .condiv {
        width: 100%;
    }
 
    .Ptitle .Ptitletxt {
        width: 95%;
    }

    .tconent {
        width: 100%;
    }

    .P1014table {
        width: 100%;
    }

        .P1014table th {
            word-break: keep-all;
        }

    .P0304BCtable{
        width:90%;
    }

        .P0304BCtable th {
            padding: 0.1rem;
        }

        .P0304BCtable td {
            padding: 0.3rem;
        }

    #P1014_table {
        width: 100%;
    }

    .P1014_th {
        word-break: keep-all;
        white-space: nowrap;
    }
}

@media screen and (max-width:390px) {
    /*第一頁*/
    .one {
        display: inline-block;
        width: 100%;
        text-align:center;
    }

    /*數字頁碼*/
    .pmiddle {
        display: inline-block;
        width: 100%;
        text-align: center;
        margin:0.3rem auto;
    }

    /*最終頁*/
    .end {
        display: inline-block;
        width: 100%;
        text-align: center;
    }
}

@media screen and (max-width:360px) {
    .condiv {
        letter-spacing:0;
    }

    .toptext {
        margin-left: 0;
        text-indent: 0;
    }
}
