/*RESET*/
html,*,*:before,*:after {
  box-sizing: border-box;
  font-size:1em;
  margin:0;
  outline:none;
  padding:0;
  position:relative;
}

/*BASE*/
@font-face {
  font-family: 'Roboto Slab';
  font-style:normal; font-weight: normal; font-display: swap;
  src: local('Roboto Slab'), url('/asset/RobotoSlab-Regular.woff2')
    format('woff2');
  ;
}
@font-face {
  font-family: 'Roboto Slab';
  font-style:normal; font-weight: bold; font-display: swap;
  src: local('Roboto Slab Bold'), url('/asset/RobotoSlab-Bold.woff2')
    format('woff2');
}
h1,h2,h3,span,a{
  font-family:"Roboto Slab";
}
h1 {
  font-size:1.5em;
  margin:1em 0 0.8em;
  padding:0;
  color:#000;
  text-shadow:#fff 0 0 0.1em;
}
h1 a {
  color:#000;
  padding:0 0 0.1em;
  border-bottom:#900 0.1em solid;
  text-decoration:none;
}
.results header {
  border-bottom:none;
}
.results p{
  margin:1em 0 0;
}
#search {
  float: right;
  vertical-align:bottom;
  z-index:2;
  max-width:35%;
  margin-left:0.2em;
}
#search span {
  user-select:none;
}
#search img {
  width:1em;
  height:1em;
  display:inline-block;
  vertical-align:middle;
  position:absolute;
  right:0.2em;
  top:0.2em;
  background:#fff;
  z-index:4;
}
#search input {
  width:100%;
  line-height:1.1em;
  font-size:1em;
  padding:0.1em;
  padding-right:1.2em;
  box-shadow:#000 0.1em 0.1em;
}
footer {
  font-size:1em;
  margin:0.5em auto 1em;
  max-width:50em;
  padding-top:1em;
  border-top:#900 0.2em solid;
  background:#fff;
}
footer span {
  margin:.8em;
  display:inline-block;
  font-size:0.8em;
}
body {
  font-family:sans-serif;
  line-height:1.5em;
  font-size:calc(0.75em + 0.75vmin);
  text-align:center;
  text-size-adjust:none;
  -webkit-text-size-adjust:none;
}
.mail {
  margin:1em 0 0;

}
.mail a {
  user-select:none;
  background:#fd9;
  color:#000;
  display:inline-block;
  font-weight:bold;
  margin:0;
  padding:0.5em;
  text-decoration:none;
  text-transform:uppercase;
  border:#eb6 0.1em solid;
  box-shadow:#a72 0.1em 0.1em;
}
.mail a:hover {
  text-shadow:none;
  background:#fea;
  border:#da4 0.1em solid;
}
article {
  max-width:30em;
  width:96%;
  display:inline-block;
  text-align:left;
  padding-top:2em;
  overflow-y:hidden;
}
article li  {
  margin-left:1.1em;
}
.mcol {
  columns:2;
  padding-top:1.5em;
  column-gap:2em;
  max-width:50em;
  orphans: 1;
  widows: 1;
}
@media(max-device-width:30em) {
  .mcol {columns:1; max-width:30em; }
}
header {
  width:96%;
  max-width:50em;
  margin:1em auto 0em;
  padding-bottom:1em;
  border-bottom:#900 0.2em solid;
}
header h1 {
  text-align:left;
  margin:0;
  padding:0;
}
article p, article ol, article ul {
  padding:0 0 1em;
  margin:0;
}
article h2 {
  margin:0 0 0.5em;
  padding:0;
}
article div {
  display:inline-block;
  width:100%;
}
section {
  width:97.5%;
  max-width:51em;
  display:inline-block;
  margin:1em 0;
}
section a {
  max-width:96%;
  width:49%;
  display:inline-block;
  vertical-align:top;
  overflow:hidden;
  color:#000;
  text-decoration:none;
  margin:0.2em 0;
  text-align:left;
}
section a div {
  width:100%;
  display:block;
  overflow:hidden;
  background-size:contain;
  background-image: url('/media/default.png');
  background-repeat:no-repeat;
  background-position:50% 50%;
}
section a div::before {
  float:left;
  margin-top:60%;
  content:" ";
}
@media (max-width:14em){ section a {width:100%; } }
@media (max-width:24em){ section.list a {width:100%; } }
@media (min-width:28em){
  section a {width:32.3%; }
  section.list a {width:49%; }
}
section a span {
  border-top:#999 0.2em solid;
  line-height:1em;
  display:block;
  width:100%;
  padding:0.2em;
}
section a:hover span {
  border-top:#a00 0.2em solid;
}
section .pin span {
  border-top:#900 0.2em solid;
  background:#ffeec0;
}
section .pin:hover span {
  background:#fff6d0;
}
#highlights {
  margin:0;
  padding:0;
  display:block;
  text-align:center;
}
#highlights .pin span {
  background:#fff;
  border-top:#999 0.2em solid;
}
#highlights .pin:hover span {
  border-top:#a00 0.2em solid;
}
#highlights h1 {
  font-size:1.2em;
}
#highlights header {
  margin:0 auto 0.1em;
  padding-bottom:0.3em;
}
#highlights section {
  margin-top:0.5em;
}
h2 {
  color:#900;
  text-shadow:#fff 0 0 0.1em;
  margin:0 0 0.5em;
  font-size:1.2em;
}
section.list {
  text-align:left;
}
section.list a {
  min-height:2em;
}
section.list a span {
  padding:0.2em 0.4em;
  background:none;
  border:none;
}
section.list a:hover {
  background:#fed;
}
a {
  outline: none;
  color:#966;
}
#nav {
  user-select:none;
  background:#900;
  background-image: linear-gradient(#800,#a00 60%);
  border-top:#600 0.2em solid;
  border-bottom:#700 0.2em solid;
}
nav {
  margin:0.1em 0.2em;
  text-transform:uppercase;
}
nav a {
  border-bottom:#800 0.15em solid;
  color:#fff;
  margin:0;
  padding:0.4em 0.2em 0.2em;
  letter-spacing:0.0;
  text-decoration:none;
  display:inline-block;
}
nav a:hover {
  border-bottom:#600 0.15em solid;
}
#crumb {
  border-top:#600 0.1em solid;
  background:#800;
  margin:0;
}
#crumb a {
  margin:0;
  border-bottom:#600 0.15em solid;
}
#crumb a:hover {
  border-bottom:#000 0.15em solid;
}
#home {
  display:block;
}
#home img {
  height:3.5em;
  width:10.5em;
  margin:0.4em 0 0.1em;
  vertical-align:bottom;
  display:inline-block;
}
#top {
  background:#444;
  background-image: linear-gradient(#000 75%,#444);
  width:100%;
  margin:0;
  border-bottom:#000 0.1em solid;
}
#mid {
  padding-bottom:1em;
  background-image:linear-gradient(#ddd,#fff 5em);
  padding-top:0.8em;
  overflow-x:hidden;
}
#items.search a span { /* search result section name */
  color:#888;
  margin:0;
  margin-left:0.2em;
  display:inline-block;
  line-height:0.9em;
  font-size:0.95em;
}

/* VIEWER */
#viewer a {
  display:inline-block;
  margin:0 0.5em;
  color:#666;
}
#viewer {
  width:99%;
  max-width:72em;
  margin:0 auto 0;
  overflow:hidden;
  position:relative;
  background:#eee;
  border:#000 2px solid;
  background-position:50% 50%;
}
#viewer span {
  background-size:cover;
  background-position:inherit;
  background-repeat:no-repeat;
  display:block;
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  transition:opacity 1s, background-position 1s;
}
#viewer.viewer-full {
  background:#000;
  background:rgba(0,0,0,0.9);
  bottom:0;
  left:0;
  position:fixed;
  right:0;
  top:0;
  width:100%;
  max-width:100%;
  z-index:100;
}
#viewer.viewer-full span {
  background-size:contain;
  background-position:50% 50%;
  transition:opacity 1s;
}
#viewer button {
  background:#000;
  background:rgba(0,0,0,0.5);
  border:#fff 0.1em solid;
  color:#fff;
  cursor:pointer;
  display:none;
  font-weight:bold;
  line-height:3em;
  padding:0.4em 0.5em;
  position:absolute;
  opacity:0.75;
  user-select:none;
  z-index:101;
  box-shadow:#000 0.1em 0.1em;
}
#viewer button:hover {
  color:#a00;
  border:#a00 0.1em solid;
}
#viewer button.viewer-goal {
  color:#0a0;
  border:#0a0 0.1em solid;
}
#viewer #viewer-fclose {
  top:0; right:0;
  border-right:none;
  border-top:none;
  border-radius:0 0 0 0.8em;
  width:3em;
  line-height:2.4em;
}
#viewer #viewer-fprev {
  top:45%; left:0;
  border-left:none;
  border-radius:0 0.9em 0.9em 0;
}
#viewer #viewer-fnext { top:45%; right:0;
  border-right:none;
  border-radius:0.9em 0 0 0.9em;
}
#viewer.viewer-full button {
  z-index:100;
  display:block;
}
#viewer:before {
  content:"";
  float:left;
  margin-top:47%;
}
#viewer-nav {
  width:100%;
  max-width:52em;
  margin:0.4em 0 0.4em;
  display:inline-block;
}
#viewer-nav button {
  user-select:none;
  cursor:pointer;
  margin:0.6em 0.72em;
  width:2.2em;
  padding:.08em;
  border:none;
  outline:none;
  background:#833;
  background-image: linear-gradient(#744,#833);
  color:#ddd;
  font-size:0.92em;
  box-shadow:#000 0.1em 0.1em;
}
#viewer-nav button:hover {
  background:#a00;
}
#viewer-nav button.viewer-cur {
  background:#a52;
}
#viewer-nav button.viewer-goal {
  background:#a35;
}
