﻿body, div, table, tr, th, td
{
    margin:0;
    padding:0;
}

body 
{ 
    background-color: #336666;
    background-repeat: repeat-x;
    background-attachment: fixed;
}

/*將background-image獨立以解決IE8判定錯誤的問題*/   
body 
{ 
    background-color: #A1610A;     
}

body
{
    background-image: url('images/bg_login_green.png');
}

/*
body
{
    background-color: #FFFFFF;
    background-position: right bottom;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

body
{
    background-image:url('images/bg_page.jpg');
}
*/

table
{
    width: 100%;
}

#container 
{
    background-color: #FFFFFF;
    border: solid 1px #EBE1CF;
    padding: 0.6em;
    filter:progid:DXImageTransform.Microsoft.Shadow(color=#DEDEDE,direction=120,strength=1);
    box-shadow: 1px 0px 2px #DEDEDE;
    border-radius: 2px; 
    margin-left: auto;
    margin-right: auto;
    margin-top: 2em;
    width: 960px;
}

#header 
{
    background-color: #336666;
    border-top:solid 1px #336666;
    padding-left:0.3em;
    color: #FFFFFF;
    font-family: 新細明體;
    font-size: 1.7em;
    font-weight: bold;
    letter-spacing: 0.1em;
    border-radius: 2px; 
}

#main 
{
    margin-top: 0.6em;
}

input[type="text"], input[type="password"] {
    border-top:solid 1px #999999;
    border-right:solid 1px #DDDDDD;
    border-bottom:solid 1px #DDDDDD;
    border-left:solid 1px #999999;
    font-size:1em;
    line-height: 1.1em;  
    height: 1.3em;
    margin-top:0.15em;
    border-radius: 2px;
}

input[type="button"], input[type="submit"]
{
    border-top:solid 1px #DDDDDD;
    border-right:solid 1px #999999;
    border-bottom:solid 1px #999999;
    border-left:solid 1px #DDDDDD;
    font-size:1em;
    line-height: 1.1em;
    background: url("images/bg_button.png") repeat-x scroll 50% 50%;
    padding: 0.1em 0.4em 0.2em;
    margin: 0 0.1em;
    border-radius: 2px; 
}

.div-buttonlist-main input
{
    border-top:solid 1px #DDDDDD;
    border-right:solid 1px #999999;
    border-bottom:solid 1px #999999;
    border-left:solid 1px #DDDDDD;
    width:100px;
    font-size:1em;
    font-weight: bold;
    line-height: 1.2em;
    letter-spacing: 0.15em;
    margin: 0;
    background: url("images/bg_button.png") repeat-x scroll 50% 50%;
    padding: 0.2em 0.6em 0.3em;
    border-radius: 2px; 
}

.div-report-main
{
    border: 1px solid #DDDDDD;
    padding: 10px;
}

.div-view-main, .div-buttonlist-main, .div-report-main
{
    margin:0.6em 0 0 0;
}

.table-list-main, .table-view-main
{
    border-collapse: separate;
    border-spacing: 1px;
    table-layout:fixed;
}

.table-list-main th, .table-view-main th
{
    background-color: #336666;
    color: #FFFFFF;
    font-weight:normal;
    padding: 3px;
    border: 1px solid #336666;
}  

.table-list-main td, .table-view-main td
{
    padding: 3px;
    background-color: #EFEFEF;
    border: 1px solid #EBE1CF;
}

.table-dialog-main
{
    border-collapse: separate;
    border-spacing: 6px;
    table-layout:fixed;
    font-size: 0.85em;
}

.table-dialog-main th
{
    padding: 3px;
    font-weight:normal;
    text-align: left;
    padding: 0px;
    line-height: 1.4;
}

.ErrorMessage
{
    border: solid 1px Red;
    color: Red;
    background-color: Yellow;
    padding: 4px 2px 5px 2px;
}

.selectedrow td
{
    background-color: #336666;
    color: #FFFFFF;
}  

.calendar, #ui-datepicker-div
{
    z-index:2000;
}  




    
