
:root {
  --menuWidth: 300px;
  
  --fieldColor: #ddd;
  --fieldColorLighter: #fff;
  --fieldTextColor: #000;
  
  --themeColor: #d40;
}

* {
  font-family: "Arial";
  font-size: 15pt;
}

div {
  margin: 0px;
}

h1 {
  margin: 0px;
}

h2, h3, h4 {
  margin-top: 40px;
  margin-bottom: 10px;
}

a {
  color: var(--fieldTextColor);
}

ol {
  margin-top: 5px;
}

.block {
  display:block;
}

.breakAll {
  /* chrome did not break links in .tile_rect, but layouted them below the image */
  word-break: break-all;
}

.white {
  color: #fff;
}

.nodeco {
  text-decoration: none;
}

#menubar_left {
  position:fixed;
  
  left:0px;
  top: 0px;
  width: var(--menuWidth);
  bottom: 0px;
  
  background-color: #1c1c1c;
  color: #fff;
  
  padding-top:10px;
}

#menubar_left > * {
  padding-left:10px;
}

#uberspace_container {
  position: fixed;
  display: flex;
  left: 0px;
  bottom: 0px;
  width: var(--menuWidth);
  height: 60px;
  
  vertical-align: bottom;
}

#uberspace_container span {
  font-size: 10pt;
  align-self: flex-end;
  margin: 10px;
}

#uberspace_badge {
  position: absolute;
  bottom: 0px;
  right:10px;
  width: 100px;
}

#uberspace_badge > img {
  width: 100%;
}

h1 {
  font-size: 25pt;
  cursor: pointer;
}

.subcaption {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 15pt;
  padding-left: 50px;
  
  cursor: pointer;
}

#menubar_left > hr {
  margin: 0px;
  padding-left: 0px;
  width:90%;
  border: 0px solid #fff;
  border-top: 1px solid #fff;
}

#menubar_left > .menubar_button {
  display: block;
  
  cursor: pointer;
  padding-top: 5px;
  padding-bottom: 5px;
  margin-left: 10px;
  padding-left: 10px;
  
  border-bottom: 2px solid #ccc;
  
  text-decoration: none;
  color: #fff;
}

.vspacer {
  height: 10px;
}

.vspacer2 {
  height: 20px;
}

#field {
  position:absolute;
  
  left: var(--menuWidth);
  top: 0px;
  right: 0px;
  
  min-height: calc(100% - 54px);
  
  background-color: var(--fieldColor);
  box-shadow: 0px 0px 25px #000 inset;
  
  color: var(--fieldTextColor);
  
  padding-left: 20px;
  padding-right: 20px;
  
  padding-bottom: 54px;
}

#shield_spacer {
  height: calc(var(--shieldSize) - 20px);
}

:root {
  --lg_w: 160px;
  --lg_h: 110px;
}

.lg {
  position: absolute;
  width: var(--lg_w);
  left: calc(50% - var(--lg_w) * 0.5);
  top: 50px;
  
  text-align: center;
  
  z-index: 100;
}

:root {
  --shieldSize: 250px;
}

#sec_shield {
  position: absolute;
  left: calc(50% - 0.5 * (var(--shieldSize) + 10px));
  top: 10px;
  width: var(--shieldSize);
  height: var(--shieldSize);
  
  background-color: var(--themeColor);
  border-radius: 50%;
  border: 5px solid var(--fieldTextColor);
  
  box-shadow: 0px 0px 25px #000, 0px 0px 50px #000 inset;
  
  text-align: center;
  
  z-index: 100;
}

#sec_shield > img {
  margin-top: 35px;
  width: var(--lg_w);
  height: calc(var(--lg_h) + 10px);
}

#sec_shield > span {
  display: inline-block;
  margin-top: 5px;
  text-shadow: 0px 0px 10px var(--fieldTextColor);
  
  font-size: 15pt;
}

#sec_split_y {
  position: absolute;
  left: 0px;
  top: calc(var(--shieldSize) * 0.75 + 5px - 4px);
  
  width: 100%;
  height: 6px;  
  
  background-color: var(--fieldTextColor);
  
  box-shadow: 0px 0px 15px #000;
  
  z-index: 90;
}

.tile_bar {
  display: block;
  margin: 5px;
  padding: 10px;
  
  height: 55px;
  
  background-color: #fa0;
  
  box-shadow: 0px 0px 20px #000 inset;
  
  overflow: hidden;
}

.tile_rect {
  position: relative;
  display: inline-block;
  margin: 5px;
  
  padding: 15px;
  
  width:230px;
  height: 80px;
  
  background-color: #6a0;
  box-shadow: 0px 0px 20px #000 inset;
}

.tile_rect > .ref {
  position: relative;
  
  float: right;
  
  text-align: center;
  
  font-size: 16px;
  
  top: -25px;
  right: -25px;
  
  height: 20px;
  width: 20px;
  background-color: #8a0;
  
  border: 2px solid #000;
}

.tile_bar > img {
  width: 55px;
  height: 55px;
  
  float: left;
  margin-right: 10px;
}

.tile_rect > img {
  width: 80px;
  height: 80px;
  
  float: left;
  margin-right: 10px;
}

.tile_rect > div:last-child {
  position: absolute;
  display: block;
  
  _height: 80px;
  overflow: hidden;
  
  top: 15px;
  left: 105px;
  right: 15px;
  bottom: 15px;
}

.tile_rect > div > b, .tile_bar > b {
  display: block;
}

.tile_rect > div > span, .tile_bar > span {
  font-size: 12pt;
}

.terms {
  position: absolute;
  
  border-top: 2px solid #000;
  padding: 2px 0px 0px 0px;
  text-align: right;
  right: 20px;
  
  height: 30px;
  top: calc(100% - 34px);
}

.terms, .terms > a {
  font-size: 13px !important;
}

.bibtex {
  font-family: "courier";
  display: inline-block;
  margin: 0px;
  margin-left: 10px;
  padding: 10px;
  border: 1px solid #000;
  background-color: var(--fieldColorLighter);
  
  max-height: 200px;
  overflow: scroll;
}

.notice {
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  padding: 10px;
  
  background-color: #fff;
}

.active_image {
    cursor: pointer;
}

.active_image_frame {
    position:fixed;
    top:0px;
    left:0px;
    right:0px;
    bottom: 0px;
    background-color: rgba(0,0,0,0.6);

    text-align : center;
    padding-top:1cm;
    z-index: 200;
}

.active_image_actv {
    position:fixed;
    cursor: default;
    box-shadow: 0 0 1cm #000, 0 0 1cm #000;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);
    -margin-left: -25%;
    -margin-top: -25%;
}
