/*.select {
  @apply mb-lg block border-2 border-input-border border-solid outline-none rounded-none w-full h-10 bg-white leading-10;

  option {
    @apply h-10 text-form-field text-text-primary align-top text-left;
  }

  }

.select:active {
  @apply border-focus border-2;
}

@screen dt {
  .select {
    @apply w-2/5;
  }
}
*/

.employee-select-wrap {
  @apply mb-lg relative;

  .select {
    @apply relative block w-full h-10 border border-solid border-input-border;
    &:hover {
      @apply border-2 border-solid border-primary-main;
    }
    input[type="text"] {
      width: calc(100% - 32px);
      background-color: transparent;

      @apply absolute z-10 w-full h-full outline-none text-text-primary text-form-field pl-sm;
    }

    p {
      padding-top: 9px;
      @apply text-form-field text-text-primary float-left ml-sm;
    }

    img {
      @apply float-right h-6 w-6 mt-sm mr-sm;
    }

    svg {
      @apply absolute right-0 float-right h-6 w-6 mt-sm mr-sm;
    }
  }

  .select-active {
    @apply relative block w-full h-10 border-2 border-solid border-primary-main;
    height: 2 rem !important;
    border: 1px solid black;
    background-color: white;

    input[type="text"] {
      width: calc(100% - 32px);
      background-color: transparent;

      @apply absolute z-10 w-full h-full outline-none text-text-primary text-form-field pl-sm;
    }

    p {
      @apply text-form-field text-text-primary float-left ml-sm;
    }

    p {
      padding-top: 9px;
    }

    img {
      @apply float-right h-6 w-6 mt-sm mr-sm;
    }

    svg {
      @apply absolute right-0 float-right h-6 w-6 mt-sm mr-sm;
    }
  }

  .options-card {
    width: 100% !important;
    box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12), 0 5px 5px -3px rgba(0, 0, 0, 0.2);
    max-height: 250px !important;
    overflow: auto;
    z-index: 1000 !important;
    @apply absolute z-20 mt-xs bg-white max-w-full;

    p {
      padding-top: 14px;
      @apply w-full h-12 pl-sm text-text-primary text-form-field;

      &:hover {
        @apply bg-grey-mid;
      }
    }
  }
}
.fsm-registry-dropdown {
  .select {
    @apply flex;
    input {
      text-align: left;
    }
  }
  .select-active {
    text-align: left;
  }
  .options-card {
    .profile-dropdown--item {
      justify-content: left;
    }
  }
  margin-bottom: 0;
}

.employee-select-wrap--elipsesnew {
  width: 85% !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-radius: 10px !important;
  background-color: white !important;
}

.select-wrap {
  @apply mb-lg relative;
  max-width: 540px;

  .select {
    @apply relative block w-full h-10 border border-solid border-input-border;

    input[type="text"] {
      width: calc(100% - 32px);
      background-color: transparent;

      @apply absolute z-10 w-full h-full outline-none text-text-primary text-form-field pl-sm;
    }

    p {
      padding-top: 9px;
      @apply text-form-field text-text-primary float-left ml-sm;
    }

    img {
      @apply float-right h-6 w-6 mt-sm mr-sm;
    }

    svg {
      @apply absolute right-0 float-right h-6 w-6 mt-sm mr-sm;
    }
  }

  .select-active {
    @apply relative block w-full h-10 border-2 border-solid border-primary-main;

    input[type="text"] {
      width: calc(100% - 32px);
      background-color: transparent;

      @apply absolute z-10 w-full h-full outline-none text-text-primary text-form-field pl-sm;
    }

    p {
      @apply text-form-field text-text-primary float-left ml-sm;
    }

    p {
      padding-top: 9px;
    }

    img {
      @apply float-right h-6 w-6 mt-sm mr-sm;
    }

    svg {
      @apply absolute right-0 float-right h-6 w-6 mt-sm mr-sm;
    }
  }

  .options-cardNew {
    width: 100% !important;
    box-shadow: 0 8px 10px 1px rgba(8, 38, 231, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12), 0 5px 5px -3px rgba(0, 0, 0, 0.2);
    @apply absolute z-20 mt-xs bg-white;

    p {
      padding-top: 14px;
      @apply w-full h-12 pl-sm text-text-primary text-form-field;

      &:hover {
        @apply bg-grey-mid;
      }
    }
  }
}

.employee-select-wrap .select img, .employee-select-wrap .select svg{
  margin-top: 2px;
}
.employee-select-wrap .select {
  position: relative;
  display: flex;
  width: 100%;
  height: 2.5rem;
  --border-opacity:1;
  border: 1px solid #464646;
  border-color: rgba(70, 70, 70, var(--border-opacity)); }
  .employee-select-wrap .select:hover {
    --border-opacity:1;
    border: 1px solid #a82227;
    border-color: rgba(168, 34, 39, var(--border-opacity)); }
  .employee-select-wrap .select input[type=text], .employee-select-wrap .select .checkbox-wrap .input-emp[type=text], .checkbox-wrap .employee-select-wrap .select .input-emp[type=text] {
    width: calc(50% - 32px);
    background-color: initial;
    position: absolute;
    z-index: 10;
    width: 100%;
    height: 100%;
    outline: 2px solid transparent;
    outline-offset: 2px;
    padding-left: 8px; }
  .employee-select-wrap .select input[type=text], .employee-select-wrap .select .checkbox-wrap .input-emp[type=text], .checkbox-wrap .employee-select-wrap .select .input-emp[type=text], .employee-select-wrap .select p {
    --text-opacity:1;
    color: #0b0c0c;
    color: rgba(11, 12, 12, var(--text-opacity));
    font-size: 16px;
    line-height: 20px; }
  .employee-select-wrap .select p {
    padding-top: 9px;
    float: left;
    margin-left: 8px; }
  .employee-select-wrap-ve .select img, .employee-select-wrap .select svg {
    float: right;
    height: 1.5rem;
    width: 1.5rem;
    margin-top: 8px;
    margin-right: 8px; }
  .employee-select-wrap .select svg {
    position: absolute;
    right: 0; }

  .options-card {
    overflow: visible !important;
    z-index: 1001 !important;
  }
