﻿.relloblazor-addresswizard-typeahead {
    position: relative;
    width: 100%;
    border: 1px solid #BEC5D4;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-box-shadow: 0px 0px 2px #A1A1A1;
    box-shadow: 0px 0px 2px #A1A1A1;
    border-radius: 4px;
    height: 46px;
}

    .relloblazor-addresswizard-typeahead.valid.modified {
        outline: none !important;
    }

    .relloblazor-addresswizard-typeahead.invalid {
        outline: none !important;
        border: 1px solid red;
    }

.relloblazor-addresswizard-typeahead__controls {
    position: relative;
    cursor: text;
    display: flex;
}

.relloblazor-addresswizard-typeahead__input {
    flex: 1;
    max-width: 100%;
    border: none;
    padding: .7rem .7rem .5rem .7rem;
    border-radius: 5px;
}

.relloblazor-addresswizard-typeahead:focus-within {
    border: 1px solid #000000;
}

.relloblazor-addresswizard-typeahead__input:focus {
    outline: none;
}

.relloblazor-addresswizard-typeahead__input-multi:focus {
    outline: none;
    box-shadow: none;
}

.relloblazor-addresswizard-typeahead__input-hidden {
    display: none;
}

.invalid {
    border-color: red !important;
}


.relloblazor-addresswizard-typeahead__input-mask-wrapper {
    display: flex;
    width: 100%;
    width: -webkit-fill-available;
    width: -mox-available;
    width: fill-available;
    overflow-x: auto;
}

.relloblazor-addresswizard-typeahead__input-multiselect-wrapper {
    display: flex;
    flex-direction: row;
    width: 100%;
    flex-wrap: wrap;
}

.relloblazor-addresswizard-typeahead__input-mask-wrapper--disabled {
    background-color: #e9ecef;
    cursor: not-allowed;
    border-radius: 5px 0 0 5px;
    color: grey;
    min-height: 40px;
}

    .relloblazor-addresswizard-typeahead__input-mask-wrapper--disabled:focus {
        border: none;
    }

.relloblazor-addresswizard-typeahead__input-mask {
    display: flex;
    align-items: center;
    flex: 1;
    border-radius: 5px 0 0 5px;
    padding: .7rem;
    white-space: nowrap;
    overflow: hidden;
}

    .relloblazor-addresswizard-typeahead__input-mask:focus {
        outline: none;
    }

.relloblazor-addresswizard-typeahead__clear {
    width: 20px;
    display: flex;
    padding: 0px 5px 0px 5px;
    align-items: center;
    justify-content: right;
    cursor: pointer;
    color: #dbdbdb;
}

    .relloblazor-addresswizard-typeahead__clear:hover {
        color: #333333;
    }

.relloblazor-addresswizard-typeahead__down-arrow path {
    fill: #dbdbdb;
}

.relloblazor-addresswizard-typeahead__input-icon {
    width: 40px;
    display: flex;
    border-radius: 0 5px 5px 0;
    padding: .5rem;
    cursor: pointer;
    background: none;
}

    .relloblazor-addresswizard-typeahead__input-icon:focus {
        outline: none;
        box-shadow: 0 0 0 0.2rem rgba(38,143,255,.5);
    }

    .relloblazor-addresswizard-typeahead__input-icon:hover {
        background-color: #f5f5f5;
    }

        .relloblazor-addresswizard-typeahead__input-icon:hover .relloblazor-addresswizard-typeahead__down-arrow path {
            fill: #333333;
        }

.relloblazor-addresswizard-typeahead__input-icon--disabled,
.relloblazor-addresswizard-typeahead__input-icon--disabled:hover {
    background-color: #e9ecef;
    cursor: not-allowed;
}

    .relloblazor-addresswizard-typeahead__input-icon--disabled .relloblazor-addresswizard-typeahead__down-arrow path,
    .relloblazor-addresswizard-typeahead__input-icon--disabled:hover .relloblazor-addresswizard-typeahead__down-arrow path {
        fill: #9c9c9c;
    }

.relloblazor-addresswizard-typeahead__multi-value {
    background-color: #dbdbdb;
    display: flex;
    align-items: center;
    min-width: 0px;
    box-sizing: border-box;
    border-radius: 2px;
    margin: .4rem 0 .4rem .4rem;
}

.relloblazor-addresswizard-typeahead__multi-value-label {
    color: rgb(51, 51, 51);
    font-size: 85%;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-sizing: border-box;
    border-radius: 2px;
    overflow: hidden;
    padding: 3px 3px 3px 6px;
}

.relloblazor-addresswizard-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: none;
}

    .relloblazor-addresswizard-typeahead__multi-value-clear:focus {
        outline: none;
    }

    .relloblazor-addresswizard-typeahead__multi-value-clear:hover {
        background-color: rgb(212, 212, 212);
        color: rgb(222, 53, 11);
    }

.relloblazor-addresswizard-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;
}

.relloblazor-addresswizard-typeahead__result,
.relloblazor-addresswizard-typeahead__notfound,
.relloblazor-addresswizard-typeahead__results-help-template,
.relloblazor-addresswizard-typeahead__results-header,
.relloblazor-addresswizard-typeahead__results-footer {
    padding: .5rem;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
}

.relloblazor-addresswizard-typeahead__selected-item {
    background-color: #dbdbdb;
}

.relloblazor-addresswizard-typeahead__selected-item-highlighted {
    background-color: #d3e2f2;
}

.relloblazor-addresswizard-typeahead__active-item,
.relloblazor-addresswizard-typeahead__result:hover,
.relloblazor-addresswizard-typeahead__result:focus {
    background-color: #f0f0f0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    color: #000;
    cursor: pointer;
}

.relloblazor-addresswizard-typeahead__loader {
    width: 24px;
    height: 24px;
    background-color: #333;
    border-radius: 100%;
    -webkit-animation: sk-scaleout 1.0s infinite ease-in-out;
    animation: sk-scaleout 1.0s infinite ease-in-out;
}

.relloblazor-addresswizard-typeahead__addon-icon {
    position: relative;
    left: 10px;
    top: 22px;
    padding-right: 10px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.relloblazor-addresswizard-typeahead__button-edit-address {
    padding-left: 0.25rem;
    padding-right: 0.75rem;
}

.relloblazor-addresswizard-typeahead__button-edit-address:focus {
    border: 0px solid #000;
    outline: none;
    box-shadow: none;
}

@-webkit-keyframes sk-scaleout {
    0% {
        -webkit-transform: scale(0)
    }

    100% {
        -webkit-transform: scale(1.0);
        opacity: 0;
    }
}

@keyframes sk-scaleout {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    100% {
        -webkit-transform: scale(1.0);
        transform: scale(1.0);
        opacity: 0;
    }
}

@media screen and (max-width: 420px) {

    .relloblazor-addresswizard-typeahead__input-mask {
        max-width: 270px;
    }
}

@media screen and (max-width: 410px) {

    .relloblazor-addresswizard-typeahead__input-mask {
        max-width: 260px;
    }
}

@media screen and (max-width: 400px) {

    .relloblazor-addresswizard-typeahead__input-mask {
        max-width: 250px;
    }
}

@media screen and (max-width: 390px) {

    .relloblazor-addresswizard-typeahead__input-mask
    {
        max-width: 230px;
    }
}

@media screen and (max-width: 380px) {

    .relloblazor-addresswizard-typeahead__input-mask {
        max-width: 220px;
    }
}

@media screen and (max-width: 370px) {

    .relloblazor-addresswizard-typeahead__input-mask {
        max-width: 210px;
    }
}
