@media all and (orientation: portrait) {
    #content {
        background: none !important;
    }
}

* {
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
}

body {
    font-family: "Bitstream Vera Sans", Tahoma, sans-serif;
    font-size: 0.75em;
    color: black;
    background: #edeae5;
    /* background: url('/static/common/hiware.png'); */
}

a {
    color: #016670;
    text-decoration: none;
}

a:hover {
    color: black;
    text-decoration: underline;
}

p {
    margin: 1em 0;
}

input[type="text"],
input[type="password"],
input[type="email"] {
    color: black;
    background-color: white;
    padding: 0 0 0 6px;
    font: 500 14px/29px Helvetica, Arial, sans-serif;
    width: 100%;
    box-sizing: border-box;
}

input[type="text"]:valid,
input[type="password"]:valid,
input[type="email"] {
    border-style: none;
}

input[type="text"]:invalid,
input[type="password"]:invalid {
    border: none;
    border-right: 2px solid red;
}

#loginform > table,
#recoverform > div > table {
    border-spacing: 1px;
}

#loginform #username,
#recoverform #new_pass_1 {
    border-radius: 5px 5px 0 0;
}

#loginform input[type="submit"],
#recoverform input[type="submit"],
input[type="submit"] {
    width: 100%;
    background-color: #fbe180;
    font: 500 14px/29px Helvetica, Arial, sans-serif;
    border: none;
    border-radius: 0 0 5px 5px;
    cursor: pointer;
}

#loginform input[type="submit"]:hover,
#recoverform input[type="submit"]:hover,
input[type="submit"]:hover {
    background-color: #fff9c7;
}

#recoverform .layout td:first-child {
    width: 100%;
    text-align: right;
    padding-right: 5px;
}

#head,
#foot {
    height: 30px;
    width: 100%;
    background: #016670;
    overflow: hidden;
}

#head {
    text-align: right;
}

#foot {
    text-align: center;
    bottom: 0;
    position: absolute;
}

#foot > span,
#head > span {
    line-height: 30px;
    margin: 1em;
}

#foot > span,
#head > span {
    color: white;
}

#foot a,
#head a {
    color: white;
}

#foot a:hover,
#head a:hover {
    color: white;
}

#content {
    width: 250px;
    height: calc(80% - 60px);
    margin: 0 auto;
    padding: 10% 0;
    /*
    height: calc(100% - 60px);
    overflow-y: auto;
    box-sizing: border-box;
    background-repeat: no-repeat;
    background-size: contain;
    display: flex;
    align-items: center;
    padding: 0 25%;
    */
}

.tldr {
    width: 200%;
    height: 500px;
    margin-left: -50%;
    overflow-y: scroll;
}

ul {
    margin-left: 2em;
}

#logo {
    width: 250px;
    height: 50px;
    background-image: url("/static/common/logo-black.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin: 1em 0;
}

.centered {
    /* text-align: center; */
    vertical-align: middle;
}

.hidden {
    display: none;
}

.info {
    color: green;
    font-weight: bold;
}

.warning {
    color: red;
    font-weight: bold;
}

.notice {
    width: 250px;
}
