.table td.fit,
.table th.fit {
    white-space: nowrap;
    width: 1%;
}

.number-val {
    display: inline-block;
    width: 1.5em;
    text-align: center;
}

.unselectable {
    user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
    -ms-user-select: none;
}

.bi-caret-left-fill, .bi-caret-right-fill {
    display: inline-block;
    color: violet;
}

.form-check-input {
    box-shadow: none !important;
}

#spell_schools {
    margin: 5px auto 0px auto;
}

#spell_schools div {
    margin: 0px;
    display : flex;
    align-items : center;
}


#spells {
    margin-top: 5px;
}

#weapons {
    margin-top: 10px;
}

tr {
    line-height: 1.2em;
    min-height: 1.2em;
    height: 1.2em;
}

.form-select-sm {
    width: 10em;
}

/* this works in Chrome, but not in Firefox */
option.obsolete {
    color: red;
}

.row {
    margin-top: 5px;
    margin-bottom: 5px;
}

.tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
    margin-bottom: 5px;
}

/* Style the buttons that are used to open the tab content */
.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 10px 16px;
    transition: 0.3s;
}

/* Change background color of buttons on hover */
.tab button:hover {
    background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
    background-color: lightblue;
}

.tab h3 {
    width: 40%;
    margin: 5px auto 0px auto;
    vertical-align: middle;
    text-align: center;
    color: slateblue;
}

