@import "../../../themes/theme/variable";
@import "../../../themes/theme/mixins";

.breadcrumb-container {
  display: flex;
  font-family: Open Sans;
  font-size: 14px;
  font-weight: 600;
  color: #323232;
  .qms-breadcrumb-item,
  .qms-breadcrumb-direction-icon {
    display: flex;
    align-items: center;
    padding: 3px 0 2px 0;
  }

  .qms-breadcrumb-direction-icon {
    .mat-icon {
      width: 18px;
      height: 18px;
      font-size: 18px;
      margin-left: 0.25rem;
      margin-right: 0.25rem;
    }
  }

  .item-icon {
    margin-right: 2px;
  }
  .qms-breadcrumb-item {
    cursor: inherit;
    margin: 8px 0px 8px 0px;

    .qms-btn-icon {
      width: 1.5rem;
      height: 1.5rem;
      line-height: 2rem;
    }
    .qms-breadcrumb-item-overflow {
      max-width: 240px;
      text-overflow: ellipsis;
      overflow: hidden;
      white-space: nowrap;
    }

    .breadcrumb__dropdown-btn {
      width: 2rem;
      height: 2rem;
      svg {
        display: block;
      }
    }
  }

  .qms-breadcrumb-last-item {
    color: black(0.6);
    font-weight: 400;
    cursor: not-allowed;
  }

  .mat-drawer-container {
      z-index: 3;   
      background-color: transparent;
  }
}

.qms-breadcrumb-table {
  .breadcrumb-container {
    .qms-breadcrumb-direction-icon {
      .mat-icon {
        width: 12px;
        height: 12px;
        font-size: 12px;
        margin-left: 0.25rem;
        margin-right: 0.25rem;
        color: black(0.6);
      }
    }

    .item-icon {
      margin-right: 1px;
    }

    .qms-breadcrumb-item {
      .qms-breadcrumb-item-text {
        font-size: 12px;
        font-weight: 400;
        color: black(0.6);
      }
      .qms-breadcrumb-item-overflow {
        max-width: 240px;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
      }
    }
  }
}

.qms-breadcrumb__multi-line {
  .breadcrumb-container {
    flex-wrap: wrap;
  }
}

.qms-breadcrumb-menu {
  .qms-dropdown-menu-item {
    border: none;
  }
}

.breadcrumb-sidenav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: white;
  z-index: 3;

  .header {
    font-family: "Open Sans";
    font-style: normal;
    background-color: theme-apply($background-area);
    height: 71px;
    display: flex;
    justify-content: space-between;
    padding: 16px;

    p {
      font-weight: 600;
      font-size: 18px;
      line-height: 25px;
      color: theme-apply($default-color);
      margin-bottom: 0;
    }

    .sub {
      font-weight: 400;
      font-size: 14px;
      line-height: 22px;
      color: #5a5a5a;
    }
  }

  .content {
    padding: 0 16px 16px 16px;
    height: calc(100vh - 71px);
    overflow: auto;

    .qms-list-option {
      height: unset !important;
      /* TODO(mdc-migration): The following rule targets internal classes of list that may no longer apply for the MDC version. */
      .mat-list-text {
        padding-right: 0 !important;
        padding-left: 0 !important;
      }
      /* TODO(mdc-migration): The following rule targets internal classes of list that may no longer apply for the MDC version. */
      .mat-list-item-content {
        border-bottom: 1px solid #e0e0e0;
        padding: 8px;
      }
    }
  }

  .content-text-name {
    display: flex;
    align-items: center;
    justify-content: space-between;

    .content-text-name-heading {
      display: flex;
      align-items: center;
      color: theme-apply($default-color);

      .item-icon {
        margin-right: 10px;
        color: theme-apply($tab-border);
      }
    }

    .color-gray {
      color: theme-apply($tab-border);
    }
  }
}

.more_horiz-btn.qms-btn-icon {
  width: 1.5rem;
  height: 1.5rem;
  line-height: 2rem;
  margin: 8px 0px 8px 8px;
}

.subdirectory_arrow_right {
  color: #0163b2;
}
