/* Reset and set default styles */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, 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, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

body {
    font-family: Verdana, sans-serif;
    font-size: 100%;
    line-height: 1.125em;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

:focus {
    outline: 0;
}

ins {
    text-decoration: none;
}

del {
    text-decoration: line-through;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

th, td {
    border-bottom: 1px solid black;
    padding: 0.625em 0 0.75em;
}

th {
    text-align: left;
}

/* Global styles */
html {	
	color: white;
    font-family: Verdana, sans-serif;
}

body {
    color: #ddd;
    background: black url(/img/background.png) top center no-repeat;
	padding: 10px 0;
    text-align: center;	
}

p, li, th, td, dt, dd {
    font-size: 12px;
}

a {
    color: #60C860;
    font-weight: bold;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.right {
    float: right;	
}

.none {
    font-style: italic;	
}

.tooltip {
    cursor: help;
}

dl {
    margin-bottom: 10px;	
    overflow: hidden;
}

dt {
	float: left;
    font-weight: bold;
    width: 100px;	
}

dd {
    padding-left: 120px;
}

/* Headings */
h2 {
    color: white;
    font-size: 1.375em;
    margin: 0 0 0.625em;
}

h3 {
    font-size: 1em;
    margin: 1.25em 0 0.625em;
}

/* Main shell */
#window {
	margin: 0 auto;
    text-align: left;
    width: 960px;
}

/* Header */
#header {
	height: 180px;
	overflow: hidden;
    padding: 20px 0 0 0;
}

#header h1 a {
    display: block;
    font-size: 1px;
    height: 110px;
   	margin: 0;
    overflow: hidden;
    text-indent: -1000000px;
    width: 960px;
}

/* Navigation */
#nav-main {
    clear: both;
    overflow: hidden;
    position: relative;
}

#nav-main li {
    display: block;
    float: left;
    list-style-type: none;
    margin-bottom: 25px;
}

#nav-main a.user {
    float: right;	
}

#nav-main li a {
    display: block;
    font-weight: bold;	
    padding: 5px 10px;
    position: relative;
    text-decoration: none;
}

#nav-main ul li a:hover {
    text-decoration: underline;
}

#nav-main li.active a {
    background: url(/img/content-background.png);
}

#nav-main li.active ul {
    display: block;
}

#nav-main li ul {
    display: none;
    position: absolute;
    left: auto;
}

#nav-main .user {
    float: right;	
}

/* Body */
#body {
    clear: both;
    overflow: hidden;
}

/* Main Content */
#content {
	background: url(/img/content-background.png);
    border: 1px solid #424242;
    float: left;
    margin-right: 20px;
    padding: 10px;
    width: 608px;
}

#content ul, #content ol {
    margin-left: 1.25em;
}

#content p {
    margin-bottom: 10px;	
}

/* Sidebar */
#sidebar {
	background: url(/img/content-background.png);
    border: 1px solid #424242;
    float: left;
    padding: 10px 0;
    width: 308px;
}

#sidebar .component {
    margin-bottom: 20px;	
}

#sidebar h3 {
	font-size: 12px;
    margin: 0 0 10px 0;
    padding: 5px;
}

#sidebar ul, #sidebar ol {
    margin-left: 30px;	
}

/* Footer */
#footer {
    background: url(/img/content-background.png);
    border: 1px solid #424242;
    clear: both;
    margin-top: 20px;
    overflow: hidden;
    padding: 5px;
}

#footer li {
    display: inline;
    float: left;
    list-style-type: none;
    margin-right: 15px;
}

#footer li.right {
    float: right;
}

/* Forms */
form .form-group {
    background: url(/img/content-background.png);
    border: 1px solid #424242;
    padding: 10px;
    margin-bottom: 20px;	
}

form fieldset {
    border: none;
    margin: 0;
    padding: 10px 0;
    position: relative;
}

form fieldset legend {
    font-size: 16px; 
    font-weight: bold;
}

form dl {
    margin-bottom: 5px;	
}

form dt {
    float: left;
    font-weight: bold;
    padding-top: 5px;
    width: 120px;	
}

input, textarea {
    background: #424242;
    border: 1px solid black;
    color: white;
    padding: 3px;	
}

/* News */
.news-item {
    margin-bottom: 20px;	
    overflow: hidden;
}

.news-item h3 {
    border-bottom: 1px dashed #6e6e6e;
    font-size: 18px;
    padding: 0 0 5px 0;
    margin: 0 0 10px 0;
}

.news-item h3 a {
    text-decoration: none;
}

.news-meta {
    font-size: 10px;
    font-weight: bold;
    margin-bottom: 10px;
}

.news-options {
    margin-top: 10px;
    float: right;	
}

.news-options li {
    display: inline;
    font-size: 10px;
    list-style-type: none;
    margin-right: 10px;
}

/* Display Lists + Fitlers */
.filters {
    border-bottom: 1px dashed black;
    padding-bottom: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}

#content .filters ul {
    margin: 0;
}

.filters li {
    display: inline;
    list-style-type: none;
    margin-right: 15px;
}

.filters li a, .filters li span {
    display: block;
	float: left;
    margin-right: 6px;
    padding: 3px;
}

.filters li a.active {
	color: white;
    background-color: #333;	
}

.filters li span {
    color: #aeaeae;	
}

.display-list h3 {
    color: white;
    margin: 1.25em 0 0.5em;
}

.display-list li {
    list-style: none;
}

/* User Table */
.user-table {
    width: 100%;
}

.user-table th {
    border-bottom: 1px dashed black;
    padding-bottom: 5px;
    margin-bottom: 5px;
}

.user-table td {
    padding: 2px;
}

.user-steamid {
    width: 200px;	
}

.user-team {
    width: 200px;	
}

.user-scores {
    width: 40px;	
}

/* Team Table */
.team-table {
    width: 100%;
}

.user-table td {
    height: 15px;
    overflow: hidden;
    text-overflow: ellipsis-word;
    white-space: nowrap;
    padding-right: 5px;
}

.team-name {
    width: 220px;
    white-space: none;
}

.team-tag {
    width: 110px;
}

.team-leader {
    width: 110px;
}

.team-website {
    width: 100px;	
}

.team-scores {
    width: 40px;
}

.application-approve, .application-deny {
	width: 70px;
}

/* Challenges */
.challenge_date {
    width: 90px;
}

.challenge_time {
    width: 70px;
}

#content .login-links {
    margin: 0;
    padding: 0;
}

.login-links li {
    display: inline;
    margin-right: 20px;
}

.login-links li.last {
    border: none;
}