﻿body
{
    margin: 0;
    padding: 0;
}
body *
{
    font-size:12px;
}
a
{
    text-decoration:none;
}
a:hover
{
    text-decoration:none;
}

.DivStyle2
{
    width:100%;
    height:34px;
    background:#f3f3f3;
}
.TableStyle2
{
    width:100%;
    height:100%;
    font-size:14px;
    font-weight:bold;
}
.TableStyle2Head
{
    width:16px;
    background:url(../images/right/top-left.png) no-repeat;
}
.TableStyle2Body
{
    background:url(../images/right/top-bg.jpg) repeat-x;
}
.TableStyle2Foot
{
    width:16px;
    background:url(../images/right/top-right.png) no-repeat;
}

/*搜索条件部分*/
.TableStyle1
{
    width:99.9%;
    margin:2px auto;
}
.TrTopStyle, .TrTopStyle td
{
    padding-top:12px;
    padding-bottom:0px;
}
.TrMiddleStyle, .TrMiddleStyle td
{
    padding-top:6px;
    padding-bottom:0px;
}
.TrBottomStyle, .TrBottomStyle td
{
    padding-top:6px;
    padding-bottom:12px;
}
.TableStyle1 .tdLabel
{

    width:11%;
    text-align:right;
    
}
.TableStyle1 .tdControl
{
    width:22%;
}
.TableStyle1 .tdControl input[type="text"], .TableStyle1 .tdControl input[type="password"]
{
    width:90%;
    border:1px solid #DDD;
    padding:3px 5px;
	margin-bottom: 0px;
}
.TableStyle1 .tdControl2 input[type="text"]
{
    width:20%;
    border:1px solid #DDD;
    padding:3px 5px;
}
/*占5格时*/
.TableStyle1 .tdControl5 input[type="text"]
{
    width:98%;
    border:1px solid #DDD;
    height:18px;
    padding:3px 3px 1px 3px;
    overflow:hidden;
    
}
.TableStyle1 .tdControl select
{
    width:95%;
    height:22px;
}
.TableStyle1 .tdControl select[size="4"]
{
    height:250px;
    width:135px;
    font-size:14px;
    border:1px solid #e3e3e3;
    padding:10px;
}
.TableStyle1 .tdControl textarea
{
    width:98%;
    border:1px solid #DDD;
    height:100px;
    padding:3px;
}
/*按钮*/
.TbButtonStyle
{
    margin:15px 1%;
    border-collapse:collapse;
    border-spacing:0;
    height:22px;
}
.TbButtonStyle input[type="submit"]
{
    border-style: none;
	border-color: inherit;
	border-width: 0;
	background: url('../images/button/bg.jpg') repeat-x;
	padding: 0;
	margin:0;
	text-align:center;
    border-collapse:collapse;
    border-spacing:0;
    cursor:pointer;
    height:22px;
}
.TbButtonStyle .TbButtonStyleHead
{
    width:14px;
    background:url(../images/button/left.jpg) no-repeat;
    border-spacing:0;
}
.TbButtonStyle .TbButtonStyleBody
{
    border-spacing:0;
}
.TbButtonStyle .TbButtonStyleFoot
{ 
    width:14px;
    background:url(../images/button/right.jpg) no-repeat;
    border-spacing:0;
}
/*DataGrid*/
.datagrid
{
    width:99.9%;
    margin:2px auto;
}
.dg_header
{
    height:28px;
    background:none repeat scroll 0 0 #fbfbfb;
    padding-left:5px;
    border:1px solid #BBBBBB;
	text-align:center;
}
.dg_item
{
    height:30px;
    padding:0 5px;
    border:1px solid #BBBBBB;
    background:none repeat scroll 0 0 #fbfbfb;
}
.dg_itemprint
{
    height:30px;
    padding:0 5px;
    border:1px solid #BBBBBB;
    background:none repeat scroll 0 0 #fbfbfb;
    text-align:center;
}
.dg_item input[type="text"]
{
    height:20px;
    width:90%;
}
.dg_item textarea
{
    height:50px;
    width:90%;
}
.dg_item select
{
    width:120px;
}
.odd
{
    background:#EEE;
}
.ontr
{
    background:#B7B7B7;
    cursor:pointer;
}
/*tdStyle*/
.tdStyle1
{
    width:20%;
}
.tdStyle2
{
    width:30%;
}


/*autocomplete*/
.CompletionListStyle
{
    background:window;
    border:1px solid blue;
    color:WindowText;
    cursor:default;
    list-style-type:none;
    margin:0;
    padding:3px -3px 3px 3px;
    position:absolute;
    text-align:left;
}

/*配货单备注div*/
.CustomRemark
{
    margin:20px 60px auto;
}

/*订单一些样式*/
.InvoiceLeft
{
    width:150px;
    height:40px;
    text-align:right; 
    }
.InvoiceRight
{
    width:350px;
    height:40px;
    text-align:left; 
    }
.ForInvoiceTakePlace
{
    width:20px; 
    }
.OrdInvoiceTxtBorder
{
    border:1px solid #CCC;
    height:20px;
    width:300px;
}
.OrdInvoiceDroBorder
{
    border:1px solid #CCC;
    height:24px;
    width:302px;
    }
.OrdInvoiceTopCss
{
    width:90%;
    margin:0px auto;
    height:40px; 
    }
.OrdInvoiceBottomCss
{
    width:90%;
    margin:0px auto;
    height:80px; 
    }
.OrdInvoiceFormItem
{
    border-bottom: 2px dotted #CCCCCC;
    height:200px;
    margin: 15px 10px 0;
    text-align: left;
}
.OrdAddressTrade
{
   width:213px;
   height:20px;  
    }