html,
body {
    width: 100%
}

body {
    margin: 90px 0 0 0;
    padding: 0 0 75px 0;
    text-align: center;
    color: #dcdcdc;
    background-image: radial-gradient(transparent 40%, rgba(31, 32, 32, 0.9)), url(/static/img/background.png);
    background-attachment: fixed;
    font-family: 'Helvetica', 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 13px;
    line-height: 1.4em
}

.copyleft {
  display:inline-block;
  transform: rotate(180deg);
}

::selection {
    background: #49abc6;
    color: #fff;
    text-shadow: none
}

img {
    border: none
}

a:focus {
    outline: none
}

a,
a:visited {
    color: #53c8dd;
    text-decoration: none
}

a:hover {
    text-decoration: underline
}

p {
    margin-bottom: 10px
}

h1 {
    color: #d9e8e6;
    font: bold 1.4em Geneva, "Lucida Sans", "Lucida Grande", "Lucida Sans Unicode", Verdana, sans-serif
}

h2 {
    margin: 0 0 6px 0;
    padding: 0 0 4px 0;
    border-bottom: 1px solid #53c8dd
}

hr {
    height: 4px;
    color: #969696
}

.bold {
    font-weight: bold
}

.running {
    text-transform: lowercase
}

.center,
.align-center {
    display: block;
    margin: 0 auto
}

#container {
    width: 75%;
    min-height: 100%;
    margin: 0 auto;
    padding: 20px;
    text-align: left;
    border: 2px solid #536061;
    box-shadow: 0px 3px 20px rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    background: #191919
}

#container:after {
    content: "";
    display: block;
    height: 0;
    clear: both
}

header {
    position: relative;
    width: 100%;
    height: 40px
}

header #logo {
    position: absolute;
    width: 120px;
    height: 120px;
    top: -86px;
    left: 32px;
    background: url(/static/img/globe.gif);
    background-size: 100% 100%
}

header #quote {
    position: absolute;
    top: -10px;
    right: 0px;
    font: italic 1.0em Verdana, sans-serif, "Times New Roman"
}

nav {
    float: left;
    width: 150px;
    margin-right: 1em
}

nav li a,
nav a:visited {
    display: list-item;
    padding: 7px 15px 7px 15px;
    list-style: none;
    text-transform: uppercase;
    border-radius: 5px;
    margin: 0 0 5px 0;
    background: #232828;
    color: #dcdcdc
}

nav li a:hover {
    color: #141414;
    background: #49abc6;
    text-decoration: none
}

nav ul {
    padding: 0;
    margin: 0;
    list-style-type: none
}

nav li.selected a {
    background: #40494d;
    color: #fff
}

#container article {
    padding-left: 15px;
    overflow: auto;
    border-left: 1px solid #3c3c3c
}

#container article .section {
    padding: 0px 5px 5px 5px;
    margin: 10px 0
}

#container article .section .irc {
    margin: 0 0 0 20px
}

#container article .section .pop {
    color: #53c8dd
}

#container article .section .pop span {
    color: #dcdcdc
}

#container article .section:hover {
    background: #282828;
    color: #e6e6e6
}

#container article .section table {
    padding: 5px
}

#container article .section table:hover {
    background: #282828;
    color: #e6e6e6
}

#container article .lib table {
    text-align: left;
    width: 100%
}

#container article .lib .status tr.bold {
    text-align: center;
    font-weight: bold
}

#container article .lib .status tr.alt td {
    text-align: center
}

body#status #container article .lib:hover {
    background: inherit;
    color: inherit
}

#container article .section .status td {
    width: 17%;
    padding: 4px;
    border-right: 1px solid #3c3c3c
}

#container article .section .status tr.bold {
    text-align: center;
    font-weight: bold
}

#container article .section .status tr.alt td {
    background-color: #323232
}

#container article .section .status td.top {
    border-bottom: 1px solid #3c3c3c;
    border-right: 0
}

#container article .section .status td.border {
    border-bottom: 1px solid #3c3c3c
}

#container article .section .status td.border2 {
    border-left: 1px solid #3c3c3c
}

#container article .section .status td.left {
    width: 50%;
    text-align: left;
    border-left: 1px solid #3c3c3c
}

#container article .section table.left {
    float: left;
    width: 38%
}

body#status #container article .section:hover {
    background: inherit;
    color: inherit
}

nav a:hover {
    color: #141414
}

article h1 {
    font-size: 22px
}

article h2 {
    margin: 30px 0 6px 0;
    padding: 0 0 4px 0;
    border-bottom: 1px solid #49abc6
}

article h2:first-of-type {
    margin-top: 0px
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size-adjust: 0.5;
    font-weight: 200;
    font-style: normal;
    margin: 5px 0
}

h3 {
    margin: 25px 0 10px
}

p {
    margin: 10px 0
}

table {
    margin-bottom: 15px;
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%
}

table caption {
    font-size: 18px;
    padding: 8px
}

table,
th,
td {
    border: 1px solid #9E9E9E;
    border: 0
}

thead {
    border-bottom: 2px solid #727E8C
}

th {
    padding: 10px 5px
}

.thread {
    min-width: 200px
}

td {
    padding: 10px 5px;
    border-bottom: 1px solid #727E8C
}

tr:hover {
    background: #282828
}

article .note {
    float: right
}

form {
    padding: 10px
}

form p {
    margin-bottom: 10px;
    font-size: 12px
}

form fieldset {
    margin: 0;
    padding: 0
}

form p label {
    float: left;
    padding-right: 10px;
    width: 100px;
    font-weight: bold;
    text-align: right
}

form p input {
    padding: 4px;
    width: 200px;
    font-size: 14px
}

form p textarea {
    padding: 4px;
    width: 450px;
    height: 300px;
    font-size: 14px
}

form p input:hover {
    border: 1px solid #000
}

form p textarea:hover {
    border: 1px solid #000
}

form input#id_cc_myself {
    width: 17px
}

input[type="text"],
textarea {
    background: #282828;
    border: 1px solid #111;
    color: #fff
}

textarea {
    font-family: monospace
}

#quotes ul {
    list-style: none;
    margin-bottom: 10px
}

#quotes .sender {
    color: #53C8DD
}

.quote {
    margin-bottom: 30px;
    border-bottom: 1px solid #445058
}

#quotes li .sender::before {
    content: "<"
}

#quotes li .sender::after {
    content: ">"
}

#quotes li.action .sender::before {
    content: "* "
}

#quotes li.action .sender::after {
    content: ""
}

#quotes li.action {
    font-style: italic
}

.pagination {
    margin-top: 20px
}

.pagination .next {
    float: right
}

table.forums {
    width: 700px
}

.sticky {
    background: #282828
}

.offline {
    background: #9D6769;
    background: #795254
}

.forum-post {
    background: #212121;
    border-radius: 5px 5px 5px 5px;
    border: 1px solid #3C3C3C;
    padding: 10px;
    margin: 5px 0
}

.forum-post:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden
}

.forum-post .body {
    width: 550px
}

.forum-post .meta {
    border-left: 1px solid #3C3C3C;
    padding-left: 10px;
    width: 120px;
    float: right
}

.forum-post .meta img {
    width: 70px;
    height: 70px
}

.staff {
    background: #3C3C3C
}

pre {
    display: block;
    font-family: monospace;
    white-space: pre;
    margin: 1em 0px 1em;
    background: #212121;
    color: #9E9E9E;
    padding: 10px;
    border-radius: 5px 5px 5px 5px;
    border: 1px solid #3C3C3C;
    overflow: scroll;
    max-width: 600px
}

a.menu {
    position: absolute;
    top: -62px;
    right: 0;
    color: #fff;
    font-size: 20px;
    width: 1em;
    height: 0.15em
}

@media screen and (max-width: 700px) {
    #container {
        box-sizing: border-box;
        width: 100%;
        margin: 0;
        padding: 20px;
        border-radius: 0;
        border-left: 0;
        border-right: 0
    }
}

@media screen and (min-width: 500px) {
    a.menu {
        display: none
    }
}

@media screen and (max-width: 500px) {
    body {
        margin-top: 60px;
        padding: 0
    }

    body nav {
        display: none
    }

    body.menu nav {
        display: block
    }

    nav {
        float: none;
        width: 100%
    }

    header {
        height: 20px
    }

    header #logo {
        left: 0;
        right: 0;
        margin: auto
    }

    header #logo {
        top: -66px;
        width: 93px;
        height: 72px;
        background: url(/images/darkscience.png);
        background-size: 100% 100%
    }

    #container {
        border-bottom: 0
    }

    #container article {
        border-left: 0;
        padding: 0;
        margin-top: 20px
    }
}

footer {
    margin: 10px auto
}

footer ul {
    list-style: none;
    padding: 15px 0;
    margin: 0
}

footer ul li {
    display: inline-block;
    padding-right: 15px;
    margin-bottom: 30px
}