/* Vanilla widget — loads after css/iwstyle.css and overrides its
   7-column Ember widths with the 6-column Vue layout */
#items .title { width: 40%; }
#items .qty,
#items .unit,
#items .unitPrice,
#items .tax,
#items .total { width: 12%; }

#items textarea { overflow: hidden; }

#items td input.error,
#items td textarea.error {
    border-bottom: 1px dashed red !important;
}

#items tr.invalid {
    background-color: rgba(255, 0, 0, .05) !important;
}

.right {
    text-align: right;
    padding-right: 43px !important;
}

.iv4-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    min-width: 250px;
    max-width: 100%;
    max-height: 200px;
    overflow-y: auto;
    margin: 0;
    padding: 0;
    list-style: none;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, .2);
}

.iv4-autocomplete li {
    padding: 3px 10px;
    cursor: pointer;
    white-space: pre-wrap;
    font-size: 14px;
}

.iv4-autocomplete li.active,
.iv4-autocomplete li:hover {
    background-color: #337ab7;
    color: #fff;
}
