/* Rubik, 400 */
@font-face {
    font-display: swap;
    font-family: 'Rubik';
    font-style: normal;
    font-weight: 400;
    src: url('../webfonts/rubik-v31-latin-regular.woff2') format('woff2');
}

/* Rubik, 500 */
@font-face {
    font-display: swap;
    font-family: 'Rubik';
    font-style: normal;
    font-weight: 500;
    src: url('../webfonts/rubik-v31-latin-500.woff2') format('woff2');
}

/* Rubik, 600 */
@font-face {
    font-display: swap;
    font-family: 'Rubik';
    font-style: normal;
    font-weight: 600;
    src: url('../webfonts/rubik-v31-latin-600.woff2') format('woff2');
}

/* Rubik, 900 */
@font-face {
    font-display: swap;
    font-family: 'Rubik';
    font-style: normal;
    font-weight: 900;
    src: url('../webfonts/rubik-v31-latin-900.woff2') format('woff2');
}

/* Roboto Mono, 400 */
@font-face {
    font-display: swap;
    font-family: 'Roboto Mono';
    font-style: normal;
    font-weight: 400;
    src: url('../webfonts/roboto-mono-v7-latin-regular.woff2') format('woff2');
}

/* Layout */

html,
* {
    font-family: "Rubik", sans-serif;
}

a,
a:hover,
a:active,
a:visited {
    /* color: #336699; */
}

.small {
    font-size: 75%;
}

strong,
.strong,
bold,
.bold {
    font-weight: 500;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: "Rubik", sans-serif;
    font-weight: 600;
    color: #4d535e;
    letter-spacing: -1.5px;
}

a.label {
    padding: 2px 5px 4px 5px;
    color: #ffffff;
    background-color: #1d59d0;
    border-radius: 4px;
    text-decoration: none;
    margin-left: 0px;
}

a.no-ul {
    text-decoration: none;
}

a.label:hover {
    text-decoration: none;
}

.small {
    font-size: 80%;
}

.nobr {
    white-space: nowrap;
}

th {
    white-space: nowrap;
}

/* Navigation */

nav ul {
    margin: 0;
    line-height: 100%;
}

nav li :where(a,[role=link]) {
    padding-left: 6px;
    padding-right: 6px;
}

/* Header */

header {
    padding: 3em 0;
}

header h1 {
    font-size: 3em;
}

/* Footer */

footer {
    text-align: center;
    padding-top: 2em;
    margin-top: 2em;
    border-top: 2px solid #e0e0e0;
}

footer ul {
    display: inline-block;
}

footer ul li {
    list-style-type: none;
}

footer a {
    text-decoration: none;
}

ul.icons {
    padding: 0;
}

/* Misc */

code {
    color: #000000;
    background-color: #e0e0e0;
    border-radius: 4px;
    padding: 2px 4px 2px 4px;
    margin: 0;
    font-size: 80%;
    font-family: "Roboto Mono", "Courier New", monospace;
    font-weight: 400;
}

pre {
    padding: 10px;
    font-size: 80%;
}

img {
    border: 0;
    margin: 0;
    outline: 0;
}

#lcd-logo {
    max-width: 150px;
}

.black {
    color: #000000;
}

.white {
    color: #ffffff;
}

.light-gray {
    color: #c0c0c0;
}

.dim {
    opacity: 0.5;
}

.gray {
    color: #b0b0b0;
}

.dark-gray {
    color: #646464;
}

.orange {
    color: #ff8000;
}

.blue {
    color: #1d59d0;
}

.red {
    color: #a00000;
}

.green {
    color: #00a000;
}

.gold {
    color: #FFCC33;
}

.nowrap {
    word-wrap: no-wrap;
}

.center {
    display: block;
    align-content: center;
    align-items: center;
    text-align: center;
}

.text-left {
    text-align: left;    
}

.text-center {
    text-align: center;    
}

.text-right {
    text-align: right;    
}

.left {
    display: block;
    align-content: left;
    align-items: left;
    text-align: left;
}

.right {
    display: block;
    align-content: right;
    align-items: right;
    text-align: right;
}

.float-center {
    clear: both;
    margin: 0 auto;
}

.width-50p {
    width: 50%;
}

.maxwidth-50p {
    max-width: 50%;
}

.maxwidth-75p {
    max-width: 75%;
}

.sup {
    font-size: 75%;
}

.table-wrapper {
    padding: 0;
    margin: 0  0 1em 0;
    overflow-x: auto;
}

table {
   /* font-size: 80%;  */
}

img.flag {
    width: 32px;
    max-height: 32px;
}

ul {
    margin-left: 2em;
    line-height: 110%;
}

/* Stats */

p.stats {
    padding-top: 12px;
}

span.stats {
    padding: 0 20px;
}

/* Actions */

.grid.actions {
    padding: 2em 0 1em 0;
    border-top: 2px solid #e0e0e0;
    border-bottom: 2px solid #e0e0e0;
}

.grid section {
    align-content: center;
    text-align: center;    
}

.grid section h4 a {
    color: #000000;
}

.grid section a span.fa {
    color: #000000;
    font-size: 400%;
    padding-bottom: 12px;
}

/* Search */

form {
    max-width: 75%;
    padding: 0 0 1em 0;
    margin: 0 auto;
}

select:focus,
input[type=text]:focus,
input[type=text]:active {
    background-color: #ffffcc !important;
}

button[type=reset] {
    background-color: #DF4020;
    border-top-color: #B33319;
    border-bottom-color: #B33319;
}

select option [disabled] {
    color: #e0e0e0 !important;
}

/* Media queries */

@media (max-width: 767px) {
    .no-mobile {
        display: none;
    }

    span.stats {
        display: block;
        padding: 0 10px;
        font-size: 75%;
    }

    header h1 {
       font-size: 2.5em;
    }

    ul {
        display: block !important;
        padding-left: 0;
        padding-bottom: 12px;
        margin: 0 auto;
        margin-left: 2em;
    }

    a.label {
       padding: 2px 5px;
    }