/* Reset */
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,
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-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}
/* remember to define focus styles! */
:focus {
	outline: 0;
}
body {
	line-height: 1;
	color: black;
	background: white;
}
ol, ul {
	list-style: none;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}

/* Other Stuff */

body {
  background: #222;
}

#container {
  width: 640px;
  margin: 2em auto;
  padding: 1em;
  background: #FFF;
  -moz-border-radius: 0.5em;
  -webkit-border-radius: 0.5em;
  border-radius: 0.5em;
}

#header {
  text-align: center;
  margin: 0.5em 0 1em;
}

#header h1 {
  font-size: 2em;
  font-weight: bold;
}

#header h1 a {
  text-decoration: none;
  color: #000;
}

#footer {
  color: #777;
  text-align: center;
  margin: 1em 0 0;
}

.section {
  margin: 0.5em 0 1.5em;
}

.section h2 {
  padding: 0.5em;
  text-transform: uppercase;
  background: #EEE;
  border-top: 0.1em solid #999;
  border-bottom: 0.1em solid #999;
  font-weight: bold;
  font-size: 1.25em;
  color: #333;
}

.section h2 a {
  text-decoration: none;
  color: #233967;
  margin-left: 0.15em;
}

form {
  background: #FDFFE9;
  border: 0.5em solid #F0EBD4;
  padding: 0.5em;
  margin: 1em;
}

.hidden {
  display: none;
}

form .row {
  margin: 0 0.5em 0.5em;
  line-height: 1.8em;
  display: inline-block;
  display: block;
}

form .row:after {
  clear: both;
  content: '.';
  display: block;
  visibility: hidden;
  height: 0; 
}

form .row label {
  display: block;
  float: left;
  zoom: 1;
  width: 30%;
  font-weight: bold;
  font-size: 1.1em;
  padding-top: 0.15em;
}

form .row input, form .row textarea {
  font-size: 1.1em;
  padding: 0.25em;
  border: 0.15em solid #AAA;
}

form .row input {
  width: 60%;
}

form .row input:focus, form .row textarea:focus {
  border-color: #3E5299;
}

form .row p.hint {
  color: #24813D;
  padding-left: 30%;
}

form .buttons {
  text-align: center;
  padding: 0.75em;
}

form .buttons a {
  text-decoration: none;
  color: #204B99;
}

div.message {
  font-size: 1.2em;
  text-align: center;
  padding: 0.5em 1em 1.5em;
  color: #DE701E;
}

/* Listings */

.section ul {
  line-height: 1.8em;
  margin: 0.5em 1em;
  font-family: Helvetica, Arial, Sans-Serif;
}

.section ul li {
  padding: 0.5em 0;
  color: #333;
}

.section ul li span.tag {
  display: inline-block;
  width: 4em;
  color: white;
  background: #666;
  font-size: 0.65em;
  text-transform: uppercase;
  font-weight: bold;
  text-align: center;
  padding: 0 0.5em;
  margin-right: 0.5em;
  -moz-border-radius: 0.6em;
  -webkit-border-radius: 0.6em;
  font-family: Helvetica, Arial, Sans-Serif;
}

#users .tag.admin {
  background: #163F10;
}

#users .tag.user {
  background: #141A3F;
}

#repositories .tag.repo {
  background: #720E12;
}

#groups .tag.group {
  background: #17768A;
}

.section ul li a, #repository-details a {
  text-decoration: none;
  color: #395F99;
}

/* View Stuff */

.view h2 {
  margin: 0 0 1em;
  text-align: center;
  font-weight: bold;
  font-size: 1.3em;
  color: #333;
  border-top: 0.1em solid #DDD;
  border-bottom: 0.1em solid #DDD;
  padding: 0.5em;
}

.view h3 {
  margin: 0.5em 1em;
  font-weight: bold;
  color: #555;
  font-size: 1.2em;
}

.view ul {
  margin: 0.5em 2em;
  line-height: 1.8em;
  font-size: 1.1em;
  list-style: disc inside;
}

.view ul li {
}

.view ul li.empty {
  color: #4A5258;
}

br.clear { clear: both; }

.view ul li a {
  text-decoration: none;
  color: #416999;
}

#repository-details {
  line-height: 1.8em;
  padding: 0.5em 1em;
  margin-bottom: 2em;
}

#repository-details h3 {
  font-weight: bold;
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 0.75em;
  color: #C55E25;
}

#repository-details code {
  display: block;
  white-space: pre;
  padding: 0.5em;
  font-family: Consolas, Lucida Console, Monaco, monospace;
  background: #F4F4F4;
  margin: 0.25em 0;
}

#error-container {
  padding: 1em 3em 1.5em;
}

#error-container h2 {
  font-size: 1.5em;
  text-align: center;
  font-weight: bold;
  padding: 0 0 0.5em;
  color: red;
}

#error-container p {
  font-size: 1.2em;
  line-height: 1.5em;
  color: #222;
  text-align: center;
}

#error-container p code {
  font-style: italic;
  color: black;
  font-weight: bold;
}