div.form-item.amazon-asin, div.form-item.pricespy-id {
    clear: both;
}
div.tag-option {
    display: flex;
    flex-wrap: wrap;
}
div.tag-option > div.form-item {
    margin-right: 20px;
}
div.thumbnail-image > div {
    display: flex;
    width: 100%;
}
div.thumbnail-image div.image-selector {
    flex-grow: 1;
    margin-left: 20px;
}
div.thumbnail-image img.foxshot {
    border: var(--border-clr) solid 1px;
    margin-right: 2px;
    padding: 2px;
}
h1.tags {
    color: var(--meta-fg);
    margin: 3px 0 15px 0;
}
h1.tags > input {
    border: var(--border-clr) solid 1px;
    font-size: 100%;
    width: 150px;
}
h1.tags > span {
    background-color: var(--light-bg);
    border: var(--border-clr) solid 1px;
    border-radius: 3px;
    color: var(--page-fg);
    padding: 5px 10px;
}
h1.tags > span > a.remove {
    background-image: url(/files/images/tooltip-close.png?v=1);
    background-repeat: no-repeat;
    cursor: pointer;
    display: inline-block;
    height: 12px;
    margin-left: 3px;
    visibility: hidden;
    width: 12px;
}
h1.tags > span:hover > a.remove {
    visibility: visible;
}
span.classified-type a {
    margin-left: 4px;
}
ul.prodwanthave {
    border: var(--border-clr) solid 1px;
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    top: -3px;
    width: 12em;
}
ul.prodwanthave li {
    box-sizing: border-box;
    color: #bbb;
    cursor: pointer;
    margin: 0;
    padding: 3px 0;
    text-align: center;
    width: 25%;
}
ul.prodwanthave li.active,
ul.prodwanthave li:hover {
    color: #fff;
}
ul.prodwanthave li.had {
    background-color: #cdf;
}
ul.prodwanthave li.had.active,
ul.prodwanthave li.had:hover {
    background-color: #02a;
}
ul.prodwanthave li.have {
    background-color: #cfd;
}
ul.prodwanthave li.have.active,
ul.prodwanthave li.have:hover {
    background-color: #0a2;
}
ul.prodwanthave li.none.active,
ul.prodwanthave li.none:hover {
    background-color: #666;
}
ul.prodwanthave li.want {
    background-color: #fffae8;
}
ul.prodwanthave li.want.active,
ul.prodwanthave li.want:hover {
    background-color: #cd6702;
}
#tag-amazon-searchresults th div {
    white-space: pre-wrap;
}
#tagcontrol {
    align-items: flex-start;
    display: flex;
    margin-bottom: 10px;
}
#tagcontrol div.tagdesc table.keyval {
    margin-bottom: 10px;
}
#tagcontrol div.tagimg {
    border: var(--border-clr) solid 1px;
    flex: 0 0 auto;
    line-height: 156px;
    margin-right: 10px;
    text-align: center;
    width: 156px;
}
#tagcontrol div.tagimg img {
    border: 0;
    vertical-align: middle;
}
#thumbnail-pane {
    display: flex;
    flex-wrap: wrap;
    margin-top: 5px;
}
body.m div.thumbnail-image > div {
    display: block;
}
body.m div.thumbnail-image div.foxshot-container {
    margin: 0 0 10px 0;
}
body.m div.thumbnail-image div.image-selector {
    margin-left: 0;
}
body.m #tagcontrol {
    flex-flow: column;
}
body.m #tagcontrol div.tagimg {
    margin: 0 auto;
}
body.m #tagcontrol div.tagdesc {
    margin: 0 0 10px 0;
}
body.m #taginfo input[type=text] {
    max-width: 100%;
}
