*,
*:before,
*:after
{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html, body
{
    margin: 0;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    background-color: #ECE9D8;
    min-width: 980px;
    height: 100%;
}

#wrap
{
    width: 980px;
    position: relative;
    min-height: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: -90px;
    padding: 0 0 90px;
    background-color: #FFFFFF;
}

#footer
{
    position: relative;
    font-size: 11px;
    background: url(/images/BgCopyRight.gif) repeat-x;
    background-color: #FFFFFF;
    margin-top: 20px;
    padding-top: 10px;
    height: 72px;
    text-align: center;
    color:#999999;
}

    #footer .footerBody
    {
        width: 950px;
        margin-left: auto;
        margin-right: auto;
    }
.div_table-cell{
    width:980px; 
	height:100px;
	display:table-cell; 
	vertical-align:middle;
	}
 
/* IE6 hack */
.div_table-cell span{
	height:100%; 
	display:inline-block;
	}
 
/* 讓table-cell下的所有元素都居中 */
.div_table-cell *{ vertical-align:middle;}
.LoginTable
{
    width:320px;
    margin-left:auto;
    margin-right:auto;
    vertical-align:middle;
}

/* styles for validation helpers */
.field-validation-error
{
    color: #880000;
    font-weight: bold;
}

@media screen and (max-width: 979px)
{
    html, body
    {
        min-width: 100%;
    }
    #wrap
    {
        width: 100%;
    }
    #footer
    {
        height: auto;
    }
    #footer .footerBody
    {
        width: 100%;
    }
    .div_table-cell
    {
        width: 100%;
        height:auto;
        padding-left:10px;
        padding-right:10px;
    }
}
/*********************************************
 mispig : the Table style
*********************************************/
.detail
{
    border-collapse: collapse;
    width: 97%;
    margin-right: 0px;
    margin-top: 10px;
    margin-left: 10px;
}

    .detail td
    {
        background-color: #FFFFFF;
        border: 1px solid #253f2e;
        cursor: default;
        text-align: left;
        padding-left: 5px;
        padding-top:5px;
        padding-bottom:5px;
    }

        .detail td.head
        {
            background-color: #E2EAF2!important;
            text-align: right;
            font-weight: lighter;
            white-space: nowrap;
            width: 110px;
            padding-top: 5px;
            padding-bottom: 5px;
        }

table.SelectCSS td
{
    border: 0px;
    background-color: Transparent;
}
/*********************************************
 mispig : the Control style
*********************************************/
input[type="text"], input[type="password"] { 
    background: none repeat scroll 0 0 #FBFBFB;
    border: 1px solid #c4c4c4; 
    height: 24px; 
    font-size: 15px; 
    padding: 1px 4px 1px 4px; 
    border-radius: 4px; 
    -moz-border-radius: 4px; 
    -webkit-border-radius: 4px; 
    box-shadow: 0px 0px 8px #d9d9d9; 
    -moz-box-shadow: 0px 0px 8px #d9d9d9; 
    -webkit-box-shadow: 0px 0px 8px #d9d9d9; 
} 
 input[type="text"]:hover, input[type="password"]:hover { 
    background: none repeat scroll 0 0 #FFFFFF;
     outline: none; 
    border: 1px solid #808080; 
    box-shadow: 0px 0px 8px #808080; 
    -moz-box-shadow: 0px 0px 8px #808080; 
    -webkit-box-shadow: 0px 0px 8px #808080; 
} 
input[type="text"]:focus, input[type="password"]:focus { 
    outline: none; 
    border: 1px solid #7bc1f7; 
    box-shadow: 0px 0px 8px #7bc1f7; 
    -moz-box-shadow: 0px 0px 8px #7bc1f7; 
    -webkit-box-shadow: 0px 0px 8px #7bc1f7; 
} 
.btnBlack {
	-moz-box-shadow:inset 0px 1px 3px 0px #fafafa;
	-webkit-box-shadow:inset 0px 1px 3px 0px #fafafa;
	box-shadow:inset 0px 1px 3px 0px #fafafa;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #474646), color-stop(1, #000000));
	background:-moz-linear-gradient(top, #474646 5%, #000000 100%);
	background:-webkit-linear-gradient(top, #474646 5%, #000000 100%);
	background:-o-linear-gradient(top, #474646 5%, #000000 100%);
	background:-ms-linear-gradient(top, #474646 5%, #000000 100%);
	background:linear-gradient(to bottom, #474646 5%, #000000 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#474646', endColorstr='#000000',GradientType=0);
	background-color:#474646;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	border-radius:5px;
	border:1px solid #000000;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family:arial;
	font-size:13px;
	font-weight:bold;
	padding:7px 26px;
    letter-spacing:2px;
	text-decoration:none;
	text-shadow:0px -1px 0px #000000;
}
.btnBlack:hover {
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #000000), color-stop(1, #474646));
	background:-moz-linear-gradient(top, #000000 5%, #474646 100%);
	background:-webkit-linear-gradient(top, #000000 5%, #474646 100%);
	background:-o-linear-gradient(top, #000000 5%, #474646 100%);
	background:-ms-linear-gradient(top, #000000 5%, #474646 100%);
	background:linear-gradient(to bottom, #000000 5%, #474646 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#000000', endColorstr='#474646',GradientType=0);
	background-color:#000000;
}