:root {  color-scheme: light dark;}
@media (prefers-color-scheme: dark) {
  img.download {
    filter: invert(100%);
  }
}

a {
  font-size: 1.5em;
  font-weight: bold;
  text-decoration: none;
  color: light-dark(black, white);
}
/*a:active {
  text-decoration: underline;
}
a:link {
  text-decoration: none;

}
a:visited {
  text-decoration: none;
}
a:focus {
  text-decoration: underline;
}
a:hover {
  text-decoration: underline;
}*/
a.block {
  font-size: 1.5em;
  display: block;
}
a.block:hover {
  text-decoration: underline;
}
a.block:focus {
  text-decoration: underline;
}

a.lib {
  font-size:2em;
  font-weight:bold;
}
/*a.lib:hover {
  text-decoration: none;
}
a.lib:focus {
  text-decoration: none;*/
}

a.book {
  font-size:2em;
  font-weight: bold;
}
div.book {
  font-size: 1.5em;
  font-weight: bold;
  font-family: sans-serif;
  padding-bottom: 0.1em
}
a.author {
  font-size: 1.4em;
  font-weight: normal;
  font-style: oblique;
  font-family: sans-serif;
  display: block;
  color: light-dark(#444444, #c0c0c0);
}
a.item {
  font-size: 1.5em;
  font-weight: bold;
  color: light-dark(#444444, #c0c0c0);
}
a.item:hover  {
  text-decoration: underline;
}
a.item:focus {
  text-decoration: underline;
}
div.item {
  font-size: 1em;
  background: light-dark(#eeeeee, #303030);
  border-radius: 0.5em;
  margin: 0.5em;
  padding: 0.1em;
}

div.caption {
  font-size: 2em;
  font-weight: bold;
  padding-bottom: 0.1em;
  text-decoration: underline;
}

div.search {
  font-size:1.5em;
  font-weight: bold;
}

div.page-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-family: Arial,sans-serif;
  font-size: 1.2em;
}
span.page-current {
  display: flex;
  font-size: 1.2em;
  box-shadow: inset 0 0 0 1px;
  color: #548EAA;
  padding: 0 0.2em;
  height: 1.5em;
  min-width: 1.1em;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
}
span.page {
/*  font-size: 1.2em;*/

/*  text-decoration: none;*/
  padding: 0 0.2em;
  align-items: center;
}
span.arrow {
  color: light-dark(#C0C0C0, #4d4d4d);
  padding: 0 0.2em;
  align-items: center;
}
a.page {
  padding: 0 0.2em;
  font-size: 1.2em;
  font-weight: 500;
}

input {
  font-size: 1.5em;
  font-weight: bold;
  padding-bottom: 0.1em;
}
img.cover {
  height: 7.5em;
  float:left;
  margin-right: 0.5em;
}
svg.home {
  fill: light-dark(#000, #fff);
  width: 1em;
  height: 1em;
}
a.download {
  font-family: Arial,sans-serif;
  font-size: 1em;
  padding: 0.1em;
  border: 1px;
  border-radius: 3px;
  border-style: solid;
  border-color: #888;
}
img.download {
  height: 1em;
}
hr {
  color: light-dark(black, white);
  background-color: light-dark(black, white);
  height:3px;
}

/*for mobile device*/
@media screen and (max-width: 990px) {
  a {
    font-size: 2em;
  }
  a.lib {
    font-size:3em;
  }
  div.item {
    font-size: 1.5em;
  }
  div.caption {
    font-size: 3em;
  }
  div.book {
    font-size: 2em;
  }
  input {
    font-size: 2em;
  }
  img.cover {
    height: 9.5em;
  }
  img.home {
    height: 48px;
  }
  td {
    margin: 0.1em
  }

}

