.actions,
.oneline {
	white-space: nowrap;
}

#page-wrapper {
	padding-bottom: 500px;
}

a.disabled,
a.disabled:visited ,
a.disabled:active,
a.disabled:hover {
    background-color:#d9d9d9 !important;
    color:#aaa !important;
}

.dropdown-alerts {max-height: 500px; overflow: auto;}

#search {width: 500px;}
@media (max-width: 1000px) {
  #search {width: 290px;}
}
@media (max-width: 768px) {
  #search {width: 100%;}
}

#goalTimer {
  font-weight: bold;
}

.autocomplete-suggestions {
  background: white;
	overflow: auto;
}

.autocomplete-suggestion {
  padding: 0.3em 1em;
}

.autocomplete-selected {
  cursor: pointer;
	background: #eee;
}
.chosen-container-multi .chosen-choices {border: none !important; padding: 0 !important; background: none !important;}
.chosen-container-active .chosen-choices {box-shadow: none !important;}
.chosen-container {max-width: 100% !important; height: auto;}

tr.muted td {background-color: #f5f5f5; color: #ababab;}
table tr.muted a:not(.btn),
.table tr.muted a:not(.btn),
tr.muted td a {color: #ababab;}

#wrapper .bootstrap-datetimepicker-widget table { width: auto; }
#wrapper .bootstrap-datetimepicker-widget table td { width: 20px; height: 20px; line-height: 20px; }
#wrapper .bootstrap-datetimepicker-widget table td span { width: 30px; height: 30px; line-height: 30px; }
#wrapper .bootstrap-datetimepicker-widget a[data-action] {padding: 0;}

#timeContainer .datepicker.col-md-6 {min-width: 240px;}

/* http://stackoverflow.com/a/18164555 */
.btn-file {
    position: relative;
    overflow: hidden;
}
.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}

.hourGoalFloater {
  position: fixed;
  right: 10px;
  bottom: 10px;
  box-shadow: 2px 2px 8px #ababab;
  background: white;
  padding: 10px;
  max-width: 90%;
  z-index: 10;
}

.hourGoalFloater .fa-stop {
  color: red;
}

.hourGoalFloater .project {
  text-overflow: ellipsis;
  max-width: 109px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
}

.blink_me {
  animation: blinker 1s linear infinite;
}
@keyframes blinker {
  30% { opacity: 1; }
  50% { opacity: 0; }
  70% { opacity: 1; }
}

.panel-heading .panel-actions {
  float: right;
  text-align: right;
}
.panel-heading .panel-actions .btn {
  padding-top: 0.2em;
  padding-bottom: 0.2em;
  margin-top: -0.2em;
}

.card-container {
  overflow-y: auto;
  max-height: 70vh;
  padding-right: 0.3em;
}
.card-container::-webkit-scrollbar {
  width: 6px;
}
.card-container::-webkit-scrollbar-track {
  background: #f1f1f1;
}
.card-container::-webkit-scrollbar-thumb {
  background: #ccc;
}
.card-container::-webkit-scrollbar-thumb:hover {
  background: #aaa;
}

.card {
  margin: 0;
  padding: 0;
  width: 100%;
  border-radius: 0.6em;
  border: 1px solid lightgrey;
}
.card.avoid {
  margin-bottom: 0.6em;
}
.card > .card-header,
.card > .card-body,
.card > .card-footer {
  margin: 0;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  padding-left: 0.8em;
  padding-right: 0.8em;
}
.card > .card-header,
.card > .card-footer {
  background-color: #fafafa;
}
.card > .card-header {
  border-bottom: 1px solid lightgrey;
  border-top-right-radius: 0.6em;
  border-top-left-radius: 0.6em;
}
.card .card-date {
  float: right;
  font-size: 0.9em;
  vertical-align: middle;
}
.card .card-actions {
  display: inline-block;
}
.card .card-actions .btn {
  padding-top: 0.2em;
  padding-bottom: 0.2em;
}
.card > .card-body + .card-footer {
  border-top: 1px solid lightgrey;
}
.card > .card-footer {
  border-bottom-right-radius: 0.6em;
  border-bottom-left-radius: 0.6em;
}
.card > .card-footer > * {
  font-size: 0.9em;
}

input[type="color"] {
  height: 2.7em;
  width: 2.5em;
  vertical-align: middle;
}

.w-100, .w-90, .w-80, .w-70, .w-60, 
.w-50, .w-40, .w-30, .w-20, .w-10, .w-05 {
  display: inline-block;
}
.w-100 {
  width: 100% !important;
}
.w-90 {
  width: 90% !important;
}
.w-80 {
  width: 80% !important;
}
.w-70 {
  width: 70% !important;
}
.w-60 {
  width: 60% !important;
}
.w-50 {
  width: 50% !important;
}
.w-40 {
  width: 40% !important;
}
.w-30 {
  width: 30% !important;
}
.w-20 {
  width: 20% !important;
}
.w-10 {
  width: 10% !important;
}
.w-05 {
  width: 5% !important;
}

.text-crm-primary {
  color: #ffb131;
}

.d-none {
  display: none !important;
}
.d-block {
  display: block !important;
}
.d-inline-block {
  display: inline-block !important;
}
.d-inline {
  display: inline !important;
}

.fa.muted {
  color: #fafafa;
}
.fa.fa-xxxl {
  font-size: 20em;
  line-height: 1.2em;
}

.form-check-group {
  vertical-align: bottom;
}
.form-check-group:first-child {
  padding-top: 12px;
}
.form-check-group.inline {
  margin-right: 1em;
  display: inline-block;
}
.form-check-group .form-check {
  margin-left: 0.8em;
  margin-right: 0.4em;
}

.float-right {
  float: right !important;
}

.m-0 {
  margin: 0 !important;
}

.panel-collapse.has-attention {
  background-color: #ffffe9;
}
.panel-collapse.has-attention .invoiceTable.table-striped>tbody>tr:nth-child(odd) {
	background-color: rgba(200, 200, 200, 0.1);
}
