@font-face {
    font-family: 'Philosopher';
    font-weight: normal;
    font-style: normal;
    src: url('../fonts/philosopher.woff') format('woff'), url('../fonts/philosopher.ttf') format('truetype');
}

@font-face {
    font-family: 'Amerika Sans';
    font-weight: normal;
    font-style: normal;
    src: url('../fonts/amerikasans.woff') format('woff'), url('../fonts/amerikasans.ttf') format('truetype');
}

a:hover {
    color: #a40000;
    text-decoration: underline;
}

a:link {
    color: #204a87;
    font-weight: 700;
    text-decoration: none;
}
a:visited {color: #5c3566;}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {display: block;}
body {
    font: 12pt Philosopher, Georgia, serif;
    line-height: 1;
    vertical-align: baseline;
}
button, a.button, #redbox a.button:link, #redbox a.button:visited {
    display: inline-block;
    padding: 0.25em;
    margin: 0.25em;
    color: #2e3436;
    background-color: #f9f9f9;
    background: linear-gradient(to bottom, #f9f9f9 5%, #e9e9e9 100%);
    border: 1px solid #d3d7cf;
    border-radius: 5px;
    box-shadow: inset 0px 1px 0px 0px #ffffff;
    font: bold 12pt Philosopher, sans-serif;
    text-decoration: none;
    text-shadow: 1px 1px 1px #ffffff;
}
div.tab_container {
    background-color:#fff;
    padding-top: 1em;

}
fieldset {
    border: none;
    color: #2e3436;
    border-radius: 10px;
    padding: 0 10px 0 160px;
    background-color: #f2f5f6;
    background: linear-gradient(135deg, #f2f5f6 0%, #e3eaed 37%, #c8d7dc 100%);
    vertical-align: top;
    margin-bottom: 1em;
}
fieldset div {margin: 5px 0px;}
fieldset legend {
    margin-top: -.1em;
    margin-left: -150px;
    color: #a40000;
    font-family: 'Amerika Sans', sans-serif;
    font-variant: small-caps;
    font-weight: 400;
    font-size: 16pt;
    text-shadow: 2px 2px 2px #888;
}
fieldset .required {font-weight: bold;}
fieldset .buttonbar {
    border-radius: 0px 0px 10px 10px;
    margin: 0 -10px 0 -160px;
}
fieldset .help_text {font-size: small;}
fieldset .field_name {
    text-align: right;
    width: 140px;
    margin: 0 20px 0 -160px;
    padding-top: 3px;
    display: inline-block;
    clear: left;
    vertical-align: top;
}
fieldset input,
fieldset textarea {
    border: 1px solid #999999;
    border-radius: 5px;
    padding: 2px;
    margin: 0;
}
fieldset input[maxlength="255"],
fieldset textarea {
    box-sizing: border-box;
    width: 100%;
    max-width: 760px;
}
fieldset ul {
    display: inline-block;
    padding: 0;
}
fieldset ul li {
    list-style: none;
    display: inline;
}
fieldset table {
    display: inline-table;
    max-width: 760px;
}
fieldset.comment {
    padding: 0;

    legend {margin-left: 15px}

    .buttonbar {margin: 0; width: 100%}
}
h1, h2, h3, h4, h5, h6, .player {
    color: #bc0a19;
    font-family: 'Amerika Sans', sans-serif;
    font-variant: small-caps;
    font-weight: 400;
    letter-spacing: -1px;
    margin: 1em 0 0.5em 0;
    text-shadow: 1px 1px 1px #888;
    vertical-align: baseline;

    a:link, a:visited {
        color: #bc0a19;
        font-weight: 400;
        text-decoration: none;
    }
}
ol {
    list-style: cjk-ideographic;
    padding-left: 2em;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    margin: 0 auto 1em auto;

    td {
        padding: 2px;
        vertical-align: middle;
    }

    th {
        background: #a40000;
        color: #fff;
        padding: 2px;
        vertical-align: middle;

        a:link, a:visited {color: #FFF;}
    }

    tr:nth-child(2n+1) {background-color: rgba(176, 176, 174, 0.25);}
    tr:hover {background-color: rgba(164, 0, 0, 0.25);}
}
ul {
    list-style: circle outside;
    padding-left: 2em;
    margin-top:0.5em;
    
    li {margin-bottom: 0.5em}
}
ul.info {
    list-style: none;
    margin: 0 0 0.5em 0;
    padding-left: 0;

    li {
        display: inline-block;
        margin-right: 1em;
    }
}
ul.tabs {
    width: 100%;
    list-style: none;
    margin: 1em 0 0 0;
    padding: 0.5em 0 0 0;
    border-radius: 10px 10px 0 0;
    background-color: #bc0a19;
    background: linear-gradient(to bottom, #000 0%, #45484d 100%);

    li {
        background-color: #fa665a;
        background: linear-gradient(to bottom, #fa665a 5%, #d34639 100%);
        border-radius: 5px 15px 0 0;
        display: inline-block;
        margin: 0px -5px 0px 10px;

        a {
            color: #ffffff;
            text-shadow: 1px 1px 1px #2e3436;
            display: inline-block;
            padding: 0.5em 1em;
            text-decoration: none;
        }
   }

    li.active {
        background: #fff;
        a {
            color: #bc0a19;
            text-decoration: none;
            text-shadow: 1px 1px 1px #888;
        }
    }
}

#bottom_buttonbar {border-radius: 0 0 10px 10px;}
#display {position:relative; text-align: center;}
#redbox {
    color: white;
    background-color: #a90329;
    background: linear-gradient(135deg,  #a90329 0%,#8f0222 44%,#6d0019 100%);
    border-radius: 10px;
    padding: 10px;

    h2, h3, a:link, a:visited {color: white; font-weight: normal; text-shadow: 1px 1px 1px #000;}
    h2:first-of-type {margin: -20px 0 0 10px; color: black; text-shadow: 1px 1px 1px #ffffff;}
}

.avatar {
    display: block;
    position: relative;
    float: left;
    width: 70px;
    height: 70px;
    padding: 0;
    margin: 0 1em 1em 0;
    box-shadow: 2px 2px 5px #888;

    img {
        height: 70px;
        width: 70px;
    }
}
.buttonbar {
    text-align: right;
    border-radius: 10px;
    background-color: #000000;
    background: linear-gradient(to bottom, #45484d 0%,#000000 100%);
}
.center {text-align: center;}
.clear, .clearfix {clear: both;}
.cke_chrome {border:0 !important}
.cke_wysiwyg_div {padding: 1em 0 !important}
.django-ckeditor-widget {width: 100%; min-height: 500px;}
.disabled {color: #ccc}
.comment {
    display:table;
    margin-bottom: 1em;
    width: 100%;
    padding: 0;
}
.error, ul.errorlist li {color: #a40000;}
.game h2 {margin: 0.5em 0;}
.grid_1,.grid_2,.grid_3,.grid_4,.grid_5,.grid_6,.grid_7,.grid_8,.grid_9,.grid_10,.grid_11,.grid_12
    {
    display: inline;
    float: left;
    margin: 0px 10px;
    position: relative;
    box-sizing: border-box;
}
.grid_1 { width: 60px;}
.grid_2 {width: 140px;}
.grid_3 {width: 220px;}
.grid_4 {width: 300px;}
.grid_5 {width: 380px;}
.grid_6 {width: 460px;}
.grid_7 {width: 540px;}
.grid_8 {width: 620px;}
.grid_9 {width: 700px;}
.grid_10 {width: 780px;}
.grid_11 {width: 860px;}
.grid_12 {width: 940px;}

.more_link {text-align: right; clear: left;}

.pagination {
    clear: both;
    margin-bottom: 1em;
    padding: 0;
    position: relative;
    text-align: center;
    z-index: 30;

    a {
        background-color: #000000;
        background: linear-gradient(to bottom, #45484d 0%,#000000 100%);
        border-radius: 5px;
        display: inline-block;
        font-weight: bold;
        padding: 0.5em 1em;
        text-decoration: none;
    }

    a:link, a:visited {color: #fff;}
    a:hover, a.active {color: #bc0a19;}
    a.disabled, a.disabled:hover {color: #666}

    a.previous {
        float:left;
        border-radius: 10px 5px 5px 10px;
    }
    a.next {
        float: right;
        border-radius: 5px 10px 10px 5px;
    }
}

.player {margin:0 auto; float:none}

.right {text-align: right;}
.thumbnail {
    display: block;
    position: relative;
    float: left;
    height: 140px;
    width: 140px;
    padding: 5px;
    border: 0;
    margin: 5px;
    background: transparent url('../img/thumbnail-bg.png') top left no-repeat;
}
