.sam.search {
  display: flex;
  select {
    margin: 0;
    width: auto;
    border-right-width: 0px;
  }

  input {
    margin: 0;
    border-right-width: 0px;
    max-width: initial;
  }

  button {
    border: 1px solid #5b616b;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
    background-color: white;
    margin: 0px;
    transition: all 0.3s ease;
    color: #323a45;
  }

  button:hover {
    color: white !important;
    background-color: #0071bc !important;
  }
}

.sam.search--primary {
  display: flex;
  select {
    margin: 0;
    width: auto;
    border-right-width: 0px;
  }

  input {
    margin: 0;
    border-right-width: 0px;
    max-width: initial;
  }
  button {
    background-color: #0071bc;
    color: white;
    border: 1px solid #5b616b;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
    margin: 0px;
    transition: all 0.3s ease;
  }

  button:hover {
    color: white !important;
    background-color: #004370 !important;
  }
}

/**********************************************
              Search
***********************************************/
.sam-ui.search {
  display: flex;
  background-color: white;
  margin: 0.5em 0;
  border-radius: 2px;
  box-shadow:
    0 2px 2px 0 rgba(0, 0, 0, 0.16),
    0 0 0 1px rgba(0, 0, 0, 0.08);
  transition: box-shadow 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.sam-ui.search:hover {
  box-shadow:
    0 3px 8px 0 rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(0, 0, 0, 0.08);
}

.sam-ui.search .select-option {
  display: none;
}
@media only screen and (min-width: 600px) {
  .sam-ui.search .select-option {
    display: block;
    width: auto;
    white-space: nowrap;
    border-right: 1px solid #b9b8b8;
    font-weight: 600;
    padding: 0 0.6em 0 15px;
    background-color: #f7f7f7;
    line-height: 50px;
    font-size: 15px;

    .fa {
      padding-left: 3px;
      color: #adadad;
    }
  }
}

.sam-ui.search select {
  font-size: 14px;
  width: auto;
  display: block;
  position: absolute;
  left: 0;
  cursor: pointer;
  outline: 0;
  opacity: 0;
}

.sam-ui.search input[type="search"] {
  border: none;
  box-sizing: border-box;
  max-width: 100%;
  padding-right: 0;
  z-index: 1;
}

.sam-ui.search input[type="search"]:focus {
  box-shadow: none;
}

.sam-ui.search button {
  width: auto;
  margin: 0;
  padding: 0 15px;
  background-color: transparent;

  svg {
    color: #0071bc;
  }
}

.sam-ui.search .tab-search {
  border-right: 1px solid #b9b8b8;
  flex-basis: 175px;
  font-weight: 600;
  text-align: center;
  line-height: 50px;
}

.search-results {
  background-color: white;
  position: absolute;
  z-index: 1;
  margin-top: -1px;
  right: 0;
  list-style: none;
  box-shadow:
    0 3px 8px 0 rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(0, 0, 0, 0.08);
  padding-left: 0;
  padding-bottom: 10px;

  li {
    padding: 4px 16px;
    line-height: 22px;
    white-space: nowrap;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  li:hover {
    cursor: pointer;
    background-color: #eee;
  }

  li b {
    color: black;
  }

  li.domain {
    font-size: 16px;
    padding: 8px 16px 8px 30px;
    color: black;
  }
}
