@import "../../../utils/theme/colorVariable.scss";
.mat-button.mat-primary {
  background-color: #3f51b5 !important;
  color: #fff;
}

.search-wrap {
  display: flex;
  justify-content: flex-end;
  align-items: center;

  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;
}

.formwrapper {
  display: block;
  > div {
    width: 100%;
  }
  ng-select {
    width: 100%;
  }
  select {
    width: 100%;
    padding: 10px 30px 10px 10px;
    option {
      color: #000000;
    }
  }
  .select-box {
    span {
      right: 10px;
    }
  }
  textarea {
    width: calc(100% - 20px);
    scrollbar-width: thin;
    // scrollbar-color: #343560 #090f2f;
  }
  .w-50 {
    width: 50%;
  }
}

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

.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;
        }
      }
    }
  }
}

.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;
    }
  }
}
.err {
  border: 1px solid #ee3e76 !important;
  ::ng-deep .ck-editor {
    border: 1px solid #ee3e76 !important;
  }
}

::ng-deep tr.mat-header-row th {
  &:first-child {
    min-width: 50px;
    width: 50px;
  }
  &:nth-child(2) {
    min-width: 110px;
    width: 110px;
  }
  &:nth-child(3) {
    min-width: 160px;
    width: 160px;
  }
  &:nth-child(4) {
    min-width: 290px;
    width: 290px;
    max-width: 290px;
  }
  &:nth-child(5) {
    min-width: 130px;
    width: 130px;
  }
  &:nth-child(6) {
    min-width: 180px;
    width: 180px;
  }
  &:nth-child(7) {
    min-width: 150px;
    width: 150px;
  }
  &:nth-child(8) {
    min-width: 90px;
    width: 90px;
  }
  &:last-child {
    min-width: 50px;
    width: 50px;
  }
}
::ng-deep tr td.mat-cell {
  &:first-child {
    min-width: 50px;
    width: 50px;
  }
  &:nth-child(2) {
    min-width: 110px;
    width: 110px;
  }
  &:nth-child(3) {
    min-width: 160px;
    width: 160px;
  }
  &:nth-child(4) {
    min-width: 290px;
    width: 290px;
    max-width: 290px;
  }
  &:nth-child(5) {
    min-width: 130px;
    width: 130px;
  }
  &:nth-child(6) {
    min-width: 180px;
    width: 180px;
  }
  &:nth-child(7) {
    min-width: 150px;
    width: 150px;
  }
  &:nth-child(8) {
    min-width: 90px;
    width: 90px;
  }
  &:last-child {
    min-width: 50px;
    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;
  }
}
