/*******************************
    Live Query
*******************************/

.LiveQueryContainer {
    position: relative;
}

.LiveQueryContainer.thinking:before {
    content: "\f110";
    font: normal normal normal 14px/1 FontAwesome;
    font-size: 16px;
    color: rgba(0,0,0,.3);
    position: absolute;
    top: 0;
    right: 5px;
    z-index: 999;
    display: inline-block;
    animation: lq-thinking 2s linear infinite;
}


#liveQuery-results {
    position: absolute;
    max-height: 200px;
    overflow-y: auto;
    background-color: #333;
    box-shadow: 2px 2px 5px rgba(0,0,0,.5);
    color: #eee;
    z-index: 9999;
}

#liveQuery-results * {
    margin: initial !important;
    cursor: default;
}
#liveQuery-results ul {
    padding: initial !important;
    cursor: default;
}

.liveQuery-item {
    padding: 3px;
    vertical-align: middle;
    text-align: left;
}

#liveQuery-results li {
    list-style: none;
    border-radius: 8px;
    padding: 10px
}

#liveQuery-results li:last-of-type {
    border-bottom: none;
}

#liveQuery-results li:hover, #liveQuery-results li *:hover {
    cursor: pointer;
}
.liveQuery-item:not(.no-results):hover {
    background-color: #555;
    cursor: pointer;
}

.match {
    box-shadow: 0 0 0 1px green !important;
}

.no-match {
    box-shadow: 0 0 0 1px red !important;
}


@keyframes lq-thinking {
    0% { transform: rotate(0deg) }
    100% { transform: rotate(360deg) }
}