input, textarea, select {
  border-radius: 3px;
  border: solid 1px #AAAAAA;
  box-shadow: 1px 1px 0 0 rgba(200, 200, 200, 0.5) inset;

  padding: 2px 3px 3px;
  font-family: Calibri, Verdana, sans-serif;
  font-size: 12px;
  font-weight: normal;
}

input.checkbox,
input[type=checkbox] {
  border: 0;
  box-shadow: none;
}

input.loading,
select.loading,
textarea.loading {
  background-image: url("/images/loadingbar.gif");
}

input {
  height: 16px;
}

input[readonly] {
  background-color: #ededed;
  color: #333333;
}

div.form {
  float: left;
  width: 100%;
  margin-bottom: 4px;
}

div.form.small {
  margin-bottom: 2px;
}

div.form label {
  float: left;
  padding: 1px;
}

div.data label {
  margin-right: 1px;
}

div.form label.field {
  width: 150px;
}

div.form.small label.field {
  width: 100px;
}

div.form.xsmall label.field {
  width: 80px;
}

div.nomargin label.field {
  margin: 0;
}

div.form label.value,
div.form div.value {
  width: 300px;
}

div.form div.value {
  float: left;
}

div.form div.field {
  float: left;
  width: 35%;
}

div.form div.value {
  float: left;
  width: 60%;
}

div.form div.value input,
div.form div.value select,
div.form div.value textarea {
  width: 99%;
}

div.form div.value input[type=checkbox] {
  width: 20px;
}

div.form .buttons {
  max-width: 450px;
  text-align: right;
  margin-top: 15px;
}

div.form.buttons {
  text-align: right;
}

div.form input,
div.form select,
div.form textarea {
  font-family: Calibri, serif;
  font-size: 12px;
}

div.form label.value input {
  width: 290px;
}

div.form label.value select {
  width: 296px;
}

div.form label.value[rel="combobox"] select {
  width: 265px;
}

div.form label.value input.checkbox {
  width: 20px;
}

div.form label.value input.small {
  width: 150px;
}

div.form label.value textarea {
  width: 290px;
  height: 100px;
}

input.blurred {
  font-style: italic;
  color: #888888;
}

div.head label {
  font-weight: bold;
}

div.form label.right {
  text-align: right;
}

div.form label.left {
  text-align: left;
}

div.form label.center {
  text-align: center;
}

/***** SELECT / COMBOBOX *****/

input.combobox {
  border-radius: 3px 0 0 3px;
  border-right: 0;
}

ul.ui-autocomplete {
  list-style: none outside none;
  margin: 0;
  padding: 0;
  cursor: default;
  max-height: 350px;
  overflow: auto;
  position: absolute;
  text-align: left;
  float: left;
  overflow-x: hidden;

  background-color: #0060AA;
  opacity: 0.9;

  border: 0;
  border-radius: 0 0 4px 4px;
  width: 210px;
}

ul.ui-autocomplete li {
  float: left;
  width: 100%;
  margin: 1px;
  padding: 4px 5px;
  border: 0 !important;
  overflow: hidden;

  text-transform: none;
  font-weight: normal;
  font-size: 12px;
}

ul.ui-autocomplete li a {
  color: #FFFFFF !important;
  text-shadow: none !important;
  text-decoration: none !important;
  cursor: pointer;
}

ul.ui-autocomplete li:hover {
  background: #005291 none !important;
  border-top: solid 1px #003660 !important;
  border-bottom: solid 1px #0077D3 !important;
  padding-top: 3px !important;
  padding-bottom: 3px !important;
}

ul.ui-autocomplete li:hover a {
  color: #FFAA00 !important;
  text-decoration: none !important;
}

/***** DATE PICKER *****/
div.ui-datepicker.ui-widget.ui-widget-content.ui-helper-clearfix.ui-corner-all {
  display: none;
  padding: 4px;
  width: 17em;
  border-radius: 4px 4px 4px 4px;
  background-color: #0060AA;
  color: #333333;
  font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif;
  font-size: 1.1em;
  opacity: 0.9;
}

div.ui-datepicker-header.ui-widget-header.ui-helper-clearfix.ui-corner-all {
  padding: 0.2em 0;
  position: relative;
  border-radius: 4px 4px 4px 4px;
  background: url("../../images/default/ui/ui-bg_gloss-wave_35_f6a828_500x100.png") repeat-x scroll 50% 50% #F6A828;
  border: 1px solid #E78F08;
  color: #FFFFFF;
  font-weight: bold;
  display: block;
  height: 16px;
}

a.ui-datepicker-prev.ui-corner-all {
  left: 2px;
  background-position: -97px -16px;
}

a.ui-datepicker-next.ui-corner-all {
  right: 2px;
  background-position: -33px -16px;
}

a.ui-datepicker-prev.ui-corner-all,
a.ui-datepicker-next.ui-corner-all {
  background-image: url("../../images/default/ui/icons.png");
  height: 16px;
  width: 16px;
  position: absolute;
  top: 2px;
  color: #FFFFFF;
  cursor: pointer;
}

a.ui-datepicker-prev.ui-corner-all:hover,
a.ui-datepicker-next.ui-corner-all:hover {
  background-color: #EEEEEE;
  border-radius: 3px;
}

span.ui-icon.ui-icon-circle-triangle-w,
span.ui-icon.ui-icon-circle-triangle-e {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -8px;
  margin-top: -8px;
  height: 16px;
  width: 16px;
  background-repeat: no-repeat;
  overflow: hidden;
  text-indent: -99999px;
}

table.ui-datepicker-calendar {
  border-collapse: collapse;
  font-size: 0.9em;
  width: 100%;
  margin-top: 5px;
}

table.ui-datepicker-calendar td,
table.ui-datepicker-calendar th {
  border: 0 none;
  padding: 1px;
  color: #FFFFFF;
}

table.ui-datepicker-calendar td a.ui-state-default {
  font-weight: bold;
  display: block;
  padding: 0.2em;
  text-align: right;
  text-decoration: none;
  color: #FFFFFF;

  background: #005291 none;
  border: solid 1px #0060AA;
  border-top: solid 1px #003660;
  border-bottom: solid 1px #0077D3;
}

table.ui-datepicker-calendar td a.ui-state-default:hover {
  background-color: #0077D3;
}

table.ui-datepicker-calendar td a.ui-state-default.ui-state-highlight {
  border: 0;
  background-color: #F7B850;
  border-radius: 2px;
}
