.kanban-content-section {

  > .board {
    width: 100%;
    margin-right: 0 !important;
  }

  .element-board-content {
    .template {
      flex: 0 0 30%;
    }
    .content.card {
      font-size: 0.5rem;
    }
    img {
      max-width: 100px;
      width: 100%;
      height: auto;
    }
  }

  .section-board {
    width: 100% !important;
  }

  .board-title {
    padding-top: 1rem;
    padding-bottom: 1rem;
    > * {
      margin-left: 1rem;
    }
    //input, select {
    //  width: 100px;
    //}
  }

  [data-kanban-board-level="3"] {
    background-color: #666 !important;
    color: white;


    .step1 {
      .flexbox {
        .template {
          margin-bottom: 18px !important;
          .content.card {
            padding: 2px 4px !important;
            color: black !important;
          }
        }
      }
    }

  }

}

.kanban.kanban-json {
  .board:first-child {
    width: 100%;
    > .board-content {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      > .board {
        width: 24%;
      }
    }
  }
}

.kanban {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  position: relative;
  user-select: none;
  align-items: start;

  * {
    margin-bottom: 0 !important;
  }

  .board {
    margin-bottom: 4px !important;
    position: relative;
    width: 100%;
    //border: 1px solid black;
    border-radius: 2px;
    box-shadow:  0 0 4px #d7d7d7;
  }

  .board-title {
    padding: 0 4px;
    width: 100%;
    //border-bottom: 1px solid black;
    //height: 24px;
    min-height: 24px;
    display: flex;
    align-items: center;
    font-weight: 600;
  }

  .board-content {
    min-height: 20px;
    padding: 10px;
    height: calc(100% - 24px);
  }


  > .board {
    width: 24%;
    margin-right: 1%;
    margin-bottom: 16px !important;
  }
}
.kanban-entity-bookmarks [data-kanban-board-level="1"] {
  padding-bottom: 100px !important;
}
.section-board,[data-kanban-board-level="1"] {
  background-color: #d7d7d7 !important;
  .board-title {
    color: #373737;
    //border-bottom: 1px solid $gray-400;
  }
}

.column-board, [data-kanban-board-level="2"] {
  background-color: #a4a4a4 !important;
  .board-title {
    color: white;
    overflow: hidden;
    //border-bottom: 1px solid $gray-600;
  }
}

.element-board, [data-kanban-board-level="3"] {
  background-color: #666 !important;
  .board-title {
    color: black;
    //border-bottom: 1px solid $gray-800;
  }
}


[data-kanban-board-level="1"] {
  > .board-content {
    height: calc(100% - 24px);
  }
}


[data-kanban-board-level="2"]:not(.column-board) {
  >.board-title {
    border: 0;
  }
  >.board-content {
    padding: 0;
    min-height: 0;
  }
}

.col-lg-4 {
  .kanban {
    display: flex;
    flex-wrap: nowrap;
  }
  .kanban > .board {
    width: 100%;
  }

  .kanban-json {
    flex-wrap: wrap;

    .board {
      flex: 0 0 49%;
    }

    > .board:first-child {
      flex: 0 0 100%
    }
  }
}

.kanban-core-menu-manage {
  > .board:first-child {
    width: 100%;
    .board-content {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      > .board {
        flex: 0 0 19%;
      }
    }
  }
}
