@charset "UTF-8";
/* ***********************************************************************
 *
 *  File:   medilek.css
 *
 * ************************************************************************/

h1, h2 {
  text-align: center;
  margin-top: 10px;
}

h2.section {
  position: relative;
  margin: 30px 0 20px;
  padding: 6px 46px;
  color: #037;
  background-color: #dda;
  border-radius: 4px;
  box-shadow: 1px 1px 10px 1px #cba inset;
}

h3 {
  margin: 20px 0 10px;
  padding: 0 0 2px 2px;
  color: #037;
  font-size: 1.05em;
  border-bottom: 1px solid #bba;
  text-align: center;
}

a.totop {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  line-height: 26px;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  color: #fff;
  background-color: #683;
  border: 1px solid #567a2c;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transition: background-color 0.15s, box-shadow 0.15s;
}

a.totop:hover {
  background-color: #567a2c;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
}

div.container {
  padding-left: 10px;
  padding-right: 10px;
}

header.page-header {
  margin: -20px -10px 20px;
  width: calc(100% + 20px);
}

@media (max-width: 860px) {
  header.page-header {
    margin: -12px -10px 20px;
  }
}

div.article,
div.book {
  margin: 0 0 15px 0;
  padding: 10px 14px;
  border-radius: 10px;
  transition: box-shadow 0.2s ease;

  & p {
    margin: 10px 0 0;
    padding: 0;
    font-size: 1em;
  }
}

div.article {
  background-color: #ddc;
  border: 1px solid #999;
  box-shadow: 1px 1px 10px 1px #cba inset;
}

div.book {
  background-color: #eda;
  border: 2px solid #999;
}

div.article:hover,
div.book:hover {
  box-shadow: 1px 1px 12px 1px #997;
}

div.remark {
  font-style: italic;
}

span.author {
  padding-right: 15px;
  color: #036;
  font-weight: normal;
}

span.title {
  color: #333;
  font-size: small;
  font-weight: bold;
}

span.idx {
  float: right;
  font-weight: bold;
  color: #765;
}

span.pub {
  display: inline-block;
  margin-top: 6px;
  font-size: small;
}

span.pub b {
  float: left;
  margin-right: 5px;
}

span.err {
  color: red;
  text-decoration: line-through;
}

span.corr {
  color: darkgreen;
  font-weight: bold;
}

.container div.intro-wrap {
  position: relative;
}

details.sectmenu {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
}

details.sectmenu summary {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  width: 28px;
  list-style: none;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  border: 1px solid #ccc;
  border-radius: 3px;
  background-color: transparent;
  color: #777;
  user-select: none;
}

details.sectmenu summary:hover,
details.sectmenu[open] summary {
  background-color: #f2f2ee;
  color: #444;
}

details.sectmenu summary::-webkit-details-marker {
  display: none;
}

details.sectmenu nav {
  position: absolute;
  right: 0;
  min-width: 220px;
  margin-top: 4px;
  border: 1px solid #666;
  border-radius: 3px;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

details.sectmenu nav a {
  display: block;
  padding: 6px 12px;
  font-size: 13px;
  color: #336;
  text-decoration: none;
}

details.sectmenu nav a:hover {
  background-color: #eef;
  color: #000;
}

a.public,
a.dropbox {
  margin-left: 10px;
  padding: 3px 6px;
  border: 1px outset #999;
  border-radius: 3px;
  background-color: #ccc;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

a.dropbox {
  color: #009;
}

a.public {
  color: #900;
}

a.public:hover,
a.dropbox:hover {
  background-color: #eef;
  color: blue;
}