.float-window {
    width: 300px;
    height: 500px;
    position: relative;
    top: calc(50% - 250px);
    left: calc(50% - 150px);
}
header {
    display: flex;
    justify-content: space-between;
}
header #logo .icon {
    color: black;
    display: inline-block;
    margin: 0 0 0 10px;
    vertical-align: middle;
}
header #logo .bar {
    color: #00bfff;
}
header #logo a.text {
    color: black;
    display: inline-block;
    text-decoration: none;
    font-size: 1.5em;
    font-weight: bold;
    margin: 0 0 0 10px;
    vertical-align: middle;
}
/* override simple css */
h4 {
    margin: 0;
}
header {
    padding: .7rem 1rem;
    text-align: left;
    background: none;
}
p.message,
p.error {
    padding: .5rem 1rem;
    font-size: .9rem;
    border-radius: 5px;
}
p.error {
    background-color: lightpink;
    color: darkred;
}
p.message {
    background-color: lightgreen;
    color: darkgreen;
}
header .user {
    line-height: 1.8rem;
}
body {
    max-width: 100%;
}
th, td {
    padding: 3px;
}
td input {
    margin: 0;
    width: 100%;
}
input[ref="newins"],
input[ref="ins"] {
    width: calc(100% - 30px)
}
table button {
    padding: .5rem;
}
form.finish,
form.login {
    max-width: 50ch;
}
p {
    margin: .2em 0;
}
@media screen and (max-width: 720px) {
    * {
        font-size: .9rem;
    }
    table td.name,
    table th.name {
        display: none;
    }
    header .user {
        line-height: 1.6em;
    }
}
@media screen and (max-width: 480px) {
    table td.cases,
    table th.cases,
    table td.note,
    table th.note {
        display: none;
    }
}
input[type="checkbox"]:focus,
input[type="checkbox"]:enabled:hover {
    border-color: black;
}
