@charset "utf-8";
/* CSS Document */
@font-face {
    font-family: 'eudc';
    src: url('../fonts/EUDC.woff');
    src: url('../fonts/EUDC.woff') format('woff'), url('../fonts/EUDC.ttf') format('truetype')
}

* {
    margin: 0;
    padding: 0;
    font-family: "eudc", Arial, Verdana, Helvetica, sans-serif;
}

html {
    height: 100%;
}

body {
    background: #e3e3e3;
    height: 100%;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
}

img {
    border: none;
}

a {
    text-decoration: none;
    color: #06C;
}

    a:hover {
        text-decoration: underline;
        color: #06F;
    }

table {
    border-collapse: collapse;
}

form, p, ul, ol, li {
    margin: 0;
    padding: 0;
}


/* clear float */
.clearfix:before, .clearfix:after {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

.clearboth {
    clear: both;
}

/* 背景圖 */
#wrap {
    background: url(images/login_logo.png) right bottom no-repeat;
    height: 100%;
}


/* Header */
#header {
    height: 70px;
    background: #8D1E97;
    color: #fff;
    padding: 20px;
    position: relative;
    z-index: 10;
    overflow: hidden;
    box-shadow: 0px 1px 3px rgba(0%,0%,0%,0.6);
}

    #header h1 {
        font-size: 34px;
        font-family: "微軟正黑體";
    }

    #header h2 {
        font-size: 18px;
        color: #eee;
    }


/* 右上資訊區 */
#top_info {
    position: absolute;
    right: 20px;
    top: 40%;
}

    #top_info b {
        color: #fff;
    }

    #top_info em {
        font-style: normal;
        color: #aaa;
        padding: 0 10px;
    }

    #top_info a {
        color: #fff;
    }

        #top_info a:hover {
            color: #fff600;
        }


/* Menu */
#navigation {
    float: left;
    width: 180px;
    padding-bottom: 20px;
    padding-bottom: 40px;
    background: #740b7d;
    color: #fff;
    font-size: 15px;
    line-height: 180%;
}

    #navigation ul {
        list-style: none;
    }

        #navigation ul a {
            display: block;
            color: #fff;
            padding: 8px 20px;
            border-bottom: 1px solid #58035f;
        }

            #navigation ul a:hover {
                background: #06C;
                color: #fff;
                text-decoration: none;
                cursor: pointer;
            }


/* Content */
#container {
    padding: 10px 20px;
    padding: 10px 20px;
    margin-left: 180px;
}

    #container h3 {
        font-size: 15px;
        padding: 10px;
    }


/* Footer */
#footer {
    color: #777;
    font-size: 12px;
    text-align: right;
    padding: 20px;
}


/* Bttton */
input.btn {
    border-left: 2px solid #e3e3e3;
    border-top: 2px solid #e3e3e3;
    border-right: 2px solid #aaaaaa;
    border-bottom: 2px solid #aaaaaa;
    background-color: #888888;
    color: #fff;
    font-size: 16px;
    letter-spacing: 1.5px;
    display: inline-block;
    padding: 6px 30px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -khtml-border-radius: 5px;
    cursor: pointer;
}

    input.btn:hover {
        border-left: 2px solid #aaaaaa;
        border-top: 2px solid #aaaaaa;
        border-right: 2px solid #e3e3e3;
        border-bottom: 2px solid #e3e3e3;
        background-color: #666666;
        color: #fff;
        font-size: 16px;
        letter-spacing: 1.5px;
        display: inline-block;
        padding: 6px 30px;
        -moz-border-radius: 5px;
        -webkit-border-radius: 5px;
        border-radius: 5px;
        -khtml-border-radius: 5px;
        cursor: pointer;
    }

input.selectedbtn {
    border: 1px solid #333333;
    border-right: 2px solid #333333;
    border-bottom: 2px solid #333333;
    background: #0066CC;
    color: #fff;
    font-size: 12px;
    padding-top: 5px;
    padding-right: 10px;
    padding-bottom: 2px;
    padding-left: 10px;
    letter-spacing: 1.5px;
}

input.btn_search {
    border: 1px solid #00396a;
    border-right: 2px solid #00396a;
    border-bottom: 2px solid #00396a;
    background: #0077db;
    color: #fff;
    font-size: 12px;
    padding-top: 5px;
    padding-right: 10px;
    padding-bottom: 2px;
    padding-left: 10px;
    letter-spacing: 1.5px;
}

input.btn_add {
    border: 1px solid #326600;
    border-right: 2px solid #326600;
    border-bottom: 2px solid #326600;
    background: #6a9b00;
    color: #fff;
    font-size: 12px;
    padding-top: 5px;
    padding-right: 10px;
    padding-bottom: 2px;
    padding-left: 10px;
    letter-spacing: 1.5px;
}

input.btn_del {
    border: 1px solid #970000;
    border-right: 2px solid #750000;
    border-bottom: 2px solid #750000;
    background: #c00;
    color: #fff;
    font-size: 12px;
    padding-top: 5px;
    padding-right: 10px;
    padding-bottom: 2px;
    padding-left: 10px;
    letter-spacing: 1.5px;
}


/* Table */
/* list... */
.list {
    background: white;
    border-collapse: collapse;
    border: 1px solid #aaa;
    width: 100%;
    margin: 0 auto;
}

    .list th, .list td {
        padding: 8px; /*vertical-align:top;*/
    }

    .list th {
        padding: 5px;
        border: 1px solid #aaa;
        color: #333;
    }

    .list td {
        border: 1px solid #ddd;
        vertical-align: middle;
    }

    .list tr:nth-child(odd) td {
    }


/* add, edit... */
.edit {
    border-collapse: collapse; /* border:1px solid #9bc9e1; */
    width: 100%;
    margin: 0 auto;
}

    .edit th, .edit td {
        padding: 8px;
        vertical-align: top;
    }

    .edit th {
        background: #cfeaf8;
        padding: 5px;
        border: 1px solid #9bc9e1;
        color: #2c5e9b;
        text-align: right;
        vertical-align: middle;
    }

    .edit td {
        background: #ffffff;
        border: 1px solid #ccc;
    }

    .edit .row2 {
        background: #f0f7fb;
    }

    .edit .btn_area {
        background: #fff0b6;
        text-align: center;
        padding: 10px;
    }

    .edit .del_area {
        background: #ffd5d5;
        text-align: right;
        padding: 5px;
    }

/*.btn, .button_submit, .button_cancel {
    border-left: 2px solid #e3e3e3;
    border-top: 2px solid #e3e3e3;
    border-right: 2px solid #aaaaaa;
    border-bottom: 2px solid #aaaaaa;
    background-color: #e3e3e3;
    display: inline-block;
    padding: 4.5px 30px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -khtml-border-radius: 5px;
    color: #333;
}

    .btn:hover, .button_submit:hover, .button_cancel:hover {
        border-left: 2px solid #aaaaaa;
        border-top: 2px solid #aaaaaa;
        border-right: 2px solid #e3e3e3;
        border-bottom: 2px solid #e3e3e3;
        background-color: #e3e3e3;
        padding: 4.5px 30px;
        transition: all 0.2s;
        -moz-transition: all 0.2s;
        -webkit-transition: all 0.2s;
        -o-transition: all 0.2s;
        text-decoration: none;
    }*/

/* Comm */
.required {
    color: #dd2424;
    font-weight: normal;
    font-size: 11px;
    padding: 0 3px;
}

/* TABLE STYLE */
.query_table {
    border: 1px solid #E0E0E0;
    background: #FFF;
    margin-bottom: 2px;
    text-align: left;
}

    .query_table td {
        color: #222233;
        background: #EFEFEF;
        padding-left: 5px;
        padding-right: 3px;
        height: 30px;
    }

    .query_table .intv_c td {
        background: #F8F8D6;
    }

    .query_table th {
        color: #222233;
        background: #EFEFEF;
        padding-left: 5px;
        padding-right: 3px;
    }

    .query_table .intv_c th {
        background: #F8F8D6;
    }

/* Page */
#page {
    font-size: 13px;
    margin: 14px 0px;
    text-align: center;
}

    #page a, #page .current, #page .total {
        -webkit-appearance: none;
        display: inline-block;
        vertical-align: top;
        *display: inline;
        *zoom: 1;
        padding: 5px 8px;
        line-height: 14px;
    }

    #page a {
        color: #fff;
        background: #666;
    }

        #page a:hover {
            color: #fff;
            background: #e62129;
            text-decoration: none;
        }

    #page .current {
        color: #e62129;
        background: #fff;
        font-weight: bold;
    }

/*權限表格*/
#purple_table {
    border: 0px #d0b2d2 solid;
    background: #f0e9f3;
}

    #purple_table td {
        border-bottom: 1px solid #FFF;
    }

    #purple_table .title {
        font-size: 15px;
        font-weight: bold;
        color: #f0e9f4;
        background: #8249a0;
        text-align: left;
        padding: 3px;
    }

    #purple_table .sys {
        border: 1px solid #cdc5d1;
        background: #FFFFFF
    }

        #purple_table .sys td {
            border-top: 1px solid #CCC;
            line-height: 24px;
        }

@import url(http://fonts.googleapis.com/css?family=Gentium+Basic:400,700|Yanone+Kaffeesatz);
/*===== nav style ======*/
#fdw nav select {
    display: none; /* this is just for the mobile display */
}

#fdw nav ul {
    display: block;
    z-index: 999999;
}

    #fdw nav ul li {
        display: inline-block;
        margin-left: 30px;
        position: relative;
    }

        #fdw nav ul li a:link, #fdw nav ul li a:visited {
            color: #444;
            display: inline-block;
            position: relative;
        }

        #fdw nav ul li a:hover, #fdw nav ul li a:active {
            color: #e25d29;
            text-decoration: none;
        }

        #fdw nav ul li span {
            position: absolute;
            right: -12px;
            bottom: 6px;
            width: 7px;
            height: 8px;
            margin: 0 0 0 3px;
            float: right;
            display: block;
            background: url('images/nav_arrow.png') no-repeat left -8px;
            font: 0/0 a;
        }

        #fdw nav ul li.current {
            border-bottom: 2px solid #e25d29;
        }

            #fdw nav ul li.current a {
                color: #e25d29;
                cursor: default;
            }

                #fdw nav ul li.current a span {
                    background: url('../images/nav_arrow.png') no-repeat left 0;
                }

            #fdw nav ul li.current ul li a {
                cursor: pointer;
            }

        /*===== sub_menu Style =======*/
        #fdw nav ul li ul.sub_menu {
            position: absolute;
            top: 30px;
            left: 0;
            margin: 0;
            padding: 0;
            background: #fff;
            border: 1px solid #ececec;
            border-top: 5px solid #e25d29;
            display: none;
            z-index: 999999;
            -moz-box-shadow: 0px 6px 7px #121012;
            -webkit-box-shadow: 0px 6px 7px #121012;
            box-shadow: 0px 6px 7px #121012;
        }

            #fdw nav ul li ul.sub_menu li.arrow_top {
                position: absolute;
                top: -12px;
                left: 12px;
                width: 13px;
                height: 8px;
                display: block;
                border: none;
                background: url('images/arrow_top.png') no-repeat left top;
            }

            #fdw nav ul li ul.sub_menu li {
                float: none;
                margin: 0;
                padding: 0;
                border-bottom: 1px solid #ececec;
            }

                #fdw nav ul li ul.sub_menu li a {
                    white-space: nowrap;
                    width: 150px;
                    padding: 12px;
                    font: 13px Arial, tahoma, sans-serif;
                    text-transform: capitalize;
                    color: #777;
                }

                    #fdw nav ul li ul.sub_menu li a:hover {
                        background: #f9f9f9;
                        color: #333;
                    }

                    #fdw nav ul li ul.sub_menu li a.subCurrent {
                        color: #e25d29;
                        cursor: default;
                    }

                        #fdw nav ul li ul.sub_menu li a.subCurrent:hover {
                            background: none;
                        }
/*===================== end Header style ======================*/


@media only screen and (min-width: 768px) and (max-width: 959px) {
    /* nav */
    #fdw nav ul li {
        margin-left: 12px;
    }
}

/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width: 767px) {

    /* nav menu ul & select */
    #fdw nav ul {
        display: none;
    }

    #fdw nav select {
        width: 100%;
        display: block;
        margin-bottom: 30px;
        cursor: pointer;
        padding: 6px;
        background: #f9f9f9;
        border: 1px solid #e3e3e3;
        color: #777;
    }
}

fieldset {
    border: 0;
    padding: 10px;
    margin-bottom: 10px;
    background: #EEE;
    border-radius: 8px;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    background: -webkit-liner-gradient(top,#EEEEEE,#FFFFFF);
    background: linear-gradient(top,#EFEFEF,#FFFFFF);
    box-shadow: 3px 3px 10px #666;
    -moz-box-shadow: 3px 3px 10px #666;
    -webkit-box-shadow: 3px 3px 10px #666;
    position: relative;
}

legend {
    padding: 5px 10px;
    background-color: #4F709F;
    color: #FFF;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    box-shadow: 2px 2px 4px #666;
    -moz-box-shadow: 2px 2px 4px #666;
    -webkit-box-shadow: 2px 2px 4px #666;
    position: absolute;
    left: 10px;
    top: -11px;
}

.pic {
    width: 150px;
    height: 150px;
    margin: 2px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 0.5px solid;
}

    .pic img {
        max-width: 100%;
        max-height: 100%;
    }


html {
    height: 100%;
}

body {
    background: #e3e3e3;
    height: 100%;
    font-family: Arial, Helvetica, sans-serif;
}

.rwdtxt {
    font-size: 1.2rem;
}

#wrap {
    background: url(images/login_logo.png) right bottom no-repeat;
    height: 100%;
}

#login_block {
    width: 400px;
    position: absolute;
    top: 20%;
    left: 50%;
    margin-left: -200px;
}
    /* margin-left為width的一半 */

    #login_block h1, #login_block h2 {
        text-align: center;
        line-height: 180%;
        text-shadow: 0px 1px 1px #fff;
    }

    #login_block h1 {
        font-size: 25px;
        color: #333;
        font-family: "微軟正黑體";
    }

    #login_block h2 {
        font-size: 18px;
        color: #666;
        margin-bottom: 10px;
        border-bottom: 1px solid #ccc;
        padding-bottom: 5px;
    }

    #login_block table {
        width: 410px;
        margin: 0 auto;
    }

        #login_block table td {
            text-align: center;
            padding: 10px;
        }

        #login_block table thead td {
            color: #f00;
            font-size: 13px;
        }

        #login_block table tbody td {
            font-size: 12px;
        }

        #login_block table tfoot td {
        }

    #login_block input[type=text], #login_block input[type=password] {
        outline: none;
        width: 250px;
        padding: 10px;
        border: 1px solid #aaa;
        border-radius: 10px;
        -moz-border-radius: 10px;
        -webkit-border-radius: 10px;
        box-shadow: inset 0 2px 3px #ddd;
        -moz-box-shadow: inset 0 2px 3px #ddd;
        -webkit-box-shadow: inset 0 2px 3px #ddd;
    }

    #login_block input[type=submit] {
        -webkit-appearance: none;
        outline: none;
        font-weight: bold;
        width: 270px;
        padding: 10px;
        border: 1px solid #aaa;
        background: #bb5dbb;
        color: #fff;
        border-radius: 10px;
        -moz-border-radius: 10px;
        -webkit-border-radius: 10px;
        box-shadow: inset 0 -5px 13px rgba(50%,50%,50%,0.4), 0px 1px 3px #aaa;
        -moz-box-shadow: inset 0 -5px 13px rgba(50%,50%,50%,0.4), 0px 1px 3px #aaa;
        -webkit-box-shadow: inset 0 -5px 13px rgba(50%,50%,50%,0.4), 0px 1px 3px #aaa;
        cursor: pointer;
    }

        #login_block input[type=submit]:hover {
            background: #A203A4;
        }

.hide {
    visibility: hidden;
}