ul.deals_stages{
	padding-right: 0;
	padding-left: 0;
}

ul.deals_stages li{
	white-space: nowrap;
	list-style: none;
	padding-left: 12px;
	height: 16px;
	margin-bottom: 5px;
}

ul.deals_stages li.deals_stage_all{
	font-style: italic;
}

ul.deals_stages li input[type='checkbox']{
	position: relative;
	top: 3px;
}

ul.deals_groups{
	padding-right: 0;
	padding-left: 0;
}

ul.deals_groups li{
	white-space: nowrap;
	list-style-position: inside;
	list-style-image: url( images/deals_group.png );
	padding-left: 12px;
	height: 16px;
	margin-bottom: 5px;
}

ul.deals_groups li.deals_group_add{
	list-style-image: url( images/deals_group_add.png );
}

ul.deals_groups li.deals_group_shared{
	list-style-image: url( images/deals_group_shared.png );
}

ul.deals_attachedgroups{
}

ul.deals_attachedgroups li{
	list-style-image: url( images/deals_attachedgroup.png );
}

ul.deals_attachedgroups li.deals_group_add{
	list-style-image: url( images/deals_attachedgroup_add.png );
}

ul.deals_groups li.deals_group_all a{
	font-style: italic;
}

ul.deals_groups li a{
	text-decoration: none;
	position: relative;
	top: -3px;
}

ul.deals_groups li a:hover{
	text-decoration: underline;
}

ul.deals_groups li.deals_group_add a{
	font-style: italic;
	color: #888;
}

ul.deals_groups li.deals_current_group a{
	font-weight: bold;
}

ul.deals_groups li input[type="text"]{
	border: none;
	color: #191919;
	background-color: #fdfbbe;
	height: 13px;
	padding-top: 0px;
	padding-left: 0px;
	position: relative;
	top: -3px;
	left: -1px;
}

#deals_application_section .filters div.filter + div.filter {
    margin-top: 12px;
}

#deals_application_section .filters label.block {
    display: block;
}

#deals_application_section .filters label {
    color: gray;
}

#deals_list_filters_applied{
    display: none;
}

#deals_list.filters_enabled #deals_list_filters_applied{
    background: none repeat scroll 0 0 #FDFBBE;
    border-bottom: 1px solid #AAAAAA;
    display: block;
    height: 16px;
    left: 0;
    position: absolute;
    right: 16px;
    text-align: center;
    top: 22px;
    z-index: 5;
}

#deals_list.filters_enabled #deals_list_content{
	padding-top: 16px;
}

#deals_list{
	background-color: white;
	border-right: 1px solid #AAAAAA;
	bottom: 0;
	left: 0;
	overflow: hidden;
	position: absolute;
	right: 45%;
	top: 0;
}

#deals_list_header {
	background-image: url( ../../Default/images/hideable_panel/background.png );
	border-bottom: 1px solid #888888;
	border-top: 1px solid #DDDDDD;
	color: #3C3C3C;
	font-weight: bold;
	height: 20px;
	padding-top: -1px;
	overflow: hidden;
	white-space: nowrap;
	padding-right: 15px;
}

div.deals_list_header_left{
	width: 35%;
	text-align: left;
	float: left;
}

div.deals_list_header_center{
	width: 30%;
	text-align: center;
	float: left;
}

div.deals_list_header_right{
	width: 35%;
	text-align: center;
	float: left;
}

#deals_list_content{
	bottom: 0;
	left: 0;
	overflow-x: hidden;
	overflow-y: scroll;
	position: absolute;
	right: 0;
	top: 22px;
}

div.deals_list_item{
	height: 50px;
	border-bottom: 1px solid #888;
	cursor: pointer;
}

div.deals_list_item.current_deal{
	background-color: #c0d0ff;
}

div.deals_list_item:hover{
	background-image: url( ../../Default/images/message_list/hover.png );
}

div.deals_list_item.deal_on_context_menu{
	background: #3565a4;
	color: white;
}

div.deals_list_item div.deals_list_item_row{
	height: 25px;
}

div.deals_list_item div.deals_list_item_left,
div.deals_list_item div.deals_list_item_center,
div.deals_list_item div.deals_list_item_right{
	height: 21px;
	padding-top: 4px;
	overflow: hidden;
	white-space: nowrap;
}

div.deals_list_item div.deals_list_item_left{
	width: 40%;
	float: left;
}

div.deals_list_item div.deals_list_item_center{
	width: 20%;
	float: left;
	text-align: center;
}

div.deals_list_item div.deals_list_item_right{
	width: 40%;
	float: left;
	text-align: center;
}

div.deals_list_item span.deals_list_item_contact{
	margin-left: 10px;
}

div.deals_list_item span.deals_list_item_value{
}

div.deals_list_item span.deals_list_item_deadline{
}

div.deals_list_item span.deals_list_item_name{
	margin-left: 1px;
	font-weight: bold;
}

div.deals_list_item span.deals_list_item_stage{
}

div.deals_list_item span.deals_list_item_responsible{
}

div#deals_view{
	bottom: 0;
	left: 55%;
	overflow-y: scroll;
	position: absolute;
	right: 0;
	top: 0;
}

div#deals_view div#deals_view_header{
	background-color: #E8ECF0;
	border-bottom: 1px solid #AAAAAA;
	height: 100px;
	padding: 0px 15px;
}

div#deals_view div#deals_view_header div#deals_view_header_subject{
	color: #222222;
	font-size: 14px;
	font-weight: bold;
	padding: 10px 0px;
}

div#deals_view div#deals_view_header div#deals_view_header_actions{
	margin-top: 10px;
}

div#deals_view div#deals_view_header div#deals_view_header_actions select#deals_view_header_stages{
	margin-left: 10px;
	position: relative;
	top: 2px;
}

#deals_view_header.no_deadline #deals_view_header_expecteddeadline_header{
	visibility: hidden !important;
	display: block !important;
}

#deal_content .deal_header
{
	color:#333333;
	font-size:12px;
	font-weight:bold;
	padding-top:10px;
}

#deal_content select{
	max-width: 220px;
}

#deal_content .deal_link {
	position: relative;
	top: -3px;
	margin-left: 4px;
}

#deal_history table{
	width: 100%;
	margin-top: 3px;
}

#deal_history table td{
	width: 25%;
}

#deal_history table th{
	text-align: left;
}

#deal_content,
#deal_edit_content{
	float: left;
	padding: 10px;
	position: absolute;
	left: 0;
	right: 41px;
}

#deals_list_header td {
	margin-top:-5px;
}

#deals_list_header td a{
	text-decoration: none;
}

#deals_list_header td.lc {
	width: 35%;
	text-align: left;
}

#deals_list_header td.lv {
	width: 30%;
	text-align: center;
}
#deals_list_header td.ld {
	width: 35%;
	text-align: right;
}

#deals_list_header .message_header_array {
	margin-left: 2px;
	margin-right: 2px;
}

p.no_deals {
	color: gray;
	font-style: italic;
	text-align: center;
	margin-top: 60px;
}

#deals_list_content .deals_messages_count,
#deals_list_content .deals_notes_count,
#deals_list_content .deals_files_count,
#deals_list_content .deals_calendar_events_count,
#deals_list_content .deals_todo_items_count {
	margin-left: 2px;
}

#deals_list_content .deals_list_icons {
	float: right;
}

#deals_list img.deal_readonly {
    position: relative;
    top: 1px;
}

#deals_list span.deal_readonly {
	margin-left: 10px;
}

#deals_application_section li.deals_group_on_dragging{
	background: #3565a4;
	color: white;
}

#deals_application_section div.deal_draggable_box{
	border: 1px solid #cccccc;
	padding: 4px 4px 4px;
	background-color: white;
	margin-left: 10px;
	z-index: 300;
}

div.deal_draggable_box span.description{
	font-weight: bold;
}

div.deal_draggable_box span.value{
	margin-left: 10px;
}

#deals_list_content.pager_on {
	bottom: 18px;
}

#deals_list_pager{
    background-image: url("../../Default/images/list_pager/background_big.png");
    border-top: 1px solid #AAAAAA;
    bottom: 0;
    height: 18px;
    left: 0;
    position: absolute;
    right: 0;
    text-align: center;
}

#deals_list_pager img {
	cursor: pointer;
	margin: 0 5px;
}