/* Styles both guild sites share: the legacy layout.css and forum styles, forms, BBCode and administration.
   Each site's own css/site.css adds its page layout. */

/* ------------------------------------------------------------------ base (from css/layout.css) */
body {
    background-color: #F5F2D9;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 12px;
    margin: 0;
}

p, td { font-size: 12px; }
a { color: #4C580C; }
a.nocolor { color: black; }
p { margin-top: 0; margin-bottom: 10px; }
h4 { padding-bottom: 0; margin-bottom: 2px; }
img { border: 0; }

div.leftmargin { margin-left: 20px; }

div.copyright {
    margin-top: 15px;
    text-align: center;
    font-size: 10px;
    font-style: italic;
}

table.news_box { border: solid 1px black; border-collapse: collapse; }
table.news_box td.head { border: solid 1px black; background-color: #EAE6C3; }
table.news_box td.body { border: solid 1px black; background-color: #EDEAD2; }

table.member_list { border-spacing: 0; border-collapse: collapse; }
table.member_list td, table.member_list th {
    border: solid 1px black;
    padding: 3px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 80%;
    empty-cells: show;
}
table.member_list td.noborder { border: none; }
table.member_list tr.rowlight td { background-color: #F5F2D9; }
table.member_list tr.rowdark td, table.member_list th { background-color: #EAE6C3; }
table.member_list th { text-align: left; }
table.member_list td.member_id, table.member_list td.member_level, table.member_list td.member_skill { text-align: right; }
table.member_list td a, table.member_list th a { text-decoration: none; }
table.member_list tbody tr:nth-child(odd) td { background-color: #F5F2D9; }
table.member_list tbody tr:nth-child(even) td { background-color: #EAE6C3; }
td.align_right, th.align_right { text-align: right; }

hr.menu_separator { color: black; padding: 0; margin-top: 0; margin-bottom: 0; }

div.block { border: solid 1px black; background-color: #EDEAD2; margin: 5px; }
table.smaller_font td { font-size: 10pt; }
span.pic_desc { font-size: 8pt; font-style: italic; }
ol.no_indent { list-style-position: inside; margin-left: 0; margin-bottom: 0; padding-left: 0; }
ul.spaced li, ol.spaced li { padding-bottom: 5px; }

@media print {
    .noprint, .site-header, .sidebar { display: none; }
}

/* ------------------------------------------------------------------ shared page parts */
.skip-link {
    position: absolute;
    left: -10000px;
}
.skip-link:focus { left: 8px; top: 8px; background: #fff; padding: 4px; z-index: 10; }

.impersonation-notice {
    margin: 0;
    padding: 4px 12px;
    background: #F3D9A4;
    border-bottom: 1px solid #B08A3E;
    font-size: 12px;
    text-align: center;
}

.link-button {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: #4C580C;
    text-decoration: underline;
    cursor: pointer;
}

body.bare main { padding: 8px; }

/* ------------------------------------------------------------------ messages and forms */
.notice { border: solid 1px #4C580C; background: #EDEAD2; padding: 6px 10px; margin: 8px 0; }
.error, .validation-summary-errors, .field-validation-error { color: #A00000; }
.validation-summary-errors ul { margin: 0; padding-left: 18px; }
form.inline { display: inline; margin: 0; }
table.form td { vertical-align: top; padding: 2px 4px; }
textarea.wide { width: 100%; box-sizing: border-box; }
.center { text-align: center; }
.right { text-align: right; }
.muted { color: #555; }
small.hint { color: #555; }

/* ------------------------------------------------------------------ BBCode output */
.bb-center { text-align: center; }
.bb-right { text-align: right; }
.bb-error, span.body_error { color: red; font-style: normal; font-weight: normal; }
div.quote { margin-left: 15px; margin-top: 5px; margin-bottom: 5px; font-style: italic; }
div.code {
    font-family: "Courier New", Courier, monospace;
    font-size: 10pt;
    background-color: #EAE6C3;
    border: solid 1px black;
    padding: 5px;
    overflow-x: auto;
}
div.signature { font-size: 8pt; }

/* ------------------------------------------------------------------ forum (from forum/css/layout_default.css) */
table.forum_list, table.thread_list, table.messagebox { empty-cells: show; border-collapse: collapse; width: 100%; }
table.forum_list td, table.forum_list th,
table.thread_list td, table.thread_list th,
table.messagebox td, table.messagebox th { border: solid 1px black; font-size: 14px; padding: 3px; }
table.thread_list td small { font-size: 12px; }
table.forum_list th.forumname, table.thread_list th.threadname, table.messagebox th { text-align: left; }
table.forum_list th, table.thread_list th, table.messagebox th { font-weight: bold; background-color: #EAE6C3; }
table.forum_list .postcount, table.thread_list .postcount,
table.forum_list .lastpost, table.thread_list .lastpost,
table.forum_list td.indicator, table.thread_list td.indicator { text-align: center; }
table.forum_list .forumname a, table.forum_list .forumname span.nolink { font-weight: bold; color: #4C580C; }
table.forum_list .moderators, table.forum_list .lastpost { font-size: 12px; }
table.forum_list td.postcount, table.forum_list td.moderators,
table.thread_list td.postcount, table.thread_list td.startedby, table.thread_list td.indicator { background-color: #EDEAD2; }
table.thread_list td.noborder, table.thread td.noborder { border: none; }
table.thread_list td.indicator, table.forum_list td.indicator { width: 20px; }
table.messagebox td { font-size: 12px; }
table.messagebox tr.unread td { font-weight: bold; }

table.thread { border-collapse: collapse; table-layout: fixed; width: 100%; }
table.thread td.post_name { background-color: #EAE6C3; vertical-align: top; padding-left: 3px; border: black 1px solid; width: 150px; overflow-wrap: anywhere; }
td.section_heading { background-color: #EAE6C3; vertical-align: top; padding-left: 3px; border: black 1px solid; font-weight: bold; }
table.thread td.post_body { background-color: #EDEAD2; vertical-align: top; padding-left: 10px; border: black 1px solid; overflow-wrap: anywhere; }
table.thread td.post_body img { max-width: 100%; height: auto; }
table.thread tr.spacer td { height: 5px; border: none; }
div.body_text { margin: 10px 10px 10px 0; }
div.body_review_text { margin: 5px 10px 5px 0; }
table.user_bar { width: 100%; }
table.user_bar td { font-size: 12px; padding-bottom: 10px; }
table.controls { width: 100%; }
table.controls td { border: none; width: 33%; }
.forum-actions form { display: inline; margin: 0; }
span.bullet { padding-left: 10px; padding-right: 10px; }
div.content_margin { width: 90%; margin: 0 auto; text-align: left; }
.forum h3 { text-align: center; }

/* ---------------------------------------------------------------- administration */
.nowrap { white-space: nowrap; }
table.changes td { vertical-align: top; padding-right: 1em; }
table.security { border: solid 1px #000; border-collapse: collapse; margin-bottom: 1em; }
table.security tr.group th { font-size: 8pt; text-align: center; }
table.security tr.header th { font-size: 7pt; text-align: center; font-weight: normal; }
table.security th[scope=row] { text-align: left; font-weight: normal; padding-right: 0.5em; }
table.security td { border-right: solid 1px #000; width: 40px; text-align: center; }
table.security td.on { color: #060; }
table.security td.off { color: #a00; }
table.security td.default { color: #888; }
table.help td { vertical-align: top; }
table.help td.label { width: 75px; }
pre.log { white-space: pre-wrap; font-size: 9pt; }

td.right { text-align: right; }
fieldset.plain { border: 0; padding: 0; margin: 0; }

.forum-help td { vertical-align: top; }
