html,
body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

#hdr {
    font-size: 1.25rem;
    background-color: #0078D7;
    color: #FFF;
    text-align: center;
    padding: .375rem 0;
}

#main {
    display: flex;
    flex-grow: 1;
    overflow-y: auto;
    padding: 1rem;
}

#main>div {
    width: 100%;
}

#main-login {
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#main-logo {
    width: 16rem;
    height: 16rem;
}

#login-form-hint {
    height: 1rem;
}

#login-form input {
    margin-top: .375rem;
    width: 16rem;
}

#login-button {
    border: none;
    background-color: #0078D7;
    color: #FFF;
    width: 12rem;
    height: 2.25rem;
}

#main-alert,
#report-error {
    font-weight: bold;
    color: #E81123;
}

#form-category-container {
    display: flex;
    justify-content: center;
}

#form-category-table {
    border-collapse: separate;
}

#form-category-table td {
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    border: 2px solid #FFF;
}

#form-category-table td:hover {
    border-color: #0078D7;
}

#main-report {
    flex-direction: column;
    flex-shrink: 0;
}

.report-hidden {
    display: none;
}

.report-addimage {
    display: inline-block;
    padding: 0 .25rem;
    height: 2rem;
    line-height: 2rem;
    border: 1px solid #0078D7;
    color: #0078D7;
    cursor: pointer;
    text-align: center;
    margin-left: .5rem;
}

#report-map {
    height: 20rem;
    margin: 1rem 0;
}

#report-form input,
#report-form select {
    width: 8rem;
}

#report-comment-line {
    display: flex;
    align-items: center;
}

#report-comment {
    flex-grow: 1;
}