@font-face {
    font-family: Roboto;
    src: url(/fonts/Roboto.ttf);
}

@font-face {
    font-family: Tektur;
    src: url(/fonts/Tektur.ttf);
}

:root {
    --main-color: #00ACC1;
}

::selection {
    background: var(--main-color);
    color: white;
}

html,
body {
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
    font-family: Tektur, sans-serif;
    background-color: #fdfdfd;
    color: #606060;
}

a {
    color: var(--main-color);
}

#cont {
    width: 100%;
    min-height: 100vh;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

header {
    background: white;
    background-image: url("/img/header.png");
    background-size: 100%;
    background-position-y: center;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .1);
    text-align: center;
    position: relative;
    display: grid;
    grid-template-rows: 1fr auto auto;
    min-height: 40vh;
}

#header-filler {
    background: #0000001c;
}

#header-status {
    padding: 1.25rem;
    font-size: 1.5rem;
    font-weight: bold;
    background: #0000007a;
    color: #fff;
}

#header-menu {
    background: #000000c7;
}

#header-menu>a {
    font-size: 1.25rem;
    text-decoration: none;
    border-bottom: 5px solid #ffffff00;
    color: white;
    padding: 0.85rem 1.75rem;
    display: inline-block;
}

a.active {
    border-bottom: 5px solid var(--main-color) !important;
}

h1,
h2,
h3,
h4 {
    margin: 0;
}

main {
    padding: 1rem 10rem;
    text-align: center;
}

footer {
    text-align: center;
    padding: 0.5rem;
}

#rules-cont {
    text-align: left;
}

.text-block {
    font-family: Roboto;
    white-space: pre-line;
    line-height: 1.5;
}

.text-block-border {
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    background: white;
}

.text-block-mini {
    display: inline-block;
}

#bans-cont {
    text-align: left;
}

#bans-head {
    display: grid;
    grid-template-columns: 1fr auto;
}

.userlist-td {
    line-height: 0;
}

.userlist-cont {
    display: inline-flex;
    align-items: center;
}

.userlist-img {
    display: inline-block;
    --size: 32px;
    width: var(--size);
    height: var(--size);
    background-size: 800%;
    background-position: calc(-1 * var(--size)) calc(-1 * var(--size));
    image-rendering: pixelated;
    margin-right: 0.75rem;
}

.panel {
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
}

.panel-info {
    display: inline;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translate(0, -50%);
    cursor: pointer;
    line-height: 0;
}

.panel-info>svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #000;
}

.panel-info>svg:hover {
    width: 1.5rem;
    height: 1.5rem;
    color: #00838f;
}

table {
    width: 100%;
    border: 1px solid rgba(0, 0, 0, .07);
    border-collapse: collapse;
    border-spacing: 0;
}

table td {
    border: 1px solid rgba(0, 0, 0, .07);
    overflow: hidden;
    padding: 0.5rem;
    text-overflow: ellipsis;
}

table tbody tr:nth-of-type(even) {
    background-color: rgba(0, 0, 0, .05);
}

tr.head {
    font-weight: bold;
}

tr.head>td {
    padding: 0.75rem;
}

p.head {
    margin: 0;
    font-weight: bold;
}

td.icons {
    text-align: center;
    line-height: 0
}

#tr-message {
    text-align: center;
}

.hidden {
    display: none !important;
}

span.head {
    text-align: center;
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

span.info {
    font-weight: normal;
}

button,
input[type="button"],
input[type="submit"],
input[type="text"],
input[type="date"],
input[type="number"],
input[type="password"],
input[type="search"],
textarea,
select,
span.info {
    background: white;
    padding: 0.25rem;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    font-size: 1rem;
    color: #212529;
    background-color: #fff;
    vertical-align: middle;
}

.paginator-controls {
    margin-top: 1rem;
    text-align: center;
}

.paginator-controls>div {
    display: inline-block;
}

.paginator-button,
select {
    display: inline-block;
    background: white;
    margin: 0 0.25rem;
    padding: 0.25rem;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    font-size: 1.25rem;
    color: #212529;
    background-color: #fff;
    vertical-align: middle;
    padding: 0.25rem 0.75rem;
    border: 1px solid #ced4da;
    line-height: 1.5;
    cursor: pointer;
    user-select: none;
}

select,
input {
    line-height: 1.5;
    font-family: Tektur, sans-serif;
}

select:focus,
select:focus-visible,
input:focus,
input:focus-visible {
    outline-color: var(--main-color);
    border-color: var(--main-color);
}

[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}

.search-input-cont {
    position: relative;
}

.search-input-cont > .search-input-cancel {
    position: absolute;
    right: 0rem;
    top: 50%;
    transform: translate(0, -50%);
    line-height: 0;
    cursor: pointer;
    color: #616161;
    display: block;
}

.search-input-cont > .search-input-cancel:hover {
    color: var(--main-color);
}

.search-input-cancel > svg {
    --size: 2rem;
    width: var(--size);
    height: var(--size);
}

.paginator-button.active {
    font-weight: bold;
    color: var(--main-color);
    border-color: var(--main-color);
}

#scroll-but {
    display: none;
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    text-align: center;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    padding: 0.5em;
    background: white;
    border-radius: 0.25rem;
    color: var(--main-color);
    z-index: 5;
    line-height: 0;
    border: 1px solid var(--main-color);
}

#scroll-but>svg {
    width: 1.5em;
    height: 1.5em;
    display: block;
}