.af-projekt-search {
    position: relative;
    width: 240px;
    max-width: 100%;
    font-family: inherit;
    z-index: 20;
}

.af-projekt-search-field {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 34px;
    box-sizing: border-box;
    border: 1px solid #b8b8b8;
    background: #fff;
}

.af-projekt-search-icon {
    flex: 0 0 auto;
    margin-left: 9px;
    font-size: 19px;
    line-height: 1;
    color: #50566a;
    transform: rotate(-20deg);
}

.af-projekt-search-input {
    width: 100%;
    min-width: 0;
    height: 32px;
    padding: 4px 9px;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font: inherit;
    font-size: 14px;
    line-height: 1.3;
}

.af-projekt-search-input::placeholder {
    opacity: .75;
}

.af-projekt-search-results {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    display: none;
    box-sizing: border-box;
    border: 1px solid #d0d0d0;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0,0,0,.12);
}

.af-projekt-search-has-results .af-projekt-search-results {
    display: block;
}

.af-projekt-search-result,
.af-projekt-search-empty {
    display: block;
    padding: 9px 11px;
    font-size: 14px;
    line-height: 1.35;
    text-decoration: none !important;
}

.af-projekt-search-result {
    color: inherit;
    border-bottom: 1px solid #ededed;
}

.af-projekt-search-result-title,
.af-projekt-search-result-meta {
    display: block;
}

.af-projekt-search-result-meta {
    margin-top: 2px;
    font-size: 12px;
    line-height: 1.3;
    opacity: .68;
}

.af-projekt-search-result:last-child {
    border-bottom: 0;
}

.af-projekt-search-result:hover,
.af-projekt-search-result:focus {
    background: #f5f5f5;
    color: #50566a;
}

.af-projekt-search-empty {
    color: #777;
}

@media (max-width: 767px) {
    .af-projekt-search {
        width: 100%;
    }
}
