/* NAVIGATION */
ul.nav li.dropdown:hover ul.dropdown-menu {
    display: block;
}

/* DOCUMENT FORM: STATUS */
.document-status-1 .document,
.document-status-2 .document,
.document-status-3 .document,
.document-status-4 .document,
.document-status-5 .document {
  display: none;
}

/* DOCUMENT FORM: CUSTOMER */
#div_id_customer,
#div_id_payment_terms {
  display: inline-block; }

.bootstrap-datetimepicker-widget td.today {
  background-color: #f2dede;
}

/* DOCUMENT FORM: DOCUMENT ITEMS */
.items-header .row div {
  font-weight: bold; }

.item {
  border: 1px solid transparent;
  position: relative;
  padding: 16px;
  border-radius: 0; }
  .item .item-type {
    background: none;
    border: none;
    color: #333;
    font-weight: bold;
    font-size: 12px;
    position: absolute;
    top: -10px;
    -webkit-appearance: none;
    -moz-appearance: none;
    display: block !important; }
  .item .actions {
    visibility: hidden; }
  .item:nth-child(odd) {
    background: #f5f5f5;
    border: 1px solid #e3e3e3; }
  .item:hover {
    background-color: #337ab7; }
    .item:hover .item-type,
    .item:hover .subtotal {
      color: white; }
    .item:hover .actions {
      visibility: visible; }

.well {
  padding: 16px;
  border-radius: 0; }

.ui-sortable-placeholder {
  border: 4px dashed #e3e3e3 !important;
  visibility: visible !important; }

.items .item-body .item:first-child {
  border-top: none; }
.items .item-body .item:last-child:hover .add-item-row {
  visibility: hidden !important; }

.item > .row > div {
  padding-top: 8px;
  padding-bottom: 8px; }

.item-pagebreak .title *,
.item-pagebreak .quantity *,
.item-pagebreak .rate *,
.item-pagebreak .tax-rate *,
.item-pagebreak .discount *,
.item-pagebreak .subtotal span,
.item-pagebreak .description *,
.item-title .title textarea,
.item-title .quantity *,
.item-title .rate *,
.item-title .tax-rate *,
.item-title .discount *,
.item-title .subtotal span,
.item-title .description *,
.item-subtotal .title *,
.item-subtotal .quantity *,
.item-subtotal .rate *,
.item-subtotal .tax-rate *,
.item-subtotal .discount *,
.item-subtotal .description *,
.item-comment .title input,
.item-comment .quantity *,
.item-comment .rate *,
.item-comment .tax-rate *,
.item-comment .discount *,
.item-comment .subtotal span,
.item label,
.item-template {
  display: none; }

.item-pagebreak {
  border-top: 4px dashed #e3e3e3 !important; }

.item-title .title .input-group-btn,
.item-comment .title .input-group-btn {
  display: none; }

.item-title .title input {
  border-top-right-radius: 4px !important;
  border-bottom-right-radius: 4px !important; }

.item .title .input-group {
  width: 100%; }

.item .subtotal {
  text-align: right;
  white-space: nowrap;
  padding-top: 15px !important; }

.item .description textarea {
  width: 100%; }

/* Input group for input + select */
.input-group .input-group-btn select.form-control {
  -webkit-appearance: none;
  border-radius: 4px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-left: 0;
  background-color: #eee; }

/* FIXME: This was necessary to make form controls in services detail view visible */
.input-group-btn {
  width: auto; }

textarea.auto-expand {
  display: block;
  box-sizing: padding-box;
  overflow: hidden; }

.title textarea {
  margin-top: 10px;
  width: 100% !important; }

.document #div_id_status {
  display: inline-block; }
  .document #div_id_status label {
    display: none; }
  .document #div_id_status select {
    border: none;
    box-shadow: none; }
/*
table.months tbody,
table.months thead th,
table.months tbody th,
table.months tfoot th,
table.months thead td,
table.months tbody td,
table.months tfoot td {
  border: none;
}
table.months tfoot .total td,
table.months tbody .total td {
  border-top: 1px solid #333;
}
*/
table.months input.text-right {
  width: 45px;
}
/* TOTALS */
.totals {
  padding-top: 16px;
  padding-bottom: 16px; }

.totals div div div {
  padding: 8px;
  border-bottom: 1px solid #e3e3e3; }

.totals div div div:first-child {
  font-weight: bold; }

.totals div div div:last-child {
  text-align: right; }

.totals .totals-footer div {
  border-bottom: none; }

.totals .totals-footer div {
  font-weight: bold; }

/* AUTOCOMPLETE */
ul.ui-autocomplete {
  background: #fff;
  display: block;
  width: 20%;
  border: 1px solid #ccc;
  list-style: none;
  padding-left: 0;
  border-radius: 4px; }

ul.ui-autocomplete li {
  padding-left: 15px; }

ul.ui-autocomplete li:hover {
  background-color: #ccc; }

/* DOCUMENT LIST */
table tbody .director,
table tbody .get_document_id_html {
  white-space: nowrap; }
  table tbody .get_document_id_html a {
    color: #333; }
    table tbody .get_document_id_html a:hover {
      text-decoration: none; }
  table tbody .get_document_id_html .label {
    padding: 2px 4px; }

.status-0 {
  color: #8a6d3b;
  background: #fcf8e3;
  border-color: #faebcc; }

.status-1 {
  color: #31708f;
  background: #d9edf7;
  border-color: #bce8f1; }

.status-2,
.status-4 {
  color: #3c763d;
  background-color: #dff0d8;
  border-color: #d6e9c6; }

.status-3,
.status-5 {
  color: #a94442;
  background-color: #f2dede;
  border-color: #ebccd1; }

.list-group-item a {
  color: inherit; }

.get_subtotal_html {
  text-align: right; }

.table tfoot td {
  text-align: right;
}

.document-table tr td ul {
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  box-shadow: none;
  padding: 0 16px 16px;
  min-width: 0;
  background-color: #fff;
  left: -16px; }
  .document-table tr td ul li a {
    padding: 0; }
    .document-table tr td ul li a:hover {
      background: transparent; }

.document-table.table-hover tr:hover td {
  background-color: #337ab7;
  color: #fff;
  cursor: pointer; }
  .document-table.table-hover tr:hover td a {
    color: #fff; }
    .document-table.table-hover tr:hover td a:hover, .document-table.table-hover tr:hover td a:active, .document-table.table-hover tr:hover td a:visited {
      color: #fff; }

.site-container {
  padding-bottom: 70px; }

.legend {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

/* FILTERS */
.nowrap {
  white-space: nowrap;
}
.popover-content {
  overflow: hidden;
}
/*# sourceMappingURL=main.css.map */
