$scalerColor: rgb(253, 96, 85);
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

#ryGanttContent {
  background-color: rgb(255, 255, 255);
  border-left: 1px solid #eee;
  overflow: auto;
  // scrollbar-width: none;
  // &::-webkit-scrollbar {
  //   display: none;
  // }

  .bd-r {
    border-right: 1px solid #eee;
  }
  .container {
    overflow: hidden;
    .gantt-row {
      position: relative;
      // height: 25px;
      border-bottom: 1px solid #eee;
      // border-right: 1px solid rgb(255, 255, 255);
      transition: 0.2s linear;
    }

    .gantt-col {
      position: absolute;
      height: 95%;
      width: 200px;
      left: 0;
      top: 2%;
    }

    .task {
      cursor: pointer;
      // border: 1px solid rgb(0, 0, 0);
      border-radius: 2px;
      padding: 1px 10px;
      background-color: rgb(216, 216, 216);
      display: flex;
      opacity: 0.85;
      &.isDisabled {
        cursor: not-allowed;
      }
      .task-left-arrow,
      .task-right-arrow {
        width: 1px;
        height: 100%;
        cursor: move;
      }
      .task-left-arrow {
        position: absolute;
        left: 0;
        top: 0;
        &:hover {
          height: 100%;
          width: 3px;

          background-color: rgba(0, 0, 0, 0.476);
        }
      }
      .task-right-arrow {
        position: absolute;
        right: 0;
        top: 0;
        &:hover {
          height: 100%;
          width: 3px;

          background-color: rgba(0, 0, 0, 0.467);
        }
      }

      .task-content-wrapper {
        overflow: hidden;
        flex: 1;
        display: flex;
        height: 100%;
        justify-content: center;
        align-items: center;
        .text {
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
        }
      }
    }
  }

  .scaler {
    position: absolute;
    top: -50px;
    left: -1px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 0;

    span {
      display: block;
      background-color: $scalerColor;
      opacity: 0.8;
    }
    .header {
      width: 10px;
      height: 50px;
      &:after {
        content: "";
        position: absolute;
        top: 40px;
        left: 0;
        width: 0;
        height: 0;
        // border-left: 5px solid transparent;
        // border-right: 5px solid transparent;
        border-top: 10px solid $scalerColor;
      }
    }
    .line {
      width: 2px;
      height: 1000px;
    }
  }
  .row-range {
    position: absolute;

    left: 0;
    bottom: 0;
    background-color: black;
    opacity: 0.3;
    font-size: 12px;
    color: white;
    padding: 0 5px;
    z-index: 2003;
  }
  .go-to-top {
    cursor: pointer;
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    right: 20px;
    bottom: 30px;
    background-color: black;
    opacity: 0.1;
    transition: opacity 0.5s;
    display: flex;
    justify-content: center;
    align-items: center;
    img {
      width: 80%;
      height: 80%;
    }
    &:hover {
      opacity: 0.5;
    }
  }
  .hightlight-dot {
    display: none;
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    right: 100px;
    bottom: 30px;
    background-color: $scalerColor;
    opacity: 1;
    justify-content: center;
    align-items: center;
    animation: fade 1s ;
   


    @keyframes fade {
        0%{
          opacity: 0;
        }
        50%{
          opacity: 1;
        }
        100%{
          opacity: 0;
        }
    }
  }
}
