@import "../../../utils/theme/colorVariable.scss";
.search-wrap {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;

  button {
    // background: linear-gradient(
    //   47deg,
    //   rgba(238, 76, 126, 1) 0%,
    //   rgba(238, 130, 80, 1) 100%
    // );
    // border: none;
    // padding: 13px 20px;
    // border-radius: 30px;
    // color: #fff;
    // letter-spacing: 0.5px;
    // cursor: pointer;
    // min-width: 125px;
    margin: 5px;

    // &:hover {
    //   opacity: 0.9;
    // }
  }
}

.mat-button.mat-primary {
  background-color: #3f51b5 !important;
  color: #fff;
  margin-left: 15px;
}

.inputsearch {
  min-width: 200px;
}

td.mat-cell {
  button {
    background: #2f3173;
    border: none;
    padding: 5px 10px;
    border-radius: 30px;
    color: #fff;
    cursor: pointer;
  }
}

.formwrapper {
  display: block;

  > div {
    width: 100%;
  }

  select {
    width: 100%;

    option {
      color: #000000;
    }
  }

  .select-box {
    span {
      right: 15px;
    }
  }

  .w-50 {
    width: 50%;
  }

  .w-100 {
    width: 100%;
  }
}

.Ck-Editor-label {
  display: block;
  color: #000000;
  font-size: 18px;
  font-weight: 500;
  margin: 15px 0 10px;
}

.cutome-modal .cutome-modal-content .modal-body {
  overflow-x: hidden;
}

.ckdiv {
  position: relative;

  .ckfull {
    position: absolute;
    right: 44px;
    top: 5px;
    z-index: 1;
    color: #968fd0;
    font-size: 19px;
    cursor: pointer;
    padding: 6px 4px;
    border-radius: 3px;

    &:hover {
      background: #e6e6e6;
    }
  }
}

.cutome-modal {
  .cutome-modal-content {
    .modal-body {
      .avatar {
        text-align: center;

        img {
          width: 100px;
          height: 100px;
          border-radius: 50%;
        }
      }

      .email-name {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;

        .name {
          width: 49%;
        }
      }

      .titles {
        display: flex;

        span {
          width: 15%;
          white-space: nowrap;
          text-overflow: ellipsis;
          overflow: hidden;
        }

        p {
          white-space: nowrap;
          text-overflow: ellipsis;
          overflow: hidden;
          width: 85%;
        }
      }

      .format {
        margin-top: 10px;

        .bbulkupload {
          display: flex;
          align-items: center;
          color: #000000;

          span {
            color: #000000;
          }

          mat-icon {
            margin-left: 3px;
          }
        }

        span {
          color: #000000;
        }

        a {
          display: flex;
          align-items: center;
          color: $Pink;
          cursor: pointer;
          width: 25px;
        }
      }
    }
  }
}

.transcripts {
    color: $popupText;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0.3px;
    display: block;
    margin: 15px 0 10px;
}
.topic-div {
    border: 1px solid $popupBorder;
    position: relative;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 20px;
    transition: all 0.3s;
    .main-transcript {
        display: flex;
        align-items: center;
    }
    .transcript-topic {
        width: 95%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 15px 0;
        input {
            background: $chptBg;
            border: 1px solid $chptBorder;
            border-radius: 4px;
            padding: 10px;
            width: calc(100% - 35px);
            color: $chptText;
            resize: none;
        }
        span {
          position: absolute;
          display: flex;
          right: 45px;
          color: $Black;
          line-height: 1;
          padding-left: 8px;
          .upload-label {
            background: #fafafa;
            border: solid 1px #DF166A;
            border-radius: 5px;
            color: #DF166A;
            padding: 3px 10px 3px 3px;
            margin: 0px 10px 0px 0px;
            cursor: pointer;
            .upload {
              height: 15px;
              width: 15px;
              font-size: 12px;
              margin: 0 5px;
            }
          }
          .link {
            border-left: solid 1px #DF166A;
            padding-left: 7px;
            color: #DF166A;
          }
          .file {
            display: none;
          }
        }
    }
    .transcript-delete {
        // width: 5%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: $chptBg;
        min-height: 65px;
        border-top-right-radius: 5px;
        border-bottom-right-radius: 5px;
        margin: 0px 10px;
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
    }
    .add-new {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: 25px;
        height: 25px;
        border-radius: 100%;
        border: 1px solid $Pink;
        display: flex;
        align-items: center;
        justify-content: center;
        background: $chptBg;
        cursor: pointer;
        opacity: 0;
        bottom: -14px;
        span {
            color: $Pink;
        }
    }
    &:hover {
        border: 1px solid $chptBorder;
        background: $chptHover;
        .transcript-delete {
            background: $chptHover;
        }
        .add-new {
            opacity: 1;
        }
    }
}

::ng-deep tr.mat-header-row th {
  &:first-child {
    width: 42px;
  }

  &:nth-child(2) {
    width: 120px;
  }

  &:nth-child(3) {
    width: 130px;
  }

  &:nth-child(4) {
    width: 160px;
  }

  &:nth-child(5) {
    width: 130px;
  }

  &:nth-child(6) {
    width: 110px;
  }

  &:last-child {
    width: 50px;
  }
}

::ng-deep tr td.mat-cell {
  &:first-child {
    width: 42px;
  }

  &:nth-child(2) {
    width: 120px;
  }

  &:nth-child(3) {
    width: 130px;
  }

  &:nth-child(4) {
    width: 160px;
  }

  &:nth-child(5) {
    width: 130px;
  }

  &:nth-child(6) {
    width: 110px;
  }

  &:last-child {
    width: 50px;
  }
}

::ng-deep .mat-paginator-container {
  padding: 0 !important;
  display: flex !important;
  justify-content: space-between !important;

  .mat-icon-button {
    background: $paginationBtnBg !important;
    border-radius: 5px !important;
    border: 1px solid $paginationBtnBorder !important;
    margin: 0 5px !important;
    cursor: pointer;
    color: $paginationBtnText !important;

    &:hover {
      border: 1px solid $PaginationBtnHover !important;
      color: $PaginationBtnHover !important;
    }
  }

  .mat-paginator-page-size-label {
    color: $paginationText !important;
    font-size: 14px !important;
  }

  .mat-paginator-range-label {
    color: $Pink;
    width: 140px;
    font-size: 14px !important;
  }
}
