#toolbar_container {
    margin-bottom: 10px;
    margin-top: 10px;
    text-align: center;
}
.toolbar {
    background-image: url("http://images.advfn.com/imagesnew/2/br/nav/main_menu_gradient.gif");
    background-position: center bottom;
    background-repeat: repeat-x;
    border: 1px solid #BBBBBB;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    width: 940px;
}
.toolbar td, .subtoolbar td {
    padding: 3px 0;
}
.toolbar a, .subtoolbar a {
    font-size: 11px;
    text-decoration: none;
}
.toolbar a:hover, .subtoolbar a:hover {
    text-decoration: underline;
}
.toolbar #button, .subtoolbar #button {
    font-size: 11px;
    width: 150px;
}
.subtoolbar {
    padding-bottom: 3px;
}
.subtoolbar span .on {
    border-color: blue;
    border-style: outset;
    border-width: 1px 2px 2px 1px;
    padding: 1px 8px;
}
.subtoolbar span .off {
    border-color: blue;
    border-style: inset;
    border-width: 2px 1px 1px 2px;
    padding: 1px 8px;
}
.toolbox {
    text-align: center;
    width: 100%;
}
.highlights {
    padding: 5px 0;
}
.subtoolbar {
    -moz-border-bottom-colors: none;
    -moz-border-image: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background-color: #E9EDF2;
    border-color: -moz-use-text-color #BBBBBB #BBBBBB;
    border-right: 1px solid #BBBBBB;
    border-style: none solid solid;
    border-width: medium 1px 1px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    width: 940px;
}

/*==============================================================
    Page Structure
--------------------------------------------------------------*/

div#profilepage {
	width: 994px;
	margin: 3em auto;
}

div#profilepage:after {
	content: "";
	display: block;
	clear: both;
}

div#profilepage>div.main-wrapper {
	float: left;
	margin-right: -300px;
	width: 100%;
}
div#profilepage>div.main-wrapper>div.main {
	margin-right: 330px; /* additional 30px margin */
}

div#profilepage>div#sidebar {
	float: right;
	width: 300px;
}



/*==============================================================
    User info: Structure
--------------------------------------------------------------*/

div#userinfo:after {
	content: "";
	display: block;
	clear: both;
}

/* Profile picture */
div#userinfo>p.icon {
	position: relative;
	float: left;
	display: block;
	overflow: hidden;
	width: 150px;
	height: 150px;
	margin: 0 28px 28px 0;
	background: #f7fafb;
	border: solid 1px #d6dee4;
	border-radius: 10px;
}
div#userinfo>p.icon>span {
	display: table-cell;
	width: 150px;
	height: 150px;
	text-align: center;
	vertical-align: middle;
}
div#userinfo>p.icon>span>img {
	max-width: 150px;
	max-height: 150px;
	vertical-align: middle;
}

div#userinfo>p.icon>a {
	position: absolute;
	display: block;
	left: 0;
	top: 0;
	width: 30px;
	height: 30px;
	padding: 0 0 120px 120px;
	text-align: center;
	text-decoration: none;
	line-height: 30px;
	font-size: 15px;
	border-radius: 10px;
	color: #2886bc;
	text-shadow: 0 0 2px white, 0 0 2px white, 0 0 2px white;
	transition: all .5s;
}
div#userinfo>p.icon>a:hover {
	width: 150px;
	height: 150px;
	padding: 0;
	background: #f7fafb;
	background-color: rgba(247,250,251,.95);
	font-size: 30px;
	line-height: 150px;
	transition-duration: .1s;
}

/*--------------------------------------------------------------
    User info: Header
--------------------------------------------------------------*/

div#userinfo>div.header {
	padding: 0 0 .2em;
	margin: 0 0 .5em 180px;
	border-bottom: solid 1px #d4dbe3;
}

div#userinfo>div.header:after {
	content: "";
	display: block;
	clear: right;
}

div#userinfo>div.header>h2 {
	display: inline-block;
	font-size: 180%;
	line-height: 100%;
}

/* Small text at right side */
div#userinfo>div.header>div.subtext {
	float: right;
	margin: -.1em -.3em;
	line-height: 180%;
}

div#userinfo>div.header>div.subtext>p {
	display: inline-block;
	vertical-align: middle;
	margin: .1em .3em;
	font-size: 90%;
	line-height: 1.2;
}

div#userinfo>div.header>div.subtext>p>span {
	font-weight: bold;
	font-size: 90%;
}

/* Subscription indicator */
div#userinfo>div.header>div.subtext>p.subscription {
	background: #999;
	color: white;
	padding: .2em 1em;
	font-size: 80%;
	text-transform: uppercase;
	font-weight: bold;
}

div#userinfo>div.header>div.subtext>p.subscription.premium {
	background-color: #b33b3b;
}

div#userinfo>div.header>div.subtext>p.subscription.staff {
	background-color: #3b60b3;
}

/*--------------------------------------------------------------
    User info: Form
--------------------------------------------------------------*/

div#userinfo>div.introduction.empty {
	color: #868f98;
	font-style: italic;
}

div#userinfo>dl {
	margin: 1.5em 0;
}
div#userinfo>dl:empty {
	margin: 0;
}
div#userinfo>dl>dt {
	font-weight: bold;
	font-size: 90%;
	color: #4D535B;
	margin: .8em 0 	.1em;
}
div#userinfo>dl>dd {
	margin: 0;
}

/*--------------------------------------------------------------
    User info: Control links
--------------------------------------------------------------*/

div#userinfo>ul.controls {
	margin: 2em 0 1em;
}

div#userinfo>ul.controls:after {
	content: "";
	display: block;
	clear: right;
}

div#userinfo>ul.controls>li {
	display: inline-block;
	vertical-align: middle;
}

div#userinfo>ul.controls>li>a {
	color: #2886bc;
	text-decoration: none;
	font-weight: bold;
}
div#userinfo>ul.controls>li>a:hover {
	color: #73b8e0;
}

div#userinfo>ul.controls>li>a.button {
	position: relative;
	display: inline-block;
	padding: .25em .8em;
	box-shadow: inset 0 1px 0 white;
	background: linear-gradient(to bottom, #f9f9f9 5%, #e9e9e9 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f9f9f9', endColorstr='#e9e9e9',GradientType=0);
	background-color: #f9f9f9;
	border-radius: 6px;
	border: 1px solid #dcdcdc;
	font-weight: bold;
	text-decoration: none;
	text-shadow: 0 1px 0 white;
	color: #333;
}

div#userinfo>ul.controls>li>a.button:hover {
	background: linear-gradient(to bottom, #e9e9e9 5%, #f9f9f9 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#dfdfdf', endColorstr='#ededed',GradientType=0);
}

div#userinfo>ul.controls>li>a.button:active {
	top: 1px;
}

div#userinfo>ul.controls>li.edit {
	display: block;
	float: right;
	line-height: 1.9em;
	font-size: 90%;
}

/*--------------------------------------------------------------
    User info: Rank gauge
--------------------------------------------------------------*/

div#userinfo>ul.ranks {
	display: table;
	table-layout: fixed;
	box-sizing: border-box;
	width: 100%;
	margin: .5em auto;
	list-style: none;
	box-shadow: inset 0 -1px 0 #f3f6f8;
	background: white;
	background: linear-gradient(to bottom,  white 0%, #e9eef1 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e9eef1',GradientType=0 );
	border: solid 1px #dde4ea;
	border-radius: .5em;
}

div#userinfo>ul.ranks>li {
	display: table-cell;
	padding: .5em 1em;
	text-align: center;
	font-size: 85%;
	border-left: solid 1px #dde4ea;
	color: #868f98;
}

div#userinfo>ul.ranks>li:first-child {
	border-left: none;
}

div#userinfo>ul.ranks>li>strong {
	display: block;
	font-size: 150%;
	color: #4d535b;
}



/*==============================================================
    Comment box: structure
--------------------------------------------------------------*/

div#bb-posts {
	display: inline-block;
    width: 100%;
	border: 1px solid #D3D6DB;
	border-radius: 2px;
}

/*--------------------------------------------------------------
    Comment box: Header
--------------------------------------------------------------*/

div#bb-posts>div.header {
	position: relative;
	border-bottom: solid 1px #d4dbe3;
	border-bottom: 1px solid #D3D6DB;
	background-color: #F6F7F8;
	border-radius: 2px;
	padding: 20px 20px 10px;
}

div#bb-posts>div.header>h3 {
	position: relative;
	color: #000;
	text-transform: none;
}

/* Links */
div#bb-posts>div.header>ul {
	list-style: none;
	padding-top: 5px;
}

div#bb-posts>div.header>ul>li {
	display: inline-block;
	font-weight: bold;
	font-size: 14px;
	text-align: center;
	position: relative;
	height: 16px;
}
div#bb-posts>div.header>ul>li.current:after {
	content: url(/common/photo/images/up_arrow.png);
	height: 7px;
	width: 14px;
	position: absolute;
}

div#bb-posts>div.header>ul>li:before {
	display: inline-block;
	margin: 0 .5em;
	content: "\00a0";
	font-weight: normal;
	color: #d4dbe3;
}

div#bb-posts>div.header>ul>li:first-child:before {
	content: none;
}

div#bb-posts>div.header>ul>li>a {
	text-decoration: none;
	font-weight: bold;
	cursor: pointer;
	font-size: 14px;
	color: #365899;
}
div#bb-posts>div.header>ul>li>a:hover {
	color: #000;
}
div#bb-posts>ul>li>div.content>p{
	padding: 0px;
}

.tab-arrow {
    background-image: url(/common/photo/images/up_arrow.png);
    height: 7px;
    width: 14px;
    position: absolute;
	top: 20px;
	display: inline-block;
	left: 50%;
}

/*--------------------------------------------------------------
    Comment box: Comments
--------------------------------------------------------------*/

div#bb-posts>p.empty {
	margin: 2.5em 0;
	color: #868f98;
	font-style: italic;
	text-align: center;
}

div#bb-posts>ul {
	margin: 1.5em 0;
	list-style: none;
 	padding: 0 10px;

}

div#bb-posts>ul>li {
	position: relative;
	display: block;
	list-style: none;
	min-height: 60px;
	margin: .5em 0;
	padding: 0 130px .5em 70px;
	border-bottom: solid 1px #d4dbe3;
}

div#bb-posts>ul>li:last-child {
	padding-bottom: none;
	border-bottom: none;
}

/* Heading */
div#bb-posts>ul>li>div.header {
	margin: 0 0 .5em;
	padding: .2em 0 0;
	line-height: 1.2;
}

div#bb-posts>ul>li>div.header:after {
	content: "";
	display: block;
	clear: both;
}

div#bb-posts>ul>li>div.header>h4 {
	float: left;
	font-weight: normal;
	font-size: 110%;
}

div#bb-posts>ul>li>div.header>p.subheading {
	float: right;
	font-size: 90%;
	margin: .1em 0;
	padding: 0;
}

div#bb-posts>ul>li>div.header>h4>a,
div#bb-posts>ul>li>div.header>p.subheading>a {
	color: #2886bc;
	text-decoration: none;
}

div#bb-posts>ul>li>div.header>h4>a:hover,
div#bb-posts>ul>li>div.header>p.subheading>a:hover {
	color: #73b8e0;
}

div#bb-posts>ul>li>div.header>ul {
	clear: left;
	float: left;
	list-style: none;
}
div#bb-posts>ul>li>div.header>ul>li {
	display: inline-block;
	color: #868f98;
	font-size: 85%;
	margin: 0 .3em;
}
div#bb-posts>ul>li>div.header>ul>li>span.fa>strong {
	display: inline-block;
	overflow: hidden;
	width: 0;
	height: 0;
}
div#bb-posts>ul>li>div.header>ul>li.upvotes {
	color: #3a8e63;
}
div#bb-posts>ul>li>div.header>ul>li.downvotes {
	color: #8f3b43;
}

div#bb-posts>ul>li>div.header>p.user {
	position: absolute;
	left: 0;
	top: 0;
	padding: 0;
}

div#bb-posts>ul>li>div.header>p.user>a {
	display: block;
	overflow: hidden;
	width: 58px;
	height: 58px;
	border: solid 1px #d6dee4;
	background: #f7fafb;
	border-radius: 5px;
	text-decoration: none;
}

div#bb-posts>ul>li>div.header>p.user>a>span {
	display: table-cell;
	width: 58px;
	height: 58px;
	text-align: center;
	vertical-align: middle;
	font-size: 18px;
	color: #ccd5dc;
}

div#bb-posts>ul>li>div.header>p.user>a>span>img {
	max-width: 58px;
	max-height: 58px;
	vertical-align: middle;
}

div#bb-posts>ul>li>div.header>p.chart {
	position: absolute;
	right: 0;
	top: 0;
	padding: 0;
}

/*--------------------------------------------------------------
    Comment box: Pagination
--------------------------------------------------------------*/

div#bb-posts>ol {
	list-style: none;
	text-align: center;
	margin: 1.5em 0;
}

div#bb-posts>ol>li {
	display: inline-block;
	margin: .1em .2em;
	color: #868f98;
}

div#bb-posts>ol>li>a,
div#bb-posts>ol>li>strong {
	display: block;
	padding: .2em .5em;
	border-radius: .2em;
	border: solid 1px #d4dbe3;
}

div#bb-posts>ol>li>strong {
	color: #4d535b;
}

div#bb-posts>ol>li>a {
	color: #2886bc;
	text-decoration: none;
	cursor: pointer;
}

div#bb-posts>ol>li>a:hover {
	color: #73b8e0;
}



/*==============================================================
    Sidebar: structure
--------------------------------------------------------------*/

div#sidebar>dl>dt {
	position: relative;
	z-index: 1;
	margin: 2em auto .7em;
	font-size: 110%;
	line-height: 16px;
}

div#sidebar>dl>dt:first-child {
	margin-top: 0;
}

/* Background horizontal line */
div#sidebar>dl>dt:before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	border-top: 1px solid #d4dbe3;
	z-index: -1;
}

div#sidebar>dl>dt>h3,
div#sidebar>dl>dt>p {
	background: white;
	padding: 0 .5em;
	margin: 0 -.5em;
}

div#sidebar>dl>dt>h3 {
	display: inline-block;
}

div#sidebar>dl>dt>p {
	float: right;
	font-weight: bold;
	color: #0f68b5;
}

div#sidebar>dl>dd {
	margin: 0;
}

/*--------------------------------------------------------------
    Sidebar: Manage User
--------------------------------------------------------------*/

div#sidebar>dl>dd.manage-user>ul {
	list-style: none;
	margin: -.2em 0;
}

div#sidebar>dl>dd.manage-user>ul>li {
	margin: .2em 0;
	font-size: 105%;
}

div#sidebar>dl>dd.manage-user>ul>li>a {
	color: #2886bc;
	text-decoration: none;
}
div#sidebar>dl>dd.manage-user>ul>li>a:hover {
	color: #73b8e0;
}

div#sidebar>dl>dd.manage-user>ul>li>a>span {
	color: #868f98;
}

div#sidebar>dl>dd.manage-user>ul>li.remove>a>span {
	color: #984954;
}

/*--------------------------------------------------------------
    Sidebar: Userlist
--------------------------------------------------------------*/

div#sidebar>dl>dd>div.UserListElement>ul {
	list-style: none;
	margin: 0 -2px -2px 0;
}

div#sidebar>dl>dd>div.UserListElement>ul:empty {
	margin: 0;
}

div#sidebar>dl>dd>div.UserListElement>ul:after {
	content: "";
	display: block;
	clear: both;
}

div#sidebar>dl>dd>div.UserListElement>ul>li {
	display: block;
	float: left;
	width: 34px;
	height: 34px;
	margin: 0 3px 3px 0;
}

div#sidebar>dl>dd>div.UserListElement>ul>li>a {
	display: block;
	overflow: hidden;
	width: 32px;
	height: 32px;
	border: solid 1px #d6dee4;
	background: #f7fafb;
	border-radius: 3px;
	text-decoration: none;
}

div#sidebar>dl>dd>div.UserListElement>ul>li>a>strong {
	display: block;
	top: 32px;
	left: 0;
	right: 0;
}

div#sidebar>dl>dd>div.UserListElement>ul>li>a>span {
	display: table-cell;
	width: 32px;
	height: 32px;
	text-align: center;
	vertical-align: middle;
}

div#sidebar>dl>dd>div.UserListElement>ul>li>a>span>img {
	max-width: 32px;
	max-height: 32px;
	vertical-align: middle;
}
