@import "typo_reset.css";

/* Restyling of core HTML tags */

html, body {
	padding: 0px 0px 10px 0px;
	margin: 0px;
	font-family: "Lucida Grande", Verdana, Arial, sans-serif;
	font-size: 13px;
	color: #FFFFFF;
	line-height: 18px;
	background-color: #222222;
}

h1 {
	font-size: 1.2em;
	font-weight: normal;
	padding: 0px;
	margin: 0px;
	height: 2.5em;
}

h2 {
	font-size: 1.2em;
	font-weight: normal;
	color: #BBBBBB;
	padding: 0px;
	margin: 0px;
	height: 2.5em;
}

h3 {
	font-size: 10px;
	font-weight: normal;
	padding: 10px 0px 0px 0px;
	margin: 0;
	font-size: 12px;
	color: #aaa;
}

a {
	color: #FFBB00;
	text-decoration: none;
}

a:visited {
	color: #FFBB00;
	text-decoration: none;
}

a:hover {
  color: #FFBB00;
	text-decoration: underline;
}

a:active {
  color: #FFBB00;
	text-decoration: underline;
}

a:hover img {
	background-color: transparent;
	text-decoration: none;
}

pre {
	padding: 10px;
}

table td {
	padding: 5px 5px 5px 0px;
}

table th {
	text-align: left;
	padding: 5px 5px 5px 0px;
}

p {
	margin: 0px 0px 1em 0px;
}

hr {
	border: 0px;
	color: #FFFFFF;
	background-color: #FFFFFF;
	height: 1px;
	margin-top: 20px;
	margin-bottom: 20px;
}

form input[type="submit"] {
	background-color: #222222;
	color: #FFBB00;
	border: 2px #999999 solid;
	border-style: outset;
}

form input[type="submit"]:active {
	background-color: #222222;
	color: #FFBB00;
	border: 2px #999999 solid;
	border-style: inset;
}

form {
	padding: 0px;
	margin: 0px;
}

img {
	border: 0px;
}

label:after {
  content: ":";
}

/* Main page structure */

#container {
	width: 100%;
	height: 100%;
	margin-left: auto;
	margin-right: auto;
}

#header {
	height: 150px;
	width: 100%;
	background: #525252 url('../../images/theme/header_background.png') repeat-x top left;
}

#header img {
  margin-left: 30px;
  float: left;
}

#right_header {
  float: right;
  margin-right: 45px;
  margin-top: 55px;
}

#right_header img {
  float: none;
  margin-left: 20px;
}

#content {
  width: 900px;
  margin-left: auto;
  margin-right: auto;
}

#shadow {
  width: 100%;
  height: 25px;
  background: #222222 url('../../images/theme/shadow.png') repeat-x top left;
}

/* Navigation structure & styles */

#navigation {
 	background: #a0a0a0 url('../../images/theme/nav_background.png') repeat-x top left;
	text-align: center;
	height: 40px;
	line-height: 40px;
}

#navigation ul {
	padding: 0px;
	margin: 0px;
	float: right;
}

#navigation li a:link {
	color: #000000;
	text-decoration: none;
	padding: 12px;
}

#navigation li a:visited {
	color: #000000;
	text-decoration: none;
	padding: 12px;
}

#navigation li a:hover {
	background-color: #000000;
	text-decoration: none;
	color: #FFFFFF;
	border-bottom: none;
	padding: 12px;
	background: #5f5f5f url('../../images/theme/nav_rollover.png') repeat-x top left;
}

#navigation li a:active {
	background-color: #000000;
	color: #CCCCCC;
	text-decoration: none;
	border-bottom: none;
	padding: 12px;
}

#navigation li {
	list-style-type: none;
	float: right;
	border-left: 1px #000000 solid;
}

#navigation .left ul {
	float: left;
}

#navigation .left li {
	list-style-type: none;
	float: left;
	border-right: 1px #000000 solid;
	border-left: none;
}

#navigation .free_text {
  padding-left: 12px;
  padding-right: 12px;
  color: #444444;
}

#navigation form {
	height: 40px;
}

#navigation form input[type="text"] {
	font-size: 13px;
	color: #666666;
	padding-top: 5px;
	padding-bottom: 6px;
	margin: 4px;
	margin-left: 12px;
	margin-right: 12px;
}

/* Blog structure & styles */

.post {
	float: left;
	border-bottom: 1px #BBBBBB solid;
	margin-bottom: 15px;
}

.post_left {
	width: 210px;
	padding-top: 10px;
	padding-right: 10px;
	float: left;
	font-size: 12px;
	color: #BBBBBB;
}

.post_right {
	width: 670px;
	padding-top: 10px;
	padding-bottom: 15px;
	padding-left: 10px;
	float: right;
}

/* Comment layout & styles */

.comments {
	float: left;
}

.comment {
	margin-bottom: 10px;
	padding: 10px 10px 0px 10px;
	width: 880px;
	border: 1px dashed #BBBBBB;
}

.comment p {
	margin-bottom: 10px;
}

.comment img {
	float: left;
}

.comment p {
	margin-left: 56px;
}

/* Utility styles */

.center {
	text-align: center;
}

.top {
	margin-top: 20px;
}

.grey {
  color: #BBBBBB;
}


/* Scaffold layout & styles */

.fieldWithErrors {
  display: inline;
}

.fieldWithErrors * {
  border: 3px solid #D57878;
}

.fieldWithErrors label {
	border: none;
}

#errorExplanation {
  width: 410px;
  border: 2px solid #D57878;
  padding: 7px;
  padding-bottom: 12px;
  margin-bottom: 10px;
  background-color: #f0f0f0;
  color: #333;
}

#errorExplanation h2 {
  text-align: left;
  font-weight: bold;
  padding: 5px 5px 5px 15px;
  font-size: 14px;
  margin: -7px;
  background-color: #FFCCCC;
  color: #000000;
  height: 1.5em;
  line-height: 1.5em;
}

#errorExplanation p {
  color: #333;
  margin: 0px;
  padding: 10px 0px 10px 10px;
}

#errorExplanation ul li {
  font-size: 12px;
  list-style: square;
}

#errorExplanation ul {
	padding: 0px;
	margin: 0px 0px 0px 40px;
}
