/*!
 * This file is part of con4gis, the gis-kit for Contao CMS.
 * @package con4gis
 * @version 8
 * @author con4gis contributors (see "authors.txt")
 * @license LGPL-3.0-or-later
 * @copyright (c) 2010-2022, by Küstenschmiede GmbH Software & Design
 * @link https://www.con4gis.org
 */

@import "fontawesome";

.search_block {
  display: inline-block;
  vertical-align: top;
  text-align: left;
}

.c4g-search-icon:before {
  content: "\f689";
}

.c4g-search-icon {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: 2em;
  position: absolute;
  padding: 6px;
  background-color: #e8e8e8;
  margin: 1px;
  font-style: normal;
}

.search_block {
  width: 100%;
}

.search_block form {
  /*min-width: calc(100vw - 300px - 23px - 23px - 30px - 33px);*/
  white-space: normal;
  margin: 0;
}

.search_block > form > input[type=search] {
  padding: 15px 0px 15px 50px;
  width: 100%;
  margin: 0;
  background: #e8e8e8;
  border: 0px;
  color: black;
  vertical-align: top;
  margin-bottom: 10px;
}

.c4g-autocomplete-list {
  list-style: square;
  margin: 7px 0 0 0;
  background: white;
  position: absolute;
  z-index: 420;
}

.c4g-autocomplete-list li {
  margin: 0;
  padding: 5px 10px;
  list-style-type: none;
  cursor: pointer;
}

.c4g-autocomplete-list li:nth-child(2n) {
  background: #e8e8e8;
  color: black;
}

.c4g-autocomplete-list li:nth-child(2n+1) {
  background: white;
  color: #4d4d4d;
}

