/* Common */

.h-cabinet {
	position: relative;
	zoom: 1;
	}
	TABLE.cabinet {
		width: 100%;
		margin-top: 0;
		border-collapse: collapse;
		}

	
/* Layout */

.h-charts-and-buysell {
	width: 100%;
	margin: 0 0 1.8em;
	overflow: hidden;
	}
	.b-cab-charts {
		margin-right: 189px;
		z-index: 0;
		}
	.b-cab-buy-sell {
		float: right;
		width: 176px;
		}


/* Select company */

.b-cab-stocks {
	position: relative;
	margin: 0 0 5px;
	zoom: 1;
	}
	.b-cab-stocks .select-stocks {
		height: 4.5ex;
		margin-right: 189px;
		padding-left: 2px;
		padding-right: 18px;
		background: #FF4105 url(/i/stock_row.gif) no-repeat right center;
		}
		.b-cab-stocks SELECT {
			width: 100%;
			margin: 0.15em 0 0;
			font-size: 16px;
			vertical-align: middle;
			}
	.b-cab-stocks .add-proposal-btn {
		display: block;
		position: absolute;
		right: 0;
		top: 0;
		width: 177px;
		height: 2.2em;
		//height: 2.1em;
		border: 1px outset #FF4105;
		background-color: #FF4105;
		font-size: 14px;
		color: #FFF;
		}
	
	
/* Stock applet */

.b-cab-charts-applet {
	padding: 0.3em 0 0;
	}


/* Buy/sell table (glassful) */

.b-cab-buy-sell TD.selected {
	padding: 0 0.3em 0.3em 0.3em;
	background-color: #FF4105;
	color: #FFF;
	}
td.buy_sell td.js {border: none; padding: 0 0.5em;}
td.buy_sell td.js span {color: #1d7e8c; border-bottom: dotted 1px;}

td.buy_sell div.price_type {padding: 0.5em 0; margin-top: 0.8em;}
td.buy_sell div.price_type td.selected {background-color: #48B1C0; border-bottom: 3px #48B1C0 solid; padding: 0 0.5em;}

td.buy_sell #total_sum {height: 2.5em; margin: 0.8em 0 0.5em 0;}
td.buy_sell #total_sum big {font-size: 180%;}
td.buy_sell #total_sum small {font-size: 70%;}


/* Stakan */

.cover { 
	position: absolute;
	top: 0;
	display: none;
	width: 174px;
	height: 374px;
	//height: 371px;
	background-color: #FEFBE8;
	border: 1px solid #E9EDF6;
	text-align: center;
	}
	.cover .valign-wrap {
		position: absolute;
		top: 50%;
		left: 0;
		width: 100%;
		margin-top: -6.5em;
		}
.cover-short {
	height: 294px;
	//height: 291px;
	}
.stakan {
	width: 100%;
	empty-cells: show;
	border-collapse: collapse;
	}
	.stakan CAPTION {
		padding: 2px 0 10px;
		}
	.stakan TD {
		padding: 3px 2px;
		line-height: 1;
		}
	.stakan THEAD TH {
		width: 33%;
		padding: 4px 2px;
		vertical-align: top;
		border-right: 1px solid #FFF;
		background-color: #48B1C0;
		font: bold 11px/1 Arial, sans-serif;
		color: #FFF;
		text-align: center;
		}
		.stakan THEAD TH SMALL {
			color: #E0FBFF;
			line-height: 1;
			}
	.stakan .sell TD {
		border-bottom: 1px solid #EEE;
		color: #FF4105;
		text-align: right;
		}
	.stakan .buy TD {
		border-bottom: 1px solid #EEE;
		color: #1E9199;
		text-align: right;
		}
	.stakan TD.n {
		text-align: center;
		}
	.stakan .sell,
	.stakan .buy {
		cursor: pointer;
		}


/* Select leaders */

DIV.lead {
	padding: 0.15em 1.2em 0 0;
	}
	DIV.lead SELECT {
		width: 100%;
		font-size: 16px;
		}


/* New proposal parameters */

#order_stock {
	width: 100%;
	font-size: 140%;
	}
#price,
#quantity,
#condprice {
	width: 7em;
	font-size: 140%;
	text-align: right;
	vertical-align: middle;
	}
DIV.order_descr {
	width: 94%;
	height: 3.5em;
	margin: 0.3em 0 0;
	text-align: left;
	}
#total_sum {
	padding: 0.5em 0.3em 0 0.5em;
	border-top: 1px solid #999;
	font: bold 82% Arial;
	color: #333;
	}
.order_buttons {
	margin-bottom: 0.5em;
	}
	.order_buttons INPUT {
		padding: 0.3em 0.5em;
		}


/* Applications */

TABLE.info {
	width: 100%;
	}
	TABLE.info TH {
		padding: 0.3em 0.8em;
		font: normal 11.2px/0.8 Tahoma;
		color: #FFF;
		text-align: center;
		background-color: #48B1C0;
		border-right: solid 1px #FFF;
		}
	TABLE.info TD {
		padding: 0.4em 0.8em;
		border-bottom: solid 1px #48B1C0;
		color: #000;
		}
	TABLE.info TR.selected TD {
		background-color: #EEE;
		}
.b-cab-briefcase-table TD {
	white-space: nowrap;
	}
.b-cab-briefcase-total {
	margin: 20px 0 20px;
	font-size: 13px;
	}
	.b-cab-briefcase-total .total-value {
		font-size: 18px;
		}


/* Paper */

TABLE.paper IMG {
	display: block;
	}
TABLE.paper TABLE.t TD.m {
	background-image: url(/i/paper/t.gif);
	background-position: top;
	background-repeat: repeat-x;
	}
TABLE.paper TABLE.m {
	background-image: url(/i/paper/l.gif);
	background-position: left;
	background-repeat: repeat-y;
	}
	TABLE.paper TABLE.m TD.m {
		padding: 0 1.7em 0.8em 5px;
		background-image: url(/i/paper/r.gif);
		background-position: right;
		background-repeat: repeat-y;
		}
TABLE.paper TABLE.b TD.m {
	background-image: url(/i/paper/b.gif);
	background-position: bottom;
	background-repeat: repeat-x;
	}
TABLE.paper H3 {
	margin-bottom: 0;
	padding-bottom: 0;
	}


/* Communicator */

.communicator {
	/*width: 35%;*/
	}
#communicator_list TD {
	padding: 0.2em 0em 0.5em 0.3em;
	vertical-align: middle; 
	font-size: 11.2px; 
	}
	#communicator_list TD.ico IMG {
		display: inline;
		margin-top: 0;
		vertical-align: middle;
		}
#communicator_list TR.active TD.user {
	background-color: #F2F2F2;
	}
	#communicator_list TR.active SPAN {
		cursor: pointer;
		}
	#communicator_list TD.user SPAN.teacher {
		font-weight: bold;
		}
	#communicator_list TD.user SPAN.sys {
		font: italic 120%/100% "Times New Roman";
		color: #777;
		cursor: pointer;
		}


/* Chat */

.chat-toggle {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 12px;
	}
	.chat-toggle .item {
		display: inline;
		margin-right: 1em;
		white-space: nowrap;
		}
		.chat-toggle .item A {
			border-bottom: dotted 1px;
			text-decoration: none;
			}
		.chat-toggle .item IMG {
			display: inline;
			}
		.chat-toggle .item-active,
		.chat-toggle .item-active A,
		.chat-toggle .item-active A:link,
		.chat-toggle .item-active A:hover,
		.chat-toggle .item-active A:active {
			border-bottom: none;
			cursor: default;
			font-weight: bold;
			color: #FF4100;
			}
/* --- */
.chat-msg-form {
	position: relative;
	width: 98%;
	margin: 0 0 0 -5px;
	padding: 5px;
	}
	.chat-msg-form .msg-text {
		position: relative;
		_left: 5px;
		bottom: -1px;
		width: 216px;
		background-color: #FFF;
		}
	.chat-msg-form .submit-button {
		float: right;
		width: 40px;
		}
.chat-msg-form-team {
	background: #EEE;
	}
	.chat-msg-form-team .msg-text {
		width: 198px;
		padding-left: 18px;
		background-image: url(/i/lock.gif);
		background-position: 3px 2px;
		background-repeat: no-repeat;
		}
/* --- */
.chat {
	width: 267px;
	padding-bottom: 25px;
	word-wrap: break-word;
	overflow: auto;
	}
	.chat P {
		margin: 1.1em 0;
		font: 85%/1.3 Tahoma;
		}
		.chat SPAN.time {
			color: #999;
			}
		.sl0,
		.sl1,
		.sl2,
		.sl3 {
			text-decoration: underline;
			cursor: pointer;
		}
		.sl0 {
			color: #1E9199 !important;
		}
		.sl1 {
			color: #FF4100 !important;
		}
		.sl2 {
			color: #000 !important;
		}
		.sl3 {
			color: blue !important;
		}


/* Leaders */

.leaders DIV.select SPAN {
	margin: 0 0.4em;
	border-bottom: 1px dotted;
	cursor: pointer;
	}
.leaders DIV.select SPAN.selected {
	margin: 0 0.1em;
	padding: 0 0.3em;
	border: 0;
	background: #DDD;
	color: #222;
	}


/* Events calendar */

.b-cab-calendar {
	margin: 10px 0;
	}
	.b-cab-calendar .events {
		position: relative;
		width: 100%;
		empty-cells: show;
		table-layout: fixed;
		border-bottom: 1px solid #EEE;
		}
		.b-cab-calendar TH,
		.b-cab-calendar TD {
			padding: 0.6ex;
			font: 12px/1.5 Arial, sans-serif;
			}
		.b-cab-calendar TH {
			border-bottom: 1px solid #EEE;
			font-weight: normal;
			text-align: right;
			color: #1E9199;
			}
		.b-cab-calendar .b-cab-calendar-header {
			text-align: left;
			font-weight: bold;
			color: #000;
			}
			.b-cab-calendar .events .toggle-mode-btn {
				margin-right: 5px;
				cursor: pointer;
				}
		.b-cab-calendar TD {
			vertical-align: top;
			padding-top: 0.2em;
			padding-bottom: 0.2em;	
			border-right: 1px solid #EEE;
			}
		/*.b-cab-calendar .time {	
			}
		.b-cab-calendar .index {
			}*/
			.b-cab-calendar .country {
				display: block;
				margin-left: 15px;
				}
		/*.b-cab-calendar .period {
			}*/
		.b-cab-calendar .fact,
		.b-cab-calendar .forecast,
		.b-cab-calendar .previous {
			font-weight: bold;
			text-align: right;
			white-space: nowrap;
			}
		.b-cab-calendar .units {
			border-right: none;
			white-space: nowrap;
			}
		.b-cab-calendar .b-events-items TR:hover TD,
		.b-cab-calendar .b-events-items .item-selected TD {
			background: #EEE;
			border-right-color: #DDD;
			}
/* --- */
.b-cab-calendar .events-short .b-events-items {
	display: none;
	}
	.b-cab-calendar .events-short .country {
		display: inline;
		margin-left: 0.3em;
		}
	.b-cab-calendar .events-short TR:hover TD,
	.b-cab-calendar .events-short .item-selected TD {
		background: transparent;
		border-right-color: #EEE;
		}
/* --- */
.b-cab-calendar .events-full .b-ticker {
	display: none;
	}
/* --- */
.b-cab-calendar .no-events {
	border-bottom: none;
	}
	.b-cab-calendar .no-events TH {
		border-bottom: none;
		}
	.b-cab-calendar .b-cab-calendar-header {
		padding-left: 0;
		}
		.b-cab-calendar .no-events TH SPAN {
			display: none;
			}
	.b-cab-calendar .no-events .toggle-mode-btn {
		display: none;
		}
	.b-cab-calendar .no-events .no-events-box {
		display: table-row-group;
		//display: block;
		}
		.b-cab-calendar .no-events-box {
			display: none;
			}
			.b-cab-calendar .events .no-events-msg {
				padding: 5px 0 0;
				border-right: 0;
				text-align: center;
				}
				.b-cab-calendar .events .no-events-msg B {
					display: block;
					height: 1px;
					margin: 0 1px;
					padding: 0;
					overflow: hidden;
					font-size: 1px;
					line-height: 1px;
					}
				.b-cab-calendar .events .no-events-msg DIV {
					padding: 10px 15px;
					}
				.b-cab-calendar .events .no-events-msg B,
				.b-cab-calendar .events .no-events-msg DIV {
					background-color: #EEE;
					color: #000;
					}
	.b-cab-calendar .no-events .b-ticker,
	.b-cab-calendar .no-events .b-events-items {
		display: none;
		}
		
		
/* Recommendation LINK */

.recommendation-link {
	position: relative;
	left: 4px;
	bottom: -3px;
	//display: inline-block;
	padding: 0 7px;
	background: url(/i/recommendation.gif) no-repeat;
	}
