html, body {
  height: 100%;
}

.add-entity {
  color: #335d33;
  cursor: pointer;
}

table.history_t thead tr {
  background-color: darkgray !important;
}

table tr.shown {
  background-color: lightgray !important;
}

tr.shown + tr {
  background-color: lightgray !important;
}

table {
  margin: 0 auto;
  width: 100%;
  clear: both;
  border-collapse: collapse;
  table-layout: fixed;
  word-wrap: break-word;
}

.invisibletb {
  border: none;
  width: 98%;
  height: 100%;
}

.select2-container {
  width: 100% !important;
  max-width: 100%;
  z-index: 9000;
}

.select2.select2-container .select2-selection--single {
  height: 38px;
}

.select2.select2-container .select2-selection--single .select2-selection__rendered {
  height: 38px;
  line-height: 36px;
}

.select2.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 36px;
}

.tokens-status {
  min-width: 50px;
  color: white;
  font-size: 10px;
}

.tokens-status + .tokens-status {
  margin-top: .2em;
}

.tooltip-inner {
  background: #e9ecef;
  color: #000000;
  opacity: .95;
  font-size: 10px;
}

.delimeter {
  display: flex;
  align-items: center;
  margin: 0.5em 0 0.25em;
}

.delimeter::before, .delimeter::after {
  height: 1px;
  background: #212529;
  content: '';
  display: flex;
  flex: 1 1 auto;
}
.delimeter::before {margin-right: 0.75em}

.delimeter::after {margin-left: 0.75em}

.app-version {
  position: fixed;
  bottom: 10px;
  right: 10px;
  font-size: 11px;
  background-color: #ececec;
  border-radius: 2px;
  padding: 0 3px;
  user-select: none;
}

.app-version:hover {
  display: none;
}

.flex-basis-0 {
  flex-basis: 0;
}

.exclude-date {
  display: none;
}

.navbar .nav li:last-child .dropdown-menu {
  left: auto;
  right: 0;
}

code {
  padding: .2em .4em;
  margin: 0;
  font-size: 85%;
  background-color: rgba(27,31,35,.05);
  border-radius: 6px;
  color: initial;
}

.report-groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: space-between;
  grid-gap: 1em;
}

.report-groups .favorites-group-header {order: 1}
.report-groups .employee-group-header {order: 2}
.report-groups .forecast-group-header {order: 3}
.report-groups .project-group-header {order: 4}
.report-groups .other-group-header {order: 5; grid-area: 3 / 2 / 4 / 3; }

.divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin: 0.5em 0;
}

.divider span{
  margin: 0 0.5em;
  font-weight: 600;
}

.divider::after,
.divider::before {
  content: '';
  height: 1px;
  background-color: rgba(0, 0, 0, 0.12);
}

.grid--one {
  flex-basis: 100%;
  width: 100%;
}

.date-field input + .input-group-append + #date-field-help {
  display: block;
}

.date-field input.has-value + .input-group-append + #date-field-help {
  display: none;
}

#period-dropdown {
  z-index: 9500;
}
.line-clamp2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

input:invalid  {
  border: none;
  outline: 2px solid #dc3545;
  border-radius: 5px;
}

.invalid-tip {
  display: flex;
  width: 180px;

  margin-top: 0.25rem;
  font-size: 80%;
  font-weight: 400;
  color: #dc3545;

  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dropdown-menu.show{
  z-index: 10000;
}

.notification {
  padding: 0.75rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  display: inline-block;
  width: 100%;
  z-index: 105;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  padding:5px;
}
