html, body {
    height: 100%;
}

body {
    background-attachment: fixed;
    background-image: url(/images/bg.jpg);
}

footer {
    border-bottom: 1px solid black;
    border-top: 1px solid black;
    font-size: 8pt;
    text-align: center;
}

footer, .push {
    height: 20px;
}

footer, .container {
    background-color: rgb(5, 5, 7);
}

table.dataTable tbody th.dt-body-left, table.dataTable tbody td.dt-body-left {
    text-align: left;
}

table.dataTable tbody th.dt-body-center, table.dataTable tbody td.dt-body-center {
    text-align: center;
}

table.dataTable tbody th.dt-body-right, table.dataTable tbody td.dt-body-right {
    text-align: right;
}

table.dataTable tbody th.dt-body-justify, table.dataTable tbody td.dt-body-justify {
    text-align: justify;
}

/* To get rid of the ghost bottom margin */
canvas {
    display: block;
}

a:visited {
    color: #9e67b7;
}

.nav-tabs a:visited {
    color: #fff;
}

.youtube {
    color: #e89d9d;
}

label > input {
    font-weight: initial;
}

.container-main {
    padding-bottom: 10px;
}

.form-control {
    color: #555;
}

.monospaced {
    font: 13px Consolas, Monospace;
}

.larger {
    font-size: larger;
}

.break-word {
    -ms-word-break: break-all;
    word-break: break-all;
}

.fill-height {
    margin: 0 auto -20px;
    min-height: 100%;
    padding-bottom: 20px;
}

.timestamp {
    color: #666;
    font-family: "Droid Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
}

.chatbox-container {
    background-color: black;
}

    .chatbox-container .panel-body {
        padding: 0;
    }

.chat-top-panel {
    border-bottom: 1px solid #2a9fd6;
    padding: 10px;
}

.chatbox-sidebar {
    margin: 10px;
    width: 150px;
}

.chatbox {
    color: #999;
    height: 400px;
    min-width: 300px;
    overflow-y: auto;
    padding: 0 4px;
    white-space: pre-wrap;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
}

.chat-font {
    font-family: Verdana, Geneva, 'DejaVu Sans', sans-serif;
    font-size: 13px;
    line-height: normal;
}

.context-menu {
    background-color: #1b1b1b;
    border: 1px solid #333333;
    box-shadow: rgba(0, 0, 0, 0.5) 5px 5px 10px;
    margin: 0;
    padding: 2px 2px 2px 2px;
}

.context-menu-item {
    color: #f0f0f0;
    cursor: pointer;
    display: block;
    font-size: 9pt;
    padding: 3px 30px 3px 30px;
}

    .context-menu-item:hover {
        background-color: #333333;
        color: #f0f0f0;
        text-decoration: none;
    }

.side-container {
    margin: 0 15px 15px 15px;
    padding: 10px;
    width: 250px;
    border: 1px solid #161c1c;
    border-radius: 5px;
    background-color: #233e3e;
    color: #66CCCC;
    text-align: center;
    font-size: 14px;
}

    .side-container header {
        margin-bottom: 10px;
        background-color: inherit;
        color: #6ce;
        font-weight: bold;
    }

.scored-ticks span:nth-child(6n+1):before {
    content: ' ';
    clear: right;
    display: block;
}

.side {
    margin: 0 16px 15px 16px;
    width: 248px;
}

.form-control.longer {
    width: 600px;
    max-width: 600px;
}

.table-clickable-rows > tbody > tr {
    cursor: pointer;
}

/* Canvas showing miniature of puzzle */
.puzzle {
    opacity: 0.7;
    -moz-transition: opacity ease-in-out 0.05s;
    -o-transition: opacity ease-in-out 0.05s;
    -webkit-transition: opacity ease-in-out 0.05s;
    transition: opacity ease-in-out 0.05s;
}

    .puzzle:hover {
        opacity: 1;
    }

.puzzle-solved-text {
    font-size: smaller;
    color: #5c5;
}

.puzzle-attempted-text {
    font-size: smaller;
    color: #fa0;
}

.solved-tick {
    background: url(/images/icon-tick.png) no-repeat;
    width: 18px;
    height: 16px;
    margin-bottom: -2px;
    display: inline-block;
}

.attempted-tick {
    background: url(/images/icon-tick-yellow.png) no-repeat;
    display: inline-block;
    height: 16px;
    margin-bottom: -2px;
    width: 18px;
}

.for-copying {
    background-color: #040404;
    border: 0;
    border-radius: 5px;
    cursor: text;
    font-family: Consolas, monospace;
    outline: 0 none;
    padding: 10px;
    width: 100%;
}
