
/*
    Search wrapper
*/
.umb-search {
    position: fixed;
    z-index: @zindexSearchBox;
    width: 660px;
    max-width: 90%;
    transform: translate(-50%, 0);
    left: 50%;
    top: 20%;
    border-radius: @baseBorderRadius;
    background: @white;
    position: fixed;
    box-shadow: 0 10px 20px rgba(0,0,0,.12),0 6px 6px rgba(0,0,0,.14);
}

.umb-search__label {
    margin: 0;
}

/*
    Search field
*/

.umb-search-input-icon {
    font-size: 22px;
    color: @gray-7;
    padding-left: 20px;
    display: flex;
    align-items: center;
    height: 70px;
}

input.umb-search-input {
    width: 100%;
    height: 70px;
    border: none;
    padding: 20px 20px 20px 15px;
    border-radius: @baseBorderRadius;
    font-size: 22px;
    margin-bottom: 0;
}

.umb-search-input-clear {
    background: none;
    border: none;
    font-size: 12px;
    margin-right: 20px;
    color: @gray-3;
}

.umb-search-input-clear.ng-enter {
    opacity: 0;
    transition: opacity 100ms ease-in-out;
}

.umb-search-input-clear.ng-enter.ng-enter-active {
    opacity: 1;
}

/*
    Search results
*/
.umb-search-results {
    max-height: 50vh;
    overflow-y: auto;
}

.umb-search-group__title {
    background: @gray-10;
    padding: 3px 20px;
}

.umb-search-items {
    list-style: none;
    margin: 0;
    padding-top: 4px;
    padding-bottom: 4px;
}

.umb-search-item > a {
    padding: 6px 20px;
    display: flex;
}

.umb-search-item > a:hover,
.umb-search-item > a:focus {
    background-color: @gray-10;
    text-decoration: none;
    outline: none;
}

.umb-search-item > a:focus {
    padding-left: 25px;
    transition: padding 60ms ease-in-out;
}

.umb-search-result__icon {
    font-size: 18px;
    margin-right: 8px;
    color: @gray-1;
}

.umb-search-result__meta {
    display: flex;
    flex-direction: column;
}

.umb-search-result__description {
    color: @gray-5;
    font-size: 13px;
}
