.bar
{
	padding: 0;
	box-shadow: 0 0 3px rgba(0, 0, 0, 0.9);
	-moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.9);
	-webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.9);
	filter: alpha(opacity=95);
	opacity: 0.95;	
	font-size: 13px;
	height: 29px; /* + 1px top border = 30px */
}

.bar a
{
	text-decoration: none;
}

.bar .icon:before
{
	font-size: 12px;
	line-height: 15px;
}

.bar_wrapper
{
	position: relative;	
	top: 6px;
	left: 50%;
	margin-left: -505px;
	width: 1010px;
}

.bar.light_theme
{
	background-color: #ECECEC;
	background: -webkit-gradient(linear, left top, left bottom, from(#fdfdfd), to(#d3d3d3)); /* for webkit browsers */
	background: -moz-linear-gradient(top, #fdfdfd, #d3d3d3); /* for firefox 3.6+ */	
    background: -o-linear-gradient(#fdfdfd, #d3d3d3);  
    background: linear-gradient(#fdfdfd, #d3d3d3);	
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fdfdfd', endColorstr='#d3d3d3'); /* for IE */	
	border-top: 1px solid #FFF;
}

.bar.dark_theme
{
	background-color: #333;
	background: -webkit-gradient(linear, left top, left bottom, from(#505050), to(#333333)); 
	background: -moz-linear-gradient(top, #505050, #333333);
    background: -o-linear-gradient(#505050, #333333);  
    background: linear-gradient(#505050, #333333);	
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#505050', endColorstr='#333333'); 
	border-top: 1px solid #333;
}

.bar.light_theme,
.bar.light_theme a,
.bar.light_theme a.icon:before
{
	text-shadow: #FFF 1px 1px 1px;	
	color: #555;
}

.bar.light_theme a:hover,
.bar.light_theme a.icon:hover:before
{
	color: #000;
}

.bar.dark_theme,
.bar.dark_theme a,
.bar.dark_theme a.icon:before
{
	color: #CCC;
}

.bar.dark_theme a:hover,
.bar.dark_theme a.icon:hover:before
{
	color: #ECECEC;
}

/*
 * Top bar
 */

#top_bar
{
	position: fixed;	
	z-index: 7;	
	left: -20px;
	right: -20px;
	top: 0;	
}

#top_bar #main_search
{
	float: left;
	margin-right: 5px;
}

#top_bar #association_path
{
	float: left;
}

#top_bar #user_status
{
	float: right;
}

#search_bubble
{
	position: fixed;
	z-index: 8;
	display: none;
	top: 30px;
	left: -20px;
	color: #333;
	top: 37px;
	left: 50%;	
	margin-left: -525px;
}

#search_bubble p
{
	margin-bottom: 5px;
}

#search_bubble input#main_search_field
{
	width: 300px;
}

#search_bubble .search_options label
{
	font-size: 11px;
	margin-right: 5px;
}

#search_bubble .search_result
{
	display: none;
	padding-top: 20px;
	border-top: 1px solid #CCC;
}

#search_bubble .search_result .loading
{
	text-align: center;
}

#login_bubble
{
	position: absolute;
	z-index: 8;
	display: none;	
	top: 37px;
	left: 50%;
	width: 1030px;
	margin-left: -530px;	
}

/*
#my_pages_bubble
{
	position: fixed;
	z-index: 8;
	display: none;
	top: 37px;
	left: 50%;
	width: 1010px;
	margin-left: -530px;	
	padding: 25px;
}

#my_pages_bubble:before
{
	margin-left: 940px;
}
*/

#my_pages_bubble
{
	display: none;	
	position: fixed;
	z-index: 8;
	top: 37px;
	left: 50%;
	width: 600px;
	margin-left: -120px;	
	padding: 25px;
}

#my_pages_bubble:before
{
	margin-left: 520px;
}

#my_pages_bubble p.loading
{
	padding: 30px;
	text-align: center;
}

#language_en #login_bubble:before,
#language_en #login_bubble.login:before
{
	margin-left: 920px;
}


#language_sv #login_bubble:before,
#language_sv #login_bubble.login:before
{
	margin-left: 830px;
}

#language_en #login_bubble.signup:before
{
	margin-left: 980px;
}

#language_sv #login_bubble.signup:before
{
	margin-left: 950px;
}

#login_bubble img#fb_indicator
{
	display: none;
}

#top_bar.authenticated #user_status a
{
	display: block;
	float: left;
	margin-left: 8px; 
	padding: 0; 
	border: 0;
}

#top_bar.light_theme #user_status a img,
#top_bar.light_theme #main_search a img
{
	filter: alpha(opacity=50);
	opacity: 0.5;	
	height: 14px;
}

#top_bar.light_theme #user_status a img:hover,
#top_bar.light_theme #main_search a img:hover
{
	filter: alpha(opacity=70);
	opacity: 0.7;	
}

#top_bar #user_status_badge
{
	display: none;
	position: absolute;
	background-color: #e72424;
	background: -webkit-gradient(linear, left top, left bottom, from(#e72424), to(#e72424));
	background: -moz-linear-gradient(top, #e72424, #e72424); 
    background: -o-linear-gradient(#e72424, #e72424);  
    background: linear-gradient(#e72424, #e72424);  
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e72424', endColorstr='#e72424');	
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;	
	width: 30px;
	text-align: center;
	padding: 5px 0;
	top: 22px;
	right: -8px;
	font-size: 12px;
	color: #FFF;
	text-shadow: #9a1717 1px 1px 1px;
	font-weight: bold;
	-moz-border-radius: 3px 3px 3px 3px;
    -webkit-border-radius: 3px 3px 3px 3px;
    -khtml-border-radius: 3px 3px 3px 3px;
    border-radius: 3px 3px 3px 3px;	
	box-shadow: 0 0 3px rgba(0, 0, 0, .5);
	-moz-box-shadow: 0 0 3px rgba(0, 0, 0, .5);
	-webkit-box-shadow: 0 0 3px rgba(0, 0, 0, .5);	
}

#top_bar #user_status_badge.admin_available
{
	right: 13px;
}

#top_bar #user_status_badge:before
{
	transform:rotate(135deg);
	-ms-transform:rotate(135deg);
	-moz-transform:rotate(135deg);
	-webkit-transform:rotate(135deg);
	-o-transform:rotate(135deg);	
	position: absolute;
	content: "\00a0";	
	width: 10px;
	height: 10px;
	left: 10px;
	top: -5px;
	background-color: #e72424;
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;	
}

/*
 * Bottom bar
 */

#bottom_bar
{
	position: fixed;	
	z-index: 7;	
	left: -20px;
	right: -20px;	
	bottom: 0;
}

#bottom_bar .separator
{
	padding: 0 4px;
}

#bottom_bar #language_selector
{
	display: none;
	bottom: 14px;	
	left: -19px;
}

#bottom_bar #site_map
{
	font-size: 15px;
	display: none;
	bottom: 14px;	
	left: -19px;
}

#bottom_bar #site_map #site_map_content
{
	max-height: 500px;
	overflow: scroll;
}

#bottom_bar #site_map h3
{
	font-size: 20px;
	margin-bottom: 10px;
}

#bottom_bar #site_map div.tree_menu ul
{
	padding: 0;
	margin: 0 0 25px 0;
}

#bottom_bar #site_map div.tree_menu ul ul
{
	display: block;
	padding: 0 0 0 15px;
	margin: 0;
}

#bottom_bar #site_map div.tree_menu ul li
{
	padding: 0;
	margin: 5px;
}

#bottom_bar #share_options
{
	margin-left: 5px;
	padding-top: 1px;
	filter: alpha(opacity=80);
	opacity: 0.8;	
}

#bottom_bar #share_options:hover
{
	filter: alpha(opacity=100);
	opacity: 1.0;	
}

#bottom_bar #share_options a.icon
{
	margin-left: 2px;	
	filter: alpha(opacity=70);
	opacity: 0.7;	
}

#bottom_bar #share_options a.icon:before
{
	font-size: 15px;
}

#bottom_bar #share_options a.icon:hover
{
	filter: alpha(opacity=100);
	opacity: 1.0;	
}

#bottom_bar #share_options .share_option.bubble
{
	display: none;
	bottom: 14px;
	font-weight: bold;
	font-size: 15px;
}

#bottom_bar #share_options #share_option_facebook
{
	margin-left: -18px;
}

#bottom_bar #share_options #share_option_twitter
{
	margin-left: 4px;
}

#bottom_bar #share_options #share_option_google
{
	margin-left: 26px;
}

#bottom_bar #share_options #share_option_email
{
	margin-left: 48px;
}