.gantt__content {
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.5fr 5px 0.5fr;

  margin-top: 20px;
  margin-bottom: 20px;
}

.gantt-toolbar {
  display: flex;
  justify-content: space-between;

  .gantt-toolbar-item {
    display: flex;
    align-items: center;
  }
}

.baseline-button {
  display: inline-block;
  max-width: 190px;
  text-align: center;
}

.gantt-icon {
  cursor: pointer;

  display: flex;

  padding: 3px;
  padding-left: 4px;

  background-color: var(--color-gray-eee);
  border-radius: 2px;
}

.base-line-list {
  width: 200px;
}

.base-line-list-caption {
  display: inline-block;
  width: 55px;
}

.new-base-line {
  float: right;
  width: 400px;
}

.new-base-line-name {
  display: inline-block;
  width: 200px;
}

.description {
  &-content {
    display: flex;
  }

  &-title {
    display: block;
    margin-right: 15px;
  }
}

:host {
  display: block;
  height: calc(100vh - 116px);

  &.mass-editing {
    margin-bottom: 40px;
  }
}

.gantt-tree {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.gantt-layout {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.gantt-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.show-leaf-nodes-wrapper {
  margin-top: 5px;
  margin-bottom: 10px;
}

.show-leaf-nodes-text {
  margin-left: 5px;
  font-weight: bold;
}

.loading {
  position: absolute;
  z-index: 9999;
  left: -50px;

  display: flex;
  align-items: center;
  justify-content: center;

  width: calc(100% + 50px);
  height: 100%;
}

.lds-ring {
  position: relative;
  display: inline-block;
  width: 80px;
  height: 80px;
}

.lds-ring div {
  position: absolute;

  display: block;

  box-sizing: border-box;
  width: 64px;
  height: 64px;
  margin: 8px;

  border: 8px solid #fff;
  border-color: var(--gantt-text-color) transparent transparent transparent;
  border-radius: 50%;

  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}

.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}

.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}

@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.icons-list {
  display: flex;
  align-items: center;
  padding-bottom: 5px;
}

.icon {
  margin-right: 2px;
  padding: 5px 5px 3px;

  border: 1px solid white;

  &:hover {
    cursor: pointer;
    border: 1px solid var(--color-gray-eee);
    border-radius: 4px;
  }
}

.vertial-line {
  width: 1px;
  height: 100%;
  margin-right: 10px;
  margin-left: 10px;

  border-right: 1px solid var(--color-gray-eee);
}

.margin-right-5 {
  margin-right: 5px;
}

.selected-baseline-name {
  position: relative;
  top: -5px;
  font-size: 15px;
}

.filter-visible {
  background-color: lightgray;
}

.line {
  margin-top: 5px;
  margin-bottom: 5px;
  border-bottom: 1px solid var(--color-gray-eee);
}

.baseline-menu-item {
  display: flex;

  span {
    margin-top: 2px;
    margin-left: 5px;
  }
}

.filter-clean-row {
  display: flex;
  flex-flow: row nowrap;
  column-gap: 12px;
  margin-top: 10px;

  .text {
    overflow: hidden;

    max-width: 1006px;
    margin: auto 0;

    color: var(--accent-color-bg);
    text-overflow: ellipsis;
    white-space: nowrap;

    span {
      color: var(--color-gray-222);
    }
  }

  .buttons {
    display: flex;
    flex-flow: row nowrap;
    align-items: flex-start;
    justify-content: flex-start;

    width: 17%;
    min-width: 250px;

    button {
      cursor: pointer;

      font-size: 14px;
      color: var(--accent-color-bg);
      text-decoration: underline;

      opacity: 1;
      background: none;
      border: none;

      transition: opacity 0.2s ease;

      &:hover {
        opacity: 0.8;
      }
    }
  }
}

.header {
  margin-top: 0;
  font-size: 20px;
}

.filter-text {
  margin-top: 10px;
  font-size: 20px;
  font-weight: 500;
}

.wand {
  padding: 5px;
  padding-bottom: 2px;
}

.description-version {
  position: relative;
  top: -6px;
}

.icon-disabled {
  pointer-events: none;
}

.icon-disabled-opacity {
  pointer-events: none;
  opacity: 0.2;
}

.export-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 2px;
}

.open-tasks-text {
  padding: 10px;
}

.visibility-hidden {
  visibility: hidden;
}

.resize-bar-horizontal {
  cursor: col-resize;

  z-index: 1;

  width: 3px;
  height: 100%;

  background-color: var(--color-gray-eee);
}

.resize-bar-vertical {
  cursor: row-resize;

  z-index: 1;

  width: 100%;
  height: 3px;

  background-color: var(--color-gray-eee);
}

.management-panel {
  position: fixed;
  z-index: 1;
  bottom: 12px;

  width: stretch;
  margin-right: 30px;
  padding-right: 30px;
}

.align-center {
  display: flex;
  align-items: center;
}

.h100 {
  height: 100%;
}
