/* PyWM CSS by Hawkz */
/* it was late, and europython was a big distraction - be gentle.. */
* {
	margin:0;
	padding:0;
}

.grid_1 {
	width:60px;
}

.grid_2 {
	width:140px;
}

.grid_3 {
	width:220px;
}

.grid_4 {
	width:300px;
}

.grid_5 {
	width:380px;
}

.grid_6 {
	width:460px;
}

.grid_7 {
	width:540px;
}

.grid_8 {
	width:620px;
}

.grid_9 {
	width:700px;
}

.grid_10 {
	width:780px;
}

.grid_11 {
	width:860px;
}

.grid_12 {
	width:940px;
}

.column {
	margin:0 10px;
	overflow:hidden;
	float:left;
	display:inline;
}

.row {
	width:960px;
	margin:0 auto;
	overflow:hidden;
}

.row .row {
	margin:0 -10px;
	width:auto;
	display:block;
}

/* PyWM main */
html,body {
	height:100%;
}

#body { margin-left: 10px; }

body {
	margin:0;
	padding:0;
	font: 14px/20px Helvetica, Arial, Sans;
	color:#666;
	background:#fff;
}

#header {
	background-image:url(../img/header.jpg);
	z-index:0;
}

#pywm_bull {
	margin:-80px 0 0 0;
	z-index:10;
	position:absolute;
}

#header h1 a {
	width:496px;
	height:70px;
	display:block;
	background:url(../img/pywm.png) top left no-repeat;
	margin:20px 11px;
	overflow:hidden;
	text-indent:-1000px;
}

h2 {
	font-size:30px;
	line-height:33px;
	color:#5c9fd3;
	font-weight:normal;
	letter-spacing:-2px;
	margin:10px 0 9px;
}

.p {
	margin:9px 0;
}

.tabs,.login-top {
	display:block;
	list-style:none;
	background:#3a77a7;
	line-height:42px;
	color:white;
	height:42px;
	padding:0;
	-moz-border-radius: 0 0 10px 10px;
	-webkit-border-radius: 0 0 10px 10px;
}

.tabs li {
	display:block;
	float:left;
}

.tabs li a,.login-top a {
	color:#fce15e;
	font-size:16px;
	line-height:12px;
	font-weight:bold;
	text-decoration:none;
	margin:0 0 0 10px;
	text-shadow:2px 2px 2px #316a99;
}

.login-top {
	height:auto;
	line-height:20px;
	font-size:10px;
}

.login-top a {
	margin:0;
	line-height:16px;
	font-size:12px;
}

.login-top .mid a {
	line-height:42px;
	font-size:14px;
}

.errorField {
	color:#cc0000;
}

tr.odd {
	padding: 10px 0;
	background: #fcfcfc;
}

.gallery-photo-thumb {
	width: 140px;
	display: block;
	float: left;
	text-align: center;
	vertical-align: middle;
}

hr {
	color:#ccc;
	background-color:#ccc;
	height:1px;
	border:none;
	border-bottom:2px solid #ccc;
}

.login-top {
	position:absolute;
	top:0;
	float:right;
	text-align:right;
	right:50%;
	margin:0 -460px 0 0;
	padding:0;
	color:#fff;
}

form#search input {
	border:1px solid #316a99;
	background:#5a95c3;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	font-size:14px;
	line-height:22px;
	height:22px;
	color:#fff;
	margin-top:0;
	padding:2px 5px;
	font-family:Arial, Sans;
}

form#search button {
	border:1px solid #316a99;
	background:#316a99;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	font-size:14px;
	font-family:Arial, Sans;
	line-height:1;
	height:26px;
	margin-top:7px;
	color:#fce15e;
	font-weight:bold;
}

.button {
	text-decoration: none;
	border:1px solid #316a99;
	background:#316a99;
	-moz-border-radius:10px;
	-webkit-border-radius:10px;
	font-size:14px;
	font-family:Arial, Sans;
	line-height:26px;;
	height:26px;
	margin-top:7px;
	color:#fce15e;
	padding: 0 4px;
	font-weight:bold;
	float: right;
}

/* pinax bits and pieces */

body h1 {
	font-size:3em;
	color:#5c9fd3;
	font-weight:normal;
	margin:20px 0;
	line-height:40px;
}

a {
	color:#5c9fd1;
}

a:hover {
	color:#3d84be;
}

fieldset {
	padding:10px;
	-moz-border-radius:10px;
	-webkit-border-radius:10px;
	border:none;
	background:#f0f0f0;
	color:#444;
}

table.calendar, table.bookmarks {
	background:#f9f9f9;
	border-spacing:0;
}

table.bookmarks td {
	padding: 5px;
	vertical-align: middle;
}

.bookmarks .avatar {
	float: left;
	margin-right: 5px;
}

table.calendar a {
	text-decoration:none;
}

.daysofweek td {
	background:#3A77A7;
	color:#fff;
	padding:2px 0;
	text-align:center;
}

td {
	vertical-align:top;
}

td.daynumber a {
	display: block;
	text-align: center;
	font-weight: normal;
}

.profile_info p b {
	width: 100px;
	display: block;
	float: left;
}

.blog-post-tease, .topic .bulk {
	margin-left:180px;
}

.blog-post-meta, .task-meta {
	float:left;
}

.blog-post-meta p, .task-meta {
	width:170px;
}

.blog-post-meta img {
	float:left;
	margin-right:10px;
}

.gallery-photo {
	background: #f0f0f0;
	padding: 20px;
	vertical-align: middle;
	text-align: center;
}

label {
	line-height:22px;
	display:block;
	float:left;
}

fieldset label {
	width:160px;
	margin-right:10px;
}

input, textarea {
	line-height:22px;
	border:1px solid #ccc;
	border-top:1px solid #aaa;
	-moz-border-radius:10px;
	-webkit-border-radius:10px;
	padding:0 10px;
	margin-bottom:10px;
	font-size:16px;
	font-weight:normal;
}

input {
	height:22px;
}

table {
	width:100%;
	margin-bottom:20px;
}

td,th {
	vertical-align:top;
	text-align:left;
}

/* messages */
ul#messages {
	margin-top:10px;
}

ul#messages li {
	display:block;
	line-height:22px;
	border:1px solid #97c0e0;
	-moz-border-radius:10px;
	-webkit-border-radius:10px;
	padding:0 10px;
	background:#cce5ff;
	margin-bottom:10px;
	color:#6ea7d4;
}

ul#messages li a {
	text-decoration:none;
	float:right;
	margin-left:10px;
}

/* def lists */
dt {
	font-size:120%;
}

.dd {
	margin-bottom:10px;
}

/* right hand nav */
.subnav li a, input[type=submit],input[type=button], .navigation a {
	display:block;
	line-height:22px;
	border:none;
	-moz-border-radius:10px;
	-webkit-border-radius:10px;
	padding:0 10px;
	background:#3A77A7;
	margin-bottom:10px;
	color:#FCE15E;
	font-size:14px;
	font-weight:bold;
	text-decoration:none;
	text-shadow:#316A99 2px 2px 2px;
}

input[type=submit],input[type=button] {
	line-height:22px;
	display:inline;
	padding:0 10px;
}

textarea#new_tweet {
	width:90%;
}

.timesince, .blog-post-meta small {
	font-size:80%;
	color:#999;
}

#header a:hover, .subnav li a:hover {
	color:white;
}

/* profile */

#profile_avatar {
	float:right;
}

.navigation a {
	color:#FCE15E;
}

.navigation a:hover {
	color:#fff;
}

/* templatey bits */

#page {
	min-height:100%;
}

#content {
	overflow:auto;
	padding-bottom:170px; /* must be same height as the footer */
}

#footer {
	position:relative;
	margin-top:-150px;  /* negative value of footer height */
	height:150px;
	clear:both;
	background: #737373 url(../img/footer.jpg) top left repeat-x;
}

#footer .row {
	padding-top:12px;
}

.form-toggle {
	color:#3a77a7;
	background-color:#adcbe5;
	border:1px solid #3a77a7;
	border-radius:10px;
	-webkit-border-radius:10px;
	-moz-border-radius:10px;
	padding:10px 10px 0 10px;
}

.form-toggle p span {
	font-size:16px;
	font-weight:bold;
	display: block;
	background:#3A77A7;
	border: none;
	margin: -10px -10px 10px -10px;
	padding: 10px;
	border-radius:10px 10px 0 0;
	-webkit-border-radius:10px 10px 0 0;
	-moz-border-radius:10px 10px 0 0;
	color: #FCE15E;
}

#what-toggle { padding-top: 10px; }

.tweet, .blog-post {
	padding:10px;
	border-top:1px solid #ccc;
	margin-top:0px;
}

.blog-post {
	margin-top: 0px;
}

.tweet:hover {
	background:#f0f0f0;
}

.tweet .timesince {
	display:block;
}

.tweet .reply {
	float:right;
	margin-top:-14px;
}

.p {
	margin:0 0 10px;
}

.block {
	border: none;
	background-color: #316a99;
	background-image: url(../img/header.jpg) top left repeat-x; /* fallback image */
    background-image: -moz-linear-gradient(100% 100% 90deg, #5092c6, #316a99);
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#5092c6), to(#316a99));
	padding: 10px;
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	margin-bottom: 10px;
	color: #fff;
}

.block h3 {
	font-weight: normal;
	color: #fdd844;
	font-size: 20px;
}

.block a {
	display: block;
	text-align: right;
	color: #fdd844;
	text-decoration: none;
}

.block a:hover {
	color: #fff;
}


/*Opera Fix*/body:before {
/* thanks to Maleika (Kohoutec)*/
	content:"";
	height:100%;
	float:left;
	width:0;
	margin-top:-32767px;

	
/* thank you Erik J - negate effect of float*/
}

.ctrlHolder {
	margin-bottom:5px;
}

.clearfix:after,.ctrlHolder:after {
	content:".";
	display:block;
	clear:both;
	visibility:hidden;
	line-height:0;
	height:0;
}

.clearfix,.ctrlHolder {
	display:inline-block;
}

.html[xmlns] .clearfix,html[xmlns] .ctrlHolder {
	display:block;
}

* html .clearfix,* html .ctrlHolder {
	height:1%;

