#refer-plugin {
	color: #454A4F;
}

.connectionLabel {
	background: #D1DFEB;
	border: 1px solid #555;
}

#refer-plugin .smn-topline {
	background: #fff;
	border-bottom: 1px solid #666;
}

#refer-plugin .smn-content {
	background: #fff;
}

#refer-plugin .smn-content .smn-inner {
	box-shadow: 0 3px 3px #666;
	border-bottom: 1px solid #fff;
}

/* Top Bar & Tab Controls */

#refer-plugin .smn-top-bar .smn-branding {
	color: #000;
}

#refer-plugin .smn-top-bar .smn-working-indicator {
	background-image: url("./icons/loading.gif");
}

#refer-plugin .smn-top-bar .smn-tabcontrols .smn-tab {
	background: #fff;
	color: #454a4f;
	border: 2px solid #fff;
}

#refer-plugin .smn-top-bar .smn-tabcontrols .smn-tab:hover {
	color: #000;
}

#refer-plugin .smn-top-bar .smn-tabcontrols .smn-tab.active {
	background: none repeat scroll 0 0 #efefef;
    border-color: #dfdfdf #dfdfdf #efefef;
    border-style: solid;
    border-width: 2px;
    color: #333;
    padding-bottom: 5px;
}

/* Tab Content */

#refer-plugin .smn-tabcontent {
	border-top: 1px solid #bfbfbf;
}

/* Tab Content: Relation Browser;*/

#refer-plugin .smn-tabcontent.relation-browser {
	background: rgb(239,239,239); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(239,239,239,1) 0px, rgba(255,255,255,1) 20px); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0px,rgba(239,239,239,1)), color-stop(20px,rgba(255,255,255,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(239,239,239,1) 0px,rgba(255,255,255,1) 20px); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(239,239,239,1) 0px,rgba(255,255,255,1) 20px); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(239,239,239,1) 0px,rgba(255,255,255,1) 20px); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(239,239,239,1) 0px,rgba(255,255,255,1) 20px); /* W3C */
}

#refer-plugin .smn-tabcontent.relation-browser .smn-relation-browser-breadcrumbs .breadcrumbItem:hover {
	color: #000;
}

#refer-plugin .smn-tabcontent.relation-browser .smn-relation-category .smn-entity:hover {
	/*background-color: #333 !important;*/
}

#refer-plugin .smn-tabcontent.relation-browser .smn-relation-category .smn-entity.active {
	background-color: #D1DFEB;
	outline: none;
}

#refer-plugin .smn-tabcontent.relation-browser .smn-relation-category[data-category="Person"] .smn-entity.active {
	background-color: #73A97A;
}

#refer-plugin .smn-tabcontent.relation-browser .smn-relation-category[data-category="Thing"] .smn-entity.active {
	background-color: #767aa4;
}

#refer-plugin .smn-tabcontent.relation-browser .smn-relation-category[data-category="Place"] .smn-entity.active {
	background-color: #397e93;
}

#refer-plugin .smn-tabcontent.relation-browser .smn-relation-category[data-category="Event"] .smn-entity.active {
	background-color: #d68f30;
}

#refer-plugin .smn-tabcontent.relation-browser .smn-relation-category[data-category="Person"] .smn-entity, #refer-plugin .smn-tabcontent.timeline .timelineItem[data-category="Person"] {
	background-color: #73A97A;
	/*background-color: #375239;*/
}

#refer-plugin .smn-tabcontent.relation-browser .smn-relation-category[data-category="Thing"] .smn-entity, #refer-plugin .smn-tabcontent.timeline .timelineItem {
	background-color: #767aa4;
	/*background-color: #35395b;*/
}

#refer-plugin .smn-tabcontent.relation-browser .smn-relation-category[data-category="Place"] .smn-entity, #refer-plugin .smn-tabcontent.timeline .timelineItem[data-category="Place"] {
	background-color: #397e93;
	/*background-color: #284464;*/
}

#refer-plugin .smn-tabcontent.relation-browser .smn-relation-category[data-category="Event"] .smn-entity, #refer-plugin .smn-tabcontent.timeline .timelineItem[data-category="Event"] {
	background-color: #e79738;
	/*background-color: #754d00;*/
}

#refer-plugin .smn-tabcontent.relation-browser .smn-relation-category .smn-entity .smn-entity-label, body > .smn-entity .smn-entity-label {
	color: #fff;
}

body > .smn-entity .smn-entity-label {
	background-color: rgba(0,0,0,0);
	color: #fff;
}

body > .smn-entity img {
	opacity: .3;
}

.smn-relation-category[data-category="Person"] .smn-entity .smn-entity-label {
	background: rgba(115, 186, 117, .8);
}

.smn-relation-category[data-category="Person"] .smn-entity.active .smn-entity-label {
	background: rgba(115, 186, 117, 1);
}

.smn-relation-category[data-category="Thing"] .smn-entity .smn-entity-label {
	background: rgba(172, 154, 194, .8)
}

.smn-relation-category[data-category="Thing"] .smn-entity.active .smn-entity-label {
	background: rgba(172, 154, 194, 1);
}

.smn-relation-category[data-category="Place"] .smn-entity .smn-entity-label {
	background: rgba(98, 164, 188, .8);
}

.smn-relation-category[data-category="Place"] .smn-entity.active .smn-entity-label {
	background: rgba(98, 164, 188, 1);
}

.smn-relation-category[data-category="Event"] .smn-entity .smn-entity-label {
	background: rgba(231, 176, 83, .8);
}

.smn-relation-category[data-category="Event"] .smn-entity.active .smn-entity-label {
	background: rgba(231, 176, 83, 1);
}

#refer-plugin .smn-tabcontent.relation-browser .smn-relation-category .smn-entity img, body > .smn-entity img {
	background: #999;
}

#refer-plugin .smn-tabcontent.relation-browser .smn-relation-category .smn-entity .smn-entity-content.inactive {
	opacity: 1;
	background-color: #fff;
	-moz-transition-property: opacity;
	-moz-transition-duration: 1s;
	-webkit-transition-property: opacity;
	-webkit-transition-duration: 1s;
	transition-property: opacity;
	transition-duration: 1s;
}

#refer-plugin .smn-relation-category[data-category="Person"] .smn-pagination-page, .smn-page-anchor-category[data-category="Person"] .smn-page-anchor {
	background-color: #738E75;
}

#refer-plugin .smn-relation-category[data-category="Person"] .smn-pagination-page.active, .smn-page-anchor-category[data-category="Person"] .smn-page-anchor.active {
	background-color: #73A97A;
}

#refer-plugin .smn-relation-category[data-category="Thing"] .smn-pagination-page, .smn-page-anchor-category[data-category="Thing"] .smn-page-anchor {
	background-color: #767aa4;
}

#refer-plugin .smn-relation-category[data-category="Thing"] .smn-pagination-page.active, .smn-page-anchor-category[data-category="Thing"] .smn-page-anchor.active {
	background-color: #767aa4;
}

#refer-plugin .smn-relation-category[data-category="Place"] .smn-pagination-page, .smn-page-anchor-category[data-category="Place"] .smn-page-anchor {
	background-color: #397e93;
}

#refer-plugin .smn-relation-category[data-category="Place"] .smn-pagination-page.active, .smn-page-anchor-category[data-category="Place"] .smn-page-anchor.active {
	background-color: #397e93;
}

#refer-plugin .smn-relation-category[data-category="Event"] .smn-pagination-page, .smn-page-anchor-category[data-category="Event"] .smn-page-anchor {
	background-color: #e79738;
}

#refer-plugin .smn-relation-category[data-category="Event"] .smn-pagination-page.active, .smn-page-anchor-category[data-category="Event"] .smn-page-anchor.active {
	background-color: #e79738;
}

/* Result (current entity & found articles) */


#refer-plugin .smn-result .smn-current-entity {
	background-color: #767aa4;
}

#refer-plugin .smn-result[data-category="Person"] .smn-current-entity {
	background-color: #73A97A;
}

#refer-plugin .smn-result[data-category="Thing"] .smn-current-entity {
	background-color: #767aa4;
}

#refer-plugin .smn-result[data-category="Place"] .smn-current-entity {
	background-color: #397e93;
}

#refer-plugin .smn-result[data-category="Event"] .smn-current-entity {
	background-color: #e79738;
}

#refer-plugin .smn-result .smn-current-entity .smn-entity-depiction {
	background: rgba(200,200,200,.3);
}

#refer-plugin .smn-result .smn-current-entity .smn-entity-title {
	color: #fff;
}

#refer-plugin .smn-result .smn-current-entity .smn-entity-abstract {
	color: #fff;
}

#refer-plugin .smn-result .smn-current-entity .smn-entity-references a {
	color: #efefef;
}

#refer-plugin .smn-result .smn-current-entity .smn-entity-references a:hover {
	color: #fff;
}

#refer-plugin .smn-result .smn-result-arrow {
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;
	border-right: 10px solid #767aa4;
}

#refer-plugin .smn-result[data-category="Person"] .smn-result-arrow {
	border-right: 10px solid #73A97A;
}

#refer-plugin .smn-result[data-category="Thing"] .smn-result-arrow {
	border-right: 10px solid #767aa4;
}

#refer-plugin .smn-result[data-category="Place"] .smn-result-arrow {
	border-right: 10px solid #397e93;
}

#refer-plugin .smn-result[data-category="Event"] .smn-result-arrow {
	border-right: 10px solid #e79738;
}

#refer-plugin .smn-result .smn-found-articles {
	background: #fff;
	outline: 1px solid #afafaf;
}

#refer-plugin .smn-result .smn-found-articles .smn-article {
	background-color: #fff;
	border-color: transparent transparent #cfcfcf transparent;
	border-width: 0 1px 1px 1px;
	border-style: solid;
	color: #555a5f;
}

#refer-plugin .smn-result .smn-found-articles .smn-article:hover {
	color: #000;
	border-left-color: #cfcfcf;
	border-right-color: #cfcfcf;
}

#refer-plugin .smn-result .smn-found-articles .smn-article.active {
	background: #61676F;
	color: #fff;
}

#refer-plugin .smn-result .smn-found-articles .smn-article .smn-article-id {
	color: #454A4F;
}

/* Tab Content Timeline */

#refer-plugin .smn-tabcontent.timeline {
	background: rgb(239,239,239); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(239,239,239,1) 0px, rgba(255,255,255,1) 20px); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0px,rgba(239,239,239,1)), color-stop(20px,rgba(255,255,255,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(239,239,239,1) 0px,rgba(255,255,255,1) 20px); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(239,239,239,1) 0px,rgba(255,255,255,1) 20px); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(239,239,239,1) 0px,rgba(255,255,255,1) 20px); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(239,239,239,1) 0px,rgba(255,255,255,1) 20px); /* W3C */
}

#refer-plugin .smn-tabcontent.timeline .vis.timeline .timeaxis .text {
	color: #454a4f;
}

#refer-plugin .smn-tabcontent.timeline .vis.timeline .timeaxis .grid.minor {
	border-color: #dfdfdf;
}


#refer-plugin .smn-tabcontent.timeline .vis.timeline .item {
	border-color: #e79738;
    color: #e79738;
}

#refer-plugin .smn-tabcontent.timeline .vis.timeline .item.dot, #refer-plugin .smn-tabcontent.timeline .vis.timeline .item.line {
	opacity: .3;
}

#refer-plugin .smn-tabcontent.timeline .vis.timeline .item.selected {
	border-color: #e79738 !important;
	color: #e79738 !important;
	opacity: 1;
}

#refer-plugin .smn-tabcontent.timeline .vis.timeline .item.line.selected, #refer-plugin .smn-tabcontent.timeline .vis.timeline .item.box.selected {
	outline: 1.4px solid #e79738;
}

/* Slider Handle */

#refer-plugin .smn-handle {
	background-color: #fff;
	border-left: 1px solid #fff;
	border-right: 1px solid #fff;
	border-bottom: 1px solid #fff;
	box-shadow: 0 3px 3px #666;
	background-image: url(./icons/icon_angle-down.png);
}

#refer-plugin .smn-content .smn-handle.active {
	background-image: url(./icons/icon_angle-up.png);
}