html {  background-color: red; }

body {
    height: 100vh;

    margin: 0px;
    background-color: white;
    display: flex;

    font-family: Futura, sans-serif;
}

body a { color: inherit; }

#sidebar {
    padding-left: 10px;
    width: 100px;
    flex: 10%;
    min-width: 200px;

    overflow: auto;
}

.sidebar_item {
    height: 36px;
    padding-right: 18px;

    cursor: pointer;
    
    display: flex;
    justify-content: right;
    align-items: center;
}

#viewer {
    padding-top: 36px;
    padding-left: 36px;
    padding-right: 36px;
    margin: 0px;
    flex: 90%;

    border-top-left-radius: 36px;
    border-bottom-left-radius: 36px;

    overflow: auto;

    background-color: #ddd;
    color: black;
}

input {
    border: 1px solid black;
    padding: 4px;
}

input[type="color"] {
    padding: 0px;
    border: none;
    cursor: pointer;
    height: 36px;
    width: 36px;
}

input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
}

input[type="color"]::-webkit-color-swatch {
    border: 1px solid black
}

input:focus { border: none; }
.no_underline { text-decoration: none; }

h2 {
    font-size: 12pt;
    padding-right: 1em;
}

#login_form button {
    border: none;
    font-size: 12pt;
    color: black;
    background-color: white;
    border: 1px solid black;
    border-radius: 4px;

    margin-top: 4px;
}

#login_form input {
    height: 16pt;
    border: 1px solid #7D7D7D;
    font-size: 12pt;
}

#login_form button:hover {
    color: white;
    background-color: black;
    cursor: pointer;
}

.archive_details {
    max-width: 500px;
}

.archive_details table {
    width: 100%;
    text-align: center;
    border-collapse: separate;
    border-spacing: 0;
}

.archive_details table th {
    border-bottom: 1px solid black;
    padding-bottom: 8px;
    position: sticky;
    top: 0;
    background-color: #ddd;
}

.archive_details table td {
    padding-top: 8px;
}

.archive_details table tr {
    line-height: 20px;
}

.archive_details table tr:nth-child(even) {
    background-color: #eee;
}

.archive_details table tr:hover {
    background-color: #aaa;
}

.archive_details table tr :first-child {
    text-align: left;
    word-break: break-all;
}

.archive_details table tr :last-child {
    text-align: right;
}

.sidebar_item {
    height: 36px;
    padding-right: 18px;

    cursor: pointer;
    
    display: flex;
    justify-content: right;
    align-items: center;
}

.active_sidebar_item {
    cursor: default;

    color: black;
    background-color: #ddd;
    border-top-left-radius: 18px;
    border-bottom-left-radius: 18px;
}

.destructive_action {
    color: red;
    text-decoration: underline;
    cursor: pointer;
    text-underline-offset: 4px;
}

.new_project {
    margin-top: 18px;
    text-decoration: underline;
    text-decoration-style: dashed;
    text-underline-offset: 4px;
    color: gray;
    padding-right: 18px;
    cursor: pointer;
}

#sidebar_project_list {
    text-align: right;
}