html,
body {
  height: 100%;
}
body {
  min-width: 320px;
}
abbr {
  border-bottom: 1px dotted black;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.nav-shift-summary {
  padding: 2px 20px;
  float: left;
}
.typeahead.dropdown-menu {
  width: 300px;
}
input.search-query {
  width: 100%;
  box-sizing: border-box;
  padding: 15px 15px;
}
input[type="date"] {
  width: 120px;
}
.table th.sorted a {
  font-style: italic;
}
.navbar-user {
  padding-right: 1em;
}
.nav-item-shift {
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
}
@media (max-width: 1050px) {
  .nav .label-extra {
    display: none;
  }
}
.title-pull-right {
  margin-top: 15px;
  float: right;
}
.filter {
  margin-top: 20px;
}
@media (max-width: 979px) and (min-width: 768px) {
  .span3 {
    width: 47%;
  }
}
.control-label.required {
  font-weight: bold;
}
dl {
  -webkit-margin-before: 0;
}
dl.small dt,
dl.medium dt {
  float: left;
}
dl.small dd {
  margin-left: 6em;
}
dl.medium dd {
  margin-left: 7em;
}
div.editor {
  padding: 4px 6px;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 20px;
  color: #555;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  vertical-align: middle;
  background-color: #fff;
  border: 1px solid #ccc;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
  -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
  box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
  -webkit-transition: border linear .2s, box-shadow linear .2s;
  -moz-transition: border linear .2s, box-shadow linear .2s;
  -o-transition: border linear .2s, box-shadow linear .2s;
  transition: border linear .2s, box-shadow linear .2s;
  min-height: 100px;
}
.filter .label,
.filter .badge {
  font-size: 100%;
  padding: 8px;
  margin-bottom: 3px;
}
#page {
  padding-bottom: 75px;
}
#wrapper {
  min-height: 100%;
}
.fixed_shift_bar {
  bottom: 0;
  left: 0;
  position: relative;
  width: 100%;
  border-radius: 0;
  padding: 15px 12px 14px 15px;
  box-sizing: border-box;
  height: 50px;
}
.modal form {
  margin-bottom: 0;
}
legend {
  margin-bottom: 5px;
}
footer.fixed {
  position: relative;
  width: 100%;
  margin-top: -50px;
  height: 50px;
}
.navbar-inverse .brand,
.navbar-inverse .nav > li > a {
  color: #FFF;
  text-shadow: 0 -1px 0 rgba(0,0,0,0.25);
}
@media screen and (max-width: 979px) {
  footer.fixed {
    position: relative;
  }
}
.comma-sep:after {
  content: ", ";
}
.comma-sep:last-child:after {
  content: "";
}
.shifts p {
  margin-bottom: 10px;
}
.modal.waiting {
  cursor: wait;
  opacity: 0.8;
}
.spinner {
  margin: 30px auto 0;
  width: 70px;
  text-align: center;
}
.spinner > div {
  width: 18px;
  height: 18px;
  background-color: #333;
  border-radius: 100%;
  display: inline-block;
  -webkit-animation: bouncedelay 1.4s infinite ease-in-out;
  animation: bouncedelay 1.4s infinite ease-in-out;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}
.spinner .bounce1 {
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}
.spinner .bounce2 {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}
@-webkit-keyframes bouncedelay {
  0%,
  80%,
  100% {
    -webkit-transform: scale(0.0);
  }
  40% {
    -webkit-transform: scale(1.0);
  }
}
@keyframes bouncedelay {
  0%,
  80%,
  100% {
    transform: scale(0.0);
    -webkit-transform: scale(0.0);
  }
  40% {
    transform: scale(1.0);
    -webkit-transform: scale(1.0);
  }
}
.container.narrow {
  max-width: 300px;
}

table.headcount th {
  font-weight: normal;
}
table.headcount .headcount-divider {
  padding-right: 20px;
}
table.headcount .intoxicated,
table.headcount .nonintoxicated {
  background-repeat: no-repeat;
  background-position: 12px;
  background-image: url('/bundles/taliceadmin/img/beer_bottle.png');
  background-size: 20px;
  text-indent: -9999px;
  width: 54px;
}
table.headcount .nonintoxicated {
  background-image: url('/bundles/taliceadmin/img/beer_bottle_bad.png');
}
table.headcount input {
  width: 25px;
  text-align: center;
}
input[type=number].count {
  width: 30px;
  text-align: center;
}
.input-time {
  width: 80px;
}
.input-date {
  width: 120px;
}
.control-group-inline label {
  width: 160px;
  float: left;
  padding-top: 5px;
  margin-right: 15px;
}
.filter-window {
  width: 600px;
}
.filter-window .modal-body {
  max-height: 600px;
}
.filter-window form {
  margin: 0;
}
.filter-window .row-fluid .span6:last-child {
  margin-left: 2%;
}
