.with-sidebar {
  position: relative;
  display: grid;
  grid-template-columns: 350px 1fr;
  grid-template-areas: "sidebar content";
}
.with-sidebar .sidebar {
  overflow-y: auto;
  background: #1F2229;
  grid-area: sidebar;
  padding: 0;
  margin: 0;
  font-size: 12px;
  border-right: 1px solid #2c2f34;
  display: flex;
  flex-direction: column;
  color: #cfd0d1;
  position: relative;
  height: calc(100vh - 45px);
}
.with-sidebar .sidebar::-webkit-scrollbar {
  width: 8px;
}
.with-sidebar .sidebar::-webkit-scrollbar-track {
  background: #1F2229;
}
.with-sidebar .sidebar::-webkit-scrollbar-thumb {
  background: #2C303B;
}
.with-sidebar .sidebar::-webkit-scrollbar-thumb:hover {
  background: #373c4a;
}
.with-sidebar .content {
  grid-area: content;
  position: relative;
}

.sidebar-block {
  padding: 10px;
}
.sidebar-block.collapsed .sidebar-content {
  display: none;
}

.sidebar-content {
  font-size: 12px;
  color: #9d9d9d;
}
.sidebar-content textarea, .sidebar-content input {
  background: #1F2229;
  color: #E7E7E7;
  border-radius: 2px;
  border: 0;
}
.sidebar-content textarea:hover, .sidebar-content input:hover {
  background: #282c34;
}

.sidebar-title {
  display: flex;
  color: #E7E7E7;
  border-bottom: 1px solid #0F8DCB;
  font-size: 15px;
  margin-bottom: 10px;
  padding-bottom: 5px;
}
.sidebar-title > div {
  margin-left: auto;
}
.sidebar-title > div:first-child {
  margin-left: 0;
  font-size: 14px;
}

.sidebar .content ul.list-choose li {
  padding: 2px 0 3px 15px;
  min-height: 0;
}
.sidebar .content ul.list-choose li .checkbox {
  margin-top: 4px;
  border-color: #1890FF;
}
.sidebar .content ul.list-choose li .checkbox:before {
  background: #1890FF;
}
.sidebar .content ul.list-choose li .name {
  font-size: 14px;
  margin-left: 2px;
  margin-top: 3px;
}
.sidebar .divider {
  display: flex;
  margin: 16px 0;
  color: rgba(0, 0, 0, 0.85);
  font-weight: bold;
  font-size: 16px;
  white-space: nowrap;
  text-align: center;
  border-top: 0;
  border-top-color: rgba(0, 0, 0, 0.06);
}
.sidebar .divider:before {
  position: relative;
  top: 50%;
  width: 5%;
  border-top: 1px solid transparent;
  border-top-color: inherit;
  border-bottom: 0;
  transform: translateY(50%);
  content: "";
}
.sidebar .divider:after {
  position: relative;
  top: 50%;
  width: 95%;
  border-top: 1px solid transparent;
  border-top-color: inherit;
  border-bottom: 0;
  transform: translateY(50%);
  content: "";
}
.sidebar .divider span {
  color: rgba(0, 0, 0, 0.85);
  font-size: 14px;
  display: inline-block;
  padding: 0 1em;
  font-weight: bold;
}