﻿.blazored-typeahead {
    position: relative;
    width: 100%;
    border: 0px solid #bfbfbf;
    border-radius: 20px !important;
}

    .blazored-typeahead.valid.modified {
        outline: 0 !important;
        border: 1px solid #26b050
    }

    .blazored-typeahead.invalid {
        outline: 0 !important;
        border: 1px solid red
    }

.blazored-typeahead__controls {
    position: relative;
    cursor: text;
    display: flex
}

.blazored-typeahead__input, .blazored-typeahead__input:focus {
    flex: 1;
    max-width: 100%;
    border: none;
    padding: .5rem;
    border-radius: 20px 0 0 20px !important;
 /*   border: 1px solid #DFDFDF;*/
    height: 35px !important;
    background-color: #fff;
    border-right: none !important;
}

/*.blazored-typeahead:focus-within {
    box-shadow: 0 0 0 .2rem rgba(38,143,255,.5)
}*/

.blazored-typeahead__input:focus {
    outline: 0
}

.blazored-typeahead__input-multi:focus {
    outline: 0;
    box-shadow: none
}

.blazored-typeahead__input-hidden {
    display: none
}

.invalid {
    border-color: red !important
}

.blazored-typeahead__input-mask-wrapper {
    display: flex;
    width: 100%
}

.blazored-typeahead__input-multiselect-wrapper {
    display: flex;
    flex-direction: row;
    width: 100%;
    flex-wrap: wrap
}

.blazored-typeahead__input-mask-wrapper--disabled {
    background-color: #e9ecef;
    cursor: not-allowed;
    border-radius: 5px 0 0 5px;
    color: grey;
    min-height: 40px
}

    .blazored-typeahead__input-mask-wrapper--disabled:focus {
        border: none
    }

.blazored-typeahead__input-mask {
    display: flex;
    align-items: center;
    flex: 1;
    border-radius: 5px 0 0 5px;
    padding: .5rem
}

    .blazored-typeahead__input-mask:focus {
        outline: 0
    }

.blazored-typeahead__clear {
    /*width: 35px !important;*/
    display: block;
    padding: .5rem;
    align-items: end;
    justify-content: end;
    cursor: pointer;
    color: #dbdbdb;
    padding-top: 6px !important;
    padding-left: 40px !important;
}

    .blazored-typeahead__clear:hover {
        color: #333
    }

.blazored-typeahead__down-arrow path {
    fill: #dbdbdb
}

.blazored-typeahead__input-icon {
    min-width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: 0 0;
    /*border: 1px solid #DFDFDF;*/
    border-left: none !important;
}

   /* .blazored-typeahead__input-icon:focus {
        outline: 0;
        box-shadow: 0 0 0 .2rem rgba(38,143,255,.5)
    }*/

    .blazored-typeahead__input-icon:hover {
        background-color: #f5f5f5
    }

        .blazored-typeahead__input-icon:hover .blazored-typeahead__down-arrow path {
            fill: #333333
        }

.blazored-typeahead__input-icon--disabled, .blazored-typeahead__input-icon--disabled:hover {
    background-color: #e9ecef;
    cursor: not-allowed
}

    .blazored-typeahead__input-icon--disabled .blazored-typeahead__down-arrow path, .blazored-typeahead__input-icon--disabled:hover .blazored-typeahead__down-arrow path {
        fill: #9c9c9c
    }

.blazored-typeahead__multi-value {
    background-color: #dbdbdb;
    display: flex;
    align-items: center;
    min-width: 0;
    box-sizing: border-box;
    border-radius: 2px;
    margin: .4rem 0 .4rem .4rem
}

.blazored-typeahead__multi-value-label {
    color: #333;
    font-size: 85%;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-sizing: border-box;
    border-radius: 2px;
    overflow: hidden;
    padding: 3px 3px 3px 6px
}

.blazored-typeahead__multi-value-clear {
    -webkit-box-align: center;
    align-items: center;
    display: flex;
    padding-left: 4px;
    padding-right: 4px;
    box-sizing: border-box;
    border-radius: 2px;
    background-color: transparent;
    border: 0;
    outline: 0
}

    .blazored-typeahead__multi-value-clear:focus {
        outline: 0
    }

    .blazored-typeahead__multi-value-clear:hover {
        background-color: #d4d4d4;
        color: #de350b
    }

.blazored-typeahead__results {
    position: absolute;
    box-shadow: 0 5px 10px rgba(0,0,0,.2);
    border: 1px solid #dbdbdb;
    min-height: 2rem;
    max-height: 30rem;
    overflow-y: auto;
    z-index: 10;
    width: 100%;
    background: #fff
}

.blazored-typeahead__notfound, .blazored-typeahead__result, .blazored-typeahead__results-footer, .blazored-typeahead__results-header, .blazored-typeahead__results-help-template {
    padding: .5rem;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff
}

.blazored-typeahead__selected-item {
    background-color: #dbdbdb
}

.blazored-typeahead__selected-item-highlighted {
    background-color: #d3e2f2
}

.blazored-typeahead__active-item, .blazored-typeahead__result:focus, .blazored-typeahead__result:hover {
    background-color: #007bff;
    border-top: 1px solid #007bff;
    border-bottom: 1px solid #007bff;
    color: #fff;
    cursor: pointer
}

.blazored-typeahead__loader {
    width: 24px;
    height: 24px;
    background-color: #333;
    border-radius: 100%;
    -webkit-animation: 1s ease-in-out infinite sk-scaleout;
    animation: 1s ease-in-out infinite sk-scaleout
}

@-webkit-keyframes sk-scaleout {
    0% {
        -webkit-transform: scale(0)
    }

    100% {
        -webkit-transform: scale(1);
        opacity: 0
    }
}

@keyframes sk-scaleout {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0)
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 0
    }
}
