html, body {
    height: 100%;
    padding: 0;
    margin: 0;
}

.content {
    float: left;
    padding-left: 50px;
}

.login {
    margin-left: auto;
    margin-right: auto;
    max-width: 768px;
    padding-top: 100px;
}

.login input,
.login label {
    margin-right: 10px;
}

.pure-table tr {
    cursor: pointer;
}

.pure-table-box {
    display: inline-block;
}

tr:hover td {
    background-color: darkgrey;
}

tr.selected {
    color: #ffffff;
    background-color: #0081c2;
}

#menu {
    background: #191818;
    color: #ffffff;
    float: left;
    min-height: 100vh;
}

#menu .pure-menu-heading {
    color: #fff;
    font-size: 125%;
    font-weight: 300;
    letter-spacing: .1em;
    margin-top: 0;
    padding: .5em .8em;
}

.button-controls {
    padding-bottom: 10px;
}

.button-controls input {
    margin-right: 3px;
}

.pagination {
    text-align: center;
    padding-top: 10px;
}

.pagination a {
    margin-right: 3px;
    font-family: inherit;
    font-size: 100%;
    padding: 5px;
    color: rgba(0,0,0,.8);
    border: none transparent;
    background-color: #e6e6e6;
    text-decoration: none;
    border-radius: 2px;
    cursor: pointer;
}

.pagination .active {
    box-shadow: 0 0 0 1px rgba(0,0,0,.15) inset,0 0 6px rgba(0,0,0,.2) inset;
    border-color: #000;
}

#menu .pure-menu .menu-item-divided, #menu .pure-menu ul {
    border-top: 1px solid #333;
}

#menu ul .pure-menu-list span {
    padding: .5em 1em;
    display: block;
}

.modal-dialog-content {
    text-align: center;
    padding: 10px;
}

.game-box {
    padding: 0.2em;
}

.game-box-headline {
    text-align: center;
    border: 1px solid #eeeeee;
    background: #f5f5f5;
    color: #333333;
    font-weight: bold;
}

#startGameDialog {
    position: absolute;
    margin-top: -50px;
    margin-left: -400px;
    height: auto;
    top: 20%;
    left: 50%;
    border-width: 1px;
    border-style: ridge;
}

#startGameDialog td {
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 10px;
    padding-right: 10px;
}

.start-game-headline {
    padding: 0px 15px;
    border-bottom: 1px solid #eee;
    background-color: #ffffff;
}

.start-game-headline a {
    float: right;
    cursor: pointer;
    text-decoration: none;
    color: black;
}

.start-game-links {
    border-top: 1px solid #eee;
    padding: 10px;
}

#startGameDialog tr:hover > td {
    background-color: unset !important;
    color: unset !important;
}

.toggle {
    --width: 80px;
    --height: calc(var(--width) / 3);

    position: relative;
    display: inline-block;
    width: var(--width);
    height: var(--height);
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3);
    border-radius: var(--height);
    cursor: pointer;
}

.toggle input {
    display: none;
}

.toggle .slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--height);
    background-color: #ccc;
    transition: all 0.4s ease-in-out;
}

.toggle .slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: calc(var(--height));
    height: calc(var(--height));
    border-radius: calc(var(--height) / 2);
    background-color: #fff;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease-in-out;
}

.toggle input:checked+.slider {
    background-color: #2196F3;
}

.toggle input:checked+.slider::before {
    transform: translateX(calc(var(--width) - var(--height)));
}

.toggle .labels {
    position: absolute;
    top: 8px;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 12px;
    font-family: sans-serif;
    transition: all 0.4s ease-in-out;
}

.toggle .labels::after {
    content: attr(data-off);
    position: absolute;
    right: 5px;
    color: #4d4d4d;
    opacity: 1;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease-in-out;
}

.toggle .labels::before {
    content: attr(data-on);
    position: absolute;
    left: 5px;
    color: #ffffff;
    opacity: 0;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.4);
    transition: all 0.4s ease-in-out;
}

.toggle input:checked~.labels::after {
    opacity: 0;
}

.toggle input:checked~.labels::before {
    opacity: 1;
}

#dialogGameState {
    position: absolute;
    top: 20%;
    left: 50%;
    margin-top: -50px;
    margin-left: -200px;
    width: 400px;
    height: auto;
    display: none;
    border-width: 1px;
    border-style: solid;
    border-color: lightgrey;
    padding: 10px;
    background-color: white;
}

.game_header {
    border: 1px solid #eeeeee;
    background: #f5f5f5;
    color: #333333;
    font-weight: bold;
    padding: 0.5em 1em 0.3em;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}

#history_table td {
    vertical-align: top;
    text-align: left;
}

#history_table .game_header td {
    padding: 10px;
}

@font-face {
    font-family: merkur-sans-bold;
    src: url(../fonts/MERKUR_Sans_Extra_Bold.ttf);
}

@font-face {
    font-family: merkur-sans-medium;
    src: url(../fonts/MERKUR_Sans_Medium.ttf);
}

@font-face {
    font-family: merkur-sans-light;
    src: url(../fonts/MERKUR_Sans_Light.ttf);
}