
div.deal {
	background: #edfff2;
	padding: 6px;
	margin-bottom: 6px;
	border: 1px solid #d7d7d7;
}

form#add_issue_form {
	background: #fff;
	display: block;
	padding: 6px;
	margin-bottom: 6px;
	border: 1px solid #d7d7d7;
	width: 92%;
}

span.contact {
	display: inline-block;
}

#contact_issues img.gravatar {
	vertical-align: middle;
	margin-left: 5px;
}

div.contact-issues {
	margin-right: 4px;
}

div.contact-issues td.done_checkbox {
	width: 10px;
	vertical-align: top;
	padding-top: 4px;
}

div.contact-issues td.issue_subject {
	vertical-align: top;
	width: 100%;
}

table.list.issue td.contacts img.gravatar {
	vertical-align: middle;
	margin: 0 4px 2px 0;
}

div.contact-issues h3 a {
	color: inherit;
}

#contacts_for_issue {
	height: 200px;
	overflow: auto;
}

#contacts_for_issue label {
	display: block;
}

input#contact_search {
	width: 90%;
}

.note-custom-fields label {
	margin-right: 10px;
}

div#sidebar div.contextual {
	margin-right: 8px;
}

span.note-info {
	font-size: 11px;
	margin: 0;
	padding: 0;
	line-height: 1.5;
	color: #777;
}

table.subject_header {
	width: 100%;
}

div.contact.details table.subject_header h1 {
	margin-bottom: 0;
}

table.subject_header td.avatar {
	vertical-align: top;
	vertical-align: top;
	text-align: right;
	width: 57px;
	height: auto;
	border-radius: 0;
}

table.subject_header td.subject_info {
	padding-left: 15px;
	padding-right: 15px;
	border-left: 1px solid #d7d7d7;
	min-width: 200px;
	width: 200px;
}

table.subject_header td.subject_info ul {
	list-style: none;
	padding-left: 0;
}

table.subject_header td.subject_info li {
	line-height: 20px;
	white-space: nowrap;
}

h4.contacts_header {
	border-bottom: 0;
}

h2.contacts_header {
	border-bottom: 0;
}

div.filters h2 {
	margin-bottom: 5px;
}

div.filters h2 .scope_title a {
	color: #444;
	text-decoration: none;
}

div.filters h2 .scope_title a:hover {
	text-decoration: none;
	display: inline;
	color: #aaa;
}

div.filters .tags span.tag-label-color a {
	line-height: 0;
}

div.search_and_filters {
	margin-bottom: 10px;
}

div.live_search {
	font-size: 16px;
}

div.filters .live_search {
	position: relative;
}

.live_search input.live_search_field {
	font-size: 16px;
	height: 44px;
	border-radius: 0;
	margin-left: 10px;
}

input#search:focus::-webkit-input-placeholder {
	color: #d3d3d3;
}

input#search:focus:-moz-placeholder {
	color: #d3d3d3;
}



.tag-label .tag-count,
.tag-label-color .tag-count {
	font-size: .75em;
	margin-left: .5em;
}
.tag_list{
	display: inline-block;
    margin-top: 5px;
}

span.tag-label-color a,
span.tag-label-color>span {
	text-decoration: none;
	color: #fff;
	text-transform: uppercase;
	font-family: proxima_nova_semibold;
	padding: 10px 18px;
	display: inline-block;
	font-size: 14px;
    letter-spacing: 0.5px;	
}

.tag-label-color {
	border-radius: 3px;
	background-color: #759fcf;
	margin-right: 5px;
	margin-bottom: 5px;
	display: inline-block;
}

#edit_tags_form.box {
	margin: 1px 5px 0 0;
}

#edit_tags_form.box label {
	margin-right: 5px;
	font-weight: 700;
}

#edit_tags_form.box #contact_tags {
	margin-bottom: 10px;
}

div#tags_data span.contextual {
	float: none;
	padding-left: 0;
}

span.tag-input,
span.tag-label {
	display: inline-block;
}

#responsible_user ul {
	margin: 0;
	padding: 0;
}

#responsible_user li {
	list-style-type: none;
	margin: 3px 2px 0 0;
	padding: 0;
}

#responsible_user select {
	width: 95%;
	display: block;
}

#responsible_user a.delete {
	opacity: .4;
}

#responsible_user a.delete:hover {
	opacity: 1;
}

#responsible_user img.gravatar {
	vertical-align: middle;
	margin: 0 4px 2px 0;
}


table.index tbody tr.group td {
	padding: .8em 0 .5em .3em;
	font-weight: 700;
	border-bottom: 1px solid #ccc;
}



/*table.contacts.index tr.selected {
	background-color: #507aaa!important;
	color: #f8f8f8!important;
}*/


/*table.contacts.index tr.context-menu-selection span.tag-label-color {
	border: 1px solid #efefef;
	padding: 2px 3px;
}*/

/*table.contacts.index tbody tr:hover {
	background-color: rgba(86, 128, 233, .15);
}

table.contacts.index td {
	vertical-align: middle;
	color: #666;
	padding: 8px 0;
	border-bottom: 1px solid #efefef;
}



table.contacts.index td.name {
	width: 50%;
	padding-right: 10px;
}

table.contacts.index td.info {
	width: 50%;
	padding-right: 5px;
}

table.contacts.index td.avatar {
	padding: 10px 10px 10px 5px;
}

table.contacts.index th {
	padding: 5px 10px 5px 0;
	border-bottom: 1px solid #efefef;
	vertical-align: top;
}

table.contacts.index th.title {
	text-align: right;
}

table.contacts.index th.sum {
	text-align: left;
}

table.contacts.deals.index td.avatar {
	padding: 10px 10px 10px 10px;
}

table.contacts.index td.name h1 {
	font-size: 20px;
	font-weight: 400;
	margin: 0;
	padding: 0;
}

table.contacts.index td.name h1.deal_name {
	font-size: 16px;
	font-weight: 400;
	margin: 0;
	padding: 0;
}

table.contacts.index td.name h1.selected {
	background-color: #ffb;
}

table.contacts.index td.name h2.selected {
	background-color: #ffb;
}

table.contacts.index td.name h2 {
	font-size: 13px;
	color: #777;
	font-weight: 400;
	line-height: 140%;
	padding: 0;
	margin: 0;
	background: 0 0;
	border: none;
}
*/
div.Right td.name div.info {
	padding-top: 3px;
	margin-left: 42px;
}

.notes div.contextual {
	vertical-align: top;
}

div#deal-status {
	margin-top: 4px;
}

table.related_deals td.name h4 {
	letter-spacing: -1px;
	margin: 0 0 4px 0;
	padding: 0;
	line-height: 1.1em;
}

div#deal-status span.contextual {
	float: none;
	padding-left: 0;
}

.deal_list table.list tr.deal a {
	color: #666;
}

.deal_list table.list td.name {
	text-align: left;
	white-space: normal;
}

.deal_list table.list th.sum.deals-sum {
	text-align: right;
	white-space: nowrap;
	width: 10%;
}

.deal_list table.list tbody tr.odd.status-type-2:hover,
.deal_list tr.odd.status-type-2 {
	color: #900;
}

.deal_list tr.odd.status-type-2 {
	background: #fee;
}

.deal_list table.list tbody tr.even.status-type-2:hover,
.deal_list tr.even.status-type-2 {
	color: #900;
}

.deal_list tr.even.status-type-2 {
	background: #fff2f2;
}

.deal_list tr.status-type-2 a {
	color: #900;
}

.deal_list tr.even.status-type-2 td,
.deal_list tr.odd.status-type-2 td {
	border-color: #fcc;
}

.deal_list table.list tbody tr.odd.status-type-1:hover,
.deal_list tr.odd.status-type-1 {
	color: #005f00;
}

.deal_list tr.odd.status-type-1 {
	background: #ebfeeb;
}

.deal_list table.list tbody tr.even.status-type-1:hover,
.deal_list tr.even.status-type-1 {
	color: #005f00;
}

.deal_list tr.even.status-type-1 {
	background: #dfffdf;
}

.deal_list tr.status-type-1 a {
	color: #005f00;
}

.deal_list tr.even.status-type-1 td,
.deal_list tr.odd.status-type-1 td {
	border-color: #9fcf9f;
}

table.deals.index {
	margin-bottom: 0;
}

table.deals.index.total {
	border-top: 0;
}

table.list.deal-board tbody tr,
table.list.deal-board tbody tr:hover {
	background-color: #fff;
}

.deal-board .deal-card,
.deal-board .sortable-placeholder {
	padding: 5px;
	border: solid 1px #d5d5d5;
	background-color: #fff;
	margin: 5px;
}

.deal-board .deal-card {
	background-color: #ffd;
}

.deal-board .deal-status-col {
	text-align: left;
	white-space: normal;
}

.deal-board .avatar {
	float: left;
	margin-right: 5px;
}

.deal-board p.name {
	margin-bottom: 5px;
	font-weight: 700;
}

.deal-board .info {
	border-top: 1px solid #d5d5d5;
	padding-top: 5px;
}

.deal-board td.deal-status-col.won .deal-card {
	background: #dfffdf;
	border-color: #9fcf9f;
}

.deal-board td.deal-status-col.lost .deal-card {
	background: #fee;
	border-color: #fcc;
}

.deal-board .sortable-placeholder {
	background-color: #e9f8fd;
	border: solid 1px #e9f8fd;
	height: 65px;
}

.deal-board .deal-card.draggable-active,
.deal-board .deal-card.ui-sortable-helper {
	-moz-transform: rotate(5deg);
	-ms-transform: rotate(5deg);
	-webkit-transform: rotate(5deg);
	-o-transform: rotate(5deg);
	transform: rotate(5deg);
	box-shadow: 0 3px 5px rgba(0, 0, 0, .05);
	-moz-box-shadow: 0 3px 5px rgba(0, 0, 0, .05);
	-webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, .05);
}

.deal-board .deal-card.draggable-active {
	width: 250px;
}

.icon-contact {
	background-image: url(../images/vcard.png);
}

.icon-import {
	background-image: url(../images/bullet_go.png);
}

.icon-merge {
	background-image: url(../images/arrow_merge.png);
}

.icon-add-deal {
	background-image: url(../images/money.png);
}

.icon-company-contact {
	background-image: url(../images/user_suit.png);
}

.icon-link-break {
	background-image: url(../../../images/link_break.png);
}

.icon-call {
	background-image: url(../images/phone.png);
}

.icon-meeting {
	background-image: url(../images/calendar_view_day.png);
}

.icon-vcard {
	background-image: url(../images/vcard.png);
}

.icon-phone {
	background-image: url(../images/telephone.png);
}

.icon-money-dollar {
	background-image: url(../images/money_dollar.png);
}

.icon-rosette {
	background-image: url(../images/rosette.png);
}

.icon-date {
	background-image: url(../images/date.png);
}

.icon-clock-red {
	background-image: url(../images/clock_red.png);
}

.icon-money-euro {
	background-image: url(../images/money_euro.png);
}

.icon-money-pound {
	background-image: url(../images/money_pound.png);
}

.icon-money-yen {
	background-image: url(../images/money_yen.png);
}


div.wiki img.tumbnail {
	border: 1px solid #d7d7d7;
	height: 150px;
	padding: 4px;
	vertical-align: middle;
	width: 150px;
	background: #fff;
}

#company_contacts table.note_data {
	width: 250px;
	float: left;
}

#company_contacts table.note_data td.name {
	width: auto;
}

table.note_data,
table.related_deals {
	width: 100%;
}

table.note_data td.name div.wiki {
	margin: 5px 0 0 0;
}

table.note_data .wiki.note p {
	margin: inherit;
}

table.note_data .wiki.note div.attachments p {
	margin: 4px 0 2px 0;
	display: inline-block;
	white-space: nowrap;
}

table.note_data td.avatar {
	padding-right: 4px;
	padding-left: 0;
}

table.note_data td.name {
	padding-left: 0;
	vertical-align: top;
	width: 100%;
}

table.note_data .content.preview {
	margin: 5px 0 0 0;
	font-size: .9em;
	color: grey;
	font-style: italic;
}

table.note_data a.delete:hover {
	opacity: 1;
}

table.note_data a.delete {
	opacity: .4;
}

table.note_data td.name h4 {
	margin: 11px 0 18px 0;
	padding: 0;
	line-height: 1.1em;
	font-size: 18px;
}

table.note_data td #avatar img {
	border-radius: 100%;
}

table.note_data h4 {
	margin-top: 5px;
	margin-bottom: 0;
}

table.note_data:hover h4>a.wiki-anchor {
	display: inline;
	color: #ddd;
}

.wiki.note a.wiki-anchor {
	display: none;
}

div.note_data_header table.note_data {
	margin-bottom: 5px;
}

h2.note_title {
	margin-bottom: 0;
}

div.wiki p.thumbnails {
	margin-top: 12px;
}

img.thumbnail {
	border: 1px solid #d7d7d7;
	padding: 4px;
	margin: 4px;
	vertical-align: middle;
}

#duplicates ul {
	margin: 0;
	padding: 0;
}

#duplicates li {
	list-style-type: none;
	margin: 0 2px 0 0;
	padding: 0;
}

#duplicates img.gravatar {
	vertical-align: middle;
	margin: 0 4px 2px 0;
}

#duplicates ul.box {
	padding: 10px;
	background-color: #ffebc1;
}

#contact_projects ul {
	margin: 0;
	padding: 0;
}

#contact_projects li {
	list-style-type: none;
	margin: 0 2px 0 0;
	padding: 0;
}

#contact_projects select {
	width: 95%;
	display: block;
}

#contact_projects a.delete {
	opacity: .4;
}

#contact_projects a.delete:hover {
	opacity: 1;
}

#contact_projects img.gravatar {
	vertical-align: middle;
	margin: 0 4px 2px 0;
}

table.sales-funnel td.sales-funnel {
	text-align: center;
}

table.sales-funnel td.sales-funnel span.tag-label-color {
	display: block;
	margin: auto;
}

table.sales-funnel td.sales-funnel.index_0 {
	width: 50%;
}

table.sales-funnel td.count {
	text-align: center;
}

table.sales-funnel td.total {
	text-align: right;
}

table.sales-funnel tr.deal_status_type-1 {
	background-color: #ecfff5;
}

table.sales-funnel tr.deal_status_type-2 {
	background-color: #ffecec;
}

div.contact.details.private .avatar img.gravatar {
	border: solid 1px #eb7272;
}

.tooltip span.tip.contact {
	line-height: 11px!important;
	font-size: 9px!important;
	width: 200px!important;
}

table.contact.attributes .gravatar {
	vertical-align: middle;
	margin: 0 .5em 0 0;
}

table.sidebar.attributes td,
table.sidebar.attributes th {
	padding: inherit;
	text-align: left;
}

.tab-placeholder {
	display: none;
}

.tab-placeholder.active {
	display: block!important;
}

ul.ui-autocomplete {
	z-index: 10100;
	background: #fff;
	max-height: 382px;
	overflow: auto;
	box-shadow: 0 13px 33px rgba(0, 0, 0, .12);
}

ul.ui-autocomplete li a {
	line-height: 1.43em;
}

ul.ui-autocomplete li a:hover {
	color: #5680e9;
}

#issue_contacts ul {
	margin: 0;
	padding: 0;
}

#issue_contacts li {
	list-style-type: none;
	margin: 0 2px 0 0;
	padding: 0;
}

#issue_contacts select {
	width: 95%;
	display: block;
}

#issue_contacts a.delete {
	opacity: .4;
}

#issue_contacts a.delete:hover {
	opacity: 1;
}

#issue_contacts img.gravatar {
	vertical-align: middle;
	margin: 0 4px 2px 0;
}

.hidden {
	display: none;
}
