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

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

.inputsearch {
  min-width: 200px;
}

mat-icon {
  cursor: pointer;
}

.loading {
  font-size: 20px;
  color: white;
}

table {
  td {
    &:first-child {
      text-align: start;
    }
  }
}

.w-100 {
  width: 100%;
}

.formwrapper {
  .formwrapper-mini-class {
    width: 100%;
    margin: 4px 0;

    label {
      color: #000000;
      margin-bottom: 7px;
    }
  }

  select {
    width: 99.5%;

    option {
      color: #000000;
    }
  }

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

  .select-box {
    position: relative;
    width: 100%;
    margin: 0;

    label {
      color: #000000;
    }

    span {
      background: url(../../../assets/images/expand_more.svg);
      position: absolute;
      bottom: 1px;
      right: 3px;
      content: "";
      width: 30px;
      height: 30px;
      z-index: 0;
    }
  }

  .mt-25 {
    margin-top: 25px;
  }

  .mt-20 {
    margin-top: 20px;
  }

  .class-one-title {
    color: #000000;
    font-size: 21px;
    font-weight: 500;
    margin-top: 15px;
    margin-bottom: 0px;
  }

  .history-div {
    margin-top: 30px;
    border-top: 1px solid #000000;
    padding-top: 20px;

    td.mat-cell {
      // background: #202452 !important;
      // border: 1px solid #2b305d;
      border-left: none;
      border-right: none;
      &:first-child {
        // border-left: 1px solid #2b305d;
      }
      &:last-child {
        // border-right: 1px solid #2b305d;
      }
    }

    .audit-table {
      .table-header,
      .table-body {
        display: flex;
        align-items: center;
        padding: 10px;
        // background: #2b2b5d;
        // border: 1px solid #2b305d;
        border-radius: 5px;
        margin: 10px 0;

        span {
          color: #817cb9;
          font-size: 14px;
        }

        .date-title {
          width: 30px;
        }

        .action-title {
          width: calc(100% - 87px);
        }

        .action-icon {
          display: flex;
          align-items: center;
          width: 53px;

          span {
            width: 20px;
            height: 20px;
            display: flex;
            margin-right: 11px;

            img,
            svg {
              display: block;
              width: 100%;
              height: 100%;
              object-fit: contain;
            }
          }
        }
      }

      .main-body-audit {
        max-height: 300px;
        overflow: auto;
        scrollbar-width: thin;
        scrollbar-color: #343560 #090f2f;

        &::-webkit-scrollbar {
          width: 3px;
        }
      }

      .table-body {
        background: #202452;
      }
    }

    p {
      display: block;
      color: #000000;
      font-size: 16px;
      font-weight: 500;
      margin: 0;

      span {
        vertical-align: sub;
        font-size: 19px;
        padding-right: 5px;
      }
    }

    tr.mat-header-row {
      background: #2b2b5d;
      height: auto !important;
      border: 1px solid #343b7c;
    }

    .no-record {
      text-align: center;
      color: #d7779b;
    }

    tr.mat-header-row th:nth-child(2) {
      text-align: left;
    }
  }
}

.d-flex2 {
  position: relative;

  input {
    padding-right: 165px;
    border-color: #000000;
  }
  .video_url{
    margin-bottom: 5px;
    padding-right: 10px !important;
  }

  span {
    position: absolute;
    display: flex;
    right: 10px;
    color: #000000;
    line-height: 1;
    padding-left: 8px;
    bottom: 7px;
    right: 0;

    .upload-label {
      background: #fafafa;
      border: solid 1px #000000;
      border-radius: 5px;
      color: #000000;
      padding: 3px 3px 3px 3px;
      margin: 0px 10px 0px 0px;
      cursor: pointer;
      font-size: 14px;
      display: flex;
      align-items: center;

      .upload {
        height: 15px;
        width: 15px;
        font-size: 15px;
        margin: 0px 5px 0px;
      }

      span {
        position: relative;
        bottom: 0;
        right: 6px;
      }
    }

    .link {
      border-left: solid 1px #000000;
      padding-left: 7px;
    }

    .file {
      display: none;
    }
  }
}

.border-line {
  border-top: 1px solid #000000;
  margin-top: 40px;
}

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

.position-relative {
  position: relative;
}

.link {
  padding-left: 7px;
  color: $Pink;
  position: absolute;
  top: 6px;
  right: 10px;
}
.mat-table {
  tbody {
    tr {
      &.mat-row {
        padding: 10px;
        background: #2b2b5d;
        border: 1px solid #2b305d;
        border-radius: 5px;
        margin: 10px 0;
        td.mat-cell {
          background: #202452 !important;
          border: 1px solid #2b305d;
        }
      }
    }
  }
}
.action-icon-inner {
  display: flex;
  align-items: center;
  width: 53px;

  span {
    width: 20px;
    height: 20px;
    display: flex;
    margin-right: 11px;
    overflow: inherit;
    img,
    svg {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: contain;
    }
  }
}
.check-app {
  ::ng-deep .mat-checkbox {
    ::ng-deep .mat-checkbox-layout {
      margin-top: 0;
      margin-bottom: 0;
    }
  }
}
::ng-deep .mat-paginator-container {
  padding: 0 !important;
  display: flex !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !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 {
    width: 60px;
  }
  .mat-paginator-page-size-label {
    color: $paginationText !important;
    font-size: 14px !important;
  }

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