/** Accounts for fixed navbar **/
#page { padding-top: 40px; }

.section-separator { margin: 40px 0 39px; }

#subnav-bar ul.nav { margin-top: 10px; }
#subnav-bar .nav .badge { background-color: #08c; }
#subnav-bar .nav li.active .badge { color: #08c; background-color: #fff; }
#subnav-bar .nav li#pending a { padding-top: 6px; padding-bottom: 6px; }

section.content { margin-bottom: 30px; }

/** Sidebar **/
#sidebar .nav {
  width: 228px;
  margin: 20px 0 0;
  padding: 0;
  background-color: #fff;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  -webkit-box-shadow: 0 1px 4px rgba(0,0,0,.065);
  -moz-box-shadow: 0 1px 4px rgba(0,0,0,.065);
  box-shadow: 0 1px 4px rgba(0,0,0,.065);
}

#sidebar .nav.affix { top: 40px; }

#sidebar .nav > li > a {
  display: block;
  width: 190px 9;
  margin: 0 0 -1px;
  padding: 8px 14px;
  border: 1px solid #e5e5e5;
}

#sidebar .nav .icon-chevron-right {
  float: right;
  margin-top: 2px;
  margin-right: -6px;
  opacity: .25;
}

#sidebar .nav > li:first-child > a {
  -webkit-border-radius: 6px 6px 0 0;
  -moz-border-radius: 6px 6px 0 0;
  border-radius: 6px 6px 0 0;
}

#sidebar .nav > li:last-child > a {
  -webkit-border-radius: 0 0 6px 6px;
  -moz-border-radius: 0 0 6px 6px;
  border-radius: 0 0 6px 6px;
}

/** Sticky footer **/
html, body { height: 100%; }
#wrap {
  height: auto !important;
  margin: 0 auto -70px;
  min-height: 100%;
}
#footer { background-color: #F5F5F5; }
#push, #footer { height: 70px; }
#footer .container > * { margin: 20px 0; }

tr.completed td { text-decoration: line-through; }

/** Prevents crud links from being broken onto lines **/
span.crud-links { white-space: nowrap; }

/** Icon spacing **/
h2.project i { vertical-align: 35%; }
span.crud-links i { margin-top: 4px; }

/** Table sorting **/
table.table thead .sorting,
table.table thead .sorting_asc,
table.table thead .sorting_desc,
table.table thead .sorting_asc_disabled,
table.table thead .sorting_desc_disabled {
  cursor: pointer;
  *cursor: hand;
}
table.table thead .sorting { background: url('../img/sort_both.png') no-repeat center right; }
table.table thead .sorting_asc { background: url('../img/sort_asc.png') no-repeat center right; }
table.table thead .sorting_desc { background: url('../img/sort_desc.png') no-repeat center right; }

table.table thead .sorting_asc_disabled { background: url('../img/sort_asc_disabled.png') no-repeat center right; }
table.table thead .sorting_desc_disabled { background: url('../img/sort_desc_disabled.png') no-repeat center right; }
