@charset "UTF-8";

/*!
 * PukiWiki - Yet another WikiWikiWeb clone.
 * Copyright
 *   2002-2021 PukiWiki Development Team
 *   2001-2002 Originally written by yu-ji
 * License: GPL v2 or (at your option) any later version
 *
 * Default CSS
 */

pre,
dl,
ol,
p,
blockquote {
  line-height: 130%;
}
blockquote {
  margin-left: 32px;
}
body,
td {
  color: black;
  background-color: white;
  margin-left: 2%;
  margin-right: 2%;
  font-size: 90%;
  font-family: verdana, arial, helvetica, Sans-Serif;
}
textarea {
  box-sizing: border-box;
  max-width: 99.5%;
}

a:link {
  color: #215dc6;
  background-color: inherit;
  text-decoration: none;
}
a:active {
  color: #215dc6;
  background-color: #ccddee;
  text-decoration: none;
}
a:visited {
  color: #a63d21;
  background-color: inherit;
  text-decoration: none;
}
a:hover {
  color: #215dc6;
  background-color: #ccddee;
  text-decoration: underline;
}
a.external-link:not(.external-link-silent)::after {
  content: url(../image/external-link.png);
  margin: 3px;
}

h1 {
  font-family: verdana, arial, helvetica, Sans-Serif;
  color: inherit;
  background-color: #e8deff;
  padding: 0.3em;
  border: 0;
  margin: 0;
}
h2 {
  font-family: verdana, arial, helvetica, Sans-Serif;
  color: inherit;
  background-color: #e8deff;
  padding: 0.3em;
  border: 0;
  margin: 0 0 0.5em 0;
}
h3 {
  font-family: verdana, arial, helvetica, Sans-Serif;
  border-bottom: 3px solid #e8deff;
  border-top: 1px solid #e8deff;
  border-left: 10px solid #e8deff;
  border-right: 5px solid #e8deff;

  color: inherit;
  background-color: #ffffff;
  padding: 0.3em;
  margin: 0 0 0.5em 0;
}
h4 {
  font-family: verdana, arial, helvetica, Sans-Serif;
  border-left: 18px solid #e8deff;

  color: inherit;
  background-color: #ffffff;
  padding: 0.3em;
  margin: 0 0 0.5em 0;
}
h5,
h6 {
  font-family: verdana, arial, helvetica, Sans-Serif;
  color: inherit;
  background-color: #e8deff;
  padding: 0.3em;
  border: 0;
  margin: 0 0 0.5em 0;
}
div.title > p {
  font-size: 1.5em;
  background-color: transparent;
  border: 0;
  margin: 12px 0 0 0;
}
div.title > span.min-description {
  font-size: 0.8em;
}

dt {
  font-weight: bold;
  margin-top: 1em;
  margin-left: 1em;
}

pre {
  border-top: #e4e0ff 1px solid;
  border-bottom: #7a6fa5 1px solid;
  border-left: #e4e0ff 1px solid;
  border-right: #7a6fa5 1px solid;
  padding: 0.5em;
  margin-left: 1em;
  margin-right: 2em;
  white-space: pre-wrap;
  word-wrap: break-word;
  color: black;
  background-color: #f3eeff;
}

img {
  border: none;
  vertical-align: middle;
}

ul {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  line-height: 130%;
}

em {
  font-style: italic;
}

strong {
  font-weight: bold;
}

thead td.style_td,
tfoot td.style_td {
  color: inherit;
  background-color: #e0d7ff;
}
thead th.style_th,
tfoot th.style_th {
  color: inherit;
  background-color: #e9e1ff;
}
.style_table {
  padding: 0;
  border: 0;
  margin: auto;
  text-align: left;
  color: inherit;
  background-color: #e1d8ff;
}
.style_th {
  padding: 5px;
  margin: 1px;
  text-align: center;
  color: inherit;
  background-color: #eeeeee;
}
.style_td {
  padding: 5px;
  margin: 1px;
  color: inherit;
  background-color: #f1edff;
}

ul.list1 {
  list-style-type: disc;
}
ul.list2 {
  list-style-type: circle;
}
ul.list3 {
  list-style-type: square;
}
ol.list1 {
  list-style-type: decimal;
}
ol.list2 {
  list-style-type: lower-roman;
}
ol.list3 {
  list-style-type: lower-alpha;
}

.list-indent1 {
  padding-left: 16px;
  margin-left: 16px;
}
/* list-indent2,3,4 are used for leaping list level indentation */
.list-indent2 {
  padding-left: 32px;
  margin-left: 32px;
}
.list-indent3 {
  padding-left: 48px;
  margin-left: 48px;
}
.list-indent4 {
  padding-left: 64px;
  margin-left: 64px;
}

div.ie5 {
  text-align: center;
}
span.noexists {
  color: inherit;
  background-color: #fffacc;
}

.small {
  font-size: 80%;
}

.super_index {
  color: #dd3333;
  background-color: inherit;
  font-weight: bold;
  font-size: 60%;
  vertical-align: super;
}

a.note_super {
  color: #dd3333;
  background-color: inherit;
  font-weight: bold;
  font-size: 60%;
  vertical-align: super;
}

div.jumpmenu {
  font-size: 60%;
  text-align: right;
  user-select: none;
}

hr.full_hr {
  border-style: ridge;
  border-color: #333333;
  border-width: 1px 0;
}
hr.note_hr {
  border-style: ridge;
  border-color: #333333;
  border-width: 1px 0;
  text-align: center;
  margin: 1em auto;
}

span.size1 {
  font-size: xx-small;
  line-height: 130%;
  text-indent: 0;
  display: inline;
}
span.size2 {
  font-size: x-small;
  line-height: 130%;
  text-indent: 0;
  display: inline;
}
span.size3 {
  font-size: small;
  line-height: 130%;
  text-indent: 0;
  display: inline;
}
span.size4 {
  font-size: medium;
  line-height: 130%;
  text-indent: 0;
  display: inline;
}
span.size5 {
  font-size: large;
  line-height: 130%;
  text-indent: 0;
  display: inline;
}
span.size6 {
  font-size: x-large;
  line-height: 130%;
  text-indent: 0;
  display: inline;
}
span.size7 {
  font-size: xx-large;
  line-height: 130%;
  text-indent: 0;
  display: inline;
}

/* html.php/catbody() */
strong.word0 {
  background-color: #ffff66;
  color: black;
}
strong.word1 {
  background-color: #a0ffff;
  color: black;
}
strong.word2 {
  background-color: #99ff99;
  color: black;
}
strong.word3 {
  background-color: #ff9999;
  color: black;
}
strong.word4 {
  background-color: #ff66ff;
  color: black;
}
strong.word5 {
  background-color: #880000;
  color: white;
}
strong.word6 {
  background-color: #00aa00;
  color: white;
}
strong.word7 {
  background-color: #886800;
  color: white;
}
strong.word8 {
  background-color: #004699;
  color: white;
}
strong.word9 {
  background-color: #990099;
  color: white;
}

/* html.php/edit_form() */
.edit_form {
  clear: both;
}
.edit_form textarea,
.edit_form select {
  width: 95%;
}

/* pukiwiki.skin.php */
div#header {
  padding: 0;
  margin: 0;
  word-break: break-all;
}
#header a,
#header a:link,
#header a:visited {
  color: inherit;
}

div#navigator {
  clear: both;
  padding: 4px 0 0 0;
  margin: 0;
}

div#contents {
  display: flex;
  flex-flow: row nowrap;
  word-break: break-all;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

div#menubar {
  min-width: 12em;
  max-width: 12em;
  padding: 0;
  margin: 4px;
  font-size: 90%;
  overflow: hidden;
  order: 1;
  flex-grow: 0;
}
div#menubar ul {
  margin: 0 0 0 1em;
  padding: 0 0 0 0.5em;
}
div#menubar ul li {
  line-height: 110%;
}
div#menubar h4 {
  font-size: 110%;
}

#rightbar {
  min-width: 14em;
  max-width: 14em;
  padding: 0;
  margin: 4px;
  font-size: 90%;
  overflow: hidden;
  order: 3;
  flex-grow: 0;
}
#rightbar ul {
  margin: 0 0 0 1em;
  padding: 0 0 0 0.5em;
}
#rightbar ul li {
  line-height: 110%;
}
#rightbar h4 {
  font-size: 110%;
}

div#body {
  padding: 0;
  margin: 0 0 0 0.5em;
  max-width: 98%;
  order: 2;
  flex-grow: 1;
}

div#note {
  clear: both;
  padding: 0;
  margin: 0;
  word-break: break-all;
}
div#attach {
  clear: both;
  padding: 0;
  margin: 0;
}
div#toolbar {
  clear: both;
  padding: 0;
  margin: 0;
  text-align: right;
}
div#lastmodified {
  opacity: 0.7;
  font-size: 70%;
  padding: 0;
  margin-bottom: 10px;
}
div#related {
  font-size: 80%;
  padding: 0;
  margin: 16px 0 0 0;
}
div#related .page_passage {
  font-size: 60%;
}
div#footer {
  font-size: 70%;
  padding: 0;
  margin: 16px 0 0 0;
}
div#banner {
  float: right;
  margin-top: 24px;
}
div#preview {
  color: inherit;
  background-color: #f5f8ff;
}
img#logo {
  float: left;
  margin-right: 20px;
}

/* aname.inc.php */
.anchor_super {
  font-size: xx-small;
  vertical-align: super;
  margin-left: 0.5em;
}

/* list.inc.php */
.page_passage {
  font-size: 70%;
}

/* calendar*.inc.php */
.style_calendar {
  padding: 0;
  border: 0;
  margin: 3px;
  color: inherit;
  background-color: #e1d8ff;
  text-align: center;
}
.style_td_caltop {
  padding: 5px;
  margin: 1px;
  color: inherit;
  background-color: #f1edff;
  font-size: 80%;
  text-align: center;
}
.style_td_today {
  padding: 5px;
  margin: 1px;
  color: inherit;
  background-color: #fff8e0;
  text-align: center;
}
.style_td_sat {
  padding: 5px;
  margin: 1px;
  color: inherit;
  background-color: #e4dbff;
  text-align: center;
}
.style_td_sun {
  padding: 5px;
  margin: 1px;
  color: inherit;
  background-color: #ffe6ef;
  text-align: center;
}
.style_td_blank {
  padding: 5px;
  margin: 1px;
  color: inherit;
  background-color: #f1edff;
  text-align: center;
}
.style_td_day {
  padding: 5px;
  margin: 1px;
  color: inherit;
  background-color: #f1edff;
  text-align: center;
}
.style_td_week {
  padding: 5px;
  margin: 1px;
  color: inherit;
  background-color: #e2daff;
  font-size: 80%;
  font-weight: bold;
  text-align: center;
}

/* calendar_viewer.inc.php */
div.calendar_viewer {
  color: inherit;
  background-color: inherit;
  margin-top: 20px;
  margin-bottom: 10px;
  padding-bottom: 10px;
}
span.calendar_viewer_left {
  color: inherit;
  background-color: inherit;
  float: left;
}
span.calendar_viewer_right {
  color: inherit;
  background-color: inherit;
  float: right;
}

/* clear.inc.php */
.clear {
  margin: 0;
  clear: both;
}

/* counter.inc.php */
div.counter {
  font-size: 70%;
}

/* diff.inc.php */
span.diff_added {
  color: blue;
  background-color: inherit;
}
span.diff_removed {
  color: red;
  background-color: inherit;
}

/* hr.inc.php */
hr.short_line {
  text-align: center;
  width: 80%;
  border-style: solid;
  border-color: #333333;
  border-width: 1px 0;
}

/* include.inc.php */
h5.side_label {
  text-align: center;
}

/* navi.inc.php */
ul.navi {
  margin: 0;
  padding: 0;
  text-align: center;
}
li.navi_none {
  display: block;
  float: none;
}
li.navi_left {
  display: block;
  float: left;
  text-align: left;
}
li.navi_right {
  display: block;
  float: right;
  text-align: right;
}

/* new.inc.php */
span.comment_date {
  font-size: x-small;
}
span.new1 {
  color: red;
  background-color: transparent;
  font-size: x-small;
}
span.new5 {
  color: green;
  background-color: transparent;
  font-size: xx-small;
}

/* comment.inc.php */
._p_comment_form input[name="msg"] {
  max-width: 90%;
}

/* pcomment.inc.php */
._p_pcomment_form input[name="msg"] {
  max-width: 90%;
}

/* article.inc.php */
._p_article_form input[name="subject"] {
  max-width: 82%;
}

/* popular.inc.php */
span.counter {
  font-size: 70%;
}

/* ref.inc.php */
div.img_margin {
  margin-left: 32px;
  margin-right: 32px;
}

/* vote.inc.php */
td.vote_label {
  color: inherit;
  background-color: #ffcccc;
}
td.vote_td1 {
  color: inherit;
  background-color: #e4dbff;
}
td.vote_td2 {
  color: inherit;
  background-color: #f1edff;
}

/* topicpath.inc.php */
span.topicpath-slash {
  margin: 0 0.2em;
}
span.topicpath-top {
  user-select: none;
}

/* bugtrack.inc.php */
tr.bugtrack_list_header th {
  background-color: #ffffcc;
}
tr.bugtrack_list_header th:nth-child(1) {
  min-width: 7em;
}
tr.bugtrack_list_header th:nth-child(2) {
  min-width: 2em;
}
tr.bugtrack_list_header th:nth-child(3) {
  min-width: 4em;
}
tr.bugtrack_list_header th:nth-child(4) {
  min-width: 4em;
}
tr.bugtrack_list_header th:nth-child(5) {
  min-width: 3em;
}
tr.bugtrack_state_proposal td {
  background-color: #ccccff;
}
tr.bugtrack_state_accept td {
  background-color: #ffcc99;
}
tr.bugrack_state_resolved td {
  background-color: #ccffcc;
}
tr.bugtrack_state_pending td {
  background-color: #ffccff;
}
tr.bugtrack_state_cancel td {
  background-color: #cccccc;
}
tr.bugtrack_state_undef td {
  background-color: #ff3333;
}
._p_bugtrack_form input[name="summary"],
._p_bugtrack_form textarea {
  box-sizing: border-box;
  width: 35em;
  max-width: 99.5%;
}

/* tracker.inc.php */
._p_tracker_form th {
  min-width: 5em;
}

/* search2.inc.php  */
.search-result-page-summary {
  font-size: 70%;
  color: gray;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Mobile-friendly Responsive layout */
@media (max-width: 767px) {
  div#contents {
    flex-flow: column wrap;
  }
  div#menubar {
    width: auto;
    max-width: none;
    font-size: 100%;
    order: 2;
  }
  div#rightbar {
    width: auto;
    max-width: none;
    font-size: 100%;
    order: 3;
  }
  div#body {
    order: 1;
  }
  div#body img {
    max-width: 95%;
    height: auto;
  }

  ._p_tracker_form th,
  ._p_tracker_form td {
    display: block;
    text-align: left !important;
    width: auto !important;
    margin: 0;
  }
  ._p_tracker_form td input[type="text"],
  ._p_tracker_form td textarea {
    box-sizing: border-box;
    width: 99.5%;
  }

  tr.bugtrack_list_header th:nth-child(1) {
    min-width: 4em;
  }
  tr.bugtrack_list_header th:nth-child(2) {
    min-width: 1em;
  }
  tr.bugtrack_list_header th:nth-child(3) {
    min-width: 1em;
  }
  tr.bugtrack_list_header th:nth-child(4) {
    min-width: 3em;
  }
  tr.bugtrack_list_header th:nth-child(5) {
    min-width: 3em;
  }
  ._p_bugtrack_form th,
  ._p_bugtrack_form td {
    display: block;
    text-align: left !important;
    margin: 0;
  }
  ._p_bugtrack_form input[name="summary"],
  ._p_bugtrack_form textarea {
    box-sizing: border-box;
    width: 99.5%;
  }
}

@media print {
  a:link,
  a:visited {
    text-decoration: underline;
  }
  img#logo,
  div#navigator,
  div#menubar,
  div#rightbar,
  div#related,
  div#attach,
  div#toolbar {
    display: none;
  }
}
