h2:not(:nth-child(2)) {
  clear: both;
}

.listitem {
  text-decoration: none;
  display: block;
  border-top: 1px solid rgba(0, 0, 0, 0.5);
  margin: 0px 20px;
}

.listlink {
  color: inherit;
}

.listlink:hover {
  background: rgba(0, 0, 0, 0.05);
}

.listdate {
  font-size: smaller;
  float: right;
  font-style: italic;
}

.shoutboxtime {
  float: right;
  color: rgba(0, 0, 0, 0.4);
  font-size: small;
  margin: 0px 5px;
}

.shoutboxname {
  font-weight: bold;
  float: left;
  margin-right: 6px;
}

.shoutboxmessage {
  display: inline;
}

.shoutboxline {
  margin: 0px 0px 2px;
  padding: 0px 0px 0px 5px;
  min-height: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  clear: both;
}

.zoomimgouter,
.zoomimgouter-right {
  max-width: 30%;
  float: left;
  box-shadow: 0px 0px 5px #000;
  background: rgba(205, 217, 210, 0.9);
  margin: 5px 5px 5px 20px;
}

.zoomimgouter-right {
  float: right;
  clear: right;
}

.zoomimg {
  max-width: 100%;
  height: auto;
  cursor: zoom-in;
}

.zoomimgcaption {
  padding: 0px 7px 2px;
}

#zoomedimgouter {
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  background: rgba(0, 0, 0, 0.5);
  z-index: 100000;
  transition: background 0.5s;
}

.zoomedimg {
  position: absolute;
  box-shadow: 0px 0px 20px #000;
  transition: left 0.5s, top 0.5s, width 0.5s, height 0.5s;
}

#zoomedimgleft,
#zoomedimgright {
  width: 30px;
  background-position: center;
  cursor: pointer;
  position: absolute;
  background-repeat: no-repeat;
  z-index: 100001;
}

#zoomedimgleft:hover {
  background-image: url("/imgs/imgleft.png");
  background-color: rgba(0, 0, 0, 0.2);
}

#zoomedimgright:hover {
  background-image: url("/imgs/imgright.png");
  background-color: rgba(0, 0, 0, 0.2);
}

#zoomedimgtitle {
  font-size: 28px;
  font-family: sans-serif;
  position: absolute;
  height: 38px;
  text-shadow: 0px 0px 5px black;
  margin-top: -38px;
  color: white;
  text-align: center;
  display: none;
  opacity: 0;
  transition: opacity 0.5s;
}

#zoomedimgdescr {
  font-size: 16px;
  font-family: sans-serif;
  position: absolute;
  text-shadow: 0px 0px 2px black;
  color: white;
  text-align: center;
  padding: 5px;
  box-sizing: border-box;
  box-shadow: 0px 0px 5px #000;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  opacity: 0;
  transition: opacity 0.5s;
  border-radius: 0px 0px 10px 10px;
}

.hasalt1 {
  border: 1px solid #544d64;
  text-align: center;
  background: rgba(205, 217, 210, 0.9);
  padding: 0.3em;
  margin: 0.9em;
  margin-right: -0.5em;
  float: right;
  max-width: 18em;
  overflow: hidden;
}
.hasalt1::before {
  content: "";
  background: url("/apps/alt1/icon.png");
  width: 2em;
  height: 2em;
  float: left;
  background-size: contain;
}

code {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 1px 3px;
}

.tip,
.devnote {
  padding: 5px;
  background: rgba(128, 128, 128, 0.5);
  border-radius: 10px;
  margin: 5px 0px;
  min-height: 33px;
}

.tip::before {
  content: url("/contentimgs/info.png");
  margin-right: 5px;
  float: left;
}

.devnote::before {
  content: url("/contentimgs/dev.png");
  margin-right: 5px;
  float: left;
}

.appframe {
  border: 4px solid #3a455f;
  -moz-border-image: url("/nis/alt1-currentskin/borderSprite.png") 4 repeat;
  border-image: url("/nis/alt1-currentskin/borderSprite.png") 4 repeat;
  border-width: 4px;
  box-sizing: border-box;
}

.applink {
  text-decoration: none;
}

.applink > div {
  width: 100%;
  height: 26px;
  box-shadow: 0px 0px 5px #fff inset;
  padding: 5px;
  padding-left: 30px;
  box-sizing: border-box;
  font-size: 16px;
  margin: 4px;
  overflow: hidden;
  border-radius: 3px;
  background: radial-gradient(rgba(0, 0, 0, 0), rgba(230, 230, 255, 0.1));
  cursor: pointer;
  position: relative;
  text-decoration: none;
}

.applink > div > img {
  width: 20px;
  height: 20px;
  position: absolute;
  left: 5px;
  top: 4px;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2) 60%, rgba(255, 255, 255, 0));
}

.contentboxinner table {
  border: 1px solid #bbb;
  width: 100%;
  max-width: 500px;
}
.contentboxinner tr,
.contentboxinner td {
  padding: 0.1em 0.2em;
}
.contentboxinner tr:nth-child(odd) {
  background: rgba(0, 0, 0, 0.1);
}
.contentboxinner tr:nth-child(even) {
  background: rgba(0, 0, 0, 0.05);
}