.dataset-item {
  border-bottom: 1px dotted @genericBorderColor;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.dataset-item:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.dataset-heading {
  font-size: 16px;
  margin-top: 0;
  margin-bottom: 8px;
  line-height: 1.3;
}

.dataset-heading a {
  color: @listingHeadingTextColor;
}

.dataset-heading .label {
  position: relative;
  top: -1px;
}

.dataset-private {
  margin-right: 10px;
  text-transform: uppercase;
  .icon-lock {
    width: 9px;
  }
  &.pull-right {
    margin-right: 0;
  }
}

.dataset-resources {
  margin-top: 8px;
}

.dataset-resources li {
  display: inline;
}

.dataset-resources li a {
  background-color: @resourceFormatBackground;
}

.dataset-heading .popular {
  top: 0;
}

// Resource List

.resource-list {
  .unstyled;
  margin: -10px -10px 10px -10px;
}

.resource-item {
  position: relative;
  padding: 10px 10px 10px 60px;
  margin-bottom: 0px;
  .border-radius(3px);
  &:hover {
    background-color: @layoutBackgroundColor;
  }
}

.resource-item .heading {
  color: @layoutBoldColor;
  font-size: 14px;
  font-weight: bold;
}

.resource-item .format-label {
  position: absolute;
  top: 10px;
  left: 10px;
}

.resource-item .description {
  font-size: 12px;
  margin-bottom: 0;
}

.resource-item .btn-group {
  position: absolute;
  top: 14px;
  right: 10px;
}

// Dataset Forms

.dataset-resource-form .dataset-form-resource-types {
  margin-bottom: 5px;
}

.dataset-form-resource-types .ckan-icon {
  position: relative;
  top: 3px;
}

.dataset-form-resource-types .radio {
  font-weight: normal;
  padding-left: 0;
  padding-right: 18px;
}

.dataset-form-resource-types label {
  position: relative;
}

.dataset-form-resource-types input[type=radio]:checked+label {
  font-weight: bold;
}

.dataset-form-resource-types input[type=radio]:checked+label:after {
  .ckan-icon;
  .ckan-icon-callout;
  display: block;
  content: "";
  position: absolute;
  top: auto;
  left: 0;
  bottom: -12px;
}

.dataset-form-resource-types input[type=radio] {
  display: none;
}

// Tag List

.tag-list {
  .unstyled;
  padding: 10px 10px 5px 10px;
}

.tag-list li {
  display: inline-block;
  margin-right: 5px;
}

.tag-list li:last-child {
  margin-right: 0;
}

// Additional Info

.additional-info td,
.additional-info th {
  width: 50%;
}

// FORMATS

.label[data-format=html],
.label[data-format*=html] {
  background-color: #55a1ce;
}

.label[data-format=json],
.label[data-format*=json] {
  background-color: #ef7100;
}

.label[data-format=xml],
.label[data-format*=xml] {
  background-color: #ef7100;
}

.label[data-format=text],
.label[data-format*=text] {
  background-color: #74cbec;
}

.label[data-format=csv],
.label[data-format*=csv] {
  background-color: #dfb100;
}

.label[data-format=xls],
.label[data-format*=xls] {
  background-color: #2db55d;
}

.label[data-format=zip],
.label[data-format*=zip] {
  background-color: #686868;
}

.label[data-format=api],
.label[data-format*=api] {
  background-color: #ec96be;
}

.label[data-format=pdf],
.label[data-format*=pdf] {
  background-color: #e0051e;
}

.label[data-format=rdf],
.label[data-format*=rdf],
.label[data-format*=nquad],
.label[data-format*=ntriples],
.label[data-format*=turtle] {
  background-color: #0b4498;
}
