@import url(alert.css);
html,body{height:100%;color:black;margin:0;padding:0;}
body{background-color:white;font:13.34px helvetica,arial,freesans,clean,sans-serif;*font-size:small;}
table{font-size:inherit;font:100%;}
select,input[type=text],input[type=password],input[type=image],textarea{font:99% helvetica,arial,freesans,sans-serif;}
select,option{padding:0 .25em;}
optgroup{margin-top:.5em;}
body *{line-height:1.4em;}
p{margin:1em 0;}
img{border:0;}
abbr{border-bottom:none;}
.clearfix:after{content:".";display:block;height:0;clear:both;visibility:hidden;}
* html .clearfix{height:1%;}
.clearfix{display:inline-block;}
.clearfix{display:block;}
html{overflow-y:scroll;}

body {
  background: url(images/layout/body-back.png) repeat-x 0 50px;
  color: #333;
}

body.logged-in {
  background-position: 0 -10px;
}

strong {
  color: #777;
}

a {
  font-weight: bold;
  text-decoration: none;
  color: #346;
}

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

a.button {
  background: #abd;
  color: #333;
  display: block;
  float: right;
  border: 1px solid #79a;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  padding: 5px;
  font-weight: normal;
  margin: 5px 0;
}

a.button:hover {
  text-decoration: none;
  background: #bde;
}

.question_menu a.button {
  margin: 0 10px;
}

.question_menu {
  margin-top: -10px;
}

.question_search {
    height: 27px;
}

h1, h2 {
  font: 26px/1 helvetica,arial,sans-serif;
  margin: 0;
  color: #333;
}

h2 {
  font-size: 20px;
  color: #346;
  padding: 10px 0 5px;
  clear: both;
  border-bottom: 1px solid #ccc;
  margin-bottom: 10px;
}

div + h2 {
  margin-top: 20px;
}

h4 {
  margin-bottom: 0;
  margin-top: 20px;
  text-transform: uppercase;
}

#header {
  height: 155px;
  padding: 10px 0 0;
  position: relative;
}

body.logged-in #header {
  height: 95px;
}

#header h1 {
  text-indent: -999em;
  width: 231px;
  height: 125px;
  margin: 0 0 0;
  float:left;
  clear: left;
}

.logged-out #header h1 {
  margin-top: -5px;
}

.logged-in #header h1 {
  width: 32px;
  height: 32px;
}

#header h1 a {
  display: block;
  width: 100%;
  height: 100%;
  outline: none;
}

.site {
  margin: 0 auto;
  padding: 30px 5px 0 5px;
  width: 960px;
}

#header .site {
  padding: 0 25px;
  width: 920px;
  position: relative;
  height: 130px;
}

.logged-in #header .site {
  height: 70px;
}

/*
#header #menu {
  position: absolute;
  top: 0;
  right: 5px;
}
*/
#header ul {
  margin: 0;
  padding: 0;
  list-style: none;
}


#header #menu {
  clear: both;
  position: absolute;
  left: 25px;
  bottom: 0;
  width: 920px;
}

#header .meta-menu {
  float: right;
  clear: left;
  margin-bottom: 10px;
}

.logged-out #header .meta-menu {
  float: right;
  margin-right: 75px;
}

#header .personal {
  float: right;
  margin-bottom: 10px;
  margin-left: 10px;
  position: relative;
  z-index: 100;
}

.logged-out #header .personal li a {
  text-align: center;
}


#header .site-menu
{
  float: right;
  clear: right;
}

.logged-in #header .site-menu {
  float: left;
}

#header .search {
  float: right;
  margin: -10px 0 0;
}


#header #menu .site-menu li {
  border: none;
  padding: 0;
  position: relative;
  line-height: 27px;
  display: block;
  z-index: 10;
}

#header #menu .site-menu li a,
#header #menu .site-menu li span {
  border-left: none;
  line-height: 27px;
  border: 1px solid #ddd;
  border-radius: 5px 5px 0 0;
  -moz-border-radius: 5px 5px 0 0;
  -webkit-border-radius: 5px 5px 0 0;
  border-bottom: none;
  background: #ddd url(images/layout/content-back.png) no-repeat -50px 22px;
  display: block;
  padding: 0 5px;
}

#header #menu .site-menu li:hover a,
#header #menu .site-menu li:hover span,
#header #menu .site-menu li .current {
  background: #fff;
  line-height: 27px;
  position: relative;
}

#header #menu .site-menu li + li {
  margin-left: 5px;
}

#header #menu a:hover {
  text-decoration: none;
}

#header #menu li ul {
  display: none;
  position: absolute;
  top: 28px;
  left: 0;
  z-index: 100;
  width: 200px;
  border: 1px solid #ddd;
  border-width: 0 1px 1px;
  background: #fff;
  margin-bottom: 2px;
}

#header #menu li:hover ul {
  display: block;
}

#header #menu .site-menu li ul li {
  float: none;
  display: block;
}

#header #menu .site-menu li ul li a {
  border: none;
  background: #fff;
}

#header #menu .site-menu li ul li + li {
  margin: 0;
  border-top: 1px solid #ddd;
}

#header #menu li {
  float: left;
  padding: 0 5px;
  margin: 0;
}

#header #menu li + li,
#header .meta-menu li + li {
  border-left: 1px solid #ddd;
}

#header .personal .user {
  display: inline;
}

#header .personal > ul > li {
  position: relative;
  width: 100px;
  border: 1px solid #bbb;
  border-top: none;
  -moz-border-radius: 0 0 5px 5px;
  -webkit-border-radius: 0 0 5px 5px;
  margin-top: -10px;
  padding: 5px;
  float: left;
  line-height: 20px;
  text-align: right;
  background: #ddd;
  zoom: 1;
}

#header .personal a:hover {
  text-decoration: none;
}

#header .personal > ul > li + li {
  margin-left: 5px;
}

#header .personal li ul {
  display: none;
  position: absolute;
  top: 25px;
  right: -1px;
  background: #fff;
  z-index: 100;
  border: 1px solid #bbb;
  border-width: 0 1px;
  width: 110px;
  background: #eee;
}

#header .personal > ul > li:hover,
#header .personal > ul > li.hover {
  background: #eee;
}

#header .personal li:hover ul,
#header .personal li.hover ul {
  display: block;
  background: #eee;
}

#header .personal li ul li a {
  border: 1px solid #bbb;
  text-align: center;
  padding: 0 10px;
  line-height: 23px;
  display: block;
  width: 90px;
  margin-left: -1px;
  position: relative;
  top: 5px;
  background: #ddd;
}

#header .personal li ul li + li a {
  border-top-width: 0;
}

#header .personal li ul li a:hover {
  background: #eee;
  text-decoration: none;
  color: #346;
}

#header .personal li ul li:last-child a {
  border-radius: 0 0 5px 5px;
  -webkit-border-radius: 0 0 5px 5px;
  -moz-border-radius: 0 0 5px 5px;
}

#header .personal .user img {
  vertical-align: middle;
}

form.search {
  float: right;
  clear: right;
  width: 280px;
}

form.search input[type=text] {
  width: 190px;
  height: 19px;
  padding: 3px 5px;
  -moz-border-radius: 5px 0 0 5px;
  -webkit-border-radius: 5px 0 0 5px;
  border: 1px solid #aaa;
  color: #444;
  font-size: 16px;
  float: right;
}

form.search input[type=submit] {
  background: #ddd;
  border: 1px solid #aaa;
  -moz-border-radius: 0 5px 5px 0;
  -webkit-border-radius: 0 5px 5px 0;
  border-left: none;
  height: 27px;
  font-weight: bold;
  cursor: pointer;
  margin: 0;
  float:right
}

#content {
    background: url(images/layout/content-back.png) no-repeat scroll 0 0 transparent;
    margin-top:-30px
}

#content .wrapper {
  background: #fff;
  padding: 10px 30px;
  min-height: 557px;
}

.pagehead {
  margin: -30px 0 -10px -5px;
  padding: 20px 25px 10px;
  position: relative;
  width: 920px;
}

.pagehead ul.awesomebar {
  -moz-border-radius:5px ;
  -webkit-border-radius: 5px;
  background: #ccc;
  border:1px solid #bbb;
  height:28px;
  margin:10px 0 0;
  padding:6px 10px;
  position:relative;
}

ul.awesomebar li {
  height: 26px;
  line-height: 26px;
  float: left;
  list-style: none;
}

ul.awesomebar li a {
  display: block;
  line-height: 26px;
  height: 26px;
  padding: 1px 6px;
  color: #888;
  font-weight: normal;
  text-shadow:1px 1px 0 rgba(215, 215, 215, 0.9);
}

ul.awesomebar li a.selected_link {
  -moz-border-radius:5px ;
  -webkit-border-radius: 5px;
  background: #F0F2F7;
  border: 1px solid #EBD078;
  padding: 0 5px;
  color: #333;
  text-shadow: none;
  text-decoration: none;
}

ul.awesomebar li + li {
  margin-left: 5px;
}

.filter {
  border: 1px solid #ccc;
  border-top: none;
  margin-top: -10px;
  -moz-border-radius: 0 0 5px 5px;
  -webkit-border-radius: 0 0 5px 5px;
  border-radius: 0 0 5px 5px;
  list-style: none;
  padding: 0;
  background: #eee;
}

.filter li {
  float: left;
  margin: 5px 10px;
}

#main {
  float: left;
  width: 560px;
  position: relative;
}

#main-wide {
  width: 900px;
  position: relative;
}

#side {
  float: right;
  width: 320px;
}

#home #main {
  width: 640px;
}

#home #side {
  width: 240px;
}

#main #aggregates_container .aggregate {
  clear: both;
  padding: 10px 0;
  border-bottom: 1px solid #ccc;
}

#main #aggregates_container .aggregate .content {
  width: 390px;
  float: right;
}

#main #aggregates_container .aggregate .meta {
  float: left;
  width: 150px;
  font-size: 11px;
  margin-left: 10px;
}
#main #aggregates_container .aggregate .meta a,
#main #aggregates_container .aggregate .meta a:hover {
    font-weight: inherit;
    color: inherit;
}

#main #aggregates_container .aggregate .meta .gravatar {
  margin: 0 10px 0 0;
  float: left;
  border: 1px solid #eee;
}

#main #aggregates_container .aggregate .meta .age,
#main #aggregates_container .aggregate .meta .author {
  width: 96px;
  margin-right: 10px;
  float: left;
}

#main #aggregates_container .aggregate.highlight {
  -moz-border-radius: 0 0 5px 5px;
  -webkit-border-radius: 0 0 5px 5px;
  background: #d5dae5;
  border-bottom: none;
}

#main h1 {
  padding-bottom: 3px;
  border-bottom: 1px solid #333;
  margin-top: 0;
}

#main h1 + a {
  position: absolute;
  top: 0;
  right: 0;
  border: 1px solid #ccc;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  background: #f8f8f8;
  padding: 5px;
}

.article form textarea,
.tweet_container form textarea {
  height: 70px;
  width: 548px;
  border: 1px solid #999;
  padding: 5px;
}

.tweet_container form textarea:focus {
  background: #f0f2f7;
}

.tweet_container form .markdown-note {
  float: left;
  margin-top: 5px;
}

.aggregator_menu {
  clear: both;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border: 1px solid #eee;
  background: #f0f2f7;
  margin-bottom: 10px;
  padding: 5px;
}

.aggregator_menu a {
  margin-right: 10px;
  padding: 2px 5px;
  border: 1px solid #f0f2f7;
}

.aggregator_menu .selected_link {
  font-weight: bold;
  background: #fbe088;
  border-color: #ebd078;
  color: #000;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
}

.articles, .questions, .article {
  list-style: none;
  margin: 0;
  padding: 0;
  clear: both;
}

.articles li, .questions > li {
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
}

.article .meta,
.comment .meta,
.questions .meta,
.alerts .meta,
.pagehead .meta {
  float: right;
}

.answers .meta {
  margin-right: 10px;
}

.article .meta .gravatar,
.comment .meta .gravatar,
.questions .meta .gravatar,
.pagehead .meta .gravatar {
  padding: 2px;
  border: 1px solid #ddd;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  float: right;
  margin-left: 5px;
}

.article .meta .author_and_time,
.comment .meta .author_and_time,
.questions .meta .author_and_time,
.alerts .meta .time,
.pagehead .meta .author_and_time {
  line-height: 22px;
  font-size: 11px;
}

.article h2 {
  margin: 0;
}

.article .content {
  margin: 10px 5px;
}

.question h2 {
  margin-top: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid #ccc;
}

.paginator {
  float: right;
  margin: 10px;
  text-align: right;
  color: #666;
}

.paginator span + a,
.paginator a + a,
.paginator a + span {
  border-left: 1px solid #000;
  padding-left: 5px;
}

form label {
  display: block;
  font-size: 121%;
  margin: 2px 0;
}

form input[type=submit] {
  margin-top: 5px;
  float: right;
}

form .checkbox {
  position: relative;
}

form .checkbox label {
  margin: 0 0 0 25px;
}

form .checkbox input {
  position: absolute;
  top: 0;
  left: 0;
}

form input[type=text], form input[type=password], form p textarea {
  width: 300px;
  font-size: 16px;
  padding: 3px 5px;
  border: 1px solid #aaa;
}

form .errorlist {
  padding: 0;
  margin: 1em 0 0;
  color: #900;
  list-style: none;
  font-weight: bold;
}

form .errorlist + p {
  margin-top: 0;
}

form .errorlist + p input[type=text] {
  background: #fdd;
  border: 1px solid #900;
}

.back {
  clear: both;
  float: right;
  padding: 10px 0;
}

#blogbox {
  border: 1px solid #ddd;
  padding: 10px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
}

#blogbox h3 {
  margin: 0 0 10px;
}

#blogbox * + h3 {
  margin-top: 20px;
}

#archives dt {
  font-size: 13px;
  clear: both;
}

#archives dd {
  font-size: 12px;
  float: left;
  margin: 0;
  padding: 0 2px 0 2px;
  border-left: 1px solid #ccc;
  line-height: 12px;
  overflow: visible;
}

#archives dt + dd {
  margin-left: 5px;
  border-left: none;
}

#tags ul, #tags li, #categories ul, #categories li {
  list-style: none;
  margin: 0;
  padding: 0;
}

#tags li, #categories li {
  float: left;
  margin-right: 5px;
}

div.comments {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #333;
}

ul.comments, ul.comments li,
ul.answers, ul.answers li,
ul.alerts, ul.alerts li {
  list-style: none;
  margin: 0;
  padding: 0;
}

ul.comments li,
ul.alerts li {
  padding: 10px;
}

ul.answers li {
  padding: 10px 0 10px 30px;
}

ul.comments li + li,
ul.answers li + li,
ul.alerts li + li {
  border-top: 1px solid #ddd;
}

ul.comments .even,
ul.answers .even,
ul.alerts .even {
  background: #F0F2F7;
}

.alerts h3 {
  display: inline;
  margin: 0;
}

.alerts p {
  margin-bottom: 0;
}

.alerts .warning {
  font-size: 12px;
  font-style: italic;
  font-weight: bold;
  color: #900;
}

.answers + h2 {
  border-bottom: none;
}

/* accounts profile */
.settings_box {
    display: none;
    border: 1px solid #ddd;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    padding: 10px;
}

.settings_box h3:first {
  margin-top: 0;
}

.settings_box table {
  border-collapse: collapse;
}

.settings_box table td, .settings_box table th {
  padding: 5px;
}

.settings_box table th {
  text-align: right;
  border-right: 1px solid #ddd;
}
.settings_box table tr + tr td,
.settings_box table tr + tr th {
  border-top: 1px solid #ddd;
}

#user_profile_menu {
  margin-left: 10px;
}

#user_profile_menu a {
  float: left;
  padding: 3px 6px;
  border: 1px solid #ddd;
  border-bottom: none;
  background: #ddd;
  outline: none;
}

#user_profile_menu a + a {
  margin-left: 10px;
}

#user_profile_menu a.selected_link {
  background: #fff;
  padding-bottom: 3px;
  margin-bottom: -1px;
  position: relative;
  bottom: -1px;
  z-index: 100;
}

#footer {
  clear: both;
  padding: 10px 0 30px;
  width: 960px;
  margin: 30px auto 0;
  border-top: 1px solid #333;
}

#footer .r {
  width: 50%;
  float: right;
}

#footer .l {
  width: 50%;
  float: left;
}

#footer .nav {
  float: left;
  margin: 0 0 0 5px;
  padding: 0;
  list-style: none;
}

#footer .nav + .nav {
  margin-left: 20px;
}

#footer .nav li {
  padding: 0 5px;
}

#footer .copyright {
  font-size: 10px;
  margin: 0;
  text-align: right;
}

#footer .disclaimer {
  font-size: 11px;
  font-style: italic;
  text-align: right;
}

#content .trade-table {
  position: relative;
  margin-bottom: 40px;
}

#content .trade-table .wrapper {
  min-height: 0;
  padding: 0;
}

.trade-table .expand {
  position: absolute;
  top: -25px;
  right: 0;
  width: 55px;
  padding: 5px;
  border: 1px solid #666;
  text-align: center;
  cursor: pointer;
  background: #efe;
  line-height: 14px;
}

.trade-table table {
  border-collapse: collapse;
}

.trade-table table td, .trade-table table th {
  border: 1px solid #666;
  padding: 4px;
}

.trade-table .even td {
  background: #eee;
}

.sb_positions td.sb_average_profit {
  background-color: #4ee;
}

.sb_positions tr:hover td.sb_average_profit {
  background-color: #6ff;
}

.trade-table tr:hover td, .trade-table tr:hover th {
  background: #ffe;
}

.sb_positions tr.sb_open td,
.sb_positions tr: td.wash
{
  background-color: #ee4;
}
.sb_positions tr.sb_open:hover td,
.sb_positions tr:hover td.wash {
  background-color: #ff6;
}

.sb_positions tr.sb_profit td,
.sb_positions td.profit {
  background-color: #4e4;
}
.sb_positions tr.sb_profit:hover td,
.sb_positions tr:hover td.profit {
  background-color: #6f6;
}

.sb_positions tr.sb_loss td,
.sb_positions td.loss {
  background-color: #ee4444;
}
.sb_positions tr.sb_loss:hover td,
.sb_positions tr:hover td.loss {
  background-color: #f66;
}

.trade_links a + a {
  margin-left: 10px;
}

#question_vote_rating,
.answer_vote {
  float: right;
  border: 1px solid #ddd;
  padding: 5px;
  background: #ffe;
  text-align: center;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  min-height: 26px;
}

#question_vote_rating a,
.answer_vote a {
  font-weight: bold;
  background: #ccc;
  border: 1px solid #aaa;
  padding: 3px;
  float: left;
}

#question_vote_rating a + a {
  margin-left: 5px;
}


#question_vote_rating .rating,
.answer .rating {
  font-size: 18px;
  font-weight: bold;
  font-family: Georgia, serif;
  line-height: 16px;
  display: block;
}

.question_rating,
.answer_rating {
  margin-top: 7px;
}

.testimonial {
  border: 1px solid #ccc;
  background: #f6f6f6;
  padding: 10px;
  margin-top: 20px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}

.testimonial img {
  float: left;
  padding: 10px;
  background: #fff;
  border: 1px solid #ddd;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}

.testimonial p {
  margin-left: 112px;
  margin-bottom: 0;
}

.item-list {
  margin: 0;
  padding-left: 10px;
}

.item-list li {
  margin: 0;
  font-size: 14px;
  font-weight: bold;
}

#home #side h3 {
  margin-top: 0;
  font-size: 16px;
  font-weight: normal;
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ccc;
}

#home #side .button {
  float: left;
  margin: 0 0 1em;
}

#home #side p, #home #side .item-list {
  margin-left: 10px;
}

#home #side p + p {
  clear: left;
}

.paypal input[type=image], .paypal select {
  display: block;
  margin: 10px;
}

.expired {
  border: 1px solid #500;
  background: #fee;
  padding: 10px;
  font-weight: bold;
  color: #500;
  font-size: 14px;
}

#media object, #media embed, #media video {
  margin: 0 auto;
  display: block;
}

#main-wide .comments form {
  width: 300px;
}

.videos, .video {
  margin: 0;
  padding: 0;
  list-style: none;
}

.video {
  padding: 0 20px 10px;
  width: 250px;
}

.video.odd {
  padding-right: 10px;
  clear: both;
  float: left;
}

.video.even {
  padding-left: 10px;
  clear: right;
  float: right;
}


/* Blog sidebar */
/*
#blogbox {
    border: 1px solid #555;
    float: right;
    width: 256px;
    margin: 25px;
    padding: 5px;
}
#blogbox h5 {
    margin: 0px;
}
#archives ul {
    margin: 0px;
    padding-left: 1em;
}
#archives li {
    list-style: none;
}
#archives a, #tags a {
    font-size: x-small;
}
#archives a.archive_year {
    font-size: medium;
}
#categories a {
    font-size: small;
}
#categories ul {
    margin: 0px;
}
*/

/* Blog articles */
.attachments li {
    list-style: none;
}

/* SPECIFIC PAGES */
/* /alerts/ */
.portfolio_collapse_container {
    display: none;
}
#exit_alert_form .price_header {
    text-align: left;
}
#exit_alert_form #id_price {
    width: 3em;
}

.vote_up {
    background-color: #8f8;
}
.vote_down {
    background-color: #f88;
}
.clear {
  clear: both;
}
/* chat */
#archive_contents {
    width: 500px;
    max-height: 400px;
    overflow-y: auto;
    border-style: solid;
    border-width: 1px;
    border-color: black;
}
#archive_menu {
    float: right;
}
