/*

TODO

pubsub: news.movim.eu
  node: fake-news
  item: fdef84f5-e3e1-41ea-9b68-af4bb9130f77
 title: #14October2023EpochEclipse
  date: Fri, 15 Jan 2021 20:24:46

*/

/*
a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}
*/

a, body {
  background: #000;
  color: #eee;
  max-width: 100%;
}

code, pre {
  overflow: auto;
  max-height: 100%;
  max-width: 100%; }

img, svg, video {
  max-height: 500px;
  width: auto;
  height: auto;
}

input, textarea {
  width: 80%; }

/*
dl, input, textarea {
  margin: 0 10% 0 10%; }
*/

button {
  color: #000;
  margin-top: 1em; }

h1#title,
h2#subtitle,
nav#xslt-navigation-top,
nav#xslt-navigation-bottom {
  text-align: center;
  text-transform: uppercase;
  line-height: 140%;
}

h5.related > a {
  margin-right: 5px;
  text-decoration: none;
  user-select: none;

}

h3.title > a {
  display: block;
  padding-top: 50px;
}

nav#top > * {
  /* width: 20%; */
  /* min-width: 5%; */
  /* max-width: 10%; */
}

/* 
nav#bottom > * {
  width: 5%;
}
*/

nav#xslt-navigation-top a,
nav#xslt-navigation-bottom a {
  display: inline-table;
  letter-spacing: 5px;
  margin: 5px;
  width: 10%;
  text-decoration: none;
}

header, #menu {
  line-height: 120%;
  padding-bottom: 20px;
}

#menu > h3 {
  padding-left: 2%;
}

#menu > ol > li {
  padding: 5px;
}

nav p {
  all: unset;
}

nav#xslt-navigation-top,
nav#xslt-navigation-bottom {
  border-bottom: 1px solid #eee;
  line-height: 150%;
  padding: 10px;
  user-select: none;
}

nav#xslt-navigation-bottom {
  border-top: 1px solid #eee;
  margin-top: 2em;
}

nav#xslt-navigation-posts span {
  height: 1px;
  margin: 0.3em 1em 0 1em;
  /* margin: 1em; */
  text-align: center;
  user-select: none;
  width: 15%;
}

nav#xslt-navigation-posts a {
  font-size: 85%;
  text-transform: uppercase;
  text-decoration: none;
  user-select: none;
}

span#xslt-navigation-previous {
  float: inline-start;
}

span#xslt-navigation-proceed {
  float: inline-end;
}

#articles {
  min-height: 80vh;
  display: flex;
}

#articles #journal {
  margin-left: 2%;
  margin-right: 2%;
  margin-top: 2%;
  min-width: 350px;
  padding-bottom: 0.67em;
  width: 20%;
}

#journal {
  margin: auto;
  padding-top: 50px;
}

article {
  margin: auto;
  margin-bottom: 10%;
  margin-left: 2%;
  margin-top: 2%;
}

article section {
  margin: 1em;
  padding-left: 2%;
  padding-right: 10%;
}

#articles #journal ol,
#articles #journal ul {
  /* height: 500px; */
  line-height: 160%;
  overflow: auto;
  word-wrap: break-word;
}

article section.content {
  font-size: 120%;
  line-height: 200%;
  /* text-align: justify; */
  /* white-space: break-spaces; */
  word-wrap: break-word;
}

#articles section.entry {
  padding-bottom: 0.67em;
}

#selection-page {
  background: #000;
  bottom: 0;
  left: 0;
  line-height: 200%;
  overflow: overlay;
  position: fixed;
  right: 0;
  text-align: center;
  top: 0;
}

#selection-page p {
  margin-left: 10%;
  margin-right: 10%;
}

#selection-page span {
  display: inline-grid;
  margin: 2%
}

#selection-page img {
  height: 128px;
  margin-bottom: 20%;
  margin-top: 20%;
  width: 128px;
}

#selection-page #selection {
  margin-bottom: 2%;
}

#selection-page #return {
  /* font-style: italic; */
  margin: auto;
}

#selection-link, #selection-page #return {
  cursor: pointer;
  text-decoration: underline;
}

.content[type='text'] {
  white-space: pre-wrap;
}

#articles section.entry section.tags {
  display: inline-flex;
  /* display: ruby; */
  flex-wrap: wrap;
}

#articles section.entry section.tags > span {
  margin: 5px;
}

.enclosures {
  cursor: help;
  direction: ltr;
  margin: 5px auto 15px 1%;
  padding: 15px;
  padding: 1em;
  /* background: #222; */
  border: 1px solid GrayText;
  border-radius: 4px;
  border-radius: .5em;
  /* color: #525c66; */
  border-left: double;
  max-width: 80%;
}

.enclosure {
  margin: 3px;
}

.enclosure a {
  margin: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.enclosure > span[icon='atom']:before,
.enclosure > span[icon='html5']:before,
.enclosure > span[icon='rss']:before {
  content: '📰';
}

.enclosure > span[icon='audio']:before{
  content: '🎼️';
}

.enclosure > span[icon]:before {
  content: '📄️';
}

.enclosure > span[icon='executable']:before {
  content: '📦️';
}

.enclosure > span[icon='image']:before {
  content: '🖼️';
}

.enclosure > span[icon='video']:before {
  content: '📽️';
}

/*

.enclosure > span.audio:after {
  content: ' (Audio file) ';
}

.enclosure > span:after {
  content: ' (Document file) ';
}

.enclosure > span.executable:after{
  content: ' (Executable file) ';
}

.enclosure > span.image:after {
  content: ' (Image file) ';
}

.enclosure > span.video:after {
  content: ' (Video file) ';
}

*/

footer {
  font-size: 80%;
  line-height: 30px;
  margin: auto;
  margin-top: 0.67em;
  max-width: 80%;
  padding: 10px;
  text-align: center;
  user-select: none;
}

blockquote:last-child {
  border: 1px solid #eee;
  border-radius: 5px;
  font-size: 70%;
  padding: 10px;
}

blockquote:before {
  content: "ʺ";
  font-size: 140%;
}

@media (max-width: 1550px) {
  #articles {
    display: unset;
  }

  #articles #journal {
    margin-right: unset;
    min-width: unset;
    width: unset;
  }
}
