/* Layout (Torrents page) */

/* We're going to opt for the category icon method for now, tags_* is also available */
.cats_applications { width: 28px; height: 28px; background: url('images/apps.png') no-repeat center center; }
.cats_audiobooks { width: 28px; height: 28px; background: url('images/audiobook.png') no-repeat center center; }
.cats_comedy { width: 28px; height: 28px; background: url('images/comedy.png') no-repeat center center; }
.cats_comics { width: 28px; height: 28px; background: url('images/comics.png') no-repeat center center; }
.cats_ebooks { width: 28px; height: 28px; background: url('images/ebook.png') no-repeat center center; }
.cats_elearningvideos { width: 28px; height: 28px; background: url('images/elearning.png') no-repeat center center; }

.cats_music { width: 28px; height: 28px; background: url('images/music.png') no-repeat center center; }
/* Global */
* {
	padding: 0;
	margin: 0;
}

html {
	width: 100%;
}

body {
	width: 100%;
	background: #ECF0F6;
	font-family: Verdana,Arial,Helvetica,sans-serif;
	font-size: 8pt;
	color: #000000;
}

/* Common elements */

a {
	color: #32475F;
	text-decoration: none;
	border: none;
}
a:hover {
	text-decoration: underline;
	color: #839FBC;
}

h1,h2,h3,h4 {
	margin: 5px 0px;
}

h2 {
	text-align: center;
}

h4 {
	font-size: 8pt;
}

p {
	margin: 10px 5px;
}

li {
	margin: 5px 15px;
}

input {
	padding: 2px 3px;
}

textarea {
	padding: 2px 3px;
}

img {
	border: none;
}

/* Ratio Colors */

.r00 { color: #FF0000; }
.r01 { color: #FF1300; }
.r02 { color: #FF1300; }
.r03 { color: #FF2600; }
.r04 { color: #FF4C00; }
.r05 { color: #FF5E00; }
.r06 { color: #FF5E00; }
.r07 { color: #FF7100; }
.r08 { color: #FF9700; }
.r09 { color: #FFAA00; }
.r10 { color: #74C42E; }
.r20 { color: #418B00; }
.r50 { color: #418B00; }
.r99 { color: #418B00; }

/* 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: 100%;
	min-width:740px;
	padding: 0px 0 0 0;
	background: url('images/header.png') repeat-x;
	margin-bottom: 15px;
}

#content {
	width: 94%;
	min-width:740px;
	background-color: #F7F8FC;
	margin: 0px auto 0px auto;
	padding: 0.6em;
	border: 1px solid #98AAB1;
	overflow: hidden;
}

#footer {
	margin-top: 40px;
	width: 100%;
	text-align: center;
	padding: 1em 0;
}

#logo {
	width: 23%;
	height: 75px;
	background: url('images/logo.png') no-repeat center center;
	position: absolute;
	left: 0px;
}

#logo a {
	border: none;
	width: 100%;
	height: 60px;
	display: block;
}

#logo a:hover {
	border: none;
}

#menu {
	height: 47px;
	text-align: center;
	font-size: 9pt;
	margin: 0px 340px 0px 210px;
	padding-top: 28px;
}

#menu ul {
	position: relative;
	z-index: 1;
}

#menu ul li {
	margin: 0px;
	display: inline;
	margin-top: 0.8em;
}

#menu ul li a {
	padding: 1.1em 1.0% 0.5em 1.0%;
}
#menu ul li a:active {
	outline: none;
}

#userinfo {
	float: right;
	text-align: right;
	padding: 5px 15px 5px 0px;
	position: absolute;
	right: 0px;
}

#userinfo img {
	margin-top: -5px;
}

#userinfo ul li {
	position: relative;
	display: inline;
	margin: 0 0.1em;
	line-height: 20px;
	vertical-align: middle;
	padding: 0px;
}

#userinfo a, #userinfo a:visited {
	text-decoration: underline;
}
#userinfo a:hover {
	text-decoration: none;
}

#userinfo_username {
	display:inline;
	margin-right: 10px;
}

#userinfo_major {
	display:inline;
	clear: right;
}

#searchbars {
	border-top: 1px solid #98AAB1;
	border-bottom: 1px solid #98AAB1;
	padding: 3px 0px 2px 0px;
	background: url(images/bars.gif) repeat-x;
	text-align: center;
}

#searchbars form {
	display: inline;
}

#searchbars input {
	background-color: #F4F6FB;
	border: 1px solid #98AAB1;
	font-size: 0.9em;
	color: #222;
	position: relative;
}

#searchbars ul {
	display: block;
}

#searchbars ul li {
	margin: 0px;
	display: inline;
	list-style: none;
	position: relative;
}

#searchbars ul li ul {
	display: block;
	position: absolute;
	top: 1em;
	left: 0;
	z-index: 1000;
	border: 1px solid #98AAB1;
	background: #F4F6FB;
	width: 12em;
	margin-top: 12px;
}

#searchbars ul li ul li {
	margin: 0 0 0 0;
	padding: 0;
	display: block;
	width: 100%;
	text-align: left;
}

#searchbars ul li ul li.highlight {
	background: #C6D3E4;
}

li.searchbars {
	font-size: 11px;
	float: left;
	margin: 16px 0px 12px 25px;
}

.alertbar {
	border-top: 1px solid #CB7772;
	padding: 3px 0px 2px 0px;
	background-color: #ECC;
	text-align: center;
	font-weight: bold;
	color: #32475F;
}
.alertbar a {
	text-decoration: underline;
}
.alertbar a:hover {
	text-decoration: none;
}

.blend {
	border-top: 1px solid #98AAB1;
	background-color: #E1E9F2;
}

/* 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-left:auto;
	margin-right:auto;
}

div.linkbox {
	text-align:center;
	padding: 5px;
}

.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 {
	font-size: 8pt;
	background-color: #F4F6FB;
	border: 1px solid #98AAB1;
}

.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;
	background: #C6D3E4 url(images/colhead-grad.gif) repeat-x;
	color: #516A88;
	border-bottom: 1px solid #98AAB1;
	font-weight:bold;
}

.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:hover {
	text-decoration: underline;
}

.noborder {
	border: none;
}

ul.nobullet {
	list-style-type: none;
}

table {
	width: 100%;
	border-collapse: collapse;
	border: 1px solid #98AAB1;
}

tr {
	background-color: #F4F6FB;
}

tr.rowa {
	background-color: #E1E9F2;
}

td, th {
	border: 1px solid #98AAB1;
	padding: 5px;
	text-align: left;
}

.colhead {
	background: #C6D3E4 url(images/colhead-grad.gif) repeat-x;
	font-weight: bold;
	color: #516A88;
}

td.colhead, .colhead td, .colhead th {
	padding-left: 10px;
	padding-right: 10px;
}

.colhead .sign, .colhead_dark .sign {
	padding: 0px 8px 0px 8px;
	vertical-align:middle;
	text-align:center;
	font-size: 12pt;
	font-weight: bold;
}

.colhead_dark {
	background: #C6D3E4 url(images/colhead-grad.gif) repeat-x;
}

td.label {
	font-weight: bold;
	text-align: right;
	width: 180px;
}

table.slice {
	margin-top: -1px;
}

.error_message {
	border-top: 1px solid #C1965C;
	padding: 3px 0px 3px 0px;
	background-color: #AF2525;
	text-align: center;
	color: white;
	font-weight: bold;
}

.save_message {
	border: 1px solid #C1965C;
	padding: 3px 0px 3px 0px;
	background-color: #F4E649;
	text-align: center;
	color: #492802;
	font-weight: bold;
}

.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;
	clear: left;
}

ul.poll li.graph {
	margin-bottom: 3px;
	padding-left: 20px;
}

/* Layout (Torrents page) */

.show_torrents {
	width: 28px;
	height: 28px;
	background: url('images/show.png') no-repeat center center;
}

.hide_torrents {
	width: 28px;
	height: 28px;
	background: url('images/hide.png') no-repeat center center;
}

.show_torrents_link {
	border: none;
	width: 28px;
	height: 28px;
	display: block;
}

.filter_torrents {
	width:750px;
	margin-left:auto;
	margin-right:auto;
	margin-bottom:15px;
}

.filter_torrents .submit {
	text-align:right;
	padding-top:5px;
}

.filter_torrents .inputtext {
	width:400px;
}

.filter_torrents .smaller {
	width:300px;
}

.filter_torrents .smallest {
	width:50px;
}

.filter_torrents option {
	padding-right:8px;
}

.cat_list {
	margin-top: -1px;
}

.cat_list tr td {
	border:none;
}

.select_container {
	margin:5px;
}

.torrent_table tr {
	vertical-align:top;
}

.group {
	font-weight:bold;
	background-color:#D7E2EF;
}
.group_torrent {
	background-color:#F4F6FB;
}
.group_torrent span {
	float:right;
}

.torrent {
	font-weight:bold;
	background-color:#E1E9F2;
}
.torrent span {
	font-weight:normal;
	float:right;
}

.torrent_table div.tags {
	font-weight:normal;
}

.torrent_table tr .center {
	vertical-align:middle;
	text-align:center;
}

.torrent_table td .small {
	width:20px;
}

.torrent_table a img {
	border:none;
}

.torrent_table table {
	width:94%;
	margin: 10px;
}

.torrent_table table .colhead_dark {
	background-image: none;
	background-color: #C6D3E4;
}

.nobr {
	white-space:nowrap;
}

.advanced_search {
	text-align:right;
	padding-bottom:5px;
}

.unreadnotification {
	border: 2px solid #E2D244;
}

/* Layout (Forums) */

.last_read {width: 15px; height: 15px; background: url(images/go_last_read.png) no-repeat center center; margin-left: 5px;}
.last_read a { border: none; width: 100%; height: 100%; display: block; }
.last_read a:hover { border: none; }

.unread_locked_sticky{background: url(images/locked_sticky_unread.png) no-repeat center center;}
.read_locked_sticky{background: url(images/locked_sticky_read.png) no-repeat center center;}
.read_sticky{background: url(images/sticky_read.png) no-repeat center center;}
.unread_sticky{background: url(images/sticky_unread.png) no-repeat center center;}
.unread_locked{background: url(images/locked_unread.png) no-repeat center center;}
.read_locked{background: url(images/locked_read.png) no-repeat center center;}
.unread{background: url(images/unread.png) no-repeat center center;}
.read{background: url(images/read.png) no-repeat center center;}

table.forum_post {
	margin: 10px 0px;
}

table.forum_post td {
	border: 1px solid #98AAB1;
}

table.forum_unread {
	border: 2px solid #98AAB1;
}

td.avatar {
	width: 150px;
	padding: 0px;
}

table.forum_post td.body {
	width:690px;
}

blockquote {
	margin: 10px;
	padding: 10px;
	border: 1px dashed #98AAB1;
}

/* 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('images/bar_left.gif') no-repeat center center;
	float: left;
	margin: 0px;
	padding: 0px;
}

.center_poll {
	height: 9px;
	background: url('images/bar.gif') repeat;
	float: left;
	margin: 0px;
	padding: 0px;
}

.right_poll {
	width: 2px;
	height: 9px;
	background: url('images/bar_right.gif') no-repeat center center;
	float: left;
	margin: 0px;
	padding: 0px;
}

.curtain {
	position: fixed;
	top: 0%;
	left: 0%;
	width: 100%;
	height: 100%;
	background: #ECF0F6;
	z-index:1001;
}

.lightbox {
	position: fixed;
	text-align: center;
	top: 5%;
	left: 5%;
	width: 90%;
	height: 90%;
	padding: 0px;
	z-index:1002;
	overflow: auto;
}

.center {
	text-align: center;
}

.spellcheck {
	margin: 25px 0;
	font-size: 1.25em;
	font-weight: bold;
}