/* $Id$ */

body {
	text-align: center;
	background-color: #fff;
}

body, input, textarea, tt {
	font-family: Verdana, Arial, sans-serif; 
	font-size: 12px;
}

div {
	text-align: left;
}

a img {
	border: none;
}

a.bare {
	text-decoration: none;
}

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

#page {
	background-color: #3E8CD6;
	width: 760px;
	color: #fff;
	margin: 1em auto;
	text-align: left;
	border-bottom: 14px solid #205494;
}

#welcome_bar {
	padding: 0 0 2px 10px;
	background-color: #fff;
	color: #666;
}

#welcome_bar a, #welcome_bar button b, #account a {
	color: #9966ff;
}

#welcome_bar form {
	display: inline;
}

#welcome_bar button {
	border: 0;
	background: #fff;
	color: #666;
	padding: 0;
	font-family: Verdana, Arial, sans-serif; 
	cursor: pointer;
}

#welcome_bar button b {
	text-decoration: underline;
	font-weight: normal;
}

#header-wrap {
	background-color: #fff;
}

#header img {
	padding: 0;
	margin: 0;
}

#header {
	/* background-image specified in page.tt */
	white-space: nowrap;
	padding: 0;
	position: relative;
}

#top_nav {
	border-top: 1px solid #fff;
	font-size: 10px;
	background: #9CC9FF;
	padding: 0 0 0 22px;
}

#top_nav a {
	color: #000;
	text-decoration: none;
	line-height: 2em;
	margin-right: 1em;
}

#top_nav a:hover {
	color: #F77400;
	color: #FF0000;
}

#page_middle {
	padding: 6px 4px 0 6px;
	position: relative;
}

#content {
	padding: 8px;
	background-color: #1169BA;
}

#content, #content_sub, #content_wrap, #home_content {
	overflow: hidden; /* fixes FF mystery margin issue */
}

#footer {
	clear: both;
	padding: 6px 6px 10px 6px;
	position: relative;
	height: 138px;
}

#footer_left {
	display: block;
	float: left;
}

#footer_right {
	/* background-image specified in page.tt */
	margin-left: 288px;
	height: 138px;
}

#footer_content {
	padding-top: 6px;
	position: absolute;
	top: 0; left: 0;
	width: 100%;
	text-align: center;
	color: #fff;
	font-size: 10px;
}

#footer_logo {
	/* background-image specified in page.tt */
	margin: 0 auto;
	width: 162px;
	height: 43px;
}

#gutter {
	float: left;
	margin: 0 6px 6px 0;
	width: 160px;
	position: relative;
}

#ya_box {
	text-align: left;
	position: absolute;
	top: -22px;
	right: 3px;
	width: 168px;
}

#ya_tab {
	display: block;
	left: -3px; 
	position: relative; /* IE clips without this */
}

#ya_wrap {
	background-color: #fff;
}

#ya_content {
	color: #ff0000;
	width: 152px;
	height: 91px;
	margin: 0;
	text-align: left; 
	padding: 8px;
}

#ya_content form {
	display: block;
	margin: 0;
	padding: 0;
}

#ya_content input.t {
	width: 95%;
	border: 1px solid #999;
	color: #3399FF;
	font-size: 10px;
	margin: 2px 0;
	padding: 3px;
	display: block;
}

#si_control {
	margin-top: 8px;
}

#si_control a {
	white-space: normal;
	display: block;
	float: right;
	width: 50%;
	font-size: 10px;
}

#signin {
	margin: 0 4px 0 -3px;
	height: 29px;
	width: 71px;
}

#ad {
	position: relative;
	width: 160px;
	margin: 0;
}

body.with_user #ad {
	margin-top: 0;
}

#ss-ad {
	display: block;
	margin-bottom: 6px;
	background: transparent url(../images/ss-button.png) no-repeat;
	width: 160px;
	height: 90px;
}

div.ad_h {
	margin: 1em auto;
	text-align: center;
}

#content > h1 {
	margin-top: 0;
}

h1 {
	display: block;
	color: #fff;
	font-size: 16px;
	padding: 6px 8px;
}

h1.sub, div.sub {
	margin-bottom: 0;
}

h2, h3 {
	font-size: 14px;
}

h2.blue {
	background: #074A87;
	color: #fff;
}

h3 {
	color: #AED5FF;
}

.pretty h1, .pretty h2, .manilla h2 {
	color: #074A87;
}

.pretty h3 {
	color: #000;
}

div.text {
	padding: 0 8px;
}

#content div.text a {
	color: #fff;
}

div.error {
	padding: 4px 8px;
	background-color: #BA3711;
	background-color: #FFE266;
}

div.error table th {
	padding-right: 1em;
	color: #000;
}

div.error {
	color: #ff0000;
	font-weight: bold;
}

div.question, .pretty, .rounded, .manilla {
	padding: 8px;
	margin: 0 0 6px 0;
}

div.question, .pretty {
	display: block;
	background-color: #fff;
	color: #000;
}

div.pretty a, div.pretty a.bare u {
	color: #074A87;
}

div.pretty a.bare {
	color: #000;
}

div.question textarea {
	margin-top: 6px;
	width: 95%;
}

div.note, div.warning {
	padding: 8px;
	margin: 6px 0;
}

div.alert {
	color: #fbe3e4;
	background: #8a1f11;
}

div.alert a {
	color: inherit;
}

div.note {
	background-color: #3ED6A0; /* green */
	color: #000;
}

div.note a.bare {
	color: #000;
}

table.grid, table.grid th, table.grid td {
	border: 1px solid #000033;
}

table.grid {
	empty-cells: show;
	border-right: none;
	border-bottom: none;
}

table.grid th, table.grid td {
	border-left: none;
	border-top: none;
	padding: 2px 4px;
	text-align: left;
}

table.grid th {
	background-color: #92a5ff;
	background-color: #074A87;
	color: #fff;
	font-weight: normal;
}

table.grid td {
	background-color: #AED5FF;
	background-color: #fff;
	color: #000;
}

table.grid td img {
	vertical-align: bottom;
}

table.grid td.r {
	text-align: right;
}

table.grid a {
/*	color: #000 !important; */
}

table.dl th {
	background: #fff !important;
	color: #000 !important;
	font-weight: bold;
}

dt {
	font-weight: bold;
}

dd {
	margin: 1em 0 1em 1em;
}

/* SnapGraph */
.sg_bar .bar {
	border-bottom: 1px solid #AD5100;
	border-right: 1px solid #AD5100;
	border-left: 1px solid #FFBB80;
	border-top: 1px solid #FFBB80;
	background-color: #F77400;
	height: 1em;
}

.sg_bar {
/*	background-color: #fff;
	border: 1px solid black;
	width: 250px; */
	padding: 4px 2px;
}

.sg_bar td, .sg_bar th {
/*	font-family: sans-serif, Arial; */
/*	font-size: 10px; */
	padding: 4px;
/*	border-bottom: 1px solid #ddd; */
}

.sg_bar td.max_bar {
	width: 100px;
}

.sg_bar td.value {
	white-space: nowrap;
	font-size: 10px;
}

.sg_bar th {
/*	width: 50%; */
	text-align: left;
/*	font-weight: normal; */
}

div.sub_nav {
	position: relative;
	background-color: #ffe792;
	color: #000;
	padding: 4px 8px;
	margin-bottom: 8px;
}

div.sub_nav a {
	color: #000 !important;
}

div.sub_nav img.poptip {
	vertical-align: top;
}

div.sub_nav form {
	display: inline;
	margin: 0;
	padding: 0;
	border: 0;
}

form div.buttons {
	margin-top: 1em;
}

div.mc_choices {
	margin-top: 1em;
}

div.mc_big {
	height: 16em;
	overflow-y: scroll;
	border: 1px solid #666;
}

.pretty th label {
	display: block;
	border-bottom: 1px solid #ddd;
	margin-right: 1em;
}

#profile_form label {
	font-weight: bold;
	padding-top: 3px;
	display: block;
	float: left;
	width: 12em;
	margin-right: 1em;
	border-bottom: 1px solid #ddd;
}

#profile_form label {
	width: 12em;
}

#sign_in_form h2 {
	margin-top: 0;
}

#sign_in_form td {
	padding: 0 0  0 1em;
}

#sign_in_form td.l {
	width: 45%;
	padding: 0 1em 0 0;
	border-right: 1px solid #ddd;
}

.text ul {
	margin-left: 0;
	padding-left: 6px;
}

#directory {
	margin-top: 1em;
}

#directory ul {
	padding-top: 0;
	margin-top: 0;
	display: block;
	float: left;
	width: 45%;
}

.pager em.current {
	font-style: normal;
	font-weight: bold;
}

.fmsg .biblio {
	font-size: 10px;
	border-bottom: 1px solid #ddd;
	padding: 0 0 0.5em 0;
	margin: 0 0 0.5em 0;
}

.fmsg ul, .fmsg ol {
	margin-left: 2.5em;
	padding-left: 0;
}

#topics {
	margin: 1em 0 0 0;
	width: 100%;
}

.manilla {
	background-color: #ffe792;
	color: #000;
}

.manilla a {
	color: #000;
}

/* home page */

#home_left {
	width: 377px;
	float: left;
}

#home_right {
	margin: 0 2px 0 383px; /* 431px; */
}

#home_tl {
	background: #1169BA;
	padding: 6px;
}

#home_left input, #home_right input {
	vertical-align: middle;
}

#home_news {
	color: #000;
	margin-bottom: 1em;
}

#home_news a {
	color: #fff;
}

#home_news ul {
	padding-left: 0;
	margin-left: 0;
	list-style-type: none;
}

#home_news img {
	display: none;
}

#home_news p.date {
	font-weight: bold;
	font-size: 10px;
}

#home_news li {
	margin-top: 1em;
}

#home_create {
	background: #9CC9FF;
}

#home_create h2 {
	color: #074A87;
	margin-top: 0;
}

#home_create label {
	font-weight: bold;
}

#home_dir ul {
	margin-top: 0;
	display: inline-block;
	margin-right: 8px;
}

#home_dir, #home_dir a {
	color: #fff;
}

#home_dir {
	padding-bottom: 6px;
}

#home_featured li a {
	color: #000;
}

#home_featured li {
	margin-bottom: 0.5em;
}

img.poptip {
	width: 16px;
	height: 16px;
	margin-left: 6px;
	vertical-align: middle;
}

label img.poptip {
	vertical-align: top;
}

#poptip {
	display: none;
}

.tooltip {
	border: 1px solid #333;
	background-color: #3ED6A0;
	color: #000;
	padding: 4px;
	max-width: 300px;

	-moz-box-shadow:0 0 10px #000;
	-webkit-box-shadow:0 0 10px #000;
}

textarea.wide {
	width: 100%;
}

dl.search dd {
	margin-top: 0.25em;
}

dl.poll-list {
	display: block;
	padding-left: 10px;
}

dl.poll-list dt {
	font-size: 13px;
	line-height: 16px;
}

dl.poll-list dd {
	padding: 4px 0 1em 0;
	margin: 0;
}

dl.poll-list dt tt {
	font-weight: normal;
	padding-left: 4px;
	background-color: transparent;
	color: #074A87;
	font-size: 10px;
	line-height: 16px;
	white-space: nowrap;
}

img.icon16 {
	width: 16px;
	height: 16px;
	vertical-align: middle; 
}

em.alert {
	color: #FF0000;
}

em.shiny {
	color: #F77400;
	font-weight: bold;
	font-style: normal;
}

tt {
	background-color: #FF0000;
	color: #fff;
	font-weight: bold;
}

#ask500 h3 {
	margin-bottom: 0.25em;
}

.badges {
	padding-left: 0.5em;
}

.badges img {
	width: 16px;
	height: 16px;
	margin-right: 4px;
}

/* native rounding */

.pretty, .rounded, .question {
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
}

.top-rounded {
	-webkit-border-top-left-radius: 6px;
	-moz-border-radius-topleft: 6px;
	border-top-left-radius: 6px;

	-webkit-border-top-right-radius: 6px;
	-moz-border-radius-topright: 6px;
	border-top-right-radius: 6px;
}

.bottom-rounded, .sub_nav {
	-webkit-border-bottom-left-radius: 6px;
	-moz-border-radius-bottomleft: 6px;
	border-bottom-left-radius: 6px;

	-webkit-border-bottom-right-radius: 6px;
	-moz-border-radius-bottomright: 6px;
	border-bottom-right-radius: 6px;
}

#header {
	-webkit-border-top-right-radius: 8px;
	-moz-border-radius-topright: 8px;
	border-top-right-radius: 8px;
}

#ya_wrap {
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;

	-webkit-border-top-left-radius: 0;
	-moz-border-radius-topleft: 0;
	border-top-left-radius: 0;
}

#footer_right {
	-webkit-border-top-right-radius: 8px;
	-moz-border-radius-topright: 8px;
	border-top-right-radius: 8px;

	-webkit-border-bottom-right-radius: 8px;
	-moz-border-radius-bottomright: 8px;
	border-bottom-right-radius: 8px;
}

h1 {
	-webkit-border-top-left-radius: 8px;
	-moz-border-radius-topleft: 8px;
	border-top-left-radius: 8px;

	-webkit-border-bottom-left-radius: 8px;
	-moz-border-radius-bottomleft: 8px;
	border-bottom-left-radius: 8px;
}

h1.sub {
	-webkit-border-bottom-left-radius: 0;
	-moz-border-radius-bottomleft: 0;
	border-bottom-left-radius: 0;
}

.pretty.sub, .rounded.sub, .edit_question .question {
	-webkit-border-bottom-left-radius: 0;
	-moz-border-radius-bottomleft: 0;
	border-bottom-left-radius: 0;

	-webkit-border-bottom-right-radius: 0;
	-moz-border-radius-bottomright: 0;
	border-bottom-right-radius: 0;
}

#ribbon {
	padding: 4px 22px;
	background-color: #ffe792;
	color: #000;
}

#ribbon a {
	color: #074A87 !important;
	font-weight: bold;
}

#mp-site-like {
	position: absolute;
	z-index: 50;
	top: 43px;
	width: 200px;
	margin-left: 315px;
}

#top_nav a.safe_on,
#top_nav a.safe_off {
	padding: 0 2px;
}

#top_nav a.safe_off:hover,
#top_nav a.safe_on {
	background-color: #ffe792;
	color: #074A87;
}

#top_nav a.safe_on:hover,
#top_nav a.safe_off {
	background-color: #000;
	color: #ffe792;
}
