/*
 * Nexuiz Ladder CSS File
 * TOC:
 * 1.  Page Layout containers
 * 2.  Style of the menu URL items
 * 3.  Style of news/match comments and news items
 * 4.  General table formatting
 * 5.  BB-formatted Quote/Code Table formatting
 * 6.  Personal Message table formatting
 * 7.  Team History page table formatting
 * 8.  Formatting various (url) colors/styles
 * 9.  Link colorings (blue/self/undersized/inactive)
 * 10. Formatting the footer text
 * 11. Formatting all input fields (text, submit, textarea)
 * 12. Formatting misc. things
 * 13. Outdated color schemes or classes
 */

* {
    margin: 0px;
    padding: 0px;
}
body {
    font-family: Verdana, Tahoma, Arial, sans-serif;
    font-size: 10px;
    color: #ffffff;
     background-color: #000000;
    background-image: url('../gfx/background.gif');
    background-repeat: repeat-x;
    text-align: center;
}
html {
    height: 100%;
    /* make sure that we always have a vertical scrollbar so that the design looks always the same */
    min-height: 100.01%;
}

/*
///////////////////////////////////////
1. Format Page Layout containers //////
///////////////////////////////////////
*/
#container {
    width: 760px;
    margin: 0px auto;
    margin-top: 10px;
    text-align:left;
    /* Backgroundimage for the navigation */
    background-image: url('../gfx/menuback.gif');
    background-repeat: repeat-y;
    background-color: #000000;
}
#header {
    width: 760px;
    height: 143px;
    background-image: url('../gfx/logo.jpg');
}
/* Menu-container, just it's container. it will contain some more containers for the ladder selection and the navi URLs */
#menu {
    width: 150px;
    margin: 0px;
    float: left;
}
/* The select menu for the active ladder */
#ladderselection {
    margin-top: 10px;
    text-align: center;
}
/* This div contains the navigation URLs */
#navigationlinks {
    margin-top: 10px;
    margin-left: 20px;
}
#content {
    width: 600px;
    margin: 0px;
    float: left;
    padding-bottom: 0px;
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 10px;
}
#footer {
    width: 760px;
    background-image: url('../gfx/bottom.gif');
    background-color: #000000;
    background-repeat: no-repeat;
    text-align: center;
    margin: 0px;
    min-height: 70px;
    /* move texts in the footer down (won't affect BG img) */
    padding-top: 80px;
    /* width: 70px; for IE */
    clear: both;
}
/*
////////////////////////////////////////////////
2. Formatting the style of the menu URL items //
////////////////////////////////////////////////
*/
ul#mainmenuitems1, ul#mainmenuitems2, ul#usermenuitems, ul#adminmenuitems {
    list-style-type: none;
    margin-bottom: 10px;
}
p.navigationheading {
    text-align: center;
    margin-top: 10px;
    font-size: 12px;
    font-weight: bold;
}
/* Formatting the menu links */
a:link { color: #666666; }
a:visited { color: #666666; }
a.menulink {
    text-decoration: none;
}
a.menulink:hover {
    text-decoration: none;
    color: #434343;
}
/* Class for menu links that shall be well recognizable (used for "My Invitation" url) */
a.menulink_bright {
    text-decoration: none;
    color: #f3de97;
    font-weight: bold;
}
a.menulink_bright:hover {
    text-decoration: none;
    color: #b7b2a1;
}
/* Deactivated "link" color (used for e.g. Rankings page if no ladder is selected yet */
.deactivated {
    color: #808080;
}

/*
////////////////////////////////////////////////////////////
3. Format the style of news/match comments and news items //
////////////////////////////////////////////////////////////
*/
.newsitem {
    margin-top: 5px;
    margin-bottom: 20px;
}
.newsitem h1.date {
    font-size: 10px;
    font-weight: bold;
    padding-top: 0px;
    padding-bottom: 0px;
}
.newsitem h1.title {
    font-size: 10px;
    font-weight: bold;
    padding-top: 0px;
    padding-bottom: 0px;
}
.newsitem .newstext {
    font-size: 10px;
    font-weight: normal;
    padding-bottom: 5px;
}
.comment {
    padding-bottom: 12px;
}
.comment .title {
    font-size: 10px;
    font-weight: bold;
    margin-bottom: 2px;
}
.comment .commenttext {
    font-size: 10px;
    font-weight: normal;
    padding-bottom: 5px;
    clear: both;
}
/* First part of the title (e.g. "#2 - foobar") */
.comment .title_start {
    text-align: left;
    display: block;
    float:left;
    width:200px;
}



/*
//////////////////////////////
4. General table formatting //
//////////////////////////////
*/
table, tr, td, th {
    font-family: Verdana, Tahoma, Arial, sans-serif;
    font-size: 10px;
    padding: 2px 0px;
}

/*
//////////////////////////////////////////////////////////////////////////
5. Formatting the tables that contain BB-formatted 'Quote's and 'Code's //
//////////////////////////////////////////////////////////////////////////
*/
.qchead {
    font-family: Verdana, Arial, sans-serif;
    font-size: 10px;
    padding: 2px 3px;
    font-weight:bold;
    color: #E5E5E5;
    border: 1px solid #3E3E3E;
    background-color: #222222;
    height: 20px;
}
.qctext {
    font-family: Verdana, Arial, sans-serif;
    font-size: 10px;
    padding-left: 3px;
    padding-top: 2px;
    padding-right: 3px;
    padding-bottom: 2px;
    background-color: #131313;
    border: 1px solid #3E3E3E;
}
table.quote_code {
    border: 0px;
    border-collapse: collapse;
    width:95%;
}

/*
/////////////////////////////////////////////////
6. Formatting the table of a Personal Message //
/////////////////////////////////////////////////
*/
.pmtable_left {
    background-color: #0D0D0D;
    border: 1px solid #313131;
    padding: 4px;
}
.pmtable_right {
    background-color: #141414;
    border: 1px solid #313131;
    padding: 4px;
}

/*
/////////////////////////////////////////
7. Team History page table formatting: //
/////////////////////////////////////////
*/
table.teamhistory {
    width: 90%;
    border-collapse: collapse;
}
td.teamhist_a, th.teamhist_a {
    background-color: #0D0D0D;
    border: 1px solid #313131;
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 4px
}
td.teamhist_b, th.teamhist_b {
    background-color: #141414;
    border: 1px solid #313131;
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 4px
}

/*
//////////////////////////////////////////////////////////////////////////
8. Formatting (url) colors/styles for: success, error, warning, accepted,
declined, winner, loser, draw, new_pm
//////////////////////////////////////////////////////////////////////////
*/
.success {
    color: #00FF00;
    font-weight: bold;
}
.error, .penaltypoint {
    color: #FF0000;
    font-weight: bold;
}
.warning {
    color: #FF0000;
    font-weight: bold;
    font-size: 12px;
}
.winner {
    color: #00FF00;
}
.loser {
    color: #FF0000;
}
.draw {
    color: yellow;
}
.accepted {
    color: #00FF00;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 5px;
}
.declined {
    color: #FF0000;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 5px;
}
a.accepted {
    color: #00FF00;
    font-size: 10px;
    font-weight: normal;
}
a.declined {
    color: #FF0000;
    font-size: 10px;
    font-weight: normal;
    margin-bottom: 0px;
}
/* Format the color of an unread PM */
.new_pm {
    color:#FFFC3C;
}

/*
/////////////////////////////////////////////////////////////////////////////
9. Link colorings:
blue links: (link color for normal users are blue).
self: (currently=orange) highlight yourself when logged in (or your team)
undersized: a sort of red color if team is undersized
inactive: color of link if user/team is inactive
/////////////////////////////////////////////////////////////////////////////
*/
a.blue {
    color: #0066CC;
}
a:hover.blue {
    color: #0099CC;
}
a.self {
    color: #FF9900;
}
a:hover.self {
    color: #FFCC00;
}
a.undersized {
    color: #da3a0f;
}
a:hover.undersized {
    color: #f25f37;
}
a.inactive {
    color: #777777;
}
a.inactive:hover {
    color: #999999;
}

/*
///////////////////////////////////
10. Formatting the footer text ////
///////////////////////////////////
*/
.footertext1 {
    color: #999999;
}
.footertext2 {
    color: #808080;
    margin-top: 10px;
}

/*
///////////////////////////////////////////////////////////
11. Formatting all input fields (text, submit, textarea) //
///////////////////////////////////////////////////////////
*/
input.submit {
    padding: 1px 5px;
}
/* Formatting Textarea fields */
textarea {
font-family: Verdana, Tahoma, Arial, sans-serif;
font-size: 10px;
}
/* Formatting the input field */
input {
    font-family: Verdana, Tahoma, Arial, sans-serif;
    font-size: 10px;
    color: #000000;
}
/* class mostly used by <p>'s to have some space between the input fields */
.separate_inputs {
    margin: 5px 0px;
}
/* Formatting fieldset and label */
fieldset.hidefieldset {
    border: 0px;
}
label {
    display: block;
    width: 100px;
    float: left;
    clear: both;
    text-align: right;
    padding-right: 10px;
}

/*
///////////////////////////////
12. Formatting misc. things ///
///////////////////////////////
*/
/* This is the heading used on YourMatches/TeamMatches page for the ladders */
h1.ladders {
    color: #999999;
    font-size: 12px;
    font-weight: normal;
}
/* Formatting the usual page headings: */
h1, legend.pageheading {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
}
/* Background colors for table rows (e.g. on Rankings page) */
.dark {background-color:#000000}
.bright {background-color:#1F1F1F}
/* Class for the text found e.g. on Profile page: "Main profile", "Inactivity", etc. */
.profile_label {
    color: #999999;
    font-size: 10px;
    font-weight: bold;
}
/* Formatting the strong tag */
strong {
    font-weight: bold;
}
/* give some paragraphes that shall have separation space a own class */
p.paragraph {
    margin-bottom: 10px;
}
/* Format list that actually shall have paddings */
.listitem {
    margin: 0px 20px;
}
/* Formatting text that is usually underlined */
.important {
    text-decoration: underline;
}


/*
////////////////////////////////////
Outdated color schemes or classes //
////////////////////////////////////
*/
.red {
    color: #FF0000;
}
a.red {
    color: #FF0000;
}
a:hover.red {
    color: #FF0000;
}
.lightred {
    color: #da3a0f;
}
a.lightred {
    color: #da3a0f;
}
a:hover.lightred {
    color: #f25f37;
}
.green {
    color: #00FF00;
}
a.green {
    color: #00FF00;
}
a:hover.green {
    color: #00FF00;
}
.orange {
    color: #FF9900;
}
a.orange {
    color: #FF9900;
}
a:hover.orange {
    color: #FFCC00;
}
.blue {
    color: #0066CC;
}
a.blue {
    color: #0066CC;
}
a:hover.blue {
    color: #0099CC;
}
.menuhead {
    padding:3px;
    font-family: Verdana, Arial;
    font-size: 13px;
    color: #999999;
}