/* .kanban {
  height: calc(100vh - 120px);
} */

.kanban .content {
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
}

.kanban .content .container,
.kanban .content .container-fluid,
.kanban .content .container-sm,
.kanban .content .container-md,
.kanban .content .container-lg,
.kanban .content .container-xl {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: stretch;
  align-items: stretch;
}

.kanban .content-header + .content {
  height: calc(100% - ((2 * 15px) + (1.8rem * 1.2)));
}

.kanban .card .card-body {
  padding: 0.5rem;
}

.kanban .card.card-row {
  width: calc(25% - 1rem);
  display: inline-flex;
  height: 85vh;
  margin: 0 0.5rem 0.5rem 0.5rem;
}

.kanban .card.card-row:first-child {
  margin-left: 0;
}

.kanban .card.card-row .card-body {
  height: calc(100% - (12px + (1.8rem * 1.2) + 0.5rem));
  overflow-y: auto;
}

.kanban .card.card-row .card:last-child {
  margin-bottom: 0;
  border-bottom-width: 1px;
}

.kanban .card.card-row .card .card-header {
  padding: 0.5rem 0.75rem;
}

.kanban .card.card-row .card .card-body {
  padding: 0.75rem;
}

.kanban .btn-tool.btn-link {
  text-decoration: underline;
  padding-left: 0;
  padding-right: 0;
}

.content ::-webkit-scrollbar {
  width: 7px;
}

/* Track */
.content ::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
.content ::-webkit-scrollbar-thumb {
  background: #343a40;
}

/* Handle on hover */
.content ::-webkit-scrollbar-thumb:hover {
  background: #ffc107;
}

.faded {
  opacity: 0.5;
}

.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.5s;
}
.fade-enter, .fade-leave-to /* .fade-leave-active below version 2.1.8 */ {
  opacity: 0.5;
}

/* Enter and leave animations can use different */
/* durations and timing functions.              */
.slide-fade-enter-active {
  transition: all 0.3s ease;
}
.slide-fade-leave-active {
  transition: all 0.8s cubic-bezier(1, 0.5, 0.8, 1);
}
.slide-fade-enter, .slide-fade-leave-to
/* .slide-fade-leave-active below version 2.1.8 */ {
  transform: translateX(10px);
  opacity: 0;
}

.schrim-enter-active {
  height: 100%;
  transition: height 500ms ease;
}
.schrim-leave-active {
  transition: height 0s ease;
}
.schrim-enter,
.shrim-leave-to {
  /* transform: translateX(10px); */
  height: 0px;
}

.timeline {
  margin: 0 0 45px;
  padding: 0;
  position: relative;
}

.timeline::before {
  border-radius: 0.25rem;
  background-color: #dee2e6;
  bottom: 0;
  content: "";
  left: 31px;
  margin: 0;
  position: absolute;
  top: 0;
  width: 4px;
}

.timeline > div > div {
  margin-bottom: 15px;
  margin-right: 10px;
  position: relative;
}

.timeline > div > div::before,
.timeline > div > div::after {
  content: "";
  display: table;
}

.timeline > div > div > .timeline-item {
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.125), 0 1px 3px rgba(0, 0, 0, 0.2);
  border-radius: 0.25rem;
  background-color: #fff;
  color: #495057;
  margin-left: 60px;
  margin-right: 15px;
  margin-top: 0;
  padding: 0;
  position: relative;
}

.timeline > div > div > .timeline-item > .time {
  color: #999;
  float: right;
  font-size: 12px;
  padding: 10px;
}

.timeline > div > div > .timeline-item > .timeline-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
  color: #495057;
  font-size: 16px;
  line-height: 1.1;
  margin: 0;
  padding: 10px;
}

.timeline > div > div > .timeline-item > .timeline-header {
  cursor: pointer;
}

.timeline > div > div > .timeline-item > .timeline-header > a {
  font-weight: 600;
}

.timeline > div > div > .timeline-item > .timeline-body,
.timeline > div > div > .timeline-item > .timeline-footer {
  padding: 10px;
}

.timeline > div > div > .timeline-item > .timeline-body > img {
  margin: 10px;
}

.timeline > div > div > .timeline-item > .timeline-body > dl,
.timeline > div > div > .timeline-item > .timeline-body ol,
.timeline > div > div > .timeline-item > .timeline-body ul {
  margin: 0;
}

.timeline > div > div > .timeline-item > .timeline-footer > a {
  color: #fff;
}

.timeline > div > div > .fa,
.timeline > div > div > .fas,
.timeline > div > div > .far,
.timeline > div > div > .fab,
.timeline > div > div > .fal,
.timeline > div > div > .fad,
.timeline > div > div > .svg-inline--fa,
.timeline > div > div > .ion {
  background-color: #adb5bd;
  border-radius: 50%;
  font-size: 16px;
  height: 30px;
  left: 18px;
  line-height: 30px;
  position: absolute;
  text-align: center;
  top: 0;
  width: 30px;
}

.timeline > div > div > .svg-inline--fa {
  padding: 7px;
}

.timeline > div > .time-label > span {
  border-radius: 4px;
  background-color: #fff;
  display: inline-block;
  font-weight: 600;
  padding: 5px;
}

.timeline-inverse > div > div > .timeline-item {
  box-shadow: none;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
}

.timeline-inverse > div > div > .timeline-item > .timeline-header {
  border-bottom-color: #dee2e6;
}

.dark-mode .timeline::before {
  background-color: #6c757d;
}

.dark-mode .timeline > div > div > .timeline-item {
  background-color: #343a40;
  color: #fff;
  border-color: #6c757d;
}

.dark-mode .timeline > div > div > .timeline-item > .timeline-header {
  color: #ced4da;
  border-color: #6c757d;
}

.dark-mode .timeline > div > div > .timeline-item > .time {
  color: #ced4da;
}

.timeline > div > .fas {
  background-color: #adb5bd;
  border-radius: 50%;
  font-size: 16px;
  height: 30px;
  left: 18px;
  line-height: 30px;
  position: absolute;
  text-align: center;
  bottom: -30px;
  width: 30px;
}

@media only screen and (max-width: 1300px) {
  .kanban .card.card-row {
    width: calc(50% - 1rem);
  }
}

@media only screen and (max-width: 600px) {
  .kanban .card.card-row {
    width: calc(100% - 1rem);
  }
}

h3.badge {
  font-size: 1rem;
  margin-right: 5px;
}
