/*
 *  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: 1.8vmin;
  height: 4vh;
  float: right;
  font-size: inherit;
  width: 18vw;
  right: 11vw;
  text-align: end;
  position: absolute;
  display: flex;
  justify-content: end;
}

#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;
}

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

#mobile-search-box{
  display: none;
}

#mobile-search-dropdown{
  background-color: #fff;
  display: none;
}

@media screen and (max-width: 992px) {
  #circleLineSearch {
    margin-right: 3.2vw;
  }

  #search-box {
    top: 1.5vmin;
    width: 29vmin;
  }
}

@media screen and (max-width: 576px) {
  #search-box {
    display: none !important;
    /* right: 15vw;
    top: 2.5vmin;
    width: 30vmin; */
  }

  #mobile-search-box{
    display: block;
    top: 1.5vmin;
    height: 4vh;
    float: right;
    font-size: inherit;
    width: 29vmin;
    right: 17vw;
    text-align: end;
    position: absolute;
  }

  #search-box-m{
    font-size: inherit;
  }

  #circleLineSearch{
    font-size: 4.85vmin;
  }

  #searchJumpIcon{
    font-size: 4.85vmin;
  }

  #analyseSave{
    padding-top: 1vmin;
    font-size: 4.8vmin;
    margin-left: -14.3vw !important;
  }

  #toggleMetrik{
    font-size: 4vmin !important;
  }

  #toggleMetrikAIMain{
    font-size: 4vmin !important;
  }

  .settingsPanelEntryIcon{
    font-size: 5vmin;
  }

  .settingsPanelSubEntry{
    margin-right: 3.3vmin;
  }

  #chartHeadlineContent2nd{
    font-size: 4vmin;
  }

  .chartHeadlineLegendImg{
    font-size: 3.5vmin;
  }

  .chart {
    margin-top: 20vmin;
  }

  #filterInfoSubHeader{
    font-size: 2.5vmin !important;
  }

  #footer{
    font-size: 2.5vmin;
    margin-bottom: 2vmin;
  }
}