@import url('https://fonts.googleapis.com/css?family=Itim&subset=latin-ext');

html {
  padding: 0;
  margin: 0;
  height: 95%;
}

body {
  font-size: 1.35em;
  /* font-family: sans; */
  font-family: 'Itim', cursive;
  color: #000;
  background-color: #eee;
  height: 100%;
  margin: 0;
}

p.albumtitle {
  text-align: center;
  font-size: 2em;
  margin: 1.5em auto;
}

p.emptygal {
  text-align: center;
  font-size: 1.1em;
  color: #900;
}

p.galbar {
  text-align: left;
  font-size: 0.8em;
  margin: 0.5em;
  color: #777;
}

p.galbar a {
  text-decoration: none;
  color: #44f;
}

div.thumb {
  font-size: 1em;
  width: 13em;
  height: 13em;
  margin: 0.5em;
  padding: 0;
  float: left;
  text-align: center;
}

div.thumb a {
  text-decoration: none;
}

p.thumblabel {
  position: relative;
  bottom: 2em;
  display: inline-block;
  margin: 0;
  width: 100%;
}

p.thumblabel span {
  font-size: 0.9em;
  text-decoration: none;
  color: #000;
  background-color: rgba(255,255,255,0.7);
  margin: 0;
  padding: 0 0.4em;
  border-radius: 0.2em;
}

/* used as a 'thumbnail image' for empty subgalleries */
p.fakethumb {
  background: #333;
  font-size: 0.9em;
  color: #eee;
  height: 70%;
  margin: 0;
  border-radius: 0.2em;
}

img {
  background-color: #eee;
  border-radius: 0.2em;
}

img.thumb {
  max-width: 100%;
  max-height: 100%;
  border: 1px black solid;
  margin: 0;
}

img.big {
  max-width: 70%;
  max-height: 100%;
  border: 1px #222 solid;
  float: right;
  margin: 0.5em 0.5em 0 0;
  padding: 0;
}

div.left {
  margin: 0;
  padding: 2em 0 0 2em;
  max-width: 28%
}

p.actions {
  margin: 1em 0;
}

p.actionsinact {
  margin: 1em 0;
  color: #000;
  opacity: 0.2;
}

p.descr {
  background-color: #fff;
  border: 1px #ddd solid;
  margin: 4em 2em 0 0;
  padding: 0.5em;
  white-space: pre-line;
  border-radius: 0.5em;
}

p.poweredby {
  font-size: 0.8em;
  clear: both;
  margin: 0.5em 1em 0.2em auto;
  color: #aaa;
  text-align: right;
}

p.poweredby a {
  text-decoration: none;
  color: #aaa;
}
