/**
 * @file
 * Node presentation.
 */

.node--unpublished {
  background-color: #fff4f4;
}

.node--view-mode-teaser {
  border-bottom: 1px dashed #ccc;
  padding: 0 0 .5em 0;
}

.node__links {
  margin-block: 0.5em;
  clear: both;
}

.node__links > ul.links.inline {
  padding-inline: 0;
}

.node__links li:first-child {
  padding-inline-start: 0;
}

.node__links li {
  display: inline;
  padding: 0 0.5em;
  border-right: 1px solid #d3d3d3;
}

[dir="rtl"] .node__links li {
  border-right: none;
  border-left: 1px solid #d3d3d3;
}

.node__links li:last-of-type {
  border-right: none;
}

[dir="rtl"] .node__links li:last-of-type {
  border-left: none;
}

/* Content, comments and preview controls. */
.node__content ul:not(.pager__items, .book-pager, .menu, .links) {
  padding: 0;
  padding-inline: 2em 0;
}

.signature p {
  font-size: .95em;
  margin: 7px 0;
}

.node__submitted,
p.comment__submitted,
.submitted {
  font-size: .9em;
  margin: 0;
}

.comment {
  border: 1px solid #d3d3d3;
  padding: .5em;
  margin-bottom: 1em;
}

.comment-title {
  padding: .1em 1em;
}

.node-preview-container {
  position: fixed;
  z-index: 499;
  width: 100%;
  padding: 30px 0 10px;
  background: #efefef;
  text-align: center;
}

.node-preview-backlink {
  display: inline-block;
  margin: 5px 10px;
  padding: .5em 1em;
  background-color: #d3eda3;
  border: 1px solid #ccc;
  border-radius: 0;
  box-sizing: border-box;
}

.node-preview-backlink:focus,
.node-preview-backlink:hover {
  background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.05) 40%, rgba(0, 0, 0, 0.10));
}

.node-preview-container .form-item-view-mode {
  display: inline-block;
  margin: 5px;
}

.rnd .node-preview-backlink {
  border-radius: 5px;
}

.rnd .comment {
  border-radius: 5px;
}
