﻿html {
    height:100%;
}

body {
    padding: 0px;
    margin: 0px;
    font: 12pt 微軟正黑體;
    height:100%;
}

    body > div {
        /*width: 1000px;*/
        margin: 0px auto;
    }

ul, li {
    list-style: none;
    padding: 0px;
    margin: 0px;
}

a {
}

img {
    border-style: none;
}

#Header {
    height: 122px;
}

#Main {
}

    #Main > div {
        float: left;
        /*height: 600px;*/
    }

#Left {
    width: 195px;
    background-color:#668CB0;
}
/*#Right {
    width: 80% ! important 
}*/
@media all and (max-width: 320px) {
    #Left {
    width: 200px;
    }
}


#LogoutDiv {
    margin-top: 0px;
    padding: 0 0px;
    text-align: center;
}

    #LogoutDiv a {
        border: 0px;
    }

#Menu {
    margin-top: 20px;
    padding: 0 10px;
}

.MenuItem {
    margin-bottom: 5px;
}

#SubMenu {
}

.SubMenuItem {
    margin-top: 5px;
    margin-left: 16px;
}


#PageTitle {

    height: 36px;
    display: block;
    vertical-align: middle;
}

    #PageTitle span {
        /*color: white;*/
        font-weight: bold;
        position: relative;
        top: 4.5px;
        left: 5px;
    }

    #PageTitle img {
        margin-top: 4.5px;
        margin-left: 15px;
    }

#Content {
    padding: 10px;
    padding-top: 20px;
}

    #Content div {
        
    }

#AlertMessageDiv {
    position: fixed;
    left: 50%;
    top: 50%;
    background-color: rgba(128, 128, 128, 0.50);
    display: inline-block;
    font-weight: bold;
    font-size: 30px;
}

#Footer {
}

.Partial {
    margin-bottom: 5px;    
}

.TableCss, .TableCss tr, .TableCss th, .TableCss td {
    border: solid 1px #808080;
}

.TableCss {
    border-collapse: collapse;
    width: 100%;
    background-color: #DFE6FF;
}

    .TableCss th {
        background-color: rgba(0, 125, 250, 0.50);
        text-align:left;
     
    }

#QueryPartial {
}

#ActionMenuPartial {
    display:inline-block;
}

#EditorPartial {
}

#ListPartial {
}

.TableCss .DataHeader {
    border: solid 1px;
    background-color: #dddddd;
}

.TableCss .DataRow {
    text-align: center;
}

    .TableCss .DataRow:hover {
        background-color: rgba(255, 0, 0, 0.50);
    }

    .TableCss .DataRow.Selected {
        background-color: rgba(255, 106, 0, 0.50);
    }

.TableCss .DataChanged {
    background-color: rgba(255, 216, 0, 0.50);
}

/* styles for validation helpers */
.field-validation-error {
    color: #e80c4d;
    font-weight: bold;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #e80c4d;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #e80c4d;
    font-weight: bold;
    font-size: 1.1em;
}

.validation-summary-valid {
    display: none;
}

.LoginPSC {
    width: 140px;
}

.DateInput {
    width: 100px;
    /*font-size: 10px;
    font-size: 12px \9;*/
}

.ui-datepicker-trigger {
    position: relative;
    top: 6px;
    left: 2px;
}

#QueryBtn {
    position: relative;
    /*top: 5px;*/
}

/*================QueryTable========================*/
.QueryTable
{
border:1px solid #a3bad9;
border-collapse:collapse;
height:auto;
font-weight:bold;
width:100%;
}
.QueryTable th
{
	padding: 5px;
	background-color: #CCFFFF;
	color: #5555FF;
	text-align: center;
	border: 1px solid #a3bad9;
	width:100px;
    max-width:130px;  
    min-width:130px; 

}
.QueryTable td
{
    border-left: 1px solid #a3bad9;
	border-right: 1px solid #a3bad9;
	border-top: 0px solid #a3bad9;
   	border-bottom:1px solid #a3bad9;
   	padding:5px;
	text-align:left;
    white-space:normal;
    min-width:150px;
}
/*================END QueryTable========================*/
.DDL_ORG,.DDL_EMP,.DDL_COMM_LIST{
    width:150px;
}
.k-grid tr:hover {
    cursor:pointer;
}
