/*table css*/
.grid{
	margin:15px 0 15px 0;
}


.grid_queryitem{
	
    background: #dce9f9;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#ebf3fc), to(#dce9f9));
    background-image: -webkit-linear-gradient(top, #ebf3fc, #dce9f9);
    background-image:    -moz-linear-gradient(top, #ebf3fc, #dce9f9);
    background-image:     -ms-linear-gradient(top, #ebf3fc, #dce9f9);
    background-image:      -o-linear-gradient(top, #ebf3fc, #dce9f9);
    background-image:         linear-gradient(top, #ebf3fc, #dce9f9);
    -webkit-box-shadow: 0 1px 0 rgba(255,255,255,.8) inset; 
    -moz-box-shadow:0 1px 0 rgba(255,255,255,.8) inset;  
    box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;        
    border-top: none;
    text-shadow: 0 1px 0 rgba(255,255,255,.5);
	border-left: 1px solid #ccc;
    border-top: 1px solid #ccc;
    padding: 5px;
    text-align: left;
font-weight: bold;
}

.grid_footer {
    border: solid #ccc 1px;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    border-radius:  0 0 6px 6px;
    -webkit-box-shadow: 0 1px 1px #ccc; 
    -moz-box-shadow: 0 1px 1px #ccc; 
    box-shadow: 0 1px 1px #ccc;
	margin: 0px ;
	background: #EFEFEF;
	
}
.grid-toolbar{
    border: solid #ccc 1px;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    border-radius:  6px 6px 0 0 ;
    -webkit-box-shadow: 0 1px 1px #ccc; 
    -moz-box-shadow: 0 1px 1px #ccc; 
    box-shadow: 0 1px 1px #ccc;
	margin: 0px ;
	background: #EFEFEF;
	padding: 5px;	
}
.grid-query{
    border: solid #ccc 1px;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    border-radius:  6px  6px  6px  6px ;
    -webkit-box-shadow: 0 1px 1px #ccc; 
    -moz-box-shadow: 0 1px 1px #ccc; 
    box-shadow: 0 1px 1px #ccc;
	margin: 0px ;
	background: #EFEFEF;
	padding: 3px;
	min-height:45px
	
}


.grid_data td, .grid_table th {
    border: 1px solid #DCDCDC;
    padding: 5px 5px;
}
.grid_data th  {
    background: none repeat scroll 0 0 #EFEFEF;
}





.report_data {
    border: solid #ccc 1px;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    border-radius: 0px;
    -webkit-box-shadow: 0 1px 1px #ccc; 
    -moz-box-shadow: 0 1px 1px #ccc; 
    box-shadow: 0 1px 1px #ccc;
	margin: 0px ;
      
}



.report_data {
    border: solid #ccc 1px;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    border-radius: 0px;
    -webkit-box-shadow: 0 1px 1px #ccc; 
    -moz-box-shadow: 0 1px 1px #ccc; 
    box-shadow: 0 1px 1px #ccc;
	margin: 0px ;
      
}
   
    
.report_data td, .grid_data th {
    border-left: 1px solid #ccc;
    border-top: 1px solid #ccc;
    padding: 5px;
   
}

.report_data th {
    background: #dce9f9;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#ebf3fc), to(#dce9f9));
    background-image: -webkit-linear-gradient(top, #ebf3fc, #dce9f9);
    background-image:    -moz-linear-gradient(top, #ebf3fc, #dce9f9);
    background-image:     -ms-linear-gradient(top, #ebf3fc, #dce9f9);
    background-image:      -o-linear-gradient(top, #ebf3fc, #dce9f9);
    background-image:         linear-gradient(top, #ebf3fc, #dce9f9);
    -webkit-box-shadow: 0 1px 0 rgba(255,255,255,.8) inset; 
    -moz-box-shadow:0 1px 0 rgba(255,255,255,.8) inset;  
    box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;        
    border-top: none;
    text-shadow: 0 1px 0 rgba(255,255,255,.5); 
}





.grid_data_div{
	width:100%;
	overflow-x: auto;
    border: solid #ccc 1px;
}
.serial{
    border: 1px solid #DCDCDC;
    padding: 5px 5px;
	background: none repeat scroll 0 0 #EFEFEF;
	text-align: center;
}
.header{
	cursor:pointer;
	text-align: center;
}
.header:hover{
    background:#DDDDDD
}
.nowsele .cell{
	 background:#FF8F19;
	 color:white;
}
.msg{
	  color: #996600;
	  font-size: 12px;
}

/*嚙踝蕭嚙踝蕭*/

.pagebar {
    color: #FFFFFF;
    font-family: Arial;
    font-size: 9pt;
    margin: 5px;
    padding: 5px;
}
.pagebar a {
    color: #FFFFFF;
    font-family: Arial;
    font-size: 9pt;
    margin: 5px;
    padding: 5px;
}
.pagebar span.first,span.previous,span.next,span.last {

    font-family:Arial;
    font-weight:normal;
    -moz-border-radius:8px;
    -webkit-border-radius:8px;
    border-radius:8px;
    border:1px solid #f5d398;
    padding:3px 6px;
    margin:3px;
    text-decoration:none;
    background:-moz-linear-gradient( center top, #fadaa3 5%, #f5ce8b 100% );
    background:-ms-linear-gradient( top, #fadaa3 5%, #f5ce8b 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fadaa3', endColorstr='#f5ce8b');
    background:-webkit-gradient( linear, left top, left bottom, color-stop(5%, #fadaa3), color-stop(100%, #f5ce8b) );
    background-color:#fadaa3;
    color:#ffffff;
    display:inline-block;
    text-shadow:1px 1px 0px #dbb67f;
    -webkit-box-shadow:inset 1px 1px 0px 0px #fceaca;
    -moz-box-shadow:inset 1px 1px 0px 0px #fceaca;
    box-shadow:inset 1px 1px 0px 0px #fceaca;
}
.pagebar a.first,a.previous,a.next,a.last{
    font-family:Arial;
    font-weight:normal;
    -moz-border-radius:8px;
    -webkit-border-radius:8px;
    border-radius:8px;
    border:1px solid #e65f44;
    padding:3px 6px;
    margin:3px;
    text-decoration:none;
    background:-moz-linear-gradient( center top, #f0c911 5%, #f2ab1e 100% );
    background:-ms-linear-gradient( top, #f0c911 5%, #f2ab1e 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f0c911', endColorstr='#f2ab1e');
    background:-webkit-gradient( linear, left top, left bottom, color-stop(5%, #f0c911), color-stop(100%, #f2ab1e) );
    background-color:#f0c911;
    color:#c92200;
    display:inline-block;
    text-shadow:1px 1px 0px #ded17c;
    -webkit-box-shadow:inset 1px 1px 0px 0px #f9eca0;
    -moz-box-shadow:inset 1px 1px 0px 0px #f9eca0;
    box-shadow:inset 1px 1px 0px 0px #f9eca0;
    cursor: pointer;
}
.pagebar .page {
    background: none repeat scroll 0 0 #FFFFFF;
    border: 1px none #000000;
    border-radius: 13px;
    color: #000000;
    margin: 3px;
    padding: 3px 6px;
    cursor: pointer;
}


.pagebar .current {
    background: none repeat scroll 0 0 #FF7F50;
    border-radius: 13px;
    margin: 3px;
    padding: 3px 6px;
}
.pagebar .total {
    color: #808080;
    font-weight: bold;
    margin: 3px;
    padding: 3px 6px;
}
.pagebar .total_num {
    color: #047AFD;
}

.query_div_button {
    background: linear-gradient(to bottom, #3D94F6 5%, #1E62D0 100%) repeat scroll 0 0 #3D94F6;
    border: 1px solid #337FED;
    border-radius: 6px;
    box-shadow: 0 1px 0 0 #97C4FE inset;
    color: #FFFFFF;
    cursor: pointer;
    display: inline-block;
    font-family: arial;
    font-size:12px;
    font-weight: bold;
    margin: 5px;
    padding: 5px;
    text-decoration: none;
    text-shadow: 0 1px 0 #1570CD;
    width: 60px;
}


.grid_button {
    font-size:14px;
    font-family:Arial;
    font-weight:normal;
  
    border-radius:4px;
    border:1px solid #9e9c9e;
    padding:5px 10px;
    margin:3px;
    text-decoration:none;
    background:-moz-linear-gradient( center top, #ffffff 5%, #cccccc 100% );
    background:-ms-linear-gradient( top, #ffffff 5%, #cccccc 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#cccccc');
    background:-webkit-gradient( linear, left top, left bottom, color-stop(5%, #ffffff), color-stop(100%, #cccccc) );
    background-color:#ffffff;
    color:#000000;
    display:inline-block;
    text-shadow:1px 1px 0px #ffffff;
    -webkit-box-shadow:inset 1px 1px 0px 0px #ffffff;
    -moz-box-shadow:inset 1px 1px 0px 0px #ffffff;
    box-shadow:inset 1px 1px 0px 0px #ffffff;
}.grid_button:hover {
    background:-moz-linear-gradient( center top, #cccccc 5%, #ffffff 100% );
    background:-ms-linear-gradient( top, #cccccc 5%, #ffffff 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#cccccc', endColorstr='#ffffff');
    background:-webkit-gradient( linear, left top, left bottom, color-stop(5%, #cccccc), color-stop(100%, #ffffff) );
    background-color:#cccccc;
}.grid_button:active {
    position:relative;
    top:1px;
}


.query_button {
    font-size:16px;
    font-family:Arial;

    -moz-border-radius:8px;
    -webkit-border-radius:8px;
    border-radius:8px;
    border:1px solid #469df5;
    padding:2px 4px;
    margin:3px;
    text-decoration:none;
    background:-moz-linear-gradient( center top, #79bbff 5%, #4197ee 100% );
    background:-ms-linear-gradient( top, #79bbff 5%, #4197ee 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#79bbff', endColorstr='#4197ee');
    background:-webkit-gradient( linear, left top, left bottom, color-stop(5%, #79bbff), color-stop(100%, #4197ee) );
    background-color:#79bbff;
    color:#ffffff;
    display:inline-block;
    text-shadow:1px 1px 0px #287ace;
    -webkit-box-shadow:inset 1px 1px 0px 0px #cae3fc;
    -moz-box-shadow:inset 1px 1px 0px 0px #cae3fc;
    box-shadow:inset 1px 1px 0px 0px #cae3fc;
}
.query_button:hover {
    background:-moz-linear-gradient( center top, #378de5 5%, #79bbff 100% );
    background:-ms-linear-gradient( top, #378de5 5%, #79bbff 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#378de5', endColorstr='#79bbff');
    background:-webkit-gradient( linear, left top, left bottom, color-stop(5%, #378de5), color-stop(100%, #79bbff) );
    background-color:#378de5;
}
.query_button:active {
    position:relative;
    top:1px;
}
.css_btn_class {
    
    font-size:12px;
    font-family:Arial;
    font-weight:normal;
    -moz-border-radius:10px;
    -webkit-border-radius:10px;
    width:20px;
    height:20px;
    border-radius:10px;
    border:1px solid #d83526;
    padding:2px 2px;
    text-decoration:none;
    background:-moz-linear-gradient( center top, #fa665a 5%, #d34639 100% );
    background:-ms-linear-gradient( top, #fa665a 5%, #d34639 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fa665a', endColorstr='#d34639');
    background:-webkit-gradient( linear, left top, left bottom, color-stop(5%, #fa665a), color-stop(100%, #d34639) );
    background-color:#fa665a;
    color:#ffffff;
    display:inline-block;
    text-shadow:1px 1px 0px #98231a;
    -webkit-box-shadow:inset 1px 1px 0px 0px #fab3ad;
    -moz-box-shadow:inset 1px 1px 0px 0px #fab3ad;
    box-shadow:inset 1px 1px 0px 0px #fab3ad;
}.css_btn_class:hover {
    background:-moz-linear-gradient( center top, #d34639 5%, #fa665a 100% );
    background:-ms-linear-gradient( top, #d34639 5%, #fa665a 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#d34639', endColorstr='#fa665a');
    background:-webkit-gradient( linear, left top, left bottom, color-stop(5%, #d34639), color-stop(100%, #fa665a) );
    background-color:#d34639;
}.css_btn_class:active {
    position:relative;
    top:1px;
}


.query .item,.value{
    width:150px;
}

.query .type{
    width:120px;
}