.dropdown_container {
  position: relative;
  transition: all 0.4s ease-out;

  &:hover {
    cursor: pointer;
  }

  img {
    height: 9px;
    width: 17px;
    padding-left: 5px;
  }

  .dropdown-selected-text {
    padding: 5px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;

    span {
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      display: block;
      max-width: 135px;
    }

    &-active {
      background-color: #e6eff9;
    }

    .open-icon {
      background-image: url('../../../../../apps/sales/src/assets/images/Arrow_Down_2.svg');
      height: 9px;
      width: 17px;
      background-position: center;
      background-repeat: no-repeat;
      padding: 5px 4px;
    }

    .close-icon {
      background-image: url('../../../../../apps/sales/src/assets/images/Arrow_Up.svg');
      height: 9px;
      width: 17px;
      background-position: center;
      background-repeat: no-repeat;
      padding: 5px 4px;
    }
  }

  .dropdown-options {
    visibility: hidden;
    position: absolute;
    top: 0;
    z-index: 999;
    display: inline-block;
    cursor: pointer;
    text-align: left;

    ul {
      list-style: none;
      margin: 0;
      background-color: #fff;
      border-radius: 5px;
      box-shadow: 0px -2px 24px 0px #dce2e9;
      padding: 0;
      width: 240px;
      display: inline-block;
      overflow-y: scroll;
      overflow-x: hidden;
      min-height: 30px;

      .options-li {
        padding: 7px 15px;
        font-weight: 300;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;

        .search-box {
          background-color: none;
        }

        &:hover {
          @supports not (-webkit-overflow-scrolling: touch) {
            /* CSS for other than iOS devices */
            background-color: #e6eff9;
          }
        }
      }

      .search-li {
        padding: 7px 15px;
        font-weight: 300;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
        position: absolute;
        background-color: white;
        margin-top: -10px;
        padding-top: 15px;
        width: calc(100% - 30px);
        border-radius: 5px 5px 0px 0px;

        .search-box {
          background-color: none;
        }

        .search-icon {
          position: absolute;
          top: 20px;
          right: 15px;
        }

        &:hover {
          background-color: none;
        }
      }
    }
  }

  .visible {
    visibility: visible;
  }
}

.absolute-position {
  position: absolute !important;
}

.search-box {
  height: 100%;
  border: none;
  font-family: 'Open Sans';
  font-size: 16px;
  caret-color: #f70400;
}

.search-box::placeholder {
  color: #557596;
  font-weight: bold;
  font-family: 'Open Sans';
  font-size: 16px;
}

.selected {
  background-color: #e6eff9;
}

.first {
  margin-top: 40px;
}

.search-box:focus {
  outline: none;
}

.selected {
  span {
    margin-right: 10px;
  }
}

.spinner {
  background-image: url('/assets/images/Icon_Loading_Grey.svg');
  background-size: 30px 30px;
  width: 30px;
  height: 30px;
  scale: 0.6;
  background-repeat: no-repeat;
  margin: auto;
  margin-top: 25px;

  animation: spin 1s infinite linear;
}

@keyframes spin {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}

/*
  ##Device = Big Desktops
*/
@media (min-width: 1281px) {
  .dropdown-options {
    ul {
      max-height: 200px;
    }
  }
}

/*
  ##Device = Laptops, Desktops, Ipad pro
*/
@media (min-width: 1025px) and (max-width: 1280px) {
  .dropdown-options {
    ul {
      max-height: 200px;
    }
  }
}

/*
  ##Device = Tablets, Ipads
*/
@media (min-width: 768px) and (max-width: 1024px) {
  .dropdown-options {
    ul {
      max-height: 200px;
    }
  }
}
