/**
*    New BuzzFeed UI Stylesheet
*    Copyright 2009 BuzzFeed, Inc.
*
*/

/* dialogs */

.BFDialog .PageContainer { width:800px;margin:0 auto;padding:0; }

.bf_canvas {  position:absolute; left:0; top:0; width: 100%; height:100%; z-index:10000; }
.bf_overlay_mask { position:absolute; left:0; top:0; width: 100%; height:100%; /*background:#000; opacity: 0.5; -moz-opacity: 0.5; filter:alpha(opacity=50); z-index:9999;*/ }
.bf_dialog { position: absolute; width: 800px; height: 525px; top:0; left:50%; margin-left:-400px; background:#444; z-index:10000; border:10px solid #444; border-radius: 8px; -moz-border-radius: 8px; -webkit-border-radius: 8px; -webkit-box-shadow:0px 5px 25px #222;}
.bf_dialog_header { position:relative; width:100%; height:35px; background:#ddd url(../images/ui/bf_dialog_header.png); }
.bf_dialog_header .title { float:left; padding:7px 0 0 10px; font:18px 'Helvetica Neue',Arial,Heletica,sans-serif; color:#222; text-shadow:1px 1px 1px #eee; }
.bf_dialog_header .close, .bf_dialog_header .bf_close { float:right; padding:4px 10px 0 0; font-weight:bold; font-size:20px; color:#333; }
.bf_dialog_header a.close:hover, .bf_dialog_header a.bf_close:hover { color:#e32; }
.bf_dialog_content { position:relative; background:#e6e6e6; width:100%; height:490px; }
.bf_dialog_content iframe { width:100%; height:490px; margin:0; }

.bf_dialog_content_area { position:absolute; width:800px; height:455px!important; overflow:auto; background:#e6e6e6; }
.bf_dialog_pad { padding:20px; }

.bf_dialog_footer { position:absolute; bottom:0; left:0; width:800px; height:34px; margin:0!important; padding:0; border-top:1px solid #aaa; background:#eee; z-index:9999; }
.bf_dialog_footer p { margin:10px 0 0 10px; float:left; color:#444; font-size:12px;}
.bf_dialog_footer ul { margin:5px 10px 0 0!important; padding:0; float:right; }
.bf_dialog_footer li { float:left; margin:0 0 0 10px; padding:0; }

.bf_dialog_confirm .bf_dialog { width: 500px; height: 235px; margin-left:-250px; }
.bf_dialog_confirm .bf_dialog .bf_dialog_content,
.bf_dialog_confirm .bf_dialog iframe { height:200px; }
.bf_dialog_confirm .bf_dialog_footer { width:500px; }
.bf_dialog_confirm .bf_dialog_content_area { width:500px; height:166px!important; }
.bf_dialog_confirm h5 { font: bold 16px "Lucida Grande",verdana,sans-serif; margin-bottom:10px; }
.bf_dialog_confirm h6 { font: bold 14px "Lucida Grande",verdana,sans-serif; margin-bottom:5px; }
.bf_dialog_confirm h6 span { font-size:12px; font-weight:normal; color:#666; }

.bf_dialog_spinner { position:absolute; left:0; top:0; right:0; bottom:0; width:100%; height:100%; background:#eee url(../images/public/spinners/big_on_eee.gif) center center no-repeat; z-index:10001; }
.bf_dialog_error { position:absolute; left:0; top:0; right:0; bottom:35px; width:100%; height:100%; background:#eee; z-index:10001; text-align:center; }
.bf_dialog_error span { position:absolute; display:block; width:400px; top:40%; left:50%; margin-left:-200px; font-size:14px; }

/* dialog styles when not in a dialog */
.bf_dialog_as_page .PageContainer{width:800px;margin:0 auto;}
.bf_dialog_as_page .bf_dialog_content { position:relative; float:left; height:auto!important; /*min-height:455px;*/ }
.bf_dialog_as_page .bf_dialog_content_area { position:relative; float:left; height:auto!important; /*min-height:455px;*/ }
.bf_dialog_as_page .bf_dialog_pad { padding:10px 10px 20px; }
.bf_dialog_as_page .bf_dialog_footer { position:relative; float:left; width:100%; }

/* buttons */
.bf_button { margin:0; padding:2px 8px 3px; color:#111; font:13px "Lucida Grande",Tahama,Verdana,sans-serif; line-height:1.2; background: url(../images/ui/bf_button.png); border:1px solid #aaa; border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; }
.bf_button:hover {  color:#111; opacity: 0.8; -moz-opacity: 0.8; filter:alpha(opacity=80); }
.bf_submit { color:#fff; background: url(../images/ui/bf_button_submit.png); border:1px solid #07e; }
.bf_submit:hover {  color:#fff; }
.bf_button:active { background-position:0 -48px; }
.bf_button .spinner { background:url(../images/global/spinner/small-fff-07e.gif) left center no-repeat; }
.bf_button_delete { background:#e32; border-color:#e32;}

#pick_dialog textarea { width:450px; height:90px; }


.bf_dialog_content .form2 { width:auto!important; -webkit-box-shadow:none; -moz-box-shadow:none; background:0; }

/*
	bf_form

*/
.bf_form { float:left; width:100%; margin:0; padding:0; }
.bf_form fieldset { float:left; width:400px; margin:0 0 10px; }
.bf_form .field { float:left; width:400px; margin:0 0 5px; line-height:16px; }
.bf_form label { display:block; float:left; line-height:16px; font-weight:bold; font-size:11px; }
.bf_form label.inline { display:inline; width:auto; margin:0 10px 0 0; padding:0; font-weight:normal; font-size:12px; text-align:left; }
.bf_form .hint { color:#888; font-size:11px; }

.bf_form_horz fieldset { padding-left:100px; width:300px; }
.bf_form_horz label { width:90px; margin-left:-100px; padding:0 10px 0 0; text-align:right; }

.bf_form_small, .bf_form_small label.inline { font-size:11px; }
.bf_form_small input[type~='checkbox'] { font-size:8px; }
.bf_form_small fieldset, .bf_form_small .field { width:300px; }
.bf_form_small .field { margin-bottom:3px; }

/*
	user panel
	
*/

#user-stats-left-snapshot .snapshot-empty {display:none;}

#user-stats, #user-stats-snapshot { background:#fff url(../images/public/backgrounds/stats-panel.png); width: 100%; height: 490px; font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;}
#user-stats-right, #user-stats-right-snapshot {float:right;width:320px;margin:10px 20px 0 0;font-size:11px;}
#user-stats-right table{float:left;width:100%;margin-bottom:20px;font-size:13px;}
#user-stats-right table .num{font-size:12px;font-weight:bold;}
#user-stats-left, #user-stats-left-snapshot {float:left;width:430px;margin:10px 0 0 10px;}
.domains{float:left;width:50%;}
.search-terms{float:right;width:50%; height:150px;overflow:hidden;}

.user-stats h2 { float:left; width:100%; font:bold 16px Arial,Helvetica,sans-serif; margin-bottom:5px; }
.user-stats .section { width:90%; margin-bottom:5px!important }
.user-stats .section+.section { margin-top:5px; padding-top:5px; border-top:1px solid #555; }
.user-stats .section h2 { font-size:11px; text-transform:uppercase; margin-bottom:5px; }
.user-stats div.field { margin-bottom:10px; }
.user-stats table.big { width:100%; }
.user-stats th { font-size:9px; text-transform:uppercase; text-align: right; }
.user-stats td { padding:2px 0; line-height: 18px;}
.user-stats .num { text-align:right; float: none; font-size: 18px; }
.user-stats .strong { font-weight:bold; }
.user-stats .bf       { color:#0077ee; } 
.user-stats .network  { color:#44bbff; }
.user-stats .viral    { color:#ee3322; }
.user-stats .referrer { color:#ee3322; }
.user-stats .search   { color:#ff5544; }
.user-stats .direct   { color:#ff7777; }


.user-stats .chart_image { float:left;  width:170px; height:105px; }
.user-stats .chart_stats { width:190px; margin-left:15px; font-size:9px; }
.user-stats .chart_stats td { font-weight:bold; padding:0px; border-top:1px solid #eee; vertical-align:center!important; text-transform:uppercase; }
.user-stats .chart_stats .num { font-size:12px; }

.user-stats .domains { float:left; width:180px; font:10px "Lucida Grande",tahoma,arial,sans-serif }
.user-stats .domains + .domains { margin-left:20px; }
.user-stats .domains ul li { float:left; width:100%; border-top:1px solid #f2f2f2; padding:1px 0; }
.user-stats .domains ul li a { float:left; width:140px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.user-stats .domains ul li span { float:right; }

.user-stats .current-buzz{width:360px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:white;font-weight:bold;font-size:14px;line-height:26px;margin:10px 0 20px -32px;background:#008ff3 url(../images/public/backgrounds/horizontal-blue.png) no-repeat;text-indent:32px;position:relative;}
.user-stats .current-buzz a{color:white;}



/*
		Stats

*/

.StatsBlock { margin-bottom:5px; border-top:1px solid #ccc; /*font:12px arial,helvetica,sans-serif;*/ }
.StatsBlock h3 { padding:3px 0 3px 5px; font-size:14px; font-weight:bold; color:#333; background:#eee; font-size:10px; }
.StatsBlock .blank-slate { padding:10px 0; font-size:14px; }

.campaign-info { padding:10px 0 5px; border-top:0;}
.campaign-info .thumb { float:left; margin-right:10px; }
.campaign-info h2 { width:300px; margin-bottom:5px; font:normal 18px georgia; white-space:nowrap; overflow:hidden; }
.campaign-info .link { float:left; width:300px; white-space:nowrap; overflow:hidden; font-size:11px; }

/*<div class="summary"><span class="num">#{all.viral_boost}</span> <span class="label">Viral Boost</span></div>\*/
.pie { float:left; width:70px; height:70px; margin-top:8px; background-position: -10px -10px; }
.summary { float:left; width:170px; margin-top:5px; font-family:arial,helvetica; }
.summary .num { float:left; width:135px; text-align:right; font-size:28px; font-weight:bold; }
.summary .label { float:left; width:30px; padding:9px 0 0 5px; line-height:1; font-size:9px; text-transform:uppercase; }
.summary .viral { color:#e32; }
.summary .seed { color:#07e; }

.StatsBlock table th { text-align:left; vertical-align:bottom; font-size:10px; }
.StatsBlock table th.num, table td.num { text-align:right; }

.traffic-sources { width:100%; margin:5px 0; }
.traffic-sources th { text-transform:lowercase!important; }
.traffic-sources td { padding:3px 0 2px; border-top:1px solid #eee; }
.traffic-sources .label { width:60px; text-transform:uppercase; font:bold 11px arial,helvetica; }
.traffic-sources .week { /*width:100px;*/ text-align:right; }
.traffic-sources .day { /*width:100px;*/ }
.traffic-sources .graph { width:190px; padding:0 10px; vertical-align:bottom; } 
.traffic-sources .graph img { height:90px; } 
.traffic-sources .referrer { color:#e32; }
.traffic-sources .direct { color:#f77; }
.traffic-sources .search { color:#f54; }
.traffic-sources .network { color:#4bf; }
.traffic-sources .internal { color:#07e; }

.domain-search { table-layout:fixed; float:left; width:207px; margin:5px 0; font-size:11px; }
.domain-search td { border-top:1px solid #eee; }
.domain-search .label { width:130px; }
.domain-search .label a, .domain-search .term a { display:block;width:130px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden; }
.domain-search .term a { width:160px;}
.domain-search .num { width:60px; }
.domain-search.search  { margin-left:15px; }

table.shares { width:100%; margin:5px 0; }
table.shares h4 { font-weight:bold; margin-bottom:3px; }
table.shares td { width:25%; vertical-align:top; }
table.shares td li { padding:1px 0; font-size:10px; }
table.shares .num { font:bold 14px arial,helvetica; }

.ad-stats { width:100%; margin:5px 0; }
.ad-stats td { padding:2px 0; border-top:1px solid #eee; }

#user-switch { }
#user-switch h3{margin:10px; font-size:13px;font-weight:bold;}
#user-switch li{width:380px;margin:5px 10px; padding:3px 6px; font-size:13px;background:#DEF3Ff;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}
#user-switch p { margin:10px; }
#switch-added,#switch-deleted,.panel_status{font-size:13px;font-weight:bold;padding:7px 10px;color:#fff;}
#switch-added,.panel_status.success {background:#17AF2E;}
#switch-deleted,.panel_status.failure {background:#17AF2E;}

.UserPanelPage .form2-message {padding:8px 12px;background:#FFF22C;color:#000;font-weight:bold;font-size:13px;}
.UserPanelPage .form2-message.success {background:#17AF2E;color:#fff;}
.UserPanelPage .form2-message.error {background:#E32;color:#fff;}
