﻿.select-box-global {
  border-bottom: none;
  margin: 0;
  width: auto; }
  .select-box-global.active {
    border-bottom-right-radius: 0; }

#global-search-container {
  margin-top: 4px;
  height: 100%;
  overflow-y: auto; }

#global-search-input {
  margin: 0; }

#global-search-button {
  height: 35px;
  margin: 0;
  width: auto;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  float: left;
  font-weight: normal;
  box-shadow: none; }
  #global-search-button > span {
    font-size: 1.5em;
    margin-top: -2px; }

#auto-suggestion-container {
  position: absolute;
  right: 95px;
  margin-top: 2px;
  max-width: 50%; }
  @media (min-width: 1200px) and (max-width: 1500px) {
    #auto-suggestion-container {
      max-width: 70%; } }
  @media only screen and (max-width: 1200px) {
    #auto-suggestion-container {
      max-width: 80%; } }

#global-typeahead-container {
  background: white;
  border: 1px solid #ccc;
  border-top: none;
  padding: 10px;
  max-height: 650px;
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
  opacity: 0;
  height: 0;
  transition: 250ms ease-in-out;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
  margin-top: 4px; }
  #global-typeahead-container.active {
    transition: 250ms ease-in-out;
    opacity: 1;
    height: auto; }
  #global-typeahead-container ul {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    align-items: stretch;
    text-align: left;
    margin: 0; }
    #global-typeahead-container ul > li {
      max-height: 130px;
      width: 285px;
      margin: 5px;
      display: flex !important;
      flex-flow: row nowrap;
      justify-content: flex-start; }
      #global-typeahead-container ul > li:hover {
        background: #EEEEEE; }
      #global-typeahead-container ul > li span, #global-typeahead-container ul > li p {
        color: #888888; }
      #global-typeahead-container ul > li a {
        text-decoration: underline;
        font-size: 1rem;
        font-weight: 600; }
  #global-typeahead-container a.action-icon {
    font-weight: normal;
    text-decoration: none;
    font-size: 1.2rem; }
    #global-typeahead-container a.action-icon:hover span {
      color: #19838e; }

.global-result-container {
  display: flex;
  flex-flow: row wrap; }
  .global-result-container a:hover {
    font-weight: bold; }
  .global-result-container > div {
    border-bottom: 1px solid #ccc;
    margin-bottom: 5px;
    padding-bottom: 5px;
    width: 100%; }
    .global-result-container > div:last-child {
      margin-bottom: 0;
      padding-bottom: 0;
      border: none; }

.section-title {
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: stretch;
  font-size: 1rem; }
  .section-title h4 span {
    margin-right: 5px; }

.search-icon-container {
  padding: 0 10px;
  margin-top: 6px; }
  .search-icon-container span {
    padding: 0 5px;
    display: flex;
    width: 32px;
    height: 32px;
    /*
        color: $white !important;
        border-radius: 15px;
       
        &.fontawesome-building {
            background: $blue-500;

            &::before {
                padding-left: 4px;
                padding-top: 2px;
            }
        }

        &.entypo-user {
            background: $amber-500;

            &::before {
                padding-left: 2px;
            }
        }

        &.entypo-vcard {
            background: $red-500;

            &::before {
                padding-left: 1px;
                padding-top: 1px;
            }
        }

        &.entypo-address {
            background: $green-500;

            &::before {
                padding-left: 1px;
                padding-top: 1px;
            }
        }
        */ }

.search-data-container > * {
  max-width: 230px;
  display: block;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden; }
