/* Global */
* {
	padding: 0em;
	margin: 0em;
}

html {
	width: 100%;
}

body {
	width: 100%;
	background: url(tile2.png);
	font-family: tahoma, helvetica, sans-serif;
	font-size: 8pt;
	color: #c1c1c1;
	min-width: 850px;
}

/* Common elements */

a {
	text-decoration: none;
	border: none;
	color: #696969;
}

a:hover {
	text-decoration: underline;
	color: #555;
}

h1,h2,h3,h4 {
	margin: 5px 0px;
	font-weight: bold;
}

h2 {
	text-align: center;
	font-size: 12pt;
}

h4 {
	font-size: 8pt;
}

p {
	margin: 10px 5px;
}

li {
	margin: 5px 15px;
}

input {
	padding: 2px 3px;
	font-family: tahoma;
	font-size: 8pt;
	border-top: 1px solid #c1c1c1;
	border-left: 1px solid #c1c1c1;
	border-right: 1px solid #d1d1d1;
	border-bottom: 1px solid #d1d1d1;
}

input:submit {
	padding: 2px 3px;
	font-family: tahoma;
	font-size: 8pt;
	border: 1px solid #FF0000;
}

input:hover {
	border-top: 1px solid #a6a6a6;
	border-left: 1px solid #a6a6a6;
	border-right: 1px solid #b6b6b6;
	border-bottom: 1px solid #b6b6b6;
}

textarea {
	padding: 2px 3px;
	font-family: tahoma;
	font-size: 8pt;
	border-top: 1px solid #c1c1c1;
	border-left: 1px solid #c1c1c1;
	border-right: 1px solid #d1d1d1;
	border-bottom: 1px solid #d1d1d1;
}

textarea:hover {
	border-top: 1px solid #a6a6a6;
	border-left: 1px solid #a6a6a6;
	border-right: 1px solid #b6b6b6;
	border-bottom: 1px solid #b6b6b6;
}

select {
	font-family: tahoma;
	font-size: 8pt;
	border-top: 1px solid #c1c1c1;
	border-left: 1px solid #c1c1c1;
	border-right: 1px solid #d1d1d1;
	border-bottom: 1px solid #d1d1d1;
}

select:hover {
	border-top: 1px solid #a6a6a6;
	border-left: 1px solid #a6a6a6;
	border-right: 1px solid #b6b6b6;
	border-bottom: 1px solid #b6b6b6;
}

img {
	border: none;
}

/* Styles generated by the BBCode parser */

span.size1 { font-size:0.75em; }
span.size2 { font-size:1em; }
span.size3 { font-size:1.25em; }
span.size4 { font-size:1.5em; }
span.size5 { font-size:1.75em; }
span.size6 { font-size:2em; }
span.size7 { font-size:2.25em; }
span.size8 { font-size:2.5em; }
span.size9 { font-size:2.75em; }
span.size10 { font-size:3em; }

ul.thin { margin:0px 0px 0px 25px; padding:0px; }
ul.thin li { margin:0px 0px; padding:0px; }

/* Layout (Every page) */

#header {
	width: 920px;
    height: 130px;
	padding: 0px 0 0 0;
    margin: 0 auto;
	
    filter:alpha(opacity=90);
    -moz-opacity:0.9;
    -khtml-opacity: 0.9;
    opacity: 0.9;

background: #000;
}

#content {
    background: #111;
	margin: auto;
	width: 900px;
    margin-top: -1px;
	padding: 10px;
    overflow: hidden;
}


#footer {
    background: black;
	margin-top: 10px;
	margin-bottom: 10px;
    color: white;
    width: 920px;
    font-size: 0.8em;
	text-align: center;
	padding: 1em 0;
    margin-left: auto; margin-right: auto;

    filter:alpha(opacity=80);
    -moz-opacity:0.8;
    -khtml-opacity: 0.8;
    opacity: 0.8;
}

#footer p { color: #c1c1c1; }

#logo {
    z-index: 4;
    background: url(logo.png) no-repeat;
    position: relative;
    top: 13px; left: 390px;
	width: 74px;
	height: 18px;
	margin: 0 auto;
}

#logo a {
	border: none;
	width: 74px;
	height: 18px;
	display: block;
}



#logo a:hover {
	border: none;
}

#menu {
	position: absolute;
	top: 65px;
	width: 920px;
	padding: 0.6em 0;
	text-align: center;
	max-height: 35px;
    background-color: #ff6604;
	font-size: 10pt;
}

#menu ul li {
	position: relative;
	display: inline;
}

#menu ul li a {
	padding: 0.6em 0.6em;
	color: #fff;
}

#menu ul li a.active {
	background-color: #d85100;
}

#menu ul li a:hover {
	background-color: #cce750;
	text-decoration: none;
}

#userinfo {
	position: absolute;
	top: 35px;
	color: #c1c1c1;
	background: #000;
	padding: 4px 0px;
	width: 920px;
	text-align: center;
	font-size: 8pt;
}

#userinfo img {
	margin-top: -5px;
}

#userinfo ul {
	display: inline;
	margin: 0px 0.8%;
}

#userinfo ul li {
	position: relative;
	display: inline;
	margin: 0 0.1em;
	line-height: 20px;
	vertical-align: middle;
	padding: 0px;
}

#userinfo a {
	color: #cfcfcf;
}
#userinfo a:hover {
    position: relative;
    color: #fdce02;
    left: 1px; top: 1px;
}

#userinfo b a {
	font-weight: normal;
	font-size: 0.9em;
	font-weight: bold;
}

#searchbars {
	position: absolute;
	top: 10px;
	width: 920px;
	text-align: center;
	background-color: #2385c2;
	padding: 4px 0px;
}

#searchbars input {
	position: relative;
	border: 1px solid #00302e;
	padding: 2px 2px 2px 4px;
	font-size: 0.9em;
	background-color: #004f4c;
	color: #fff;
}

#searchbars input:hover {
	background-color: #005f5b;
}

#searchbars ul {
	margin: 0 auto;
}

#searchbars ul li {
	display: inline;
	margin: 0px 1px;
}

#searchbars ul li form {
	display: inline;
}

#alerts {
    width: 920px;
	margin-top: 85px;
    margin-left: auto; margin-right: auto;
	background: #39c936;
	padding: 10px 0px;
    border-bottom: 3px solid black;
}

#cat-selector ul {
	width: 100%;
}

#cat-selector ul li {
	display: inline;
	width: 12em;
	height: 1em;
	float: left;
}

.alertbar {
	text-align: center;
	color: #fff;
    font-size: 7pt;
    font-weight: bold;
	width: 350px;
	margin: 0px auto 0px auto;
}
.alertbar a {
	color: #fff;
	text-decoration: underline;
}
.alertbar a:hover {
	color: #777;
	text-decoration: none;
}

/* IE doesn't appear to like a simple display:none in our header. Random things start fucking up pretty badly. */
.hidden {
	position: absolute;
	left: -10000px;
}

input.hidden {
	position: absolute;
	display: none;
}

/* Layout (Any page) */


.thin {
	width: 850px;
	margin: 0px auto;
}

div.linkbox {
    color: white;
	text-align:center;
	padding: 5px;
}
div.linkbox a:hover { color: white; }

.center {
	text-align: center;
}

.right {
	text-align: right;
}

.min_padding {
	padding: 0px;
	margin: 0px 0px;
}

p.min_padding {
	margin: 2px 0px;
}

.pad {
	padding: 1em;
}

.vertical_space {
	margin-bottom: 10px;
}

.box {
    color: #000;
	font-size: 8pt;
	background-color: #EAEAEA;
	border: 1px solid #666666;
}

.pad h3, .pad h4, .padbox h3, .padbox h4 {
	margin-top: 0px;
	padding-top: 0px;
}

.sidebar {
	float: right;
	width: 250px;
	height: 100%;
}

.sidebar .box {
	margin: 0px 5px 10px 5px;
}

.head {
	padding: 4px;
	border-bottom: 1px solid #666;
	color: #000;
	background: #cce750;
}

.body {
	padding: 3px 10px 10px 10px;
}

.main_column {
	margin: 0px 255px 10px 0px;
	width: 590px;
}

.main_column .box, .main_column table {
	margin-bottom: 10px;
}

.tags {
	padding: 0px 0px 0px 20px;
	font-style: italic;
}

.tags a {
	color: #222;
}

.tags a:hover {
	color: #444;
	text-decoration: underline;
}

.noborder {
	border: none;
}

ul.nobullet {
	list-style-type: none;
}

table {
	width: 100%;
	border-collapse: collapse;
	border: 1px solid #666666;
}

tr {
	border: 1px solid #666666;
	background-color: #EEE;
}

tr.rowa {
	background-color: #DDD;
    color: black;
}
tr.rowb {
	background-color: #DDD;
    color: black;
}


td {
	border: 1px solid #666666;
	padding: 5px;
    color: black;
	text-align: left;
}

.colhead {
	background: #cce750;
	font-weight: bold;
	color: #000;
}

td.colhead, .colhead td {
	padding-left: 10px;
	padding-right: 10px;
}

.colhead .sign, .colhead_dark .sign {
	padding: 0px 8px 0px 8px;
	vertical-align:middle;
	text-align:center;
	font-size: 10pt;
	font-weight: bold;
}


.colhead .sign {
	padding: 0px 8px 0px 8px;
	font-size: 10pt;
	font-weight: bold;
}

.colhead_dark {
	background: #cce750;
	color: #000;
}

td.label {
	font-weight: bold;
	text-align: right;
    color: black;
    width: 180px;
}

table.slice {
	margin-top: -1px;
}
.error_message {
	position: absolute;
    top: 14px; left: 20px;
    height: 22px;

    border: 1px solid #666;
	padding: 3px 0px 3px 0px;
	background-color: red;
	text-align: center;
	color: white;
	font-weight: bold;
}


.save_message {
    position: absolute;
    top: 14px; left: 20px;
    height: 22px;
    border: 1px solid #666;
	padding: 3px;
	background-color: #F4E649;
	text-align: center;
	color: #492802;
}

.elem_error {
	border: 3px solid #B00D0D;
}

.hide {
	display:none;
}


/* Layout (home page) */

ul.stats li {
	padding: 0px 0px 1px 0px;
}

ul.poll li {
	padding: 0px 0px 0px 10px;
	margin: 0px;
}

ul.poll li.graph {
	margin-bottom: 3px;
	padding-left: 20px;
}

/* Layout (Torrents page) */

.show_torrents {
	width: 28px;
	height: 28px;
	background: url(http://images.what.cd/styles/whatnificent/images/show.png) no-repeat center center;
}

.hide_torrents {
	width: 28px;
	height: 28px;
	background: url(http://images.what.cd/styles/whatnificent/images/hide.png) no-repeat center center;
}

.show_torrents_link {
	border: none;
	width: 28px;
	height: 28px;
	display: block;
}

.filter_torrents {
	width:750px;
	margin:auto;
}

.filter_torrents a { color: white; }

.filter_torrents .submit {
	text-align:right;
	padding-top:5px;
}

.cat_list a { color: black; }
.cat_list tr td {
	border:none;
}

.torrent_table tr {
	vertical-align:top;
}

.torrent_table tr.torrent, .torrent_table tr.group {
	font-weight:bold;
}

.torrent_table tr.group {
    background: #c1c1c1;
}
.torrent_table tr.group_torrent {
	background-color:#fafafa;
}
.torrent_table tr.torrent {
	background-color:#ddd;
}

.torrent_table div.tags {
	font-weight:normal;
}

.torrent_table tr .center {
	vertical-align:middle;
	text-align:center;
    background: #c1c1c1;
}

.torrent_table span {
	float:right;
}
.nobr {
    color: black;
	white-space:nowrap;
}

/* Layout (Forums) */

table.forum_post {
	margin: 10px 0px;
}

table.forum_unread {
	border: 2px solid #CC4E02;
}

table.forum_post td {
	border: 1px solid #666;
}

td.avatar {
	width: 150px;
	padding: 0px;
}

table.forum_post td.body {
	width:690px;
    color: #000;
}

blockquote {
	margin: 10px;
	padding: 10px;
	border: 1px dashed #666;
}


/* Layout (Inbox) */


tr.unreadpm {
	background-color: #ECC;
}

/* Layout (Permission Page) */

.permission_head {
	width:400px;
	margin-left:auto;
	margin-right:auto;
}

.permissions {
	width:930px;
	margin-left:auto;
	margin-right:auto;
}

.permission_container {
	float:left;
	width:300px;
	padding:5px;
}
.permission_container input {
	margin:0px 3px 5px 0px;
	vertical-align:top;
}

.submit_container {
	clear:both;
	text-align:right;
}

/* Layout (Invite tree) */

ul .invitetree {
	margin: 0px 0px 0px 25px;
}

.invitetree li {
	list-style: none;
	margin: 10px 2px;
}

/* Layout (MISC) */

#left_poll {
	width: 2px;
	height: 9px;
	background: url(http://images.what.cd/styles/whatnificent/images/bar_left.gif) no-repeat center center;
	float: left;
	margin: 0px;
	padding: 0px;
}

#center_poll {
	height: 9px;
	background: url(http://images.what.cd/styles/whatnificent/images/bar.gif) repeat;
	float: left;
	margin: 0px;
	padding: 0px;
}

#right_poll {
	width: 2px;
	height: 9px;
	background: url(http://images.what.cd/styles/whatnificent/images/bar_right.gif) no-repeat center center;
	float: left;
	margin: 0px;
	padding: 0px;
}

.curtain {
	display: none;
	position: fixed;
	top: 0%;
	left: 0%;
	width: 100%;
	height: 100%;
	background-color: black;
	z-index:1001;
	-moz-opacity: 0.8;
	opacity:.80;
	filter: alpha(opacity=80);
}

.lightbox {
	display: none;
	position: fixed;
	text-align: center;
	top: 5%;
	left: 5%;
	width: 90%;
	height: 90%;
	padding: 0px;
	z-index:1002;
	overflow: auto;
}
