* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Atkinson, sans-serif;
}

body {
    background-color: #1b1b23;
    color: white;
    overflow: hidden;
}

a {
    color: #adb5ff;
}

hr {
    border: 2px solid hsl(248, 22%, 35%);
    margin-top: 18px;
    margin-bottom: 8px;
}

#sidebar {
    position: fixed;
    top: 0px;
    right: 0px;
    height: 100vh;
    width: 33.33vw;
    padding: 10px 15px;
    overflow-y: scroll;
}

.small {
    font-size: 15px;
}

#welcome {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}

#welcome div {
    background-color: #483d8b;
    padding: 20px 30px;
    border: 5px solid #2a273d;
    filter: drop-shadow(5px 5px 0px #2a273d);
    width: 500px;
    text-align: center;
}

#welcome h2 {
    margin-bottom: 8px;
}

#welcome p {
    margin: 12px 0px;
}

#welcome hr {
    border-color: #ffffff40;
    margin-bottom: 20px;
}

#sidebar h1 {
    margin-bottom: 2px;
    margin-top: 5px;
    font-size: 28px;
}

#sidebar h2 {
    margin-bottom: 4px;
}

#logo {
    position: fixed;
    top: 10px;
    left: 10px;
    background-color: #483d8b;
    padding: 5px 12px;
    border: 5px solid #2a273d;
    filter: drop-shadow(5px 5px 0px #2a273d);
}

#logo h2 {
    color: #adb5ff;
}

#logo select {
    width: 100%;
    margin: 6px 0px;
    font-size: 15px;
    background-color: #00000040;
    color: white;
    border: none;
    padding: 4px 6px;
}

.highlighted {
    color: #ffffff;
    font-weight: bold;
    background-color: #5474cc !important;
}

.ralign {
    text-align: right;
    padding-right: 25px;
}

.chlf {
    color: gold;
}

.cmin {
    color: #ff6b6b;
}

.cmaj {
    color: #8bffa4;
}

table {
    border-collapse: collapse;
    table-layout: fixed;
    width: 100%;
    border: 5px solid #2a273d;
    filter: drop-shadow(5px 5px 0px #2a273d);
    margin-bottom: 15px;
}

.col_l {
    width: 100px;
}

.col_m {
    width: 100%;
}

.col_r {
    width: 90px;
}

td,
th {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    padding: 2px 0px;
    user-select: none;
}

tr:hover {
    color: #85d8ff;
    cursor: pointer;
}

tr:active {
    color: #569fc0;
}

th {
    color: #adb5ff;
    background-color: #131227;
    font-weight: bold;
}

tr:nth-child(odd) {
    background-color: #483d8b;
}

tr:nth-child(even) {
    background-color: #3d3574;
}

.sortable tr:nth-child(odd) {
    background-color: hsl(200, 39%, 39%);
}

.sortable tr:nth-child(even) {
    background-color: hsl(200, 37%, 33%);
}

button {
    color: white;
    background-color: #483d8b;
    border: 5px solid #2a273d;
    font-weight: bold;
    font-size: 18px;
    filter: drop-shadow(5px 5px 0px #2a273d);
    margin-bottom: 8px;
    margin-right: 8px;
    padding: 6px;
}

button.wide {
    width: 120px;
}

button:disabled {
    color: #ffffff60;
    background-color: #332d4c;
}

button:hover:enabled {
    background-color: #6456be;
}

button:active:enabled {
    transform: translateY(5px) translateX(5px);
    background-color: #7566da;
    filter: none;
}

.rbutton {
    position: absolute;
    right: 15px;
}

.green {
    color: #8bffa4;
}

.greener {
    animation-name: pulseColor;
    animation-duration: 2s;
    animation-iteration-count: infinite;
}

.red {
    color: #ff6b6b;
}

.blue {
    color: rgb(93, 174, 255);
    font-weight: bold;
}

input[type=number] {
    background-color: #00000020;
    font-size: 16px;
    color: white;
    border: none;
    text-align: center;
}

span.icon {
    background-size: contain !important;
    float: left;
    height: 25px;
    width: 25px;
}

#add_party {
    background-color: #483d8b;
    border: 5px solid #2a273d;
    font-size: 18px;
    filter: drop-shadow(5px 5px 0px #2a273d);
    padding: 12px;
    width: 100%;
}

#add_party input[type=color] {
    height: 20px;
    vertical-align: middle;
    border: none;
    flex: 1;
    margin-left: 12px;
    min-width: 0;
}

#add_party input[type=text] {
    flex: 1;
    margin-left: 12px;
    font-size: 18px;
    min-width: 0;
    background-color: #0004;
    border: 1px solid #fff4;
    color: white;
}

#add_party p {
    line-height: 20px;
    margin-bottom: 10px;
    display: flex;
    align-items: baseline;
}

#links {
    margin-bottom: 40px;
}

button:disabled span.icon {
    opacity: 40%;
}

span.left {
    background: url(./icons/left.svg) no-repeat;
}

span.right {
    background: url(./icons/right.svg) no-repeat;
}

span.edit {
    background: url(./icons/edit.svg) no-repeat;
}

span.add {
    background: url(./icons/add.svg) no-repeat;
}

span.delete {
    background: url(./icons/delete.svg) no-repeat;
}

span.reset {
    background: url(./icons/reset.svg) no-repeat;
}

span.sort {
    background: url(./icons/sort.svg) no-repeat;
}

@keyframes pulseColor {
    0% {
        color: #8bffd6;
    }

    50% {
        color: #00ddff;
    }

    100% {
        color: #8bffd6;
    }
}

@font-face {
    font-family: Atkinson;
    src: url(./fonts/AtkinsonHyperlegible-Regular.ttf);
    font-weight: normal;
}

@font-face {
    font-family: Atkinson;
    src: url(./fonts/AtkinsonHyperlegible-Bold.ttf);
    font-weight: bold;
}