

.form {
  border: 1px solid #ccc;
  display: block;
  background: #fff;
  width: auto;
  margin: 20px 0;
}

.field_note {
  color: #999;
  font-size: 10px;
  padding-left: 4px;
  top: 0px;
  position: relative;
}

.form .control input, .form .control textarea {
  width: 310px;
  font-size: 11px;
  font-family: Arial, Helvetica, sans-serif;
  border: 1px solid #a5acb2;
}

.form span input {
	width: auto;
	}

.form table {
  width: 100%;
  background: #f9f9f9;
  font-size: 11px;
  border-collapse: collapse;
}


.form td.control_container {
	width: 500px;
	}

.form td, .form th {
  padding: 10px 7px 5px 7px;
  border-bottom: 1px dashed #ccc;
  min-height: 1px;
 }

.form th {
  font-weight: normal;
  text-transform: uppercase;
  width: 200px;
  text-align: right;
  color: #333;
  padding-top: 15px;
  vertical-align: top;
}

.buttonstrip input {
  width: 130px;
  padding: 5px 10px;
}

.buttonstrip th {
  border: none;
  padding: 15px 10px;
  text-align: center;
  width: auto;
  background: #f9f9f9;
}

.buttonstrip p {
  text-align: left;
  font-size: 9px;
  line-height: 12px !important;
  text-transform: none;
}

sup {
  font-family: Arial, Helvetica, sans-serif;
  color: #cc0000;
  font-size: 20px;
  line-height: 0;
  position: relative;
  top: 1px;
  left: 2px;
  vertical-align: baseline;
  padding-right: 3px;
}

.input-very-short input {
  width: 60px !important;
}

/* For the calendar */
.control-locked {
  background: transparent;
  border-style: none;
  font-weight: bold;
  height: 15px;
  line-height: 13px;
  margin-right: 3px;
  position: relative;
  top: -4px;
  cursor: default;
  color: #000;
}

.input-date {
  width: 75px;
}

#calDeliveryDate a, #calDeliveryDate a:hover {
  margin-top: 15px;
  background: transparent; 
}

.form_header {
  text-transform: uppercase;
  font-size: 9px;
  padding-left: 1px;
}

#txtCode input {
	width: 100px;
	margin-right: 5px;
	}

#txtDescription input {
	width: 350px;
	margin-right: 5px;	
	}


#txtQty input {
	width: 40px;
	margin-right: 5px;	
	}
	
#txtPrice input {
	width: 60px;
	margin-right: 5px;	
	}
	
	
#btnAdd {
	width: auto !important;
	padding: 5px 10px;
	}
	
/* Datagrid */

.datagrid_container {
	border-top: 2px solid #ccc;
	border-bottom: 2px solid #ccc !important;	
	background: #ccc !important;	
	}

.datagrid_container td {
  padding: 0;
  margin: 0;
}

.datagrid_container h4 {
  margin-top: 5px !important;
  width: 400px;
}

.datagrid_container h4 object {
	margin: 0;
	}

.datagrid_container table, .datagrid_container tr {
  border: none;
  background: transparent;
}

.dataGrid {
	border: 1px solid #ccc;
	background: #fff !important;
	margin: 0 0 20px 0;
	}
	
.dataGrid td {
	padding: 5px;
	vertical-align: top;
	border: 1px solid #ccc;
	}
	
.dataGrid .odd td {
	background: #eee;
	}
	
.dataGrid .header td {
	font-weight: bold;
	color: #fff;
	background: #4fa600;
	}
	
.add_button{
  padding: 5px 10px;
  font-size: 11px;
  width: auto !important;
}

.product_code input {
  width: 100px !important;
}

.product_code .control,
.description .control,
.quantity .control,
.price .control {
	padding: 0;
	}

.description input {
  width: 350px !important;
}

.quantity input {
  width: 40px !important;
}

.price input {
  width: 60px !important;
}
