* {
	margin: 0;
	padding: 0;
}

body {
	background: url("images/background.jpg") fixed;
	padding-bottom: 10px;
	font-family: calibri, arial;
}

img {
	border: 0;
	margin-bottom: -4px;
}

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

a:hover {
	cursor: pointer;
	text-decoration: underline;
}

acronym, fieldset {
	border: 0;
}

label {
	display: block;
}

cite {
	font-style: normal;
}

#wrapper {
	min-width: 800px;
	margin: 25px;
}

#header {
	height: 70px;
	color: #FFF;
}

#header #logo {
	float: left;
	margin-bottom: -2px;
}

#header #links {
	float: right;
	width: 324px;
	margin: 10px 0 -2px 0;
	padding: 0;
}

#header #links a {
	margin: 0px 9px;
}

#nav {
	background: url("images/nav.gif") #06238A;
	height: 20px;
}

#nav ul {
	background: url("images/header_desc.png") top left no-repeat;
	height: 20px;
}

#nav li {
	display: inline;
}

#nav a {
	display: block;
	height: 20px;
	float: left;
	color: #FFF;
	margin: 0 16px;
	padding: 0 8px;
}

#nav a:hover, #nav a:focus {
	background: url("images/nav.gif") bottom;
	text-decoration: none;
	outline: none;
}

#content {
	background: url("images/alpha/blue.png");
}

.icon {
	float: right;
	margin-top: -18px;
}

.arrow {
	display: none;
	background: url("images/icons/up_down.gif");
	background-position: 18px;
	width: 18px;
	height: 18px;
}

.comment {
	margin: 10px;
}

.comment .info, .comment .count, .comment .date {
	color: #AAA;
	font-size: 10px;
}

.comment .info {
	height: 16px;
	margin-right: 40px;
}

.comment .count {
	float: right;
	width: 40px;
	height: 16px;
	margin-top: -16px;
	text-align: right;
}

.comment .name, .comment .url {
	color: #999;
	font-size: 12px;
}

.comment .message {
	color: #555;
	padding: 6px 10px 10px 10px;
}

#new_comment fieldset {
	margin: 10px;
}

#new_comment * {
	list-style: none;
}

#new_comment #sec1,
#new_comment #sec2,
#new_comment #sec3 {
	float: left;
}

#new_comment ol li {
	display: inline;
}

#new_comment #sec1 {
	width: 25%;
	min-width: 120px;
}

#new_comment #sec2 {
	width: 55%;
	min-width: 220px;
}

#new_comment #sec2 ol {
	margin-left: 20px;
}

#new_comment #sec3 {
	width: 15%;
	min-width: 70px;
	float: right;
	text-align: center;
}

#new_comment #sec3 ol {
	margin-right: 10px;
}

#new_comment #sec3 img {
	margin-top: 15px;
}

#new_comment label {
	margin: 2px 0px;
}

#new_comment .text {
	width: 100%;
}

#new_comment textarea {
	width: 100%;
	height: 100px;
}

#new_comment #key {
	width: 56px;
	text-align: center;
}

#new_comment #submit {
	width: 60px;
	margin-top: 16px;
}

#portfolio #tabs {
	width: 50%;
	float: left;
}

#portfolio #websites {
	width: 49.9%;
	float: left;
}

#portfolio .thumb {
	width: 33%;
	min-width: 180px;
	float: left;
}

#portfolio .thumb a {
	display: block;
	height: 220px;
	margin: 10px;
	outline: none;
	text-decoration: none;
}

#portfolio .thumb img, #portfolio .thumb span {
	float: left;
	width: 150px;
	margin: 10px;
}

#portfolio .thumb img {
	padding: 5px;
}

#portfolio .thumb a:hover img, #portfolio .thumb a:focus img {
	border: 5px solid #FFF;
	padding: 0;
}

#portfolio .thumb span {
	padding: 0 2px;
	color: #FFF;
	font-size: 1.6em;
}

#portfolio .thumb a:hover span, #portfolio .thumb a:focus span {
	background: #FFF;
	color: #8AAFD2;
}

#portfolio #tabs .selected *, #tabs a.select:hover * {
	background: #000 !important;
	border-color: #000 !important;
	color: #FFF !important;
}

#portfolio #websites .website {
	background: #FFF;
	border: 5px solid #EEEEFF;
	margin: 20px;
	padding-bottom: 10px;
}

#portfolio #websites .website h1 {
	margin: 5px;
	text-align: right;
}

#portfolio #websites .website h3 {
	margin: 5px 10px;
}

#portfolio #websites .website .screenshot {
	border: 1px solid #DDD;
	display: block;
	width: 300px;
	height: 200px;
	margin: 10px auto;
}

#portfolio #websites .website p {
	display: block;
	padding: 10px;
}

#portfolio #websites .website ul {
	margin-left: 40px;
	list-style-image: url("images/bullet1.gif");
}

#dev, #pal {
	padding: 20px;
}

#dev .inner, #pal .inner {
	background: url("images/alpha/white.png");
	margin: 10px;
	padding: 10px;
}

#sidebar {
	float: left;
	width: 240px;
}

#sidebar h1 {
	margin-bottom: 5px;
	color: #00387c;
	text-align: center;
}

#sidebar a, #pal #session a, #about a {
	color: #0063DC;
}

#dev #sidebar h1 {
	font-size: 1.8em;
}

#dev #sidebar a {
	padding: 0 2px;
	font-size: 1.5em;
}

#dev #sidebar a:hover, #about a:hover {
	background: #0063DC;
	color: #FFF;
	text-decoration: none;
}

#dev #sidebar li {
	border-bottom: 1px solid #DDD;
	margin-bottom: 5px;
	padding-bottom: 5px;
	list-style-type: none;
}

#dev #sidebar .source {
	font-size: 1.2em;
}

#dev .article {
	margin-left: 250px;
}

#dev .article p {
	margin: 10px 10px 20px 10px;
}

#dev .article a.lightbox {
	display: block;
	background: #FFF;
	border: 1px solid #EEE;
	width: 450px;
	margin: 10px auto;
	padding: 10px;
}

#pal #sidebar {
	width: 220px;
}

#pal #sidebar a {
	display: block;
	width: 164px;
	margin: 0 auto;
	padding: 0 2px;
	font: 3em arial;
	line-height: 0.9em;
	letter-spacing: -0.08em;
	text-align: center;
}

#pal #sidebar a.week:hover,
#pal #sidebar a.week:focus,
#pal #session a:hover,
#pal #session a:focus {
	background: #0063DC;
	color: #FFF;
	text-decoration: none;
	outline: none;
}

#pal #sidebar a.this {
	color: #09BA00;
}

#pal #sidebar a.this:hover,
#pal #sidebar a.this:focus {
	background: #09BA00;
}

#pal .article {
	margin-left: 230px;
}

#pal .article h2 {
	margin-bottom: 10px;
}

#pal .article p {
	margin-bottom: 20px;
}

#pal #session h1 { margin-bottom: 10px; }
#pal #session p { margin: 10px 0; }

#pal #session a {
	padding: 0 2px;
}

#pal #session ul { margin: 20px 0; }
#pal #session ul ul { margin: 5px 0; }

#pal #session ul li, #about li {
	list-style-image: url("images/bullet1.gif");
	margin-left: 20px;
}

#pal #session ul li ul li {
	list-style-image: url("images/bullet2.gif");
	margin-left: 40px;
}

#pal #session ul li ul li ul li {
	list-style-image: url("images/bullet3.gif");
}

#pal #session ul a {
	line-height: 1.5em;
}

#pal #session .exam {
	float: left;
	width: 20%;
}

#pal #session .exam li {
	list-style-type: none;
	list-style-image: none;
}

#pal #rating {
	float: right;
	margin: 28px 28px 0 0;
}

#pal #votes {
	margin-top: -15px;
	font-size: 0.7em;
	color: #AAA;
	text-align: right;
}

#pal #useful_links .inner {
	height: 100px;
}

#pal #useful_links li {
	display: inline;
}

#pal #useful_links a {
	display: block;
	float: left;
	width: 50px;
	height: 50px;
	margin: 0 6px;
	padding: 4px;
}

#pal #useful_links a:hover,
#pal #useful_links a:focus {
	background: #EEE;
	border: 4px solid #DDD;
	padding: 0;
	outline: none;
}

.left {
	float: left;
}

.right {
	text-align: right;
}

#social {
	float: left;
	width: 480px;
}

#social a, #social div {
	display: block;
	height: 48px;
	margin: 30px;
	color: #FFF;
}

#social img {
	float: left;
	width: 64px;
	height: 64px;
}

#social a span {
	display: block;
	float: left;
	margin: 10px;
	padding: 2px;
	font-size: 2em;
}

#social a:hover {
	text-decoration: none;
}

#social a:hover span {
	background: #FFF;
	color: #8AAFD2;
}

#social div {
	background: url("images/contact/arrow.png") bottom right no-repeat;
	height: 34px;
	padding:  20px 65px 0 0;
	font-size: 2em;
	text-align: right;
}

#about {
	padding: 20px;
}

#about .inner {
	background: #FFF;
	padding: 10px;
}

#about h1 {
	background: url("images/about/about.png") 0 center no-repeat;
	padding-left: 50px;
	padding-bottom: 5px;
}

#about h2 {
	margin: 10px 0 0 2px;
	padding: 3px 5px 6px 50px;
}

#about h2.pal {
	background: url("images/about/uwe.png") 0 center no-repeat;
}

#about h2.attr {
	background: url("images/about/cc_logo.png") 0 center no-repeat;
}

#about h3 {
	margin-left: 10px;
}

#about p, #about li {
	padding: 10px;
	font: 0.9em verdana;
}

#about ul {
	float: left;
	width: 50%;
	margin-bottom: 10px;
}

#about li {
	margin-left: 40px;
}

#about #quotes {
	margin: 20px;
}

#about #quotes .quote {
	float: left;
	width: 50%;
	background: url("images/quotes_open.gif") no-repeat;
}

#about #quotes .quote div {
	background: url("images/quotes_close.gif") bottom right no-repeat;
	margin: 10px;
	padding: 0px 30px 0 15px;
}

#about #quotes .quote span {
	float: right;
	margin-right: 34px;
	color: #777;
	font-size: 0.8em;
}

#about .img {
	float: right;
}

#about .img:hover {
	background: #FFF;
}

#attribution {
	margin: 10px;
	text-align: center;
}

#attribution a {
	margin: 0 20px;
}

#attribution a:hover {
	background: #FFF;
}

#attribution a img {
	padding: 8px;
}

#attribution a:hover img {
	border: 4px solid #EEE;
	padding: 4px;
}

#contact {
	margin-left: 480px;
}

#contact div {
	padding: 20px 40px 20px 0px;
}

#contact li {
	list-style: none;
	color: #FFF;
}

#content label {
	margin-top: 10px;
	font: 1em verdana;
}

#contact .text, #contact textarea, #contact #key, #contact #submit input {
	background: #FFF;
	border: 2px solid #b7d2ed;
	padding: 2px;
	font: 1.2em arial;
	color: #6690b8;
}

#contact .text, #contact textarea {
	width: 95%;
}

#contact textarea {
	height: 150px;
	font-size: 1em;
}

#contact #captcha {
	width: 135px;
	height: 65px;
	margin: 0 auto;
}

#contact #captcha label {
	margin-bottom: 5px;
}

#contact #captcha img {
	display: block;
	float: left;
}

#contact #key {
	width: 54px;
	margin: 2px 0 0 10px;
	font-size: 0.8em;
	font-weight: bold;
	letter-spacing: 0.3em;
}

#contact *:focus, #contact #key:focus {
	border-color: #6d97bb;
}

#contact #success {
	color: #08B300;
	text-align: center;
}

#contact #error {
	color: #FF0000;
	text-align: center;
}

#contact #captcha, #contact #key, #contact #submit {
	text-align: center;
}

#contact #submit input {
	font: 1.5em verdana;
}

.credit {
	padding: 5px;
	font-size: 0.7em;
}

.credit, .credit a {
	color: #FFF;
}

#error {
	padding: 40px;
}

#error .inner {
	background: #FFF;
	padding: 20px;
	text-align: center;
}

#error h1 {
	color: #555;
	font-size: 8em;
}

#error h2 {
	color: #222;
	font-size: 6em;
}

#xml {
	float: right;
	margin: -10px 30px;
}

#footer {
	width: 700px;
	margin: 10px auto;
	clear: both;
}

#footer div, #footer div a {
	color: #4E83B9;
	font-size: 11px;
	text-align: center;
}

#footer div span {
	color: #164472;
}

.clearfix {
	clear: both;
}

.rating, .fav{
  width:80px;
  height:16px;
  margin:0 0 20px 0;
  padding:0;
  list-style:none;
  clear:both;
  position:relative;
  background: url("images/star-matrix.gif") no-repeat 0 0;
}

.fav{width:16px;}
.star_0 {background-position:0 0}
.star_1 {background-position:0 -16px}
.star_2 {background-position:0 -32px}
.star_3 {background-position:0 -48px}
.star_4 {background-position:0 -64px}
.star_5 {background-position:0 -80px}
li.indicator {display: none;}

ul.rating li, ul.fav li  {
  cursor: pointer;
  float:left;
  text-indent:-999em;
}

ul.rating li.indicator {float: right; text-indent: 0; position: relative; left: 18px;}
ul.fav li a, ul.rating li a {
  position:absolute;
  left:0;
  top:0;
  width:16px;
  height:16px;
  text-decoration:none;
  z-index: 200;
}

ul.rating li span, ul.fav li span {text-decoration:none; position:absolute; width:16px; height:16px;}
ul.fav li.s_1 a, ul.rating li.s_1 a {left:0;outline: 0;}
ul.rating li.s_2 a {left:16px;outline: 0;}
ul.rating li.s_3 a {left:32px;outline: 0;}
ul.rating li.s_4 a {left:48px;outline: 0;}
ul.rating li.s_5 a {left:64px;outline: 0;}

ul.fav li a:hover, ul.rating li a:hover {
  z-index:2;
  width:80px;
  height:16px;
  overflow:hidden;
  left:0; 
  background: url("images/star-matrix.gif") no-repeat 0 0;
}

ul.fav li a:hover {width:16px;}
ul.fav li.s_1 a:hover, ul.rating li.s_1 a:hover {background-position:0 -96px;}
ul.rating li.s_2 a:hover {background-position:0 -112px;}
ul.rating li.s_3 a:hover {background-position:0 -128px}
ul.rating li.s_4 a:hover {background-position:0 -144px}
ul.rating li.s_5 a:hover {background-position:0 -160px}

#roll1, #roll2, #roll3, #roll4 {
	background: url("images/footer.gif");
	display: block;	height: 20px;
	float: left;
	margin: 0px 60px 10px 60px;
	text-decoration: none;
}

#roll1, #roll2 {width: 51px;}
#roll3, #roll4 {width: 57px;}
#roll1 {background-position: -6px 0;}
#roll2 {background-position: -6px -20px;}
#roll3 {background-position: 0 -40px;}
#roll4 {background-position: 0 -60px;}
#roll1:hover {background-position: -57px 0px;}
#roll2:hover {background-position: -57px -20px;}
#roll3:hover {background-position: -57px -40px;}
#roll4:hover {background-position: -57px -60px;}