/* You can add global styles to this file, and also import other style files */

@import "~@ng-select/ng-select/themes/default.theme.css";
@import "../src/utils/theme/colorVariable.scss";


@font-face {
  font-family: "mulish-extralight";
  src: url("assets/Fonts/Proxima/ProximaSoft-Light.otf");
  font-style: normal;
}

@font-face {
  font-family: "mulish-light";
  src: url("assets/Fonts/Proxima/ProximaSoft-Light.otf");
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: "mulish-regular";
  src: url("assets/Fonts/Proxima/ProximaSoft-Medium.otf");
  font-style: normal;
}

@font-face {
  font-family: "mulish-medium";
  src: url("assets/Fonts/Proxima/ProximaSoft-Medium.otf");
  font-style: normal;
  font-weight: 600;
}

@font-face {
  font-family: "mulish-bold";
  src: url("assets/Fonts/Proxima/ProximaSoft-Bold.otf");
  font-style: normal;
}

* {
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  height: 100%;
  overflow-y: hidden;
}

.pagemain {
  padding: 28px 37px 55px;
  box-sizing: border-box;
  width: 100%;

  .pagetitle {
    h3 {
      font-size: 21px;
      font-weight: 500;
      color: $Pink;
      margin: 0;
    }

    h2 {
      font-size: 21px;
      font-weight: 500;
      color: $Pink;
      margin: 0;
    }
  }

  .pagesection {
    display: block;
    overflow: auto;
  }
}

body {
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  // background-image: linear-gradient(
  //     rgba(0, 2, 26, 0.966),
  //     rgba(0, 2, 26, 0.966)
  //   ),
  //   url("../src/assets/images/bgimage.jpg");
  background-image: #fff;
  font-size: 14px;
  outline: none;
  margin: 0;
  font-family: "mulish-light" !important;
  overflow: auto;

  ::-webkit-scrollbar {
    width: 5px;
    height: 5px;
  }

  ::-webkit-scrollbar-track {
    background-color: transparent;
    -webkit-border-radius: 0;
    border-radius: 0;
  }

  ::-webkit-scrollbar-thumb {
    -webkit-border-radius: 0;
    border-radius: 0;
    background: #766daa66;
  }
}

.mat-toolbar-row,
.mat-toolbar-single-row {
  height: 70px !important;
  padding: 0 !important;
}

.mat-list-base {
  padding-top: 3px !important;
}

.mat-list-base .mat-list-item {
  height: auto !important;
}

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

.mat-table {
  background: transparent;
  font-family: "mulish-light" !important;

  thead {
    // background: #1b1f4887;
  }

  tbody {
    // background: #21275f87;
  }

  tfoot {
    // background: #1b1f4887;
  }
}

th.mat-header-cell,
td.mat-cell,
td.mat-footer-cell {
  // border-color: #97979738;
}

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

.mat-select-value {
  color: #fff;
}

.mat-button.mat-primary[disabled],
.mat-button.mat-accent[disabled],
.mat-button.mat-warn[disabled],
.mat-button[disabled][disabled],
.mat-icon-button.mat-primary[disabled],
.mat-icon-button.mat-accent[disabled],
.mat-icon-button.mat-warn[disabled],
.mat-icon-button[disabled][disabled],
.mat-stroked-button.mat-primary[disabled],
.mat-stroked-button.mat-accent[disabled],
.mat-stroked-button.mat-warn[disabled],
.mat-stroked-button[disabled][disabled] {
  color: #fff;
}

.mat-header-cell {
  color: #fff;
}

.mat-form-field-appearance-legacy .mat-form-field-label {
  color: #fff;
}

.mat-cell,
.mat-footer-cell {
  color: #fff;
}

th.mat-header-cell,
td.mat-cell,
td.mat-footer-cell {
  padding: 0 5px !important;
}

mat-label {
  color: #fff !important;
}

.mat-form-field-appearance-legacy .mat-form-field-underline {
  background-color: rgb(255 255 255 / 71%);
}

mat-sidenav {
  ::-webkit-scrollbar {
    width: 5px;
  }

  ::-webkit-scrollbar-track {
    background-color: transparent;
    -webkit-border-radius: 0;
    border-radius: 0;
  }

  ::-webkit-scrollbar-thumb {
    -webkit-border-radius: 0;
    border-radius: 0;
    background: #766daa66;
  }
}

.search-wrap,
.example-form {
  .mat-form-field-infix {
    display: block;
    position: relative;
    flex: auto;
    margin: 5px 15px 0 0 !important;
    padding: 0 !important;

    input {
      background: $popupBg;
      border: 1px solid $popupBorder;
      border-radius: 5px;
      padding: 10px;
      width: calc(100% - 20px);
      color: $popupText;
    }
  }

  .err {
    border: 1px solid #DF166A!important;

    ckeditor {
      ::ng-deep .ck .ck-reset .ck-editor .ck-rounded-corners {
        border: 1px solid #DF166A!important;
      }
    }
  }

  ::ng-deep .ck {
    border: 1px solid #DF166A!important;
  }

  .input-fill input:focus {
    border: 1px solid #DF166A !important;
    // background-color: #292359 !important;
  }

  .active-icon {
    svg {
      stroke: #9a3ee7;
    }
  }

  .active-icon-fill {
    svg {
      fill: #9a3ee7;
    }
  }

  .mat-form-field-appearance-legacy .mat-form-field-underline,
  .mat-form-field-ripple {
    height: 0px !important;
  }

  .mat-form-field-label {
    left: 12px !important;
  }
}

.ng-dirty {
  color: #000;
}

.ng-star-inserted {
  color: $paginationText;
}

.ng-option-label,
.ng-value-label,
.ng-value-icon {
  color: #000000;
}

.mat-form-field-type-mat-native-select .mat-form-field-infix::after {
  color: #fff;
}

.ng-select .ng-select-container {
  background: $White;
  border: 1px solid $Black;
  border-radius: 4px;
}

.pagemain {
  .main-pagemain {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;

    .pagetitle {
      width: 30%;
    }

    .search-wrap {
      width: 70%;

      .mat-input-element {
        color: $Black;
      }
    }
  }
}

.mat-drawer-inner-container {
  background: #ffffff;
  scrollbar-width: thin;
  // scrollbar-color: #343560 #090f2f;
}

table {
  width: 100%;
}

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

html,
body {
  height: 100%;
}

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

.mat-button.mat-primary {
  background-color: #DF166A !important;
  color: #fff;
}

.inputsearch {
  min-width: 200px;
}

mat-icon {
  cursor: pointer;
}

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

.mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple) {
  background: $Pink;
  color: white !important;
}

.mat-primary .mat-option.mat-selected:not(.mat-option-disabled) {
  color: #000000;
}

.mat-option:hover:not(.mat-option-disabled),
.mat-option:focus:not(.mat-option-disabled) {
  background: #ed4b80;
  color: $White;
}

.mat-option {
  background: white;
  color: black;
}

.spn-color {
  span {
    color: $Pink !important;
    padding: 0 5px;
  }
}

input,
textarea {
  &::placeholder {
    color: #000000;
  }

  &:-ms-input-placeholder {
    color: #000000;
  }

  &::-ms-input-placeholder {
    color: #000000;
  }
}

select {
  top: 0 !important;
  border: 1px solid #968bdb;
  border-left: 3px solid #968bdb;

  option {
    color: #000000;
  }
}

textarea {
  outline: none;
  min-height: 80px;
  font-family: "mulish-regular" !important;
  font-size: 14px;
  letter-spacing: 0.3px;
}

.mat-checkbox-frame {
  border-color: #000000;
}

.mat-paginator,
.mat-paginator-page-size .mat-select-trigger {
  color: #fff;
}

.mat-paginator {
  background: transparent;
}

tr.mat-header-row {
  height: auto !important;
  background: $matHeaderBg !important;

  th {
    color: $matHeaderText;
    font-size: 15px;
    font-weight: 600;
    // border-top: 1px solid $matBorder !important;
    // border-bottom: 1px solid $matBorder !important;
    padding: 10px 5px !important;

    &:first-child {
      // border-top-left-radius: 5px;
      // border-bottom-left-radius: 5px;
      padding-left: 15px !important;
      // border: 1px solid $matBorder !important;
      // border-right: none !important;

      .checkmark {
        left: 6px;
      }
    }

    &:last-child {
      // border-top-right-radius: 5px;
      // border-bottom-right-radius: 5px;
      // border: 1px solid $matBorder !important;
      // border-left: none !important;
      padding-right: 15px !important;
      font-weight: 600;
    }
  }
}

.mat-row {
  transition: all 0.5s;

  &:hover {
    border-color: $tdHover;
    box-shadow: 0px 0px 22px -5px $tdHover;
  }

  &:hover td.mat-cell {
    border-color: $tdHover;
    border-left-color: $tdHover !important;
    border-right-color: $tdHover !important;
  }
}

tr {
  // border-radius: 5px;

  td.mat-cell {
    background: $tdBg !important;
    color: $tdText;
    font-size: 15px;
    font-weight: 400;
    // border-top: 1px solid #181e4d;
    // border-bottom: 1px solid #181e4d;
    vertical-align: top;
    padding: 12px 5px !important;
    border:none;

    &:first-child {
      padding-left: 13px !important;
      // border-top-left-radius: 6px;
      // border-bottom-left-radius: 6px;
      // border-left: 1px solid #181e4d;
    }

    &:last-child {
      // border-top-right-radius: 6px;
      // border-bottom-right-radius: 6px;
      // border-right: 1px solid #181e4d;
    }

    a {
      color: #000000;
      font-size: 15px;
      font-weight: 400;
      cursor: pointer;
    }

    span {
      display: block;
      overflow: hidden;
      display: -webkit-box;
      -webkit-line-clamp: 4;
      -webkit-box-orient: vertical;
      cursor: pointer;
    }

    mat-icon {
      font-size: 20px !important;
      height: auto;
      width: auto;
      margin: 0 3px;
      vertical-align: middle;
    }
  }
}

.search-wrap {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 0 !important;
  flex-wrap: wrap;

  input {
    background: #fafafa;
    border: 1px solid #989898;
    padding: 12px 40px 11px 20px;
    border-radius: 0px;
    width: calc(100% - 62px);
    color: #848484;

    &::placeholder {
      color: #848484;
      opacity: 0.9;
      font-size: 14px;
    }

    &:-ms-input-placeholder {
      color: #848484;
    }

    &::-ms-input-placeholder {
      color: #848484;
    }
  }

  button {
    // background: linear-gradient(
    //   47deg,
    //   rgba(238, 76, 126, 1) 0%,
    //   rgba(238, 130, 80, 1) 100%
    // );
    border: 1px solid $Pink;
    padding: 10px 20px;
    border-radius: 0px;
    color: $Pink;
    letter-spacing: 0.5px;
    margin: 10px 0;
    min-width: 120px;
    background-color: $White;
    cursor: pointer;
    font-size: 14px;

    &:hover {
      opacity: 0.9;
    }
  }
}

.example-form {
  input {
    background: #1a1e47;
    border: 1px solid #595690;
    border-radius: 4px;
    padding: 10px;
    width: calc(100% - 45px);
    color: #a099da;
  }

  label {
    display: block;
    color: $Black;
    font-size: 15px;
    font-weight: 500;
    margin-top: 15px;
  }
}

.sub-btn {
  div {
    display: inline-block;
    margin: 0 5px;
  }
}

.submit-btn {
  background: $Pink;
  border: none;
  padding: 8px 15px;
  color: #fff;
  letter-spacing: 0.5px;
  cursor: pointer;
  margin: 10px 0;
  transition: all 0.5s;

  &:hover {
    transform: scale(0.9);
  }

  &:disabled {
    opacity: 0.4;
    cursor: not-allowed;
  }
}

.cancel-btn {
  padding: 7px 15px;
  border: 1px solid #000000;
  color: #000000;
  background: none;
  transition: all 0.5s;
  cursor: pointer;

  &:hover {
    transform: scale(0.9);
  }
}

.error-msg {
  color: #ff7272;
}

.ng-value-container {
  padding: 0 !important;
}

.cutome-modal {
  z-index: 1000;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #05052370;

  .cutome-modal-content {
    position: absolute;
    outline: 0;
    width: 50%;
    background: $popupBg;
    border: 1px solid $popupBorder;
    border-radius: 10px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    .modal-header {
      padding: 20px;
      display: flex;
      border-top-left-radius: 5px;
      border-top-right-radius: 5px;
      justify-content: space-between;

      p {
        font-size: 20px;
        font-weight: 600;
        letter-spacing: 0.5px;
        color: $Pink;
        margin: 0;

        mat-icon {
          font-size: 15px;
        }
      }

      span {
        color: $Black;
        cursor: pointer;
        position: absolute;
        right: 12px;
        top: 12px;
      }
    }

    .modal-body {
      padding: 0 20px;
      overflow-y: auto;
      max-height: 450px;
      overflow-x: hidden;
      scrollbar-width: thin;
      // scrollbar-color: #343560 #090f2f;

      &::-webkit-scrollbar {
        width: 2px;
        height: 5px;
        cursor: pointer;
      }

      &::-webkit-scrollbar-track {
        background-color: transparent;
      }

      &::-webkit-scrollbar-thumb {
        -webkit-border-radius: 0;
        border-radius: 0;
        background: #766daa66;
      }

      .example-form {
        input {
          background: $popupBg;
          border: 1px solid $popupBorder;
          border-radius: 5px;
          padding: 10px;
          width: calc(100% - 20px);
          color: $popupText;

          &:disabled {
            opacity: 0.4;
          }
        }
      }

      .table-div {
        margin-bottom: 20px;

        table {
          font-family: arial, sans-serif;
          border-collapse: collapse;
          width: 100%;
        }

        tr {
          th {
            background: #161c40;
          }
        }

        td,
        th {
          border: 1px solid #968bdb;
          text-align: left;
          padding: 8px;
        }
      }
    }

    .modal-footer {
      padding: 15px 20px;
      display: flex;
      margin-top: 10px;
      align-items: center;
      border-top: 1px solid $popupBorder;
      justify-content: flex-end;

      button {
        margin: 0 5px;
        min-width: 90px;
      }
    }
  }
}

.transcript-div {
  border: 1px solid #000000;
  position: relative;
  min-height: 100px;
  border-radius: 5px;
  cursor: pointer;
  margin-bottom: 20px;
  transition: all 0.3s;

  .main-transcript {
    display: flex;
    align-items: center;

    .transcript-delete {
      width: 5%;
      display: flex;
      align-items: center;
      justify-content: center;
      background: #fafafa;
      min-height: 83px;
      border-top-right-radius: 5px;
      border-bottom-right-radius: 5px;
      margin-left: 10px;
      position: absolute;
      right: 0;
      top: 0;
      height: 100%;
    }
  }

  .transcript-textaria {
    width: 75%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 0;

    textarea {
      background: #1a1e47;
      border: 1px solid #595690;
      border-radius: 4px;
      padding: 10px;
      width: calc(100% - 35px);
      color: #a099da;
      min-height: 60px;
      resize: none;
    }

    .transcript-input {
      width: 20%;

      input {
        background: #1a1e47;
        border: 1px solid #595690;
        border-radius: 4px;
        padding: 10px !important;
        width: calc(100% - 35px) !important;
        color: #a099da;
        text-align: center;
        margin: 4px 0;

        &::-webkit-inner-spin-button,
        &::-webkit-outer-spin-button {
          -webkit-appearance: none;
          margin: 0;
        }
      }
    }

    .transcript-delete {
      width: 5%;
      display: flex;
      align-items: center;
      justify-content: center;
      background: #2b2957;
      min-height: 83px;
      border-top-right-radius: 5px;
      border-bottom-right-radius: 5px;
      margin-left: 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 #993ee4;
      display: flex;
      align-items: center;
      justify-content: center;
      background: #1a1e47;
      cursor: pointer;
      opacity: 0;
      bottom: -14px;

      span {
        color: #993ee4;
      }
    }
  }

  &:hover {
    border: 1px solid #993ee4;
    background: #292359;

    .transcript-delete {
      background: #993ee496;
    }

    .add-new {
      opacity: 1;
    }
  }
}

.formwrapper {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;

  > div {
    width: 48%;
    margin: 20px 0;

    label {
      display: block;
      color: $popupText;
      font-size: 15px;
      font-weight: 500;
      margin-top: 15px;
      margin-bottom: 5px;
    }

    select {
      background: $popupBg;
      border: 1px solid $popupBorder;
      border-radius: 5px;
      padding: 10px;
      width: 100%;
      color: $popupText;
      width: calc(100% - 20px);
      -moz-appearance: none;
      -webkit-appearance: none;
      appearance: none;
    }

    input,
    textarea {
      background: $popupBg;
      border: 1px solid $popupBorder;
      border-radius: 4px;
      padding: 10px;
      width: calc(100% - 20px);
      color: $popupText;
      resize: vertical;

      &::-webkit-inner-spin-button,
      &::-webkit-outer-spin-button {
        -webkit-appearance: none;
        margin: 0;
      }
    }

    textarea {
      min-height: 80px;
    }

    .my-text {
      background: $White;
      border: 1px solid $Black;
      border-radius: 4px;
      padding: 10px;
      width: calc(100% - 20px);
      color: $Black;
      scrollbar-width: thin;
      // scrollbar-color: #343560 #090f2f;

      &::-webkit-inner-spin-button,
      &::-webkit-outer-spin-button {
        -webkit-appearance: none;
        margin: 0;
      }
    }

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

      span {
        background: url(./assets/images/expand_more.svg);
        position: absolute;
        top: 7px;
        right: 35px;
        content: "";
        /* border-color: #766daa #0000 #0000; */
        /* border-style: solid; */
        /* border-width: 5px 5px 2.5px; */
        width: 30px;
        height: 30px;
        z-index: 0;
      }
    }

    .input-fill {
      width: 100%;
    }
  }
}

.input-fill {
  width: 100%;
  position: relative;

  span {
    color: #DF166A;
    position: absolute;
    right: 10px;
    top: 8px;
    font-size: 19px;
  }
}

.ng-placeholder {
  padding-left: 10px;
}

.Ck-Editor-span {
  display: block;
  color: #000000;
  font-weight: 600;
  letter-spacing: 0.5px;
  font-size: 22px;
  margin: 30px 0 10px;
}

::ng-deep .mat-paginator-container {
  padding: 0 !important;

  .mat-paginator-range-actions {
    flex-wrap: wrap;
  }

  .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;
    font-size: 14px !important;
  }
}

.ng-select.ng-select-multiple
  .ng-select-container
  .ng-value-container
  .ng-value {
  font-size: 0.9em;
  background: $Pink;
  border-radius: 2px;
  margin: 5px;
  border: none;
  width: auto;
}

.ng-select.ng-select-multiple
  .ng-select-container
  .ng-value-container
  .ng-value
  .ng-value-icon.left {
  border-right: none;
  color: #fff;

  &:hover {
    background: transparent;
  }
}

.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-label{
  color: #fff;
}

.ng-select .ng-clear-wrapper {
  z-index: 9;
  color: #000000;
}

.ng-select.ng-select-multiple
  .ng-select-container
  .ng-value-container
  .ng-value
  .ng-value-icon:hover {
  background-color: #1a1e47;
}

.search-icon {
  position: relative;
  margin-right: 20px;
  width: 52%;

  span {
    position: absolute;
    right: 11px;
    top: 8px;
    color: #848484;
  }
}

.swal2-popup {
  background: $White;
  border: 1px solid $Black;
  width: 25%;
}

.swal2-icon {
  display: none !important;
}

.swal2-title,
.swal2-html-container {
  color: #DF166A;
}

.swal2-styled.swal2-confirm {
  padding: 8px 15px;
  border: 1px solid #000 !important;
  color: #000 !important;
  background: none !important;
  transition: all 0.5s;
  cursor: pointer;

  &:hover {
    transform: scale(0.9);
  }
}

.swal2-styled:focus {
  outline: none;
  box-shadow: none;
}

.swal2-styled.swal2-cancel {
  background: #DF166A !important;
  border: none !important;
  padding: 8px 15px;
  color: #fff !important;
  letter-spacing: 0.5px;
  cursor: pointer;
  margin: 10px 0;
  transition: all 0.5s;

  &:hover {
    transform: scale(0.9);
  }
}
.swal2-select {
  min-width: 50% !important;
  max-width: 100% !important;
  padding: 0.375em 0.625em !important;
  background: #fff !important;
  border: 1px solid #000 !important;
  border-radius: 4px !important;
  color: #000 !important;
  font-size: 1.125em !important;
}

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

  td.mat-cell {
    // background: #1b1f48 !important;
    // border: 1px solid #2b305d;
    border-left: none;
    border-right: none;
  }

  .audit-table {
    .table-header,
    .table-body {
      display: flex;
      align-items: center;
      padding: 10px;
      background: $matHeaderBg;
      border: 1px solid $matHeaderBg;
      border-radius: 5px;
      margin: 10px 0;

      span {
        color: $matHeaderText;
        font-size: 14px;
      }

      .date-title {
        width: 30%;
      }

      .action-title {
        width: 70%;
      }
    }

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

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

    .table-body {
      background: none;
    }
  }

  h3 {
    display: block;
    color: $PopupLabel;
    font-size: 15px;
    font-weight: 500;
    margin: 0;

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

  tr.mat-header-row {
    background: $matHeaderBg;
    height: auto !important;
    border: 1px solid $matHeaderBg;
  }

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

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

.mat-elevation-z8 {
  box-shadow: none;
  box-sizing: border-box;
  display: block;
  overflow: auto;
}

.ng-select.ng-select-multiple
  .ng-select-container
  .ng-value-container
  .ng-value {
  direction: rtl;
}

.edit-remove {
  display: inline-block;
  cursor: pointer;
  margin: 0 5px;

  img {
    width: 20px;
  }
}

.w-auto {
  width: auto !important;
  margin: 0 10px;
}

.Nofound {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.mat-sort-header-button {
  text-align: start !important;
  font-weight: 600 !important;
}

tr.mat-row,
tr.mat-footer-row {
  height: auto !important;
}

.ck.ck-toolbar {
  background: #292657 !important;
}

.ck.ck-dropdown .ck-button.ck-dropdown__button {
  color: #968fd0 !important;
}

.ck.ck-button,
a.ck.ck-button {
  color: #968fd0 !important;
}

.ck.ck-toolbar .ck.ck-toolbar__separator {
  background: #968fd0 !important;
}

.ck.ck-toolbar {
  border: 1px solid #4d4a7c !important;
  border-top-left-radius: 7px !important;
  border-top-right-radius: 7px !important;
}

.ck.ck-editor__main > .ck-editor__editable {
  background: #fafafa !important;
  border-bottom-left-radius: 7px !important;
  border-bottom-right-radius: 7px !important;
  color: #000000;
  border-color: #000000 !important;
  min-height: 200px !important;
}

.ckdivnew {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 9999;

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

    &:hover {
      background: #e6e6e6;
    }
  }

  .ck.ck-editor__main > .ck-editor__editable {
    height: 93vh !important;
  }
}

.loading-indicator {
  filter: hue-rotate(195deg);
  border-radius: 430px;
  object-fit: cover;
  width: 100px;
  height: 100px;
}

.date-input {
  height: 44px;
  margin-top: 5px !important;

  .mat-form-field-appearance-fill .mat-form-field-underline::before {
    display: none !important;
  }

  .mat-form-field {
    width: 100%;
  }

  .mat-form-field-appearance-fill .mat-form-field-flex {
    padding: 0;
  }

  .mat-form-field-infix {
    margin: 0 !important;
  }

  .mat-form-field-suffix {
    position: absolute;
    right: 0;
    top: 10px;
  }

  input {
    &::placeholder {
      color: #43436e;
      opacity: 0.9;
      font-size: 14px;
    }

    &:-ms-input-placeholder {
      color: #43436e;
    }

    &::-ms-input-placeholder {
      color: #43436e;
    }
  }

  .mat-button-wrapper {
    svg {
      fill: #DF166A;
    }
  }

  position: relative;

  .calendar-icon {
    height: 20px;
    width: 19px;
    position: absolute;
    top: 21px;
    right: 7px;
    z-index: 0;
  }

  .mat-icon-button {
    z-index: 9;

    .mat-button-wrapper {
      svg {
        display: none !important;
      }
    }
  }
}

.date-input1 {
  height: 40px;
  margin-top: 0px !important;

  .mat-form-field-appearance-fill .mat-form-field-underline::before {
    display: none !important;
  }

  .mat-form-field {
    width: 100%;
  }

  .mat-form-field-appearance-fill .mat-form-field-flex {
    padding: 0;
  }

  .mat-form-field-infix {
    margin: 0 !important;
  }

  .mat-form-field-suffix {
    position: absolute;
    right: 0;
    top: 10px;
  }

  input {
    &::placeholder {
      color: #43436e;
      opacity: 0.9;
      font-size: 14px;
    }

    &:-ms-input-placeholder {
      color: #43436e;
    }

    &::-ms-input-placeholder {
      color: #43436e;
    }
  }

  .mat-button-wrapper {
    svg {
      fill: #595690;
    }
  }

  position: relative;

  .calendar-icon {
    height: 20px;
    width: 19px;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 0;
  }

  .mat-icon-button {
    z-index: 9;

    .mat-button-wrapper {
      svg {
        display: none !important;
      }
    }
  }
}

// media screens 
@media only screen and (max-width: 767px) {
  .mat-list-item-content {
    padding: 0 10px !important;
  }

  .formwrapper {
    div {
      width: 100% !important;

      input,
      textarea {
        width: calc(100% - 20px) !important;
        padding: 10px;
      }

      select,
      .ng-select {
        width: 100% !important;
      }

      .select-box {
        span {
          right: 10px !important;
        }
      }
    }
  }

  .cutome-modal {
    .cutome-modal-content {
      width: 90%;
    }
  }

  .pagemain {
    .main-pagemain {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;

      .pagetitle {
        width: 100%;
        margin-bottom: 10px;
      }

      .search-wrap {
        width: 100%;
        justify-content: space-between !important;
        box-sizing: border-box;

        .mat-input-element {
          color: #766daa;
        }
      }
    }
  }

  .mat-paginator-container {
    justify-content: center !important;

    .mat-paginator-range-actions {
      flex-wrap: wrap;
      justify-content: center;
    }

    .mat-paginator-range-label {
      width: 100%;
      text-align: center;
    }

    .mat-paginator-page-size {
      margin: 0 !important;
    }
  }
}

@media only screen and (max-width: 576px) {
  .pagemain {
    padding: 10px;

    .search-wrap {
      width: 100%;
      justify-content: space-between !important;

      .search-icon {
        margin: 0;
        width: 100%;
      }

      button {
        min-width: 100%;
      }
    }
  }
}

.ck-heading_heading1 {
  font-size: 14px;
  color: #fff;
  font-weight: Bold;
}

.ck-heading_heading2 {
  font-size: 12px;
  color: #ec5990;
  font-weight: Bold;
}

.ck-heading_heading3 {
  font-size: 12px;
  color: #944beb;
  font-weight: Bold;
}

.w-qr {
  width: 11% !important;
  margin: 0 !important;

  .coolQRCode {
    .qrcode {
      img {
        border-radius: 5px;
      }
    }
  }

  .qr-download {
    margin: 0;
    cursor: pointer;
    text-align: center;
    color: $Black;
    font-size: 12px;
  }
}

.tooltip {
  position: relative;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: auto;
  min-width: 150px;
  background-color: #fafafa;
  color: #000000;
  border: 1px solid #000000;
  text-align: center;
  border-radius: 6px;
  padding: 7px 10px;
  position: absolute;
  top: 40px;
  z-index: 1;

  &::after {
    content: "";
    position: absolute;
    top: -12px;
    width: 0;
    height: 0;
    border-left: 8px solid #0000;
    border-right: 8px solid #0000;
    border-bottom: 12px solid #000000;
    right: 130px;
  }

  img {
    width: 250px;
  }

  .thumb-prev {
    margin: 0;
  }
}

#total-pros circle {
  r: 15.9;
  cx: 20;
  cy: 20;
  fill: rgba(0, 0, 0, 0);
  stroke: #1b224a;
  stroke-width: 2.5;
  stroke-dashoffset: 25;
  stroke-linecap: round;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}

.mat-form-field-underline {
  display: none !important;
}

.mat-sort-header-container:not(.mat-sort-header-sorted) .mat-sort-header-arrow {
  opacity: 1 !important;
  transform: translateY(25%) !important;

  &:hover {
    transform: translateY(25%) !important;
  }
}

// darked calendar end
.mat-sort-header-arrow[style] {
  // Hide default arrow stem
  .mat-sort-header-stem {
    display: none;
  }

  .mat-sort-header-indicator {
    opacity: 1;
    font-weight: bold;

    // Hide default arrow as its composed of left, right and middle
    .mat-sort-header-pointer-left,
    .mat-sort-header-pointer-right,
    .mat-sort-header-pointer-middle {
      display: none;
    }
  }
}

.mat-sort-header-arrow {
  .mat-sort-header-indicator {
    &::before {
      content: "";
      background: url(assets/images/switch_right_black_default-2.png) no-repeat
        center center;
      top: -4px;
      position: absolute;
      height: 15px;
      width: 15px;
      background-size: 100% 100%;
    }
  }
}

// My custom ascending arrow
[aria-sort="ascending"] {
  .mat-sort-header-arrow {
    .mat-sort-header-indicator {
      &::before {
        content: "";
        background: url(assets/images/switch_right_black_24dp.svg) no-repeat
          center center;
        top: 0;
        position: absolute;
        height: 15px;
        width: 15px;
        background-size: 100% 100%;
        transform: rotate(90deg);
      }
    }
  }
}

// My custom descending arrow
[aria-sort="descending"] {
  .mat-sort-header-arrow {
    .mat-sort-header-indicator {
      &::before {
        content: "";
        background: url(assets/images/switch_right_black_24dp.svg) no-repeat
          center center;
        top: -10px;
        position: absolute;
        height: 15px;
        width: 15px;
        background-size: 100% 100%;
        transform: rotate(-90deg);
      }
    }
  }
}

ng-moment-timezone-picker {
  .ng-select-container .ng-value-container span {
    padding-left: 10px;
  }

}

input[type="number"] {
  -moz-appearance: textfield;
}

body {
  // scrollbar-color: #645c95db #00041a;
}

ngx-dropzone {
  background: transparent !important;
  border: dashed 1px #989898 !important;
  height: 100px !important;

  ngx-dropzone-label {
    color: #989898 !important;
  }

  .browse {
    color: $Pink !important;
  }
}

ngx-qrcode {
  img {
    border-radius: 10px !important;
    width: 128px !important;
  }
}

.action-icon {
  width: 18px;
  cursor: pointer;
  margin: 0 5px;
}

.disbalebutton {
  opacity: 0.5;
  cursor: not-allowed;
}

//// Date Icon //////
input[type="date"] {
  position: relative;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  color: transparent;
  background: none;
  z-index: 1;
}

input[type="date"]::after {
  content: "";
  width: 15px;
  height: 20px;
  position: absolute;
  bottom: 3px;
  right: 6px;
  color: #999;
  background: url(./assets/images/Calendar.svg) no-repeat;
}

.ng-select .ng-arrow-wrapper .ng-arrow {
  border-color: #000 #0000 #0000;
}

.question-text {
  position: relative;

  label {
    position: absolute;
    top: -10px;
    left: 6px;
    color: #DF166A !important;
  }

  textarea {
    padding: 30px 5px 0px !important;
    height: 79px;
  }
}

.ng-dropdown-panel .ng-dropdown-panel-items .ng-option {
  background-color: $White;
  color: $Black;
}

.ng-select.ng-select-opened > .ng-select-container {
  background: #fff;
  border-color: #000000;
}

.ng-select.ng-select-multiple
  .ng-select-container
  .ng-value-container
  .ng-input {
  padding: 0;
}

.ng-select .ng-select-container .ng-value-container .ng-placeholder,
.ng-select .ng-select-container .ng-value-container .ng-input > input {
  color: #000000;
}

.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-marked {
  background-color: #ec84b0;
  color: #fff;
}

.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected,
.ng-dropdown-panel
  .ng-dropdown-panel-items
  .ng-option.ng-option-selected.ng-option-marked {
  background-color: #ec84b0;
}

.ng-dropdown-panel {
  background-color: #ffffff;
  border: 1px solid #000000;
}

.ng-dropdown-panel.ng-select-top {
  border-bottom-color: #595690;
}

.ng-dropdown-panel.ng-select-bottom {
  border-top-color: #000000;
}

.err {
  border: 1px solid #DF166A!important;

  ckeditor {
    ::ng-deep .ck .ck-reset .ck-editor .ck-rounded-corners {
      border: 1px solid #DF166A!important;
    }
  }
}

.mat-input-element:disabled,
.mat-form-field-type-mat-native-select.mat-form-field-disabled
  .mat-form-field-infix::after {
  color: #000000;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px #fff inset !important;
  -webkit-text-fill-color: #000000 !important;
}

.mini-tooltip {
  position: relative;

  .tooltiptext {
    visibility: hidden;
    min-width: 150px;
    background-color: #3c316e;
    color: #c2b8ff !important;
    text-align: center;
    border-radius: 6px;
    padding: 7px 10px;
    top: 80px;
    bottom: auto !important;
    z-index: 1;
    right: auto !important;
    min-height: 32px;
    flex-direction: column;
    max-width: 320px;

    &::after {
      content: "";
      position: absolute;
      top: -10px;
      width: 0;
      height: 0;
      border-left: 8px solid #0000;
      border-right: 8px solid #0000;
      border-bottom: 12px solid #3c316e;
      right: 130px;
    }
  }

  input:hover ~ .tooltiptext {
    visibility: visible;
  }
}

th.mat-header-cell {
  border-bottom-width: 0px !important;
  border-bottom-style: none !important;
}

.input-upload {
  padding-right: 130px !important;
  box-sizing: border-box;
  width: 100% !important;
}
