@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');
}

.clear {
    clear: both;
    display: block;
    height: 0;
    overflow: hidden;
    visibility: hidden;
    width: 0;
}
#display {position:relative;top:0px; text-align: center;}
.clearfix {
    clear: both;
}
.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;
}

.more_link {
    text-align: right;
    clear: left;
}
.error, ul.errorlist li {
    color: #a40000;
}

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

a:link {
    color: #204a87;
    font-weight: 700;
    text-decoration: none;
}

a:visited {
    color: #5c3566;
}

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;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
    display: block;
}

h1 a:link, h2 a:link, h3 a:link, h4 a:link, h5 a:link, h6 a:link, h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited {
    color: #bc0a19;
    font-weight: 400;
    text-decoration: none;
}

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;
}

.player {
	margin:0
}

html, div, span, applet, object, iframe, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    border: 0;
    margin: 0;
    padding: 0;
    vertical-align: baseline;
}

p {
    margin-bottom: 0.5em
}

img.partner, img.posting_image {
    border: 1px solid #babdb6;
    display:block;
    float: left;
    height: 120px;
    margin: 0 20px 0 0;
    padding: 4px;
    width: 200px;
}

img.partner:nth-of-type(odd) {
    float: right;
}

input {font: normal 12pt Philosopher, sans-serif;}

input[type=number] {text-align: right;}
input[maxlength="255"] {width: 100%}
input[readonly="readonly"], input[readonly] {
    border: none;
    background: transparent;
    color: #2e3436;
}

.cke_chrome {border:0 !important}
.cke_wysiwyg_div {padding: 1em 0 !important}

li {
    margin-bottom: .2em;
}

.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;
}

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;
        }
    }
}
div.tab_container {
    background-color:#fff;
    padding-top: 1em;

}
ol {
    list-style: cjk-ideographic;
    padding-left: 2em;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    margin: 0 auto 1em auto;
}

table td {
    border-bottom: 1px solid #d3d7cf;
    border-top: 1px solid #d3d7cf;
    padding: 2px;
    vertical-align: middle;
}

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

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

table tr:nth-child(2n+1) {
    background-color: #eeeeec;
}

table tr:hover {
    background-color: #eedcdc;
}

ul {
    list-style: circle outside;
    padding-left: 30px;
}

ul.info {
    list-style: none;
    margin-bottom: 0.5em;
    padding-left: 0;
}

ul.info li {
    display: inline-block;
    margin-right: 10px;
}

.buttonbar {
    text-align: right;
    border-radius: 10px;
    background-color: #000000;
    background: linear-gradient(to bottom, #45484d 0%,#000000 100%);
}

/** PAGINATOR **/
.pagination {
    text-align:center
}

.pagination a, .pagination .current, .pagination .next, .pagination .previous {
    display: inline-block;
	text-decoration: none;
	padding: 0 0.5em 0 0.5em;
}

.pagination .next {
    float: right;
    background: none;
}


.pagination .previous {
    float: left;
    background: none;
}


.center {
    text-align: center;
}
.right {
    text-align: right;
}

#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;}
}

.comment {
    display:table;
    margin-bottom: 1em;
    width: 100%;
    padding: 0;
}

fieldset.comment {
    padding: 0;

    legend {margin-left: 15px}
    .buttonbar {margin: 0; width: 100%}
    .buttonbar {margin: 0; width: 100%}
}

#bottom_buttonbar {
    position: absolute;
    border-radius: 0 0 10px 10px;
    bottom: 0px;
    margin: 0;
    width: 100%
}
