* {
    box-sizing: border-box;
}

#list a {
    color: black;
}

#sortlist a.certain {
    color: green;
}

#sortlist a.uncertain {
    color: red;
}

#sortlist a.moving {
    color: blue;
}

#clearlist a {
    color: red;
}

#chooselist a.chosen {
    color: green;
}

#chooselist a.unchosen {
    color: red;
}

#ticklist a {
    color: blue;
}

#ticked a {
    color: grey;
}

#ticked a.moving {
    color: red;
}

#due {
    color:crimson;
}

div.item {
    padding: 4px;
    border: 1px solid gray;
    margin: 8px 2px;
    font-size: 1.5em;
}

span.extra {
    display: block;
    font-size: 0.75em;
}

div#chooseshop {
    margin: 8px 2px;
}

input#addItem {
    padding: 4px;
    margin: 8px 2px;
    display: block;
    box-sizing: border-box;
    width: 100%;
}

button {
    font-size: 1.5em;
}

#visualizations object {
    max-width: 100%;
}

#popup {
    display: none;
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.75);
}

#popup > div {
    width: 94%;
    margin: 3%;
    padding: 2em;
    box-sizing: border-box;
    background-color: white;
    border: 1px solid black;
    border-radius: 1em;
}

.autocomplete {
    position: relative;
}

.autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    /*position the autocomplete items to be the same width as the container:*/
    top: 100%;
    left: 0;
    right: 0;
    max-height: 128px;
    overflow-y: scroll;
    overflow-x: hidden;
}

.autocomplete-item {
    padding: 10px;
    cursor: pointer;
    background-color: #fff; 
    border-bottom: 1px solid #d4d4d4; 
}

.autocomplete-item:hover {
    background-color: #e9e9e9; 
}

.autocomplete-active {
    background-color: DodgerBlue !important; 
    color: #ffffff; 
}

.autocomplete-item-already-added {
    background-color: #90ee90;
}
