body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 0;
}

h1,
h2,
h3,
h4,
h5 {
    display: inline-block;
    margin-right: 0.5rem;
}

h1 {
    color: #000;
    font-size: 200%;
    border-bottom: 2px solid #000;
    padding: 1rem 1.5rem 1rem;
    width: 100%;
    margin: 0;
    /*background-color: #4157de21;*/
}

h2 {
    margin: 0 0 0.5rem;
}

h2.login {
    margin-top: 2rem;
    text-align: center;
    width: 100%;
}

h2.stat {
    cursor: pointer;
}

h3 {
    margin-top: 0;
}

h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

a {
    text-decoration: none;
}

table {
    border-collapse: collapse;
    margin: 1rem 0;
}

tr.current {
    background-color: #e0e7fd;
}

th,
td {
    padding: 0.25rem;
    border: 1px solid #ccc;
    text-align: left;
}

.text-centered {
    text-align: center;
}

.current {
    background-color: #8bc34a;
}

select {
    padding: 0.25rem;
    outline: none;
    border: 1px solid #000; 
}

select:focus {
    border: 1px solid #000; 
    outline: none;
}

button {
    cursor: pointer;
}

/* */

div#header {
    border-bottom: 2px solid #000;
    padding: 0.5rem 0.5rem 0 0.75rem;
    position: relative;
    /*background-color: #e5e5e5;*/
}

span#title {
    color: #ee1a30;
    position: relative;
    top: -6px;
    font-size: 300%;
    font-weight: 700;
    margin: 0;
}

span#version {
    position: relative;
    top: -6px;
    left: 8px;
}

#main {
    margin-left: 1rem;
    padding: 1.5rem;
}

#tabs {
    position: relative;
    height: 50px;
    /*width: 600px;*/
    margin: 1.9rem 0 0 1.5rem;
    border-bottom: 2px solid #ee1a30;
}

div.tab {
    display: inline-block;
    border-top-right-radius: 10px;
    position: relative;
    bottom: -2px;
    min-width: 250px;
    text-align: center;
}

div.tab:not(.active) {
    cursor: pointer;
    font-size: 110%;
    font-weight: 400;
    padding: 7px 10px;
    color: #000;
    border: 2px solid #000;
    border-bottom: 2px solid transparent;
    bottom: -6px;
}

div.tab:not(.active):hover {
    color: #4157de;
    border: 2px solid #4157de;
}

div.tab.active {
    font-size: 120%;
    color: #ee1a30;
    font-weight: 500;
    padding: 10px 10px;
    border: 2px solid #ee1a30;
    border-bottom: 2px solid #fff;
    border-top-right-radius: 10px;
}

div.tab_content {
    margin-left: 1.5rem;
    padding: 1.5rem;
    border-left: 2px solid #ee1a30;
    border-bottom: 2px solid #ee1a30;
    border-right: 2px solid #ee1a30;
}

#login {
    display: block;
    width: 27rem;
    margin: 35px auto 0;
}

#login label {
    font-weight: 500;
}

a#logout {
    position: absolute;
    top: 35px;
    right: 20px;
}

form {
    display: inline-block;
}

label {
    margin-right: 0.5rem;
}

input {
    font-family: inherit;
}

input[type='submit'] {
    font-weight: 600;
}

div#error {
    width: 100%;
    text-align: center;
    color: red;
    margin-top: 1rem;
    font-weight: 500;
}

img.folder {
    width: 30px;
    height: 30px;
    position: relative;
    top: 9px;
    left: 7px;
}

div.stat.column {
    display: inline-block;
    margin-right: 2rem;
}

div#container {
    display: flex;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
}

div#menu-left {
    flex: 0 0 200px;
    display: flex;
    flex-direction: column;
    padding: 1rem 1.5rem 1rem 1rem;
    border-right: 2px solid #000;
    /*background-color: #ee1a300f;*/
}
div#menu-left ul {
    list-style: none;
    padding: 0;
    width: 100%;
}
div#menu-left ul li {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120%;
    font-weight: 500;
    height: 80px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 1rem;
}
div#menu-left ul li:not(.active) {
    cursor: pointer;
    border: 2px solid transparent;
}
div#menu-left ul li:not(.active):hover {
    color: #4157de;
    border: 2px solid #4157de;
}
div#menu-left ul li.active {
    height: 80px;
    color: #ee1a30;
    border: 2px solid #ee1a30;
}

div#content {
    flex-grow: 1;
}

/*#header, #content, #container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}*/

div.section {
    /* border: 2px solid #000; */
    margin: 1.5rem;
    padding: 1rem;
}

div.field {
    margin-bottom: 1rem;
}

label {
    font-weight: 500;
}

select,
input,
button {
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    border: 1px solid #000;
    box-sizing: border-box;
    line-height: 1rem;
    height: 2rem;
    background-color: #fff;
}

div.upload-container {
    margin: 12px;
    padding: 10px;
    border: 1px dashed #CCB;
    text-align: center;
    cursor: pointer;
    background-color: #fbfbfb;
}

div.upload-container.dragover {
    border-color: #000;
    background-color: #e9e9e9;
}

div.image img {
    margin: 0 auto;
    display: block;
}

div.tags  {
    margin-left: 1.65rem;
}

span.tag {
    margin-right: 0.5rem;
    border: 1px solid #ee1a30;
    border-radius: 25px;
    color: #ee1a30;
    font-weight: 500;
    font-size: 80%;
    padding: 1px 5px;
    height: 14px;
    line-height: 14px;
    display: inline-block;
    font-family: Consolas;
}