/*
 *  SEARCH STYLE
 */

.fl-search-box {
    position: relative;
    width: 300px;
    margin-left: auto;
    margin-right: auto;
}
#searchWarning{
    opacity: 1;
    margin-top: -4vmin;
    margin-left: -2.5vmin;
    border: none;
    color: var(--header-textColor);
    position: absolute;
    font-size: 4vmin;
    visibility: hidden;
    color: red;
}

#searchJumpIcon{
  visibility: hidden;
  color: var(--color-configurable);
  font-size: 2vmin;
  margin: 0 0.5vmin;
  cursor: pointer;
  opacity: 0;
  transition: opacity 1s;
}

#search {
  opacity: 1;
  visibility: hidden;
  height: 3vh;
  background: var(--background-color);
  border: none;
  border-radius: 0.5vmin;
  color: var(--circleLabel-color);
  width: 0;
  transition: width 1s, opacity 0.9s;
  vertical-align: super;
  text-align: left;
  padding-left: 0.5vw;
}

input::placeholder {
  color: var(--circleLabel-color);
  opacity: 0.3;
}

#search:valid + #searchWarning {visibility: visible!important;} 
/*
 *  LEGACY STYLE (remove later)
 */
.fl-search {
    width: 0px;
    vertical-align: middle;
    white-space: nowrap;
    position: relative;
}

.fl-search input#search {
    width: 300px;
    height: 50px;
    background: white;
    border-style: solid;
    border-width: 1px;
    border-color: #1F77B4;
    
    float: left;
    color: #1F77B4;
    padding-left: 50px;
    -webkit-appearance: none;
    
    -webkit-transition: width .55s ease;
    -moz-transition: width .55s ease;
    -ms-transition: width .55s ease;
    -o-transition: width .55s ease;
    transition: width .55s ease;
}

.fl-search .fl-search-icon {
    position: absolute;
    display: table;
    top: 50%;
    margin-left: 20px;
    margin-top: 15px;
    z-index: 11;
    color: #1F77B4;
}

.fl-search input#search:focus,
.fl-search input#search:active {
    outline: none;
    width: 300px;
}

.fl-search:hover input#search {
    width: 300px;
}

/*
 *  TYPEAHEAD SEARCH STYLE 
 */

.typeahead,
.tt-query,
.tt-hint {
  width: 100%;
  text-align: center;
  opacity: 0.9;
  border: 1px solid #1F77B4;
  outline: none;
  font-size: inherit;
}

.typeahead {
  background-color: #ffffff;
}

.typeahead:focus {
  border: 1px solid #1F77B4;
}

.tt-query {
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.tt-hint {
  color: #999;
}

.tt-menu {
  width: 500px;
  margin: 0 0;
  margin-top: -2px;
  padding-bottom: 20px;
  background-color: #fff;

  border: 1px solid rgba(0, 0, 0, 0.2);
  border-top: 1px solid #1F77B4;

  -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2);
     -moz-box-shadow: 0 5px 10px rgba(0,0,0,.2);
          box-shadow: 0 5px 10px rgba(0,0,0,.2);
}

.tt-dataset-costcenter, .tt-dataset-material, .tt-dataset-workstation
{
    text-align: left;
}

.tt-suggestion {
  padding: 0px 20px;
  font-size: 16px;
  line-height: 18px;
    margin: 0;
}

.tt-suggestion:hover {
  cursor: pointer;
  color: #fff;
  background-color: #1F77B4;
}

.tt-suggestion.tt-cursor {
  color: #fff;
  background-color: #1F77B4;
}

.tt-suggestion p {
  margin: 0;
}

#search-box, .suggestion-title {
  font-size: 2vmin;
  margin: 0 auto;
}

#search-box {
  top: 2.2vmin;
  height: 4vh;
  float: right;
  font-size: inherit;
  width: 18vw;
  right: 7vw;
  text-align: end;
  position: absolute;
}

#search-list {
    width: 300px;
    display: none;
    font-size: 12px;
    padding-left: 8px;
}

#SuggestDiv{
    display: none;
    position: relative;
    background: var(--background-color);
    text-align: left;
    float: right;
    margin-top: 1.1vmin;
    border: groove;
    max-height: 90vh;
    overflow: auto;
}

.trenntLine {
    float: right;
    border-left: 1px solid var(--main-color-light);
    height: 2.5vmin;
    margin-right: -1vmin;
}

#circleLineSearch {
  font-size: 2.6vmin;
  color: var(--cockpit-logo);
  cursor: pointer;
  font-weight: bold;
}