﻿/*******************************************************************************

This file contains styles intended for all Activity Feeds used on *.fool.com

*******************************************************************************/

/*******************************************************************************
=FEED SETUP
=ACTIVITY ICONS
=NEWSLETTER OVERLAYS
*******************************************************************************/


/*******************************************************************************
=FEED SETUP - Styling the dates and laying out the feed
*******************************************************************************/

div#ActivityFeed h2 {
	padding:0;
}
div#ActivityFeed h3 {
	font-size: 11px;
}
div#ActivityFeed h3.dayMarker {
	width:100%;
	height:20px;
	line-height:30px !important;
	padding: 0px 10px 0px 0px;
	position:relative;
	top:0px;
	border:0;
	margin:0 0 -20px 0;
	text-transform:uppercase;
	color:#999;
	border-top: 1px solid #ddd;
	text-align: left;
}
div.feed_item {
	margin-left: 0px !important;
	position: relative;
	margin-bottom: 10px !important;
	clear:both;
	padding-top:10px;
	padding-left:10px;
	border-bottom:0;
	border-top:1px dotted #ddd;
	color:#333;
}
 
div.feed_item div.actItem {
	background-position: 5px 2px;
	margin-left: 50px;
	padding-left:0;
	background-position: 0px 4px;
}

div.feed_item p.taglist {
	width: 50px;
	float: left;
	margin: 10px 0 0 5px;
	padding-top:5px;
}
* div.feed_item p.taglist {  /* for IE6 */
	margin: 0px;
}


div#ActivityFeed span.activityContext,
div#ActivityFeed blockquote strong,
div#ActivityFeed blockquote p {
	line-height: 18px;
}
.activityContext a {
	border-bottom:1px solid #ccc;
	text-decoration: none;
}
.activityContext a:hover {
	border-bottom:1px solid #888;
}
#ActivityFeed h4 {
	font-size: 14px;
}

.feed_item div {
	background-position: 38px 2px;
	background-repeat: no-repeat;
	position: relative;
}
.actItem {
	padding-left: 40px;
	overflow: hidden;
	min-height: 36px;
}
.actItem p,
.actItem blockquote,
.actItem h4 {
	margin: 0px;
	padding: 0px;
}
.actItem h4 {
	font-size: 14px;
}
.actItem p {
	/* TODO: Please select with a class instead of the element. Now all <p>s get these background properties. */
	background-position: 2px 6px; /* Why?! */
	background-repeat: no-repeat;
	padding-left: 40px;
}
.actItem blockquote {
	border-left: solid 2px #f0f0f0;
	margin:10px 20px 10px 40px;
	padding: 0px 0px 0px 8px;
}
.actItem blockquote p {
	padding-left: 0px;
}
.actItem blockquote.quotes {
	background: transparent url(//g.foolcdn.com/art/Profiles/bg/quotes_mini_bg.gif) 40px 6px no-repeat;
	padding: 2px 30px 0px 60px;
	}
.actItem .smcaps {
	font-size: 10px;
	font-weight: bold;
	margin-bottom:-5px;
	text-transform: uppercase;
}
.actItem .smcaps a {
	text-decoration: none;
	border-bottom: none;
}
.actItem .smcaps a:hover {
	border-bottom: none;
	color: #006699;
}
.muted, a.muted, .muted a {
	color:#888888;
}
.activityContext a {
	color: #888;
	border-bottom: solid 1px #bbb;
	text-decoration: none;
	}
.activityContext a:hover {
	color: #444;
	border-bottom: solid 1px #888;
	text-decoration: none;
	}
.timestamp {
	color:#CC6600;
	font-size: 10px;
	line-height: 10px;
	padding-left: 5px;
	white-space:nowrap;
}

.WaterCooler img {
	border:1px solid #DDDDDD;
	clear:none;
	float:left;
	height:25px;
	margin-right:5px;
	margin-top:5px;
	padding:2px;
	width:25px;
}
span.NL {
	background-repeat:no-repeat;
	height:40px;
	left:2px;
	position:absolute;
	text-indent:-9999px;
	top:2px;
	width:40px;
	z-index:20;
}


/*******************************************************************************
=ACTIVITY ICONS - All the icons for activity within Fooldom
*******************************************************************************/

.feed_item .BlogPost {
	background-image: url("/common/img/Widgets/activityFeed/post_blog.gif");
}
.feed_item .BoardPost {
	background-image: url("/common/img/Widgets/activityFeed/post_boards.gif");
}
.feed_item .CapsPick-Outperform {
	background-image: url("/common/img/Widgets/activityFeed/pick_outperform.gif");
}
.feed_item .CapsPick-Underperform {
	background-image: url("/common/img/Widgets/activityFeed/pick_underperform.gif");
}
.feed_item .Comment-Article {
	background-image: url("/common/img/Widgets/activityFeed/comment_article.gif");
}
.feed_item .Comment-BlogPost {
	background-image: url("/common/img/Widgets/activityFeed/comment_blog.gif");
}
.feed_item .Recommendation-Article {
	background-image: url("/common/img/Widgets/activityFeed/rec_article.gif");
}
.feed_item .Recommendation-BoardPost {
	background-image: url("/common/img/Widgets/activityFeed/rec_boardspost.gif");
}
.feed_item .Recommendation-BlogPost {
	background-image: url("/common/img/Widgets/activityFeed/rec_boardspost.gif");
}
.feed_item .CapsPitch { /* When the outperform/underperform isn't known yet */
	background-image: url("/common/img/Widgets/activityFeed/pitch_unknown.gif");
}
.feed_item .CapsPitch-Outperform {
	background-image: url("/common/img/Widgets/activityFeed/pitch_outperform.gif");
}
.feed_item .CapsPitch-Underperform {
	background-image: url("/common/img/Widgets/activityFeed/pitch_underperform.gif");
}
.feed_item .CapsPitchReply { /* When the outperform/underperform isn't known yet */
	background-image: url("/common/img/Widgets/activityFeed/pitch_reply_unknown.gif");
}
.feed_item .CapsPitchReply-Outperform {
	background-image: url("/common/img/Widgets/activityFeed/pitch_reply_outperform.gif");
}
.feed_item .CapsPitchReply-Underperform {
	background-image: url("/common/img/Widgets/activityFeed/pitch_reply_underperform.gif");
}
.feed_item .Article {
	background-image: url("/common/img/Widgets/activityFeed/article.gif");
}
.feed_item .actIssue { 
	background-image: url("/common/img/Widgets/activityFeed/coverage_issue.gif");
}
.feed_item .actUpdate {
	background-image: url("/common/img/Widgets/activityFeed/coverage_update.gif");
}
.feed_item .actExtra{
	background-image: url("/common/img/Widgets/activityFeed/coverage_extra.gif");
}
.feed_item .actWeekly {
	background-image: url("/common/img/Widgets/activityFeed/coverage_weekly.gif");
}
.feed_item .actAlert {
	background-image: url("/common/img/Widgets/activityFeed/coverage_alert.gif");
}
.feed_item .actOptionsU {
	background-image: url("/common/img/Widgets/activityFeed/coverage_optionsu.gif");
}



/*******************************************************************************
=NEWSLETTER OVERLAYS - A small NL favicon shows up on top of the icon
*******************************************************************************/

/* Sprite increases on 400px(!) increments (20px reduced for placement) */
div.NL,
span.NL {  
	background-color:transparent;
	background-repeat:no-repeat;
	min-height:36px; /* Why? */
	background-image: url(/common/img/Widgets/activityFeed/premium_favicons6.png);
	background-position: 0px  0px; /* First cell in image is blank. */
}
.role_1106 .NL {    /* Global Gains */
	background-position: 0px  -400px;
}
.role_1008 .NL {    /* Hidden Gems */
	background-position: 0px -800px;
}
.role_1048 .NL {   /* Income Investor */
	background-position: 0px  -1200px;
}
.role_1128 .NL {    /* Million Dollar Portfolio */
	background-position: 0px  -1600px;
}
.role_1066 .NL {   /* Inside Value */
	background-position: 0px  -2000px;
}
.role_1228 .NL {   /* PRO */
	background-position: 0px  -2400px;
}
.role_1213 .NL {    /* Ready-Made Millionaire */
	background-position: 0px  -2800px;
}
.role_1069 .NL {    /* Rule Breakers */
	background-position: 0px  -3200px;
}
.role_1081 .NL {    /* Stock Advisor */
	background-position: 0px  -3600px;
}
.role_1062 .NL {    /* Rule Your Retirement */
	background-position: 0px  -4000px;
}
.role_1255 .NL {    /* One */
	background-position: 0px  -4400px;
}
.role_1321 .NL {    /* Options */
	background-position: 0px  -4800px;
}
.role_1086 .NL {    /* Champion Shares Pro */
	background-position: 0px  -5200px;
}
.role_1399 .NL {    /* Big Short */
	background-position: 0px  -5600px;
}
.role_1414 .NL {    /* Alpha */
	background-position: 0px  -6000px;
}
.NewsletterHomePage .NL {  /* Shutting it off on Services home pages */
	background:none;
}

/*******************************************************************************
=WATERCOOLER - Styles related to the Water Cooler
*******************************************************************************/
#watercoolerField {
	border: 1px solid #D3DAE4;
	background-color: #F5F8FF;
	padding:20px;
	margin-bottom:20px;
}
#watercoolerField h2 {
	color: #a3afc0;
	font-weight: normal;
	margin: 0;
	padding: 0px;
}

#watercoolerField .watercoolerInputWrapper {
	margin:3px 0 7px 0;
	padding:3px;
	background-color:white;
	border:1px solid #69a;
}

#watercoolerField .watercoolerInput {
	display:block;
	width:100%;
	border:0;
	padding:0;
	margin:0;
	font-size:13px;
	height:36px;
}

#watercoolerPrivacy a.watercoolerEditLink {
	/*background: center left url(//g.foolcdn.com/art/Profiles/icons/edit.gif) no-repeat transparent;
	padding-left:25px;*/
	float:left;
	height:30px;
	line-height:30px;
	font-size:11px;
	padding:0 5px;
	float:right;
	font-size:11px;
	margin-top:-35px;
}

#watercoolerPrivacya.watercoolerCancelEditLink {
	font-size:11px;
	padding-top:15px;
	margin-left:1em;
}

#watercoolerPrivacy .watercoolerSubmit {
	height: 30px;
	width: 80px;
  float:right;
}

#watercoolerPrivacy span.watercoolerSettings {
	float:left;
	color:#06a;
	text-decoration:underline;
	font-size:11px;
}

#watercoolerPrivacy div.watercoolerEditForm {
	clear:both;
	border: solid 1px #ccddbb;
	background-color:#eeffdd;
	margin:0;
	display:none;
}

#watercoolerPrivacy div.watercoolerEditForm form {
	padding:10px;
}

#watercoolerPrivacy div.watercoolerEditForm h3 {
	font:normal 13pt Arial;
	color: #a7b591;
	margin:10px 0px 0px 10px;
}

#watercoolerPrivacy div.watercoolerEditForm div {
	padding:10px;
	width: 45%;
	font-size: 11px;
	line-height:16px;
}

#watercoolerPrivacy div.watercoolerEditForm div.privacyNeverever {
	border-left: solid 1px #ccddbb;
}
#watercoolerPrivacy div.watercoolerEditForm div.privacySubmit {
	clear:both;
}


#watercoolerPrivacy .watercoolerEditForm label {
	font-weight: normal;
}

#watercoolerPrivacy.editing a.watercoolerEditLink {
	display:none;
}
#watercoolerPrivacy.editing div.watercoolerEditForm {
	display:block;
}
#watercoolerPrivacy.editing input.watercoolerSubmit {
	display:none;
}


/*******************************************************************************
=NO ACTIVITY - Styles related to display when filters eliminate all content
*******************************************************************************/

#noActivity p {
	margin-top: 10px; 
	margin-bottom: 5px;
}
#noActivity ul {
	margin-left: 40px; 
}


/*******************************************************************************
=CONNECTIONS - Styling the dates and laying out the feed
*******************************************************************************/
