body, html {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
}

table.attribute-list {
    border-collapse: collapse;
    table-layout: fixed;
}

table.attribute-list td {
    border-color: #808080;
    border-width: 1px;
    border-style: solid;
    padding: 10px;
}

table.attribute-list th {
    text-align: left;
    font-weight: 800;
    padding: 10px;

    border-color: #808080;
    border-width: 1px;
    border-style: solid;
}

table.box {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}


table.box td {
    text-align: center;

    border-color: #d0d0d0;
    border-width: 1px;
    border-style: solid;
    position: relative;
}

table.box th {
    text-align: center;
    font-weight: 800;
    padding: 20px;

    border-color: #808080;
    border-width: 1px;
    border-style: solid;
}

nav {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    background-color: #292981;
    color: #ffffff;
    padding: 20px;
}

nav form {
    display: inline-block;
    margin: 0;
}

nav button {
    border: 1px solid #e0e0e0;
    background-color: #333381;
    color: #ffffff;
    padding: 8px 10px 8px 10px;
}

nav .icon-only-button {
    border: none;
    background-color: transparent;
}

nav .icon-nav {
    border-left: 1px solid white;
    padding-left: 25px;
}

h1 {
    margin-top: 20px;
}

h1 .small {
    font-size: 12px;
    font-weight: normal;
    color: #808080;
}

h2 .small {
    display: inline-block;
    max-width: 400px;
    font-size: 12px;
    font-weight: normal;
    vertical-align: middle;
    margin-left: 5px;
}

nav h2 {
    margin-top: 0;
    margin-bottom: 0;
    display: inline-block;
    width: auto;
}

nav h2 .small {
    color: #c0c0c0;
}

nav .icon {
    filter: invert();
}

nav ul {
    margin: 0;
    padding: 0;
    display: inline-block;
}

nav ul li {
    display: inline-block;
    text-indent: 0;
    margin: 0;
    padding: 0 10px 0 0;
}

nav .spacer {
    flex-grow: 2;
}

main {
    margin: auto;
    padding: 20px;
}

body {
    font-size: 12px;
}

@media (max-width: 1024px) {
    body {
        font-size: 10px;
    }

    h2 .small {
        max-width: 200px;
    }
}

img.icon {
    display: inline-block;
    margin-right: 10px;
    width: 18px;
    height: 18px;
    position: relative;
    top: 2px;
}

img.logo {
    display: inline-block;
    margin-right: 10px;
    height: 18px;
    position: relative;
    top: 2px;
}

td.icon, th.icon {
    width: 28px;
}

td.icon img, th.icon img {
    max-height: 18px;
}

td.logo {
    padding-right: 10px;
    width: 70px;
}

.logo img {
    max-height: 18px;
    max-width: 50px;
}

h2 .icon {
    width: 25px;
    height: 25px;
    top: 3px;
}

ul.nav-list {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    height: 100%;
    width: 30%;
    margin: 0;
    padding: 0;
    align-items: left;
}

ul.nav-list li {
    display: flex;
    justify-content: space-between;
    border: 1px solid black;
    margin-bottom: -1px;
    padding: 10px;
    text-indent: 0;
    list-style-type: none;
}

ul.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    text-indent: 0;
    padding-left: 0;
}

ul.tag-list li {
    display: inline-block;
    border: 1px solid #808080;
    border-radius: 12px;
    height: 18px;
    background-color: #e0e0e0;
    padding: 3px 6px 3px 6px;
    line-height: 18px;
}

ul.tag-list li::before {
    content: url(/static/inventory/img/tag.svg);
    width: 16px;
    height: 16px;
    padding-right: 3px;
    display: inline-block;
    opacity: 0.2;
    vertical-align: text-top;
}

ul.tag-list li a {
    text-decoration: none;
}

ul.compact-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-width: 500px;
    text-indent: 0;
    padding-left: 0;
}

ul.compact-list li {
    display: inline-block;
    border: 1px solid #808080;
    height: 18px;
    background-color: #e0e0e0;
    padding: 3px 6px 3px 6px;
    line-height: 18px;
}

table.list {
    border: 2px solid black;
    border-spacing: 0px;
    border-collapse: collapse;
}

table.list thead th {
    text-align: left;
    border-bottom: 2px solid black;
    padding: 10px;
}

table.list tbody tr {
}

table.list tbody td {
    border-bottom: 1px solid black;
    padding: 10px;
}

.pagination {
    margin-bottom: 10px;
    margin-top: 10px;
}

.pagination img.icon {
    display: inline-block;
    margin-right: 10px;
    margin-left: 10px;
    width: 18px;
    height: 18px;
    position: relative;
    top: 4px;
}

.right {
    text-align: right;
}

#search-container {
    display: none;
    position: absolute;
    background-color: #292981;
    padding: 10px;
    border: 1px solid white;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.search-result em {
    color: #c00000;
}

.search-result .small {
    font-size: 10px;
    font-weight: normal;
    color: #808080;
}
