body,
html {
    height: 100%;
    position: relative;
}

body {
    background-color: #eceff1;
    color: #000;
    font-size: 0.9em;
    font-family: sans-serif, helvetica;
    margin: 0;
    padding: 0;
}

header {
    margin: 0;
    padding: 0.6em 2em 0.4em;
    background-color: #0f75bc;
    border-bottom: 2px solid #000;
    text-align: center;
}

header .title {
    display: inline-block;
    color: #fff;
}

nav ul {
	list-style: none;
	text-decoration: none;
	display: -webkit-box;
	display: flex;
	-webkit-box-pack: center;
	justify-content: center;
	flex-wrap: wrap;
}

nav li {
	text-align: center;
	margin: 0 5px 10px 5px;
}

nav li:last-of-type {
    margin-right: 0;
}

h1 {
    text-align: center;
    font-weight: normal;
    font-size: 1.75em;
}

h1 strong {
    font-weight: bold;
}

h2 {
    font-size: 1.3em;
    font-weight: normal;
}

footer {
    text-align: center;
    margin: 0;
    background-color: #2D4760;
    color: #fff;
    font-weight: 600;
    font-size: 1em;
    border-top: 2px solid #000;
    width: 100%;
    padding: 2em;
    box-sizing: border-box;
    position: relative;
    line-height: 1.5rem;
}
footer a {
	color: #ffe3b0;
}
footer a:hover {
	color: #ffcf77;
}
.container {
    min-height: 100vh;
    overflow: hidden;
    display: block;
    position: relative;
    box-sizing: border-box;
    padding: 10px;
}

.content {
    padding: 1em 5em;
}

input[type="submit"],
.button {
    padding: 10px 25px;
    border-radius: 5px;
    border: 2px solid #8cc63f;
    cursor: pointer;
    font-size: 1em;
    text-align: center;
    -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
    color: white;
    background-color: #0f75bc;
    font-weight: 600;
}

input[type="submit"]:hover,
.button:hover {
    background-color: white;
    color: black;
    border: 2px solid #008CBA;
    text-decoration: none;
}

input[type="text"],
input[type="password"] {
    border: 1px solid #cacaca;
    padding: 5px;
    border-radius: 5px;
}

.button {
    display: inline-block;
}

.back.button {
    display: inline-block;
    margin: 25px 15px;
}

.error {
    color: red;
}

.center {
    text-align: center;
}

.login-form {
    max-width: 400px;
    margin: 50px auto 0;
    text-align: center;
    background-color: #fbfbfb;
    padding: 15px 0;
    border-radius: 20px;
    border: 1px solid #d5d5d5;
}

.login-form .login {
    display: block;
    max-width: 200px;
    width: 100%;
    margin: 5px auto;
    text-align: center;

}

.login-form .login-row {
    margin: 20px 0;
}

.login-form .login-row-last {
    margin: 30px 0 10px;
}

.login-form h3 {
    margin-bottom: 40px;
}

.login-form .error {
    float: left;
    width: 100%;
    margin-top: 25px;
    font-size: 1.2em;
    font-weight: 700;
}

.title {
    position: relative;
    width: 85%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.error-text {
    color: red;
}

.error-box {
    background: rgb(251, 251, 251);
    background: rgba(251, 251, 251, 0.5) !important;
    border: 1px solid #000;
    margin: 30px auto;
    max-width: 90%;
    padding: 15px;
}

.error-table {
    background: rgb(251, 251, 251);
    background: rgba(251, 251, 251, 0.5) !important;
    border: 1px solid #b0b0b0;
    display: table;
    table-layout: fixed;
    text-align: center;
    width: 100%;
}

.error-table .row {
    display: table-row;
}

.error-table .row:nth-child(2n) {
    background-color: rgb(185, 185, 185);
    background-color: rgba(185, 185, 185, 0.5);
}

.error-table .row:nth-child(2n+1) {
    background-color: rgb(185, 185, 185);
    background-color: rgba(255, 255, 255, 0.5);
}

.error-table .row > div {
    display: table-cell;
    min-width: 100px;
    padding: 5px;
    vertical-align: middle;
}

.error-table .row .left-cell {
    border-right: 1px solid #b0b0b0;
    width: 25%;
}

.error-table .row .right-cell {
    min-width: 75%;
}


.gamelog pre {
	word-wrap: break-word;
	white-space: pre-line;
}
