﻿html {
    background-color: white;
    margin: 0;
    padding: 0;
}


body {
    background-color: white;
    font-size: .9em;
    font-family: "Segoe UI", Verdana, Helvetica, Sans-Serif;
    margin: 0;
    padding: 0;
    min-width: 1000px;
    overflow-y: scroll;
}

.completed {
    background-color: green;
}

.incomplete {
    background-color: yellow;
}

.td_bg {
    background-color: #eee9d5;
}

.hideIt {
    display: none;
}

.alternate {
    background-color: #EEEEEE;
}

.tableHeader {
    background-color: #8b9b93;
    color: white;
}

/*text align */
.alignleft {
    text-align: left;
}

.aligncenter {
    text-align: center;
}

.alignright {
    text-align: right;
}
/*margin*/
.margintop10px {
    margin-top: 10px;
}

.QueryDiv {
    /* [disabled]margin: 6px 4px 8px 16px; */
    vertical-align: central;
    border: none;
}

.LabelButton td {
    height: 32px;
    padding-left: 5px;
    padding-right: 5px;
}

p.tight {
    padding: 3px 0px 2px;
    margin: 2px;
    line-height: 1em;
}

a {
    color: #333;
    outline: none;
    padding-left: 3px;
    padding-right: 3px;
    text-decoration: none;
}

    a:link, a:visited,
    a:active, a:hover {
        color: #333;
    }

    a:hover {
        /*background-color: #c7d1d6;*/
    }

header, footer, hgroup,
nav, section {
    display: block;
}

mark {
    background-color: #a6dbed;
    padding-left: 5px;
    padding-right: 5px;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

.clear-fix:after {
    content: ".";
    clear: both;
    display: block;
    height: 0;
    visibility: hidden;
}
/* main layout
----------------------------------------------------------*/
.nowrap {
    word-break: keep-all;
    white-space: nowrap;
}

.content-wrapper {
    margin: 0 auto;
    width: 96%;
}

#body {
    background-color: white;
    font-weight: normal;
    clear: both;
    padding-bottom: 35px;
    min-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.main-content {
    padding-left: 10px;
    padding-top: 4px;
}

.shadow {
    -moz-box-shadow: 3px 3px 4px #999;
    -webkit-box-shadow: 3px 3px 4px #999;
    box-shadow: 3px 3px 4px #999;
    /* For IE 8 */
    -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#999999')";
    /* For IE 5.5 - 7 */
    filter: progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#999999');
    border: 1px solid #CCC;
}

fieldset {
    border: 1px solid #CCC;
}

.featured + .main-content {
}

footer {
    clear: both;
    background-color: #e2e2e2;
    font-size: .8em;
}


h1, h2, h3,
h4, h5, h6 {
    color: #000;
    margin-bottom: 0;
    padding-bottom: 0;
}

h1 {
    font-size: 2em;
}

h2 {
    font-size: 1.75em;
}

h3 {
    font-size: 1.2em;
}

h4 {
    font-size: 1.1em;
}

h5, h6 {
    font-size: 1em;
}

input[type="button"].editButton {
    background: url('./images/24icon_edt.png') no-repeat;
    width: 24px;
    height: 24px;
    border: 0px;
    cursor: pointer;
}

input[type="button"].openButton {
    background: url('./images/24icon_opn.png') no-repeat;
    width: 24px;
    height: 24px;
    border: 0px;
    cursor: pointer;
}

input[type="button"].delButton {
    background: url('./images/24icon_del.png') no-repeat;
    width: 24px;
    height: 24px;
    border: 0px;
    cursor: pointer;
}

input[type="button"].findButton {
    background: url('./images/find.gif') no-repeat;
    width: 16px;
    height: 16px;
    border: 0px;
    cursor: pointer;
}



input[type="button"].cancelButton {
    background: url('./images/cancel.png') no-repeat;
    width: 48px;
    height: 48px;
    border: 0px;
    cursor: pointer;
}

.NumberDisplay {
    border: 1px dotted #000000;
    background-color: Gray;
    font-size: 1.1em;
    display: block;
    text-align: right;
    margin-bottom: 6px;
    color: White;
}

.raw-line {
    border-bottom: 1px solid #a0a0a0;
    height: 1em;
    padding: 0 0 0 0;
    margin: 0 0 0 0;
}

input[type="button"], input[type="submit"], input[type="reset"] {
    background: #D31145;
    cursor: pointer;
    border: none;
    color: #FFFFFF;
    margin-left: 3px;
    height: 25px;
    padding-right: 10px;
    padding-left: 10px;
    font-weight: bold;
    font-size: 0.95em;
}


/* site title
----------------------------------------------------------*/
.site-title {
    color: #c8c8c8;
    font-family: Rockwell, Consolas, "Courier New", Courier, monospace;
    font-size: 2.3em;
    margin: 20px 0;
}

    .site-title a, .site-title a:hover, .site-title a:active {
        background: none;
        color: #c8c8c8;
        outline: none;
        text-decoration: none;
    }


/* login
----------------------------------------------------------*/
#login {
    display: block;
    font-size: .85em;
    margin: 20px 0 12px;
    text-align: right;
}

    #login a {
        background-color: #ffffff;
        margin-left: 10px;
        margin-right: 3px;
        padding: 2px 3px;
        text-decoration: none;
    }

        #login a.username {
            background: none;
            margin-left: 0px;
            text-decoration: underline;
        }

    #login ul {
        margin: 0;
    }

    #login li {
        display: inline;
        list-style: none;
    }


/* menu
----------------------------------------------------------*/
ul#menu {
    font-size: 1.3em;
    font-weight: 600;
    margin: 0;
    text-align: right;
}

    ul#menu li {
        display: inline;
        list-style: none;
        padding-left: 15px;
    }

        ul#menu li a {
            background: none;
            color: #999;
            text-decoration: none;
        }

            ul#menu li a:hover {
                color: #333;
                text-decoration: none;
            }


/* page elements
----------------------------------------------------------*/
/* featured */
.featured {
    background-color: #fff;
}

    .featured .content-wrapper {
        background-color: #7ac0da;
        background-image: -ms-linear-gradient(left, #7ac0da 0%, #a4d4e6 100%);
        background-image: -o-linear-gradient(left, #7ac0da 0%, #a4d4e6 100%);
        background-image: -webkit-gradient(linear, left top, right top, color-stop(0, #7ac0da), color-stop(1, #a4d4e6));
        background-image: -webkit-linear-gradient(left, #7ac0da 0%, #a4d4e6 100%);
        background-image: linear-gradient(left, #7ac0da 0%, #a4d4e6 100%);
        color: #3e5667;
        padding: 20px 40px 30px 40px;
    }

    .featured hgroup.title h1, .featured hgroup.title h2 {
        color: #fff;
    }

    .featured p {
        font-size: 1.1em;
    }

/* page titles */
hgroup.title {
    margin-bottom: 10px;
}

    hgroup.title h1, hgroup.title h2 {
        display: inline;
    }

    hgroup.title h2 {
        font-weight: normal;
        margin-left: 3px;
    }

/* features */
section.feature {
    width: 300px;
    float: left;
    padding: 10px;
}

/* ordered list */
ol.round {
    list-style-type: none;
    padding-left: 0;
}

    ol.round li {
        margin: 25px 0;
        padding-left: 45px;
    }

/* content */
article {
    float: left;
    width: 70%;
}

aside {
    float: right;
    width: 25%;
}

    aside ul {
        list-style: none;
        padding: 0;
    }

        aside ul li {
            background: url("../Images/bullet.png") no-repeat 0 50%;
            padding: 2px 0 2px 20px;
        }

.label {
    font-weight: 700;
}

/* login page */
#loginForm {
    border-right: solid 2px #c8c8c8;
    float: left;
    width: 45%;
}

    #loginForm .validation-error {
        display: block;
        margin-left: 15px;
    }

#socialLoginForm {
    margin-left: 40px;
    float: left;
    width: 50%;
}

/* contact */
.contact h3 {
    font-size: 1.2em;
}

.contact p {
    margin: 5px 0 0 10px;
}

.contact iframe {
    border: 1px solid #333;
    margin: 5px 0 0 10px;
}

/* forms */
fieldset {
    margin: 0;
    padding-left: 10px;
    padding-bottom: 10px;
}

legend {
    font-weight: bold;
}

fieldset ol {
    padding: 0;
    list-style: none;
}

    fieldset ol li {
        padding-bottom: 5px;
    }

fieldset label.checkbox {
    display: inline;
}

div.editor-field {
    height: 30px;
}

fieldset input[type="text"],
fieldset input[type="password"] {
    border: 1px solid #e2e2e2;
    color: #333;
    /*margin: 1px 0 1px 0;
    padding: 1px;*/
}

    fieldset input[type="text"]:focus,
    fieldset input[type="password"]:focus {
        border: 1px solid #7ac0da;
    }

.ui-widget-header {
    border: 0 none;
    border-radius: 2px;
    /*background-color: #e2e2e2;*/
}

.ui-dialog .ui-dialog-titlebar {
    background-color: #e2e2e2;
}

.ui-tabs .ui-tabs-nav {
    background: white;
}

.modal-popup {
}

    .modal-popup input[type="text"],
    .modal-popup input[type="password"] {
        width: 90%;
    }

/* info and errors */
.message-info {
    border: 1px solid;
    clear: both;
    padding: 10px 20px;
}

.message-error {
    clear: both;
    color: #e80c4d;
    font-size: 1.1em;
    font-weight: bold;
    margin: 20px 0 10px 0;
}

.message-success {
    color: #7ac0da;
    font-size: 1.3em;
    font-weight: bold;
    margin: 20px 0 10px 0;
}

.error {
    color: #e80c4d;
}

/* styles for validation helpers */
.field-validation-error {
    color: #e80c4d;
    font-weight: bold;
}

.field-validation-valid {
    display: none;
}

input[type="text"].input-validation-error,
input[type="password"].input-validation-error {
    border: 1px solid #e80c4d;
}

.validation-summary-errors {
    color: #e80c4d;
    font-weight: bold;
    font-size: 1.1em;
}

.validation-summary-valid {
    display: none;
}

ul#social li {
    display: inline;
    list-style: none;
}

    ul#social li a {
        color: #999;
        text-decoration: none;
    }

a.facebook, a.twitter {
    display: block;
    float: left;
    height: 24px;
    padding-left: 17px;
    text-indent: -9999px;
    width: 16px;
}

/* tables
/* TABLE 資料清單用 一般表格(非排版)
----------------------------------------------------------*/
/*客户列表表格頭背景*/
.listHeader {
    BORDER: 0;
    BACKGROUND-COLOR: white;
    width: 100%;
    color: #000;
    height: 30px;
    padding: 4px 4px 4px 8px;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    margin-top: 0.75em;
    border: 0 none;
    word-break: keep-all;
    white-space: nowrap;
}

th {
    padding: 6px 5px;
    text-align: center;
    background-color: #dcdcc5;
    color: black;
    font-weight: bold;
}

    th a {
        display: block;
        position: relative;
    }

        th a:link, th a:visited, th a:active, th a:hover {
            color: #333;
            font-weight: 600;
            text-decoration: none;
            padding: 0;
        }

        th a:hover {
            color: #000;
        }

    th.asc a, th.desc a {
        margin-right: .75em;
    }

        th.asc a:after, th.desc a:after {
            display: block;
            position: absolute;
            right: 0em;
            top: 0;
            font-size: 0.75em;
        }

        th.asc a:after {
            content: '▲';
        }

        th.desc a:after {
            content: '▼';
        }

td {
    padding: 0.25em 0.5em 0.25em 0em;
    border: 0 none;
}

tr.pager td {
    padding: 0 0.25em 0 0;
}

/* Pager 資料清單分頁 下方的頁數選擇*/
/* ----------------------------------------------------------------*/
.pager {
    margin: 8px 3px;
    padding: 3px;
}

    .pager .disabled {
        border: 1px solid #ddd;
        color: #999;
        margin-top: 4px;
        padding: 3px;
        text-align: center;
    }

    .pager .current {
        background-color: #6ea9bf;
        border: 1px solid #6e99aa;
        color: #fff;
        font-weight: bold;
        margin-top: 4px;
        padding: 3px 5px;
        text-align: center;
    }

    .pager span, .pager a {
        margin: 4px 3px;
    }

    .pager a {
        border: 1px solid #aaa;
        padding: 3px 5px;
        text-align: center;
        text-decoration: none;
    }

/********************
*   Mobile Styles   *
********************/
@media only screen and (max-width: 800px) {

    /* header
    ----------------------------------------------------------*/
    header .float-left,
    header .float-right {
        float: none;
    }

    /* logo */
    header .site-title {
        margin: 10px;
        text-align: center;
    }

    /* login */
    #login {
        font-size: .85em;
        margin: 0 0 12px;
        text-align: center;
    }

        #login ul {
            margin: 5px 0;
            padding: 0;
        }

        #login li {
            display: inline;
            list-style: none;
            margin: 0;
            padding: 0;
        }

        #login a {
            background: none;
            color: #999;
            font-weight: 600;
            margin: 2px;
            padding: 0;
        }

            #login a:hover {
                color: #333;
            }

    /* menu */
    nav {
        margin-bottom: 5px;
    }

    ul#menu {
        margin: 0;
        padding: 0;
        text-align: center;
    }

        ul#menu li {
            margin: 0;
            padding: 0;
        }


    /* main layout
    ----------------------------------------------------------*/
    .main-content,
    .featured + .main-content {
        background-position: 10px 0;
    }

    .content-wrapper {
        padding-right: 10px;
        padding-left: 10px;
    }

    .featured .content-wrapper {
        padding: 10px;
    }

    /* page content */
    article, aside {
        float: none;
        width: 100%;
    }

    /* ordered list */
    ol.round {
        list-style-type: none;
        padding-left: 0;
    }

        ol.round li {
            padding-left: 10px;
            margin: 25px 0;
        }

            ol.round li.zero,
            ol.round li.one,
            ol.round li.two,
            ol.round li.three,
            ol.round li.four,
            ol.round li.five,
            ol.round li.six,
            ol.round li.seven,
            ol.round li.eight,
            ol.round li.nine {
                background: none;
            }

    /* features */
    section.feature {
        float: none;
        padding: 10px;
        width: auto;
    }

        section.feature img {
            color: #999;
            content: attr(alt);
            font-size: 1.5em;
            font-weight: 600;
        }

    /* forms */
    fieldset input[type="text"],
    fieldset input[type="password"] {
        width: 90%;
    }

    /* login page */
    #loginForm {
        border-right: none;
        float: none;
        width: auto;
    }

        #loginForm .validation-error {
            display: block;
            margin-left: 15px;
        }

    #socialLoginForm {
        margin-left: 0;
        float: none;
        width: auto;
    }

    /* footer
    ----------------------------------------------------------*/
    footer .float-left,
    footer .float-right {
        float: none;
    }

    footer {
        text-align: center;
        height: auto;
        padding: 10px 0;
    }

        footer p {
            margin: 0;
        }

    ul#social {
        padding: 0;
        margin: 0;
    }

    a.facebook, a.twitter {
        background: none;
        display: inline;
        float: none;
        padding-left: 0;
        text-indent: 0;
    }
}

/* jQUERY UI Menu 設定為橫式顯示 */
.ui-menu {
    overflow: hidden;
}

    .ui-menu .ui-menu {
        overflow: visible !important;
        z-index: 999;
    }

    .ui-menu > li {
        float: left;
        display: block;
        width: auto !important;
    }

    .ui-menu ul li {
        display: block;
        float: none;
        z-index: 999;
    }

        .ui-menu ul li ul {
            left: 120px !important;
            width: 100%;
        }

            .ui-menu ul li ul li {
                width: auto;
            }

                .ui-menu ul li ul li a {
                    float: left;
                }

    .ui-menu > li {
        margin: 5px 5px !important;
        padding: 0 0 !important;
    }

        .ui-menu > li > a {
            float: left;
            display: block;
            clear: both;
            overflow: hidden;
        }

            .ui-menu > li > a:hover {
                color: #D31145;
            }

    .ui-menu .ui-menu-icon {
        margin-top: 0.3em !important;
    }

    .ui-menu .ui-menu .ui-menu li {
        float: left;
        display: block;
    }
