/* Grundlegende Container-Stile */
.elastic-search-box .form-holder {
    position: relative;
}

.elastic-search-box .form-drop {
/*    border: 1px solid #555; */
    font-size: 16px;
    /* top: 36px; */ 
    width: 100%;
    left: 0;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#search-input-es:focus {
    border-color: unset;

}


/* Hintergrund für die gesamte .form-drop */
.elastic-search-box .form-drop:before {
    content: '';
    width: 263px;
    height: 100%;
    background: #f4f4f4;
    top: 0;
    bottom: 0;
    /* left: 0; */
}

/* Allgemeine Stile für h2-Titel */
.elastic-search-box .form-drop h2,
.elastic-search-box .form-drop .side-column h2 {
    color: #000;
    font-size: 17px;
    line-height: 21px;
    margin-bottom: 6px;
    padding: 0 20px;
    border: 0;
}

.elastic-search-box .form-drop .side-column h2 {
    margin-bottom: 9px;
}

/* Listenelemente und Links */
.elastic-search-box .form-drop ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.elastic-search-box .form-drop ul a {
    color: #000;
    text-decoration: none;
}

/* Seitenleiste */
.elastic-search-box .form-drop .side-column {
    float: left;
    width: 263px;
    background: #f4f4f4;
    position: relative;
    z-index: 1;
}

.elastic-search-box .form-drop .side-column .block {
    border-top: 1px solid #ececec;
    padding: 16px 0 12px;
}

.elastic-search-box .form-drop .side-column .block:first-child {
    border: 0;
}

/* Links in der Sidebar */
.elastic-search-box .form-drop .side-column .block a {
    display: block;
    padding: 5px 20px;
}

.elastic-search-box .form-drop .side-column .block a strong,
.elastic-search-box .form-drop .drop-list li span strong {
    color: #ff0000;
}

/* Hover- und Fokus-Effekte für Links */
.elastic-search-box .form-drop .side-column .block a.focus,
.elastic-search-box .form-drop .side-column .block a.focusext,
.elastic-search-box .form-drop .side-column .block a:hover {
    background: #ececec;
}

/* Dropdown-Liste */
.elastic-search-box .form-drop .drop-list {
    background: #fff;
    position: relative;
/*    z-index: -1;  */
    border-radius: 25px;
    display: inline-block;
    padding-left: 15px;
}

.elastic-search-box .form-drop .drop-list li {
    /* border-top: 1px solid #f4f4f4; */
    width: 100%;
}

.elastic-search-box .form-drop .drop-list li:first-child {
    /* border: 0; */
    width: 100%;
}

/* Links in der Dropdown-Liste */
.elastic-search-box .form-drop .drop-list li a {
    display: table;
    width: 100%;
/*    padding: 5px 0; */
}

/* Hover- und Fokus-Effekte für die Liste */
.elastic-search-box .form-drop .drop-list li a.focus .img-holder,
.elastic-search-box .form-drop .drop-list li a.focusext .img-holder,
.elastic-search-box .form-drop .drop-list li a:hover .img-holder {
    background-color: #fff;
}

.elastic-search-box .form-drop .drop-list li a.focus span,
.elastic-search-box .form-drop .drop-list li a.focusext span,
.elastic-search-box .form-drop .drop-list li a:hover span {
    background-color: #ececec;
}

/* Bildhalter und Textspan */
.elastic-search-box .form-drop .drop-list li .img-holder {
    display: table-cell;
    width: 66px;
    height: 40px;
    vertical-align: middle;
    text-align: center;
    padding-left: 10px;
}

.elastic-search-box .form-drop .drop-list li span {
    display: table-cell;
    vertical-align: middle;
    padding: 0 25px 0 10px;
}

.elastic-search-box .form-drop .drop-list li img {
    vertical-align: middle;
}



.suggestcontainer {
    position: absolute;
    /* top: 100%; */ /* Direkt unter dem Suchfeld */
    /* left: 0; */
    width: 100%;
    /* background-color: unset; */
    box-sizing: border-box;
/*    padding-bottom: 8px;
    padding-left:15px;
    padding-right:15px;
    margin-left:auto;
    margin-right:auto; */
    margin-top: 50px;
    z-index: 1000; 
}

.suggestcontainer em{text-decoration:none;font-style:normal;color:#ff0000}
/* .suggestcontainer.mobile em{text-decoration:underline;font-weight:700;color:inherit} */
.suggestcontainer [kb-item]{cursor:pointer}
.suggestcontainer [kb-item].kb-active{background-color:#ececec}
.suggestcontainer .suggestimage{max-width:80px;max-height:80px}


/**
 * 	SEARCH BOX
 */

/* .elastic-search-box-transition {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out, visibility 0.3s;}
} */

.elastic-search-box-transition {
    opacity: 0;
    transform: translateX(20px);
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.elastic-search-box-transition.visible {
    opacity: 1;
    transform: translateX(0);
    visibility: visible;
}


.elastic-search-box {
    position: relative;
/*    z-index: 1000; */
    right: 0;
    background: white;
    padding: 5px;
    border-radius: 8px;
    /* Startwerte für Animation */
}

#elastic-search-box {
    position: relative;
}


.elastic-search-box.visible {
    display: block;
    opacity: 1;
    z-index: 1000;
    transform: translateX(0); /* Bewegt sich sanft nach unten */
}

/* .elastic-search-box.no-animation {
    transform: none !important;
    transition: none !important;
} */ 

.box-search {
 /* float: right;
  margin-top: 16px; */
}

@media (min-width: 992px) {
  #box-search {
    margin-top: 10px;
  }
}
@media (min-width: 1200px) {
  #box-search {
    margin-top: 16px;
  }
}

#box-elasticsearch {
    width: 100%;
    box-sizing: border-box;
}

#box-elasticsearch .btn-group {
  float: left;
}
#box-elasticsearch .btn-group button {
  width: 40px;
  height: 40px;
/*  background-color: #505762; */
  border: 0;
  background: none;
  margin-left: -30px;
}
#box-elasticsearch .btn-group button i {
  color: #FFF;
  font-size: 21px;
}
#box-elasticsearch .btn {
  padding-top: 7px;
}
#box-elasticsearch .form-group {
  float: left;
  margin-bottom: 0;
}
#box-elasticsearch .form-group input {
  height: 40px;
  width: 300px;
  font-size: 17px;
  border-radius: 50px;
/*  padding-right: 40px; */
  padding-left: 15px;
/*  border: solid 1px #555; */
}

#box-elasticsearch .form-group input.in {
  -webkit-animation: SearchToBig ease-in-out 0.2s forwards;
  -o-animation: SearchToBig ease-in-out 0.2s forwards;
  animation: SearchToBig ease-in-out 0.2s forwards;
}
#box-elasticsearch .form-group input.out {
  -webkit-animation: SearchToSmall ease-in-out 0.6s forwards;
  -o-animation: SearchToSmall ease-in-out 0.6s forwards;
  animation: SearchToSmall ease-in-out 0.6s forwards;
}

/*
#box-elasticsearch .elastic-search-box .form-group input:focus {
  animation: SearchToBig ease-in-out 0.2s forwards;
}

#box-elasticsearch .elastic-search-box .form-group input:not(:focus) {
  animation: SearchToSmall ease-in-out 0.6s forwards;
}
*/


/**
 * Searchfield animation
 */
@-moz-keyframes SearchToBig {  
  0% { width: 204px; }  
  100% { width: 240px; }  
}

@-webkit-keyframes SearchToBig {  
  0% { width: 204px; }  
  100% { width: 240px; }  
}

@-o-keyframes SearchToBig {  
  0% { width: 204px; }  
  100% { width: 240px; }  
}

@keyframes SearchToBig {  
  0% { width: 204px; }  
  100% { width: 240px; }  
}

@-moz-keyframes SearchToSmall {  
  0% { width: 240px; }  
  100% { width: 204px; }  
}

@-webkit-keyframes SearchToSmall {  
  0% { width: 240px; }  
  100% { width: 204px; }  
}

@-o-keyframes SearchToSmall {  
  0% { width: 240px; }  
  100% { width: 204px; }  
}

@keyframes SearchToSmall {  
  0% { width: 240px; }  
  100% { width: 204px; }  
}

.hack {
  visibility: visible;
}

