div.form p.description {
  clear:both;
  float:none;
  width:100%;
  margin:5px auto 10px;
  padding:10px 0px;
  text-align:center;
  background-color:#e5e5e5;
}

div.form p.comment {
  clear:both;
  float:none;
  width:100%;
  margin:5px auto;
  padding:10px 0px;
  text-align:center;
  border-radius:5px;
  background-color:#f2f2f2;
}

div.form legend, div.form h5.hiddenLegend, div.form div.fieldsetTabs {
  margin-top:0px;
  margin-bottom:10px;
  line-height:30px;
  font-size:17px;
  background-color:#eee;
  border-bottom:1px solid #e5e5e5;
  text-indent:20px;
  cursor:pointer;
  color:#333;
  background-image:url(images/upSmall.png);
  background-position:right center;
  background-repeat:no-repeat;
  font-weight:normal;
}

div.form div.fieldsetTabs {
	clear:both;
	background-image:none;
	text-indent:0px;
	background-color:#fff;
	border-bottom:2px solid #ddd;
}

div.form div.fieldsetTabs a {
  color: #333333;
  display:block;
  float:left;
  height:25px;
  line-height:20px;
  font-size:16px;
  min-width:110px;
  text-align:center;
  padding:5px 15px 0px;
  background-color:#fff;
}

div.form div.fieldsetTabs a:first-of-type {
  /*margin-left:20px;*/
}

div.form div.fieldsetTabs a.actual {
  background-color:#ddd;
}

div.form div.fieldsetTabs a.actual:hover {
  text-decoration:none;
}

div.form legend span, div.form h5.hiddenLegend span {
  display:inline;
  padding-left:15px;
  line-height:20px;
  font-size:14px;
  color:#80a0ff;
}

fieldset.hideFields legend {
  background-image:url(images/downSmall.png);
}

div.formNormal legend {
  background-image:none;
  cursor:default;
}

div.form hiddenLegend {
  font-weight:normal;
  border-bottom:1px dashed #ccc;
  background-color:#fff;
}

label.checkbox span {
  margin-top:0px;
}

#control select {
  height:30px;
  line-height:30px;
}

.form-horizontal .control-label {
  width:140px;
}

.form-horizontal .controls {
  margin-left: 160px;
}

.inline label {
  margin-top:10px;
  margin-right:10px;
  text-align:right;
  width:80px;
}

.inline input, .inline select {
  margin-top:10px;
}

.windowWrap .form-horizontal .control-label {
  width:100px;
}

.windowWrap .form-horizontal .controls {
  margin-left:120px;
}


input.int, select.int, span.int {
  text-align:right;
}

input.quantity, input.price, input.numeric, select.quantity, select.price, select.numeric, span.quantity, span.price, span.numeric {
  text-align:right;
}

select.quantity {
  width:75px;
}

input.amount, select.amount, span.amount {
  text-align:right;
}

input.tiny, select.tiny, span.tiny {
  width:50px;
}

input.code, select.code, span.code {
  width:70px;
}

input.date {
  width:80px;
}

input.time {
  width:50px;
}

input.days {
  width:30px;
}

input.name, select.name, div.name {
  width: 150px;
}

input.mediumname, select.mediumname, div.mediumname {
  width: 210px;
}

input.longname, select.longname, div.longname {
  width: 270px;
}

.bootstrap-timepicker {
  width:200px;
}

fieldset.fourColumns label.control-label {
  width:80px;
}

fieldset.fourColumns div.controls {
  margin-left:90px;
}

fieldset div.groupFields {
  width:60%;
  float:left;
}

fieldset div.groupImage {
  width:40%;
  float:right;
}

fieldset div.groupImage img {
  width:150px;
}

#divFormWorkOrder fieldset div.groupImage img {
  width:200px;
}

@media (max-width: 800px) {
  #divFormWorkOrder fieldset div.groupImage {
    float:none;
    width:100%;
    text-align:center;
    margin-bottom:10px;
  }
  #divFormWorkOrder fieldset div.groupImage img {
    width:300px;
  }
}

#bpartnerImage img.img-polaroid {
	width:150px;
	height:150px;
}

div.row-fluid div.form {
  margin-left:0px;
}

textarea.msg {
  height:150px;
}

div.formSmall .control-label {
  width:100%;
  text-align:left;
  text-indent:20px;
}

div.formSmall .controls {
  margin-left:20px;
}

textarea.html {
  height:200px;
}

#divFormQuery select.description {
  height:400px;
}

#divFormQuery textarea.description {
  height:300px;
}

form.disabled .btn {
  cursor: not-allowed;
  opacity:0.65;
  filter:alpha(opacity=65);
  -webkit-box-shadow:none;
  -moz-box-shadow:none;
  box-shadow:none;
}

td.field input.hide {
  float:right;
  margin:0px;
  padding:0px;
  width:0px;
  height:0px;
}

div.formPanel .form-horizontal .control-label {
  width:110px;
}

div.formPanel .form-horizontal .controls {
  margin-left:130px;
}

.help-field {
  padding-left:5px;
}

fieldset.settings {
	overflow:auto;
  max-height:380px;
  margin-top:10px;
  margin-bottom:10px;  
}

fieldset.settings p.description {
  width:60%;
  float:left;
  margin:5px 0px;
  padding:10px 0px;
  background-color:#ddd;
  border-radius:0px;
  text-align:left;
  text-indent:20px;
}

fieldset.settings div.control-group {
	clear:none;
  width:40%;
  float:left;
  margin:5px 0px;
  padding:5px 0px;
  background-color:#ccc;
}

fieldset.settings div.controls {
	margin:0px;
	margin-left:10px;
}