* { margin: 0; padding: 0; }
* ul { padding: 20px; }
body {
  min-width: 600px;
  background: #fbf8f1 url("../images/titlebar.png") repeat-x top left;
  padding: 0 30px;
  color: #555;
  font-family: sans-serif;
}
/* Divs */
#head_container {
  height: 220px;
}
#main_nav {
  position: absolute;
  top: 123px;
  right: 30px;
  width: 600px;
  background-color: #333;
}
#sub_nav {
  position: absolute;
  top: 149px;
  right: 30px;
  min-width: 700px;
  background-color: #1793d1;
}
#main_nav ul,
#sub_nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#main_nav ul li,
#sub_nav ul li {
  display: block;
  float: right;
  margin: 0 3px;
  padding: 0;
  text-align: center;
  font-size: 13px;
  line-height: 26px;
}
#main_nav ul li.selected {
  background-color: #1793d1;
}
#sub_nav ul li.selected {
  background-color: #333;
}
#main_nav ul li a,
#sub_nav ul li a {
  display: block;
  padding: 0 8px;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}
#main_nav ul li a:hover {
  background-color: #1793d1;
}
#lang_login_sub {
  display: block;
  position: relative;
  top: -30px;
  margin: auto;
  width: 90%;
}
#lang_login_sub .button {
  font-size: 9px;
  margin: 2px;
}
#login_bar {
  font-size: 10px;
  display: block;
  float: left;
}
#login_bar input {
  margin-right: 5px;
}
#lang_bar { 
  display: block;
  position: relative;
  float: right;
}
#lang_login_sub ul {
  list-style: none;
  padding: 0;
}
#lang_login_sub ul a {
  text-decoration: none;
}
#lang_login_sub ul a:hover {
  text-decoration: underline;
}
#lang_login_sub ul li {
  display: inline;
  padding-right: 1px;
  font-size: 10px;
}
#updates {
  font-size: small;
  /*position: relative;*/
  top: 0;
  background-color: #e7f0f6;
  border: 1px solid #92cbe8;
  padding: 10px;
}
#ads {
  z-index: 0;
  position: absolute;
  top: 40px;
  right: 10px;
}
#logo {
  z-index: 1;
  position: absolute;
  top: 10px;
  left: 25px;
  width: 350px;
}
#logo h1#archtitle {
  text-indent: -9999px;
  margin: 0;
  padding: 0;
}
#logo h1#archtitle a {
  display: block;
  background: transparent url("../images/titlelogo.png") top left no-repeat;
  width: 350px;
  height: 103px;
}
.clear {
  clear: both;
  margin: 0;
  padding: 0;
}
.right {
  float: right;
  width: 320px;
  padding: 0 10px 10px 0;
}
.left {
  padding: 10px;
  margin-right: 360px;
}
.left p {
  padding-bottom: 10px;
}
.box {
  padding: 10px;
}
.greybox {
  padding: 10px;
  background-color: #f6f3dd;
  border: 1px solid #d9d6c2;
}
div.listing {
  padding-right: 10px;
}
.error {
  color: #dd0000;
  font-size: small;
}
.foot {
  clear: both;
  text-align: center;
  font-size: 0.75em;
}
#search {
  float: right;
  position: relative;
  top: -2em;
  font-size: 0.8em;
}
#search input {
  background-color: #f6f3dd;
  border: 1px solid #d9d6c2;
}
.smalltext {
  text-align: right;
  font-size: x-small;
}
/* Headers */
h2 {
  margin: 20px 0 10px 0;
}
h2.title {
  border-bottom: 1px solid #46494d;
}
h3 {
  margin-bottom: 10px;
}
h3.title {
  text-align: right;
  border-bottom: 1px solid #46494d;
}
h4.title {
  text-align: left;
  border-bottom: 1px solid #46494d;
}
h4.news {
  border-bottom: 1px dotted #0771a6;
  margin-bottom: .25em;
  padding-bottom: .2em;
}
div.listing h4 {
  color: #fff;
  background-color: #0771a6;
  padding: 3px;
}
/* Paragraphs, Anchors, Images */
p {
  padding-bottom: 20px;
}
p.news {
  font-size: small;
}
a {
  color: #0771a6;
}
a:hover {
  color: #333;
}
#about {
  position: relative;
  top: -9px;
}
ol {
  padding-left: 45px;
}
ul.small {
  list-style: none;
  font-size: x-small;
}
ul.links {
  list-style: none;
  font-size: small;
  padding: 0 0 20px 20px;
}
img {
  border: none;
}
hr {
  border: none;
  border-top: 1px solid #46494d;
}
.greybox input,
button,
textarea,
select {
  background-color: #e1e3e6;
  border: 1px solid #8faecd;
}
.box input, button {
  padding: 2px;
  background-color: #c1c3f6;
  font-size: x-small;
  border: 1px solid #8faecd;
}
button#f_trigger {
  background-color: #e1e3e6;
}
/* Table stuff */
table.center {
  margin-left: auto;
  margin-right: auto;
}
table#releases {
  font-size: small;
  width: 100%;
}
table#releases td {
  padding-right: 20px;
}
table#repolinks {
  font-size: small;
  width: 100%;
}
table#repolinks td {
  text-align: right;
}
table#repolinks th {
  text-align: left;
}
table#art {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
table.results {
  padding: 0;
  border-collapse: collapse;
}
.results th {
  background-color: #e1e3e6;
  border-bottom: 1px solid #46494d;
  border-top: 1px solid #46494d;
  text-align: left;
  padding: 0 5px 0 0;
}
.results th>a {
  text-decoration: none;
  color: #46494d;
}
.results td {
  padding-right: 5px;
  vertical-align: top;
  font-size: 0.8em;
}
.listing th {
  font-size: small;
  vertical-align: top;
  text-align: left;
  padding: 2px;
}
.listing td {
  font-size: small;
  padding: 2px;
}
blockquote.code {
  background-color: #f3f3f3;
  border: 1px solid #ccc;
  margin-left: auto;
  margin-right: auto;
  white-space: nowrap;
  padding: 5px;
  font-family: "DejaVu Sans Mono", "Bitstream Vera Sans Mono", Courier, "Courier New", Monospace;
  color: #333;
  font-size: .95em;
}

/* Used by Django's FormWrappers */
textarea.vLargeTextField {
  width: 450px;
  height: 250px;
}
.pkgr2 {
  background-color: #eee4cb;
}
#maincontent {
  width: 100%;
  text-align: left;
  clear: both;
}
.pgbox {
  margin-bottom: 1%;
  background-color: #fff;
  border: 2px solid #ddd;
  text-align: left;
  padding: 3px;
}
.frontpgboxbody {
  padding: 10px;
}
.frontpgboxbody > table {
  width: 100%;
}
.pgboxtitle {
  border: 2px solid #ddd;
  border-top: 1px solid #fff;
  border-left: 1px solid #fff;
  background-color: #f1f2f4;
  text-align: left;
  padding: 2px 10px 2px 10px;
}
.pgboxbody,
.pgboxbody-comment {
  padding: 10px;
}
.pgboxbody input {
  margin-right: 10px;
}
.pgboxbody-comment > table {
  border-collapse: separate;
  border-spacing: 0 15px;
}

#advanced-search li {
	font-size: 11px;
	list-style: none;
	display: inline;
	padding-right: 15px;
	text-decoration: none;
}

#pages { margin: 5px; }
#pages .page_num {
	border: 1px solid #ddd;
	padding: 2px;
	color: #0771a6;
}

#pages .page_num:hover {
	border: 1px solid #8faecd;
	color: #333;
}

#pages #page_sel {
	border: 1px solid #8faecd;
	padding: 2px;
	color: #333;
	font-weight: bold;
}

.comment-header {
	background-color: #f1f2f4;
	color: #888;
	font-size: 14px;
	font-weight: bold;
	margin-left: 5px;
	margin-top: 5px;
	padding: 2px;
}

.comment-body {
	margin-left: 5px;
	padding: 2px;
	font-family: monospace;
}
