/* ----------------------------------------------------------------------
 * Common page elements
 * ---------------------------------------------------------------------- */

body,p,td,th,select,input {
    font-family: arial,helvetica,sans-serif;
    font-size: 12px;
    color: black;
}   

body,p,td {
    line-height: 1.5em;
}

form {
    padding: 0px;
    margin: 0px;
}

hr {
    border: none;
    color: #aaa;
    background-color: #aaa;
    height: 1px;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* H1 headers inside the content block */
.site_frame_content h1 {
    font-weight: bold;
    font-size: 24px;
    color: #345;
    border-bottom: 1px dashed #345;
    margin: 0px 0px 20px 0px;
    padding: 20px 0px 7px 0px;
}

/* H2 headers inside the content block */
.site_frame_content h2 {
    font-weight: bold;
    font-size: medium;
    color: #345;
    margin-bottom: 10px;
    margin-top: 25px;
}

/* Paragraphs */
.site_frame_content p {
    padding-left: 15px;
}

/* Links */
a:link,
a:active,
a:visited {
    color: #050;
    text-decoration: underline;
}
a:hover {
    text-decoration: underline;
}

fieldset {
    border: none;
    padding: 0px;
    margin: 0px;
}

/* ----------------------------------------------------------------------
 * Site frame specific styles
 * ---------------------------------------------------------------------- */

/* User profile */
.site_frame_profile_link a:link,
.site_frame_profile_link a:active,
.site_frame_profile_link a:visited {
    text-decoration: none;
}
.site_frame_profile_link a:hover {
    text-decoration: underline;
}
img {
    border: 0px;
}
img.message_icons-marker {
    padding-right: 5px;
}
.site_frame_profile_link img {
    border: 0px;
    padding: 0px 3px 0px 0px;
    margin: 0px;
}

/* Avatar images */
.site_frame_avatar_image,
#phorum-content img.site_frame_avatar_image {
    margin: 0px;
    border: none;
}

/* Loginbox */
#site_frame_loginbox {
    padding: 7px;
    color: black;
    font-size: 10px;
}
#site_frame_loginbox input {
    margin: 2px 2px 0px 0px;
    padding: 0px;
    font-size: 10px;
}

.site_frame_quote {
    text-align: right;
}

.site_frame_quote_who {
    padding-top: 5px;
    line-height: 1.2em;
    font-style: italic;
    font-size: 10px;
    font-weight: bold;
}
.site_frame_quote_what {
    padding-top: 5px;
    line-height: 1.2em;
    font-size: 10px;
}

/* ----------------------------------------------------------------------
 * Sidemenu
 * ---------------------------------------------------------------------- */

.sidemenu {
    padding-right: 15px;
}

.sidemenu a:link,
.sidemenu a:active,
.sidemenu a:visited {
    text-decoration: none; 
}
.sidemenu a:hover {
    text-decoration: underline; 
}

a.sidemenu_active {
    color: #345;
    font-weight: bold;
}

.sidemenu ul {
    font-weight: bold;
    padding: 5px 0px 10px 15px;
    margin: 5px 0px 0px 0px;
}

.sidemenu li {
    font-weight: normal;
    margin: 0px;
    padding: 0px;
}

.sidemenu .sidemenu_current {
    color: #345;
    font-weight: bold;
}

/* ----------------------------------------------------------------------
 * Separator <b>..<b> header
 * ---------------------------------------------------------------------- */

div.separator {
    display: block;
    background-color: #f0f0f0;
    color: black;
    border: 1px solid #aaa;
    padding: 2px 5px;
    margin: 15px 0px 10px 0px;
}

/* ----------------------------------------------------------------------
 * Utility classes
 * ---------------------------------------------------------------------- */

.site_frame_error {
    color: red;
    border: 1px solid red;
    padding: 3px;
    margin-bottom: 10px;
    font-weight: bold;
}

.site_frame_okmsg {
    color: darkgreen;
    border: 1px solid darkgreen;
    padding: 3px;
    margin-bottom: 10px;
    font-weight: bold;
}

a.wordlist_link {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px dashed #999;
}

a.wordlist_link:hover {
    text-decoration: underline;
    border-bottom: none;
    cursor: help;
}

/* We want wordlist links in the same color as normal text. 
 * For Phorum, we use a different color for body texts and subjects. 
 * Therefore we need some overrides here.
 */
#phorum-content a.wordlist_link {
    color: #246;
    text-decoration: none;
}
#phorum-content .phorum-read_subject_reply a.wordlist_link,
#phorum-content .phorum-read_subject a.wordlist_link {
    color: black;
}
#phorum-content a.wordlist_link:hover {
    text-decoration: underline;
}

/* For displaying Phorum newflags outside the Phorum tree */
.phorum-newflag {
    font-size: 11px;
    font-weight: bold;
    color: #ee6600;
    white-space: nowrap;
}

/* For displaying Phorum message quoting outside the Phorum tree */
blockquote.bbcode {
    font-size: 11px;
    margin: 10px 0 0 10px;
    padding: 5px;
    border: 1px solid #d0d0d0;
    background-color: white;
}

blockquote.bbcode div {
    margin: 0;
    padding: 5px;
    border: 1px solid #d0d0d0;
    background-color: #f8f8f8;
}

blockquote.bbcode div div {
    background-color: #f2f2f2;
}

blockquote.bbcode strong {
    font-style: italic;
    margin: 0 0 3px 0;
}

/* ----------------------------------------------------------------------
 * Blocks
 * ---------------------------------------------------------------------- */

/* A title block */
.site_frame-titleblock {
    background-color: #345;
    color: white;
    border: 1px solid #345;
    border-bottom: none;
    text-align: left;
    padding: 2px 10px 1px 10px;
    margin-top: 10px; /* To match the spacing that we have in Phorum */
}

/* A standard block */
.site_frame-block {
    border: 1px solid #345;
    border-bottom: none;
    text-align: left;
    padding: 10px;
}

/* A block to end a list of blocks with (contains no content) */
.site_frame-endblock {
    border-bottom: 1px solid #345;
}

/* ----------------------------------------------------------------------
 * nametag base (styling is loaded from nametag.css if the user wants it).
 * ---------------------------------------------------------------------- */

a.nametag:active,
a.nametag:link,
a.nametag:visited {
    text-decoration: none;
}
a.nametag:hover {
    text-decoration: underline;
}

span.nametag_o.u {
    padding-left: 10px;
    background: url(images/profile.gif) no-repeat 0px center;
}

span.nametag_o.s {
    padding-left: 10px;
    background: url(images/profile_sponsor.gif) no-repeat 0px center;
}

span.nametag {
    font-size: 12px;
    white-space: nowrap;
    padding-left: 0px;
    background: none;
}

span.nametag.m {
    padding-left: 12px;
    background: url(images/moderator.gif) no-repeat 0px center;
}

span.nametag.o {
    padding-left: 12px;
    background: url(images/operator.gif) no-repeat 0px center;
}


