html {
    position: relative;
    min-height: 100%;
}
body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
    height: 60px;
    line-height: 60px; /* Vertically center the text there */
    background-color: #f5f5f5;
}

body > .container, .container-fluid {
    padding: 60px 15px 0;
}

.container-fluid {
    width: fit-content;
    max-width: 100%;
}

.footer > .container, .container-fluid {
    padding-right: 15px;
    padding-left: 15px;
}

code {
    font-size: 80%;
}


.signin {
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    background-color: rgba(50, 50, 50, 0.8);
    width: 100%;
    height: 100%;
}

.signin div {
    margin: auto;
}

table.wpstats th {
    float: left;
    position: absolute;
    border: none;
}

.attachment {
    height: 50px;
    max-width: 100px;
    display: inline-block;
    position: relative;
    margin: 5px 0px 5px 0px;
}

.attachment img {
    height: 50px;
    max-width: 100px;
}

.attachment.default::after {
    content: "";
    width: 50px;
    height: 50px;
    position: absolute;
    left: 0;
    top: 0;
    background-image: radial-gradient(
	circle,
	rgb(228 181 49 / 0%) 10%,
	rgb(228 181 49 / 100%) 15%,
	rgb(228 181 49 / 0%) 20%);
    background-position: 15px 15px;
}

.attachment.selected::after {
    content: "";
    width: 50px;
    height: 50px;
    position: absolute;
    left: 0;
    top: 0;
    background-image: radial-gradient(
	circle,
	rgb(0 250 154 / 0%) 10%,
	rgb(0 250 154) 15%,
	rgb(0 250 154 / 5%) 20%);
    background-position: 15px 15px;
}

td.comparator {
    font-size: 0.7rem;
}

td.comparator span {
    font-size: 0.5rem;
}

.attachment-list {
    overflow: auto;
    margin-left: 40px;
    white-space: nowrap;
}

.attachment-list::-webkit-scrollbar {
    width: 2px;
    background-color: #F5F5F5;
    height: 4px;
    border-radius: 20px;
}

.attachment-list::-webkit-scrollbar-track {
    box-shadow: inset 0 0 1px rgb(240 236 104 / 30%);
}

.attachment-list::-webkit-scrollbar-thumb {
    background-color: gold;
    outline: 1px solid goldenrod;
    border-radius: 20px;
}

.attachment-cat-title {
    position: absolute;
    font-size: 0.6rem;
    left: 10px;
    font-variant: petite-caps;
    line-height: 1em;
}

.attachment-cat-title b {
    position: relative;
    top: 20px;
}

#panels {
    display: flex;
    flex-wrap: nowrap;
    transform: rotateX(180deg);
    overflow-x: scroll;
    box-shadow: black 0 0 20px -5px;
}
#panels>div {
    transform: rotateX(180deg);
}

#panels::-webkit-scrollbar {
    width: 5px;
    background-color: #F5F5F5;
    height: 5px;
    border-radius: 20px;
}

#panels::-webkit-scrollbar-track {
    box-shadow: inset 0 0 1px rgb(0 0 0 / 30%);
}

#panels::-webkit-scrollbar-thumb {
    background-color: grey;
    outline: 1px solid grey;
    border-radius: 20px;
}


.card.wp-panel {
    width: 380px;
    top: -5px;
    flex: none;
}

.card.wp-panel .card-body, .card.wp-panel .card-footer {
    cursor: pointer;
}

.card.wp-panel .card-body *, .card.wp-panel .card-footer * {
    cursor: default;
}

.card.wp-panel.border-warning {
    box-shadow: #ffc107 0 0 1px 1px;
}

span.attachment-slot {
    width: 40px;
    height: 40px;
    display: inline-block;
    border: solid grey 2px;
    margin-left: 2px;
}

.attachment-slot .attachment {
    height: 36px;
    display: block;
    margin: 0;
}

.attachment-slot .attachment img {
    height: 36px;
    display: block;
}

.attachment.attachment-text button {
    height: 50px;
    width: 50px;
    background: none;
    border: none;
    color: whitesmoke;
}

.attachment-slots {
    height: 40px;
}

.damage-graph-btn {
    cursor: pointer!important;
}

.btk-graph-btn {
    cursor: pointer!important;
}
