html {
    margin: 0 10px;
}

body {
	margin: 10px auto;
	padding: 0px;
	width: 100%;
	background: #98aaae;
	min-width: 974px;		/* Minimum width of layout - remove line if not required */
					/* The min-width property does not work in old versions of Internet Explorer */
	max-width: 1224px;
	font-size: 90%;
	font-family: tahoma, arial, helvetica, trebuchet ms, arial narrow;
	color: #0E3037;
}

#tooltip {
    position: absolute;
    z-index: 3000;
    border: 1px solid #111;
    background-color: #eee;
    padding: 5px;
    opacity: 0.85;
}
#tooltip h3, #tooltip div { margin: 0; }

a, a:visited {
	color: #0E3037;
}
.even a:visited {
    color: #DFDFDF;
}
a:hover {
	color: #369;
	text-decoration: underline;
}

h1, h2, h3 {
	margin: .6em 0 .4em 0;
	padding: 0;
    clear: left;
}

p {
	margin: 0;
	padding: .4em 0 .8em 0;
/*	margin: .4em 0 .8em 0;*/
/*	padding: 0;*/
}
ul {
	margin:0;
	padding-top: .4em;
    padding-bottom: .8em;
}
img {
/*	margin:10px 0 5px;*/
	border: none;
    vertical-align: middle;
}
img.captcha {
    width: 60px;
    height: 25px;
    margin: 0;
    margin-left: -60px;
    padding-bottom: 7px;
}
table {
    width: 100%;
	border-spacing: 0;
    border-collapse: collapse;
/*	margin: 0.5em 0;*/
}
table th {
    text-align: left;
}
table th.icon, table td.icon {
    width: 16px;
}
#header {
/*	float: left;*/
	width: 100%;
	padding: 0;
	margin: 0;
    height: 150px;
/*	border-bottom: 1px solid #000;*/
    background: transparent url('images/sitegraphics/header.png') repeat-x;
}

#header p {
	padding: .5em 15px .2em 15px;
	margin: 0;
}

#header h1  {
	padding: .2em 15px;
	margin: 0;
}

#header h2  {
	padding: .2em 15px .7em 15px;
	margin: 0;
}
#header div.logo {
    position: absolute;
    top: 10px;
    width: 530px;
    height: 150px;
    background: transparent url('images/sitegraphics/header_left.png') top left no-repeat;
}
#header div.logo img {
    margin: 15px;
}
#header div.dynamic_updates {
    float: right;
    width: 530px;
    height: 150px;
    background: transparent url('images/sitegraphics/header_right.png') top right no-repeat;
}
/*#header div.dynamic_updates, #header div.dynamic_updates a {
    font-family: Futura;
    color: #e8e5d6;
}*/
#header div.dynamic_avatars {
    float: right;
    clear: both;
    margin: 20px 5px 0 0;
    width: 350px;
    height: 40px;
    text-align: right;
    overflow: hidden;
}
#header div.dynamic_topics {
    float: right;
    clear: both;
    width: 100%;
    margin-top: 5px;
    text-align: right;
}
#header div.dynamic_line {
/*    height: 15px;*/
    padding-right: 5px;
    overflow: hidden;
    font-size: 12px;
}

#colmask {
	position: relative;	/* This fixes the IE7 overflow hidden bug and stops the layout jumping out of place */
	clear: both;
	float: left;
	width: 100%;			/* width of whole page */
	overflow: hidden;		/* This chops off any overhanging divs */
/*	background: #ffd8b7;*/		/* Left column background colour */
}

#colmid {
	float: left;
	width: 200%;
	position: relative;
	left: 200px;
/*	background: #fff;*/    	/* Centre column background colour */
}

#colright {
	float: left;
	width: 100%;
	position: relative;
	left: 50%;
	margin-left: -400px;
/*	background: #ff9;*/    	/* Right column background colour */
}

#col1wrap {
	float: right;
	width: 50%;
	position: relative;
	right: 100%;
}

#col1pad {
	margin: 0 0 0 400px;
	overflow: hidden;
}

#col1 {
	width: 100%;
	overflow: hidden;
}

#col2 {
	float: left;
	width: 200px;
	position: relative;
	margin-left: -50%;
	left: 200px;
	overflow: hidden;
}
/*#col2 img {
    vertical-align: middle
}*/

#col3 {
	float: left;
	width: 200px;
	position: relative;
	left: 0px;
	overflow: hidden;
}

.columntop {
	margin-top: 10px;
	height: 15px;
	background-image: url('images/sitegraphics/coltop.gif');
}
.columnmid {
    background: #bdc9cf url('images/sitegraphics/colbackground.gif') repeat-y;
	padding: 5px;
}
.columnbottom {
	height: 15px;
	background-image: url('images/sitegraphics/colbottom.gif');
}
p.blocktitle {
    font-size: 75%;
    margin: 0;
    padding: 1px;
    text-align: center;
/*    color: #bdc9cf;*/
}

#content {
	margin: 15px;
/*    font-size: 90%;*/
}

#body {
    clear: both;
    margin: 0 auto;
    padding: 10px;
    width: 800px;
}
#site_wide_announcements {
    background: #aa0000;
    margin-top: 10px;
    padding: 10px;
    text-align: center;
}
#site_wide_announcements ul {
    padding: 0;
    margin: 0;
    list-style: none;
}
/*h1 {
    margin: 0;
}*/
#language {
    float: right;
    width: 200px;
    margin: 20px 0 0;
    padding: 0;
    text-align: center;
}
#language input {
    border: 1px solid transparent;
    margin: 0 5px;
}
#language input.selected {
    border: 1px solid #0E3037;
}
#tabhead {
    position: relative;
    background: #035 url('/site_media/pinax/images/heading.png') left top repeat-x;
    border-bottom: 1px solid #000; /* tab border */
}
#tabhead .logo {
    height: 80px;
    padding-left: 5px;
    padding-top: 0;
}
#tabhead .logo img {
    width: 190px;
    height: 79px;
}
#tabhead .login {
    position: absolute;
    top: 6px;
    right: 15px;
    color: #DEF; /* login bar text colour */
}
#tabhead .login a, #tabhead .login a:visited {
    color: #DEF; /* login bar link colour */
}
#tabhead .login a:hover {
    color: #FFF; /* login bar link hover colour */
}
.legal {
    text-align: center;
}
#breadcrumbs {
/*    float: left;*/
}
form th {
    text-align : left;
}
/*form.signup input[type="submit"], form.login input[type="submit"] {
    margin: 20px 0;
    padding: 0;
    font-size: 14pt;
}*/
input[type="text"],
input[type="password"],
input[type="file"],
textarea
{
    padding: 3px;
}
input[type="text"],
input[type="password"],
input[type="file"],
select,
textarea
{
    margin: 3px;
    color: #0E3037;
    background: #F3F3F3 url('/site_media/images/sitegraphics/form-shadow.png') left top repeat-x;
}
input[type="text"],
input[type="password"],
textarea
{
    width: 45%;
}
input[type="submit"], input[type="button"] {
    margin: 3px;
}
input[type="image"] {
	border: none;
    vertical-align: middle;
}
.clearboth {
    clear: both;
}

ul.errorlist {
    margin: 0;
    padding: 0;
    list-style: none;
    color: red;
}
ul#messages {
    margin: 0 0 10px 0;
    padding: 0;
    list-style: none;
}
ul#messages li {
    padding: 5px 10px;
    background: #98AAAE;
    margin: 0 0 3px 0;
    border: 1px solid #0E3037;
}
ul#messages li a {
    float: right;
    color: #0E3037;
}
.verified {
    color: green;
}
.remove {
    color: red;
}
.unverified {
    color: gray;
}
.primary {
    font-weight: bold;
}
table.email_list td {
    padding: 5px 10px;
}
table.invitation_list {
    width: 500px;
}
table.invitation_list td {
    padding: 5px 10px;
}
table.contact_list {
    width: 500px;
}
table.contact_list td {
    padding: 5px 10px;
}
.friendship_request {
    padding: 5px;
    background: #DEF;
    border: 1px solid #9BC;
}
.friendship_request p {
    padding: 0;
    margin: 0;
}
.friendship_request form {
    padding: 0;
    margin: 0;
}
.friendship_request p.invitation_message {
    font-size: 12pt;
    margin: 5px;
}
.warning {
    color: red;
    font-weight: bold;
}

div.notice {
    margin: 0;
    padding: 5px;
    border-bottom: 1px solid #CCC;
}
div.unseen_notice {
    margin: 0;
    padding: 5px;
    background: #DFC;
    border-bottom: 1px solid #CCC;
}
h2.notice_date,
h2.join_date,
h2.creation_date
{
    font-size: 12pt;
    color: #666;
    border-bottom: 1px solid #999;
}
span.notice_type {
    color: #666;
}
span.notice_message {
}
span.notice_time {
    color: #999;
    font-size: 90%;
}
table.notice_settings td {
    line-height: 90%;
    padding: 5px 10px;
    
}
span.notice_type_description {
    color: #666;
    font-size: 80%;
    font-style: italic;
}
table.profile_info th {
    text-align: left;
    padding: 5px;
    font-weight: bold;
}
table.profile_info th.icon {
    width: 16px;
    border-right: 1px dotted #0E3037;
}
table.profile_info td {
    padding: 5px;
    font-size: 90%;
}
#profile_avatar {
    width: 200px;
    text-align: center;
}
ul.avatar_choices, ul.avatar_choices ul {
    margin-left: 0px;
    padding-left: 0px;
}
ul.avatar_choices li {
    display: inline;
    list-style-type: none;
}
.invitation_5, .invitation_7 {
    color: green;
    font-weight: bold;
}
.invitation_2 {
    color: gray;
}
table.messages th {
    text-align: left;
    padding: 5px;
    font-weight: bold;
}
table.messages td {
/*    vertical-align: top;*/
    padding: 5px;
    font-size: 90%;
}
table.messages td.view {
    text-align: right;
}
table.elsewhere {
    width: 400px;
    table-layout: fixed;
}
table.elsewhere td {
    padding: 5px;
    font-size: 90%;
}
table.elsewhere td input[type="text"], table.elsewhere td select {
    width: 150px;
}
.even {
	color: #DFDFDF;
	background-color: #0E3037;
}
.odd {
    background-color: #DFDFDF;
}
/*.messages .even, .topic .even, .topics .even, .tribes .even {
	color: #DFDFDF;
	background-color: #0E3037;
}
.messages .odd, .topic .odd, .topics .odd, .tribes .odd {
    background-color: #DFDFDF;
}*/
.messages {
    margin: 0px;
    padding: 0px;
}
#subnav {
    margin: 0;
    padding: 0;
    background: #DEF; /* tab colour */
    border-bottom: 1px solid #9BC;
}
#subnav ul {
    float: right;
    margin: 0 20px;
    padding: 0;
}
#subnav ul li {
    display: inline;
    list-style-type: none;
}
#subnav ul a:link, #subnav ul a:visited {
    float: left;
    font-weight: bold;
    text-decoration: none;
    color: #444;
    padding: 4px 20px;
}
#subnav ul a:hover {
    color: #FFF;
    background: #9BC;
}

dl.message-headers {
/*    border-top:1px solid #CCC;
    border-bottom:1px solid #CCC;*/
    padding: 5px 0;
    width: 100%;
    font-family: Arial, sans-serif;
}

dl.message-headers dt {
    width: 70px;
    text-align: right;
    float: left;
    padding-right: 10px;
    font-weight: bold;
    color: #444;
}
dl.message-header dd {
    float: left;
}
div.right_panel {
    margin: 10px 0px;
    padding: 5px;
    width: 150px;
    border: 1px solid #0E3037;
    float: right;
    z-index: 999;
}

div.left_panel {
    width: 550px;
}

div.friends {
    background: #DEF;
    padding: 8px;
    margin-bottom: 20px;
}
div.friends h2 {
    margin: 0 0 5px 0;
    padding: 0;
}
div.friends .avatar {
    padding: 0;
    text-align: center;
}
div.friends .details {
    text-align: center;
    overflow: hidden;
    width: 60px;
    margin: 0 0 12px 0;
}
div.search input[type="text"] {
    width: 172px;
}
table.tribes{
    width: 70%;
}
table.tribes th {
    text-align: left;
    padding: 5px;
    font-weight: bold;
}
table.tribes td {
/*    vertical-align: top;*/
    padding: 5px;
    font-size: 90%;
}
table.tribes .comment_stats {
    text-align: center;
}
table.members {
/*    background: #DEF;*/
/*    padding: 8px;*/
/*    margin-bottom: 20px;*/
	table-layout: fixed;
    margin: 0.5em 0;
}
/*table.members h2 {
    margin: 0 0 5px 0;
    padding: 0;
}*/
table.members td {
    padding-bottom: 1em;
}
table.members td.avatar {
    width: 50px;
/*    text-decoration: none;*/
}
table.members td.details {
    overflow: hidden;
/*    width: 33%;*/
/*    margin: 0 0 12px 0;*/
}
div.notice_settings {
    background: #DEF;
    padding: 8px;
    margin: 20px 0;
}
div.notice_settings h2 {
    margin: 0 0 5px 0;
    padding: 0;
}
div.tweet {
    width: 500px;
    margin: 0;
    padding: 5px;
    border-bottom: 1px solid #CCC;
    font-size: 12pt;
}
div.tweet .timesince {
    color: #999;
    font-size: 80%;
}
span#chars_left {
    font-size: 16pt;
}
div.tweet .reply {
    font-size: 80%;
}

.locale_switcher {
    display: inline;
}

.ac_results {
    padding: 0px;
    border: 1px solid black;
    background-color: white;
    overflow: hidden;
    z-index: 99999;
}

.ac_results ul {
    width: 100%;
    list-style-position: outside;
    list-style: none;
    padding: 0;
    margin: 0;
}

.ac_results li {
    margin: 0px;
    padding: 2px 5px;
    cursor: default;
    display: block;
    /* 
    if width will be 100% horizontal scrollbar will apear 
    when scroll mode will be used
    */
    /*width: 100%;*/
    font: menu;
    font-size: 12px;
    /* 
    it is very important, if line-height not setted or setted 
    in relative units scroll will be broken in firefox
    */
    line-height: 16px;
    overflow: hidden;
}

.ac_results li img {
    float: left;
    margin: 5px;
}

.ac_loading {
    background: white url('indicator.gif') right center no-repeat;
}

.ac_odd {
    background-color: #eee;
}

.ac_over {
    background-color: #0A246A;
    color: white;
}
/* Buttons */
button {
    border: 0;
    cursor: pointer;
/*    font-weight: bold;*/
    padding: 0 20px 0 0;
    text-align: center;

    background: transparent url('/site_media/images/sitegraphics/buttons/button.png') top right no-repeat;
}
button span {
    position: relative;
    display: block;
    white-space: nowrap;
    padding: 0 0 0 20px;

    height: 24px;
    line-height: 14px;
    background: transparent url('/site_media/images/sitegraphics/buttons/button_span.png') top left no-repeat;
}
button:active {
    background: url('/site_media/images/sitegraphics/buttons/button.png') bottom right no-repeat;
}
button:active span {
    background: url('/site_media/images/sitegraphics/buttons/button_span.png') bottom left no-repeat;
}

/* pagination */
.pagination {
    margin: 10px 0;
}
.pagination .disabled {
    padding: 3px;
    color: #DFDFDF;
    border: 1px solid #0E3037;
}
.pagination .current {
    padding: 3px;
    color: #DFDFDF;
    border: 1px solid #0E3037;
    background: #0E3037;
}
.pagination a {
    padding: 3px;
    text-decoration: none;
    border: 1px solid #0E3037;
    color: #0E3037;
    background: #98AAAE;
}
.pagination a:hover {
    border: 1px solid #0E3037;
    color: #DFDFDF;
    background: #0E3037;
}

/* reference:
 *   http://www.positioniseverything.net/easyclearing.html
 *   http://www.zeldman.com/2006/10/27/ie7fixes1/
 *      comment by michael on 10/28/2006
 */
.clearfix {
    min-height: 1%;
}

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

/* hides from ie5-mac \*/
* html .clearfix { height: 1%; }
/* end hide from ie5-mac */

/* bookmarks */
table.narrow {
    width: 500px;
}
table.bookmarks td {
    vertical-align: top;
    padding: 5px;
}
table.bookmarks td h2 {
    margin: 0;
    padding: 0;
}
table.bookmarks td.vote {
    width: 80px;
    text-align: center;
    vertical-align: middle;
}
/*.bookmarks .even {
    background-color: #FAFAFA;
}
.bookmarks .odd {
    background-color: #F3F3F3;
}*/
div.url {
    color: #666;
    font-size: 90%;
    font-style: italic;
}



dl.what_next {
    margin: 2em;
}
dl.what_next dt {
    font-size: 120%;
}
dl.what_next dd {
    margin: 0 0 1em 0;
    font-style: italic;
}
p.what_next {
    font-size: 120%;
}

/* blogs */
.blog-post h2 {
    margin: 10px 0 0 0;
    font-style: italic;
}
.blog-post-tease {
    width: 500px;
    float: left;
}
.blog-post-meta {
    width: 200px;
    float: left;
    margin-left: 30px;
}
.blog-post-meta img { 
    border: 1px solid #666;
}
.blog-list tr.odd {
    background-color: #f3f3f3;
}
.blog-list td {
    vertical-align: top;
    padding: 3px 3px 15px 3px;
}
.blog-list td p {
    padding: 0;
    margin: 0;
}

.blog-post-meta img.noborder {
    border: 0;
}

/* projects */
.project_stats {
    color: #999;
    border-top: 1px solid #CCC;
    font-size: 90%;
}

/* tasks */

/*.tasks .even {
    background-color: #FAFAFA;
}
.tasks .odd {
    background-color: #F3F3F3;
}*/
table.task td, table.tasks td {
    vertical-align: top;
    padding: 5px 20px 5px 5px;
}
table.task, table.tasks {
    width: 100%;
}

div.task-meta {
    float: left;
    width: 150px;
    margin: 4px;
    padding: 4px;
    font-size: 80%;
}

div.task div.bulk h2 {
    margin: 0;
}
div.task-meta2 {
    color: #666;
    margin-top: 1em;
    font-size: 90%;
}

div.task-meta2 b {
    color: #000;
}

tr.task_resolved td a, tr.task_closed td a {
    text-decoration: line-through;
}

h2.task_resolved, h2.task_closed {
    text-decoration: line-through;
}

/* PHOTOS **************************************/
.thumb-row {
    margin: 20px 0;
    padding: 20px 0;
}
.gallery-photo-thumb {
    width: 100px; 
    margin: 10px 10px 20px 0;
    float: left;
    text-align: center;
}

.photo-right-profile, .photo-right-tools {
    background: #DEF;
    padding: 8px;
    margin-bottom: 20px;
}

.photo-profile-details {
    font-size: 0.9em;
}

.photo-avatar {
    float: left;
    margin-right: 10px;
}

.photo-avatar img {
    border: 1px solid #666;
}

.photo-right-tools ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.photo-right-tools ul li {
    background: #fff;
    padding: 2px 4px;
    margin: 2px 0;
}

.photo-right-tools li a {
    text-decoration: none;
}

.photo-right-tools li:hover {
    background: #DDDDDD;
}

.photo-profile-details h2 {
    margin: 0;
    padding: 0;
    font-size: 1.1em;
}

.photo-right-tools h2 {
    margin: 0 0 5px 0;
    padding: 0;
}

#embed-code textarea {
    width: 150px;
    font-size: 0.8em;
}
div.embed {
    margin: 10px 0;
    font-style: none;
}

.photo-right-tools form {
    margin: 0;
    padding: 0;
}
/* FORMS **********************************/

/* ----------- basic-sm ----------- */

#basic-form .underlineme {
    border-bottom: 4px solid #DEDEDE;
    margin-top: 15px;
}
#basic-form hr {
  border-top:solid 4px #DEDEDE;
}
#basic-form p{
  color:#666666;
  border-bottom:solid 1px #dedede;
  padding-bottom: 5px;
}
#basic-form label{
  display:block;
  font-weight:bold;
}
#basic-form td {
  padding: 2px;
}
#basic-form td.rightd {
  padding-right: 70px;
}
#basic-form span{
  color: #aaa;
  font-style: italic;
  width:300px;
}
#basic-form input, #basic-form select{
  float:left;
  margin:2px 0 2px 10px;
  font-size: 11px;
}

#basic-form textarea{
  float:left;
  margin:2px 0 2px 10px;
  font-size: 11px;
}

#basic-form .button{ 
  clear:both;
  width:125px;
  height:31px;
  text-align:center;
  line-height:20px;
  color:#FFFFFF;
  font-size:11px;
  font-weight:bold;
  border: 0 transparent;
  background: url(button.png) no-repeat;
  margin-top: 20px;
  cursor: pointer;
}
.delete_form {
	color:#0E3037;
    padding: 5px;
    background: #F99;
}

/* Fieldsets */
fieldset { padding: 20px; margin: 0 0 1.5em 0; border: 2px solid #ddd; }
legend { padding: 0 .4em; font-weight: bold; font-size: 1.2em; }

.left-form {
    width: 360px;
    float: left;
    margin-right: 60px;
}

.right-form {
    width: 360px;
    float: right;
}
.right-form p {
    line-height: 21px;
}
.padtop {
    margin-top: 20px;
}

.signupform {
    float: left;
}

/* form toggle */

/*.form-toggle p {
    margin-bottom: 2px;
}*/

.form-toggle p span {
    background: #0E3037;
    color: #DFDFDF;
    padding: 3px 6px;
    border-top: 1px solid #9BC;
    border-left: 1px solid #9BC;
    border-right: 1px solid #9BC;
    cursor: pointer;
}

/*.form-toggle form {
    padding: 3px 6px;
    margin: 0;
    background: #DEF;
    border: 1px solid #9BC;
}*/

.form-toggle input[type="submit"] {
}

/* locations */
div#ymap {
    width: 350px;
    height: 200px;
    float: right;
    border: 1px solid gray; 
}

