/* General styles */
body {
  padding-top: 60px;
}

/* Navigation bar */

.navbar h1 {
  margin-top: 0;
}

h1 .navbar-brand {
  font-size: 100%;
  font-weight: bold;
  white-space: nowrap;
  padding-left: 20px;
}

.navbar-default a.navbar-brand, .navbar-default a.navbar-brand:visited {
  color: #f0f0f0;
}

.navbar .dropdown-menu {
  z-index: 10000;
}

.navbar-default {
/*  background: linear-gradient( #8c9eff, #8c9eff 80%, rgba(140, 158, 255, 0.3) ); */
background: #8c9eff; /* Old browsers */
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzhjOWVmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjgwJSIgc3RvcC1jb2xvcj0iIzhjOWVmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM4YzllZmYiIHN0b3Atb3BhY2l0eT0iMC4zIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
background: -moz-linear-gradient(top, rgba(140,158,255,1) 0%, rgba(140,158,255,1) 80%, rgba(140,158,255,0.3) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(140,158,255,1)), color-stop(80%,rgba(140,158,255,1)), color-stop(100%,rgba(140,158,255,0.3))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgba(140,158,255,1) 0%,rgba(140,158,255,1) 80%,rgba(140,158,255,0.3) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, rgba(140,158,255,1) 0%,rgba(140,158,255,1) 80%,rgba(140,158,255,0.3) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, rgba(140,158,255,1) 0%,rgba(140,158,255,1) 80%,rgba(140,158,255,0.3) 100%); /* IE10+ */
background: linear-gradient(to bottom, rgba(140,158,255,1) 0%,rgba(140,158,255,1) 80%,rgba(140,158,255,0.3) 100%); /* W3C */
/*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#8c9eff', endColorstr='#4d8c9eff',GradientType=0 ); /* IE6-8 */}

.navbar {
  border: 0;
  border-radius: 0;
  position: fixed;
  top: 0;
  z-index: 9999;
  width: 100%;
}

.navbar-default .navbar-nav > li > a,
.navbar-default .navbar-nav > li > a:visited {
  color: #f0f0f0;
}

.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
  background-color: #8c9eff;
  background-color: transparent;
  color: #444;
}
/* RDF resource presentation */

section {
  border: 1px solid #303f9f;
  border-radius: 5px;
  margin-bottom: 10px;
}

h1.resource-label {
  font-size: 12pt;
  font-weight: bold;
  background-color: #303f9f;
  color: white;
  margin: 0;
  padding: 5px;
}

h2.resource-uri, h4.resource-uri, .resource-types {
  font-size: 10pt;
  color: #666;
  margin: 0;
  padding: 3px 5px;
  background-color: #e8eaf6;
}

.resource-types > ul {
  margin: 0;
  padding: 0;
}

.resource-types ul {
  display: inline-block;
}

.resource-types li {
  padding-bottom: 0;
  padding: 0;
  margin-right: 0;
}

.resource-types li + li:before {
  padding: 0;
  margin: 0;
  content: ", ";
}

h2.resource-uri a,
h2.resource-uri a:visited,
h4.resource-uri a,
h4.resource-uri a:visited
{
  color: #666;
}

.rdf.object > ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rdf.object > ul li {
  display: inline-block;
  border-left: 0;
}

.rdf.object .rdf.resource > ul li {
  display: block;
}

ul ul {
  display: inline-block;
}

ul {
  list-style: none;
  padding: 5px 5px 1px 5px;
}

div.rdf {
  display: inline-block;
}

.rdf.predicate {
  vertical-align: top;
  padding: 1px 0px 1px 0px;
}

.rdf.object.multiple {
  margin: 0;
  padding: 0;
}

.rdf.object.first {
  margin-left: -4px;
}

.multiple > li > .rdf.object {
  vertical-align: top;
  padding: 1px 0px 1px 0px;
}

.rdf.predicate a, .rdf.predicate a:visited {
  text-align: right;
}

.multiple > li {
  padding-bottom: 0;
}

.rdf li {
  padding-bottom: 6px;
}

.property-value-row {
  padding: 2px 0;
  min-height: 25px;
}

.property-value-row.odd  {
  /*background-color: #f5f5f9;*/
}

.property-value-row + .property-value-row {
  border-top: 1px solid #e8eaf6;
}

.property-value-row.literal + .property-value-row.resource {
  border-top: 2px dotted #c5cae9;
}

ul.resource-properties.extensions {
  border-bottom: 2px dotted #c5cae9;
}

ul.resource-properties {
  margin-bottom: 0;
  width: 100%;
}

/* nested resources */
.nested {
  display: inline-block;
  border: 1px solid #3f51b5;
  border-radius: 4px;
  margin: 4px 0;
  max-width: 100%;
  width: 100%;
}

.rdf.resource.nested {
  margin: 0;
  border: 0;
}

.nested h3 {
  font-size: 10pt;
  margin: 0;
  color: white;
  background-color: #3f51b5;
  padding: 3px;
  border-radius: 3px;
  line-height: normal;
}

.nested h3.anonymous {
  font-size: 10pt;
  margin: 0;
  color: #eee;
  background-color: #3f51b5;
  padding: 3px;
  border-radius: 3px;
  line-height: normal;
}

.rdf.resource.nested .rdf.object {
  margin-left: -5px;
}

/* Loop in graph */

.loop h3.resource-label:before {
  font-family: FontAwesome;
  content: "\F112 ";
}

/* Literal lists */

.literal li.literal {
  display: inline-block;
  content: ", ";
}

.literal li.literal + li.literal:before {
  padding: 0;
  margin: 0;
  content: ", ";
}


/* Filter and sort actions */
.filter-actions {
  margin-left: 15px;
}

.filter-actions button {
  color: #5c6bc0;
}

/* Popovers */
.popover h3 {
  background-color: #c5cae9;
  border: 0;
}

.popover i.fa-minus-circle {
  color: #f57c00;
}

/* Item extensions */

.item-extension {
  min-height: 100px;
  height: 100px;
  margin: 10px;
}

.item-extension .olMap {
  height: 100px;
}

#resultsMap {
  height: 250px;
}
