@charset "utf-8";
@import url("./css/code.css");

pre, dl, ol, p, blockquote {
  line-height: 1.7;
}

body {
  color: #000;
  background-color: white;
  font-size: 100%;
  margin: 0;
  padding: 0;
  font-family: "Trebuchet MS", arial, helvetica, Sans-Serif;
}

h1 {
  color: #66d;
  font-size: 35px;
  line-height: 1;
  padding: 0;
  margin: 22px 0 12px 10px;
  font-weight: normal;
  background-color: transparent;
  border: 0px;
}
h1 a {
  color: #66a !important;
}

div#navi {
  border-bottom: solid 2px #777;
  margin: -1.6em 0 0 0;
  padding: 0 0.3em 0.3em 0;
  white-space: nowrap;
  font-size: 85%;
  text-align: right;
}
div#navi img {
  margin-bottom: -0.2em;
}
div#content {
  float: right;
  width: 80%;
  border-left: solid 1px #777;
  padding: 1em 0;
}
div#sidebar {
  float: left;
  width: 19%;
  padding: 1.1em 0 0 0.6em;
  font-size: 90%;
}
div#footer {
  clear: both;
  border-top: solid 2px #777;
  font-size: 90%;
  padding: 0.5em 0.35em 0.8em 0;
  margin: 0;
  white-space: nowrap;
  text-align: right;
}
div#footer a:after {
  content: "";
  margin: 0;
}
div#signature {
  font-size: 75%;
  line-height: 1.3;
  margin: 0.3em 0.2em 0 0;
}


/* a */
a {
  line-break: strict;
  word-break: break-all;
  word-wrap: break-word;
}
a[href^="http://"]:after,
a[href^="http://"]:after,
a[href^="ftp://"]:after {
  content: url("./css/ext.png");
  margin: 0 2px;
  padding-bottom: 2px;
}
a[href^="http://shiromoji.net/wiki/"]:after,
a.glyphwiki:after {
  content: "";
  margin: 0;
}
a:link {
  color: #66a;
  background-color: inherit;
  text-decoration: none;
}
a:active {
  color: #a66;
  background-color: #eee;
  text-decoration: none;
}
a:visited {
  color: #a66;
  background-color: inherit;
  text-decoration: none;
}
a:hover {
  background-color: #eee;
  text-decoration: underline;
}
a[href^="http://shiromoji.net/wiki/tag/"].autolink {
  color: #000 !important;
  background-color: inherit !important;
  text-decoration: none;
  border-bottom: dashed 1px #ccc;
}

/* div.body hn */
div.body h2 {
  font-size: 150%;
  font-weight: bold;
  color: #000;
  margin: 1.2em 0 1em 0.8em;
  padding: 0.2em 0.5em 0.15em 0.3em;
  border: 0;
  border-left: 0.6em solid;
  border-bottom: 1px solid;
  border-color: #fff #fff #777 #aaa;
  clear: both;
}
div.body h2:first-child {
  margin-top: 0.5em;
}
div.body h3 {
  font-size: 120%;
  font-weight: bold;
  color: #000;
  margin: 1.5em 0 0.9em 1.2em;
  padding: 0.15em 0.5em 0.1em 0.3em;
  border: 0;
  border-left: 0.6em solid;
  border-bottom: 1px solid;
  border-color: #fff #fff #777 #c88;
  clear: both;
}
div.body h4,
div.body h5,
div.body h6 {
  font-size: 100%;
  color: #000;
  margin: 1.4em 0 0.7em 1.7em;
  padding: 0.12em 0.5em 0.1em 0.3em;
  border: 0px;
  border-left: 0.6em solid;
  border-bottom: 1px solid;
  border-color: #fff #fff #777 #db6;
  clear: both;
}
h2>a, h3>a, h4>a, h5>a, h6>a {
  color: #000 !important;
  border: none !important;
}
div.body p.reading,
div.body p.settags {
  font-size: 85%;
  text-align: right;
  margin-right: 0.5em;
  line-height: 1.2;
  margin: 0.5em 0.5em 0.5em 0 !important;
}

/* div.body */
div.body p {
  margin: 0.6em 0;
}
div.body>p {
  margin: 0.8em 1.5em 0.8em 2em !important;
}

div.body pre {
  border-top: #DDDDEE 1px solid;
  border-bottom: #888899 1px solid;
  border-left: #DDDDEE 1px solid;
  border-right: #888899 1px solid;
  padding: 0.5em;
  margin: 1em 3em 1em 4em;
/*  white-space: pre;  */
  font-size: 80%;
  color: black;
  background-color: #F0F8FF;
/*  white-space: normal;  */
  line-break: strict;
  word-break: break-all;
  word-wrap: break-word;
}

div.body ol, div.body ul {
  margin: 0.3em 0 0.3em 1em;
  padding: 0;
}
div.body li {
  margin: 0.2em 0 0.2em 1em;
  padding: 0;
}
div.body>ol, div.body>ul,
div#realview>ol, div#realview>ul,
div.contents>ol, div.contents>ul {
  margin: 1em 2em 1em 4.2em !important;
}
div.body>ol>li, div.body>ul>li,
div#realview>ol>li, div#realview>ul>li,
div.contents>ol>li, div.contents>ul>li {
  margin: 0.3em 0 0.3em 0 !important;
}

div.body>dl,
div#realview>dl,
div.contents>dl {
  margin: 1em 2em 1em 2.5em;
}
div.body>dl>dt,
div#realview>dl>dt,
div.contents>dl>dt {
  margin: 0.6em 0 0.3em 0;
}
div.body>dl>dd,
div#realview>dl>dd,
div.contents>dl>dd {
  margin: 0.3em 0 0.3em 3.5em;
}

div.body hr.full_hr {
  border: none;
  border-top: solid #777 1px;
  height: 0;
  margin: 1em 4em 1em 4.3em;
}

div.body p.highlightmsg {
  border-bottom: solid 1px #777;
  font-size: 90%;
  margin: 0 0 1.5em 0 !important;
  padding: 0 0 0.8em 1.3em !important;
}
div.body p.searchresult {
  border-top: solid 1px #777;
  font-size: 90%;
  margin: 1.5em 0 0.3em 0 !important;
  padding: 1em 0 0 1.3em !important;
}
div.body p.searchresult+form.searchform>p {
  margin-bottom: 0;
}

div.body blockquote {
  margin: 1.3em 1em 0 1em;
  padding: 0.7em 1.5em 0.5em 1.5em;
  border: gray solid 1px;
  border-bottom-width: 0px;
}
div.body p.cite {
  margin: -0.5em 1em 1.3em 1em !important;
  padding: 0 0.4em 0.4em 0 !important;
  border: gray solid 1px !important;
  border-top-width: 0px !important;
  text-align: right !important;
}
div.body>blockquote, div.body>p.cite {
  margin-left: 3.5em !important;
  margin-right: 3em !important;
}
p.cite cite {
  font-style: normal;
  font-size: 90%;
}

cite {
  font-style: italic;
  font-size: 100%;
}

div.body>form {
  margin: -0.2em 0 0 3em;
}
div.body>div.img_margin.right {
  margin: 0.2em 1.5em 0.3em 0.5em;
}


span.q {
  position: relative;
}
span.q sup.q {
  background-color: inherit;
  vertical-align: baseline;
  font-size: 85%;
  position: relative;
  bottom: 0.6em;
  margin: 0 1px;
}

/* note */
sup.note_super {
  font-size: 100%;
  vertical-align: baseline;
  position: relative;
  margin: 0 1px 0 0;
}
sup.note_super a {
  background-color: inherit;
  font-size: 85%;
  position: relative;
  bottom: 0.6em;
}
sup.note_super a:link  {color: #00f;}
sup.note_super a:hover {background-color: #ddf;}

sup.note_super a span.add {
  color: #000;
  background-color: #ffc;
  border: gray solid 1px;
  position: absolute;
  visibility: hidden;
  white-space: nowrap;
  padding: 0 0.2em;
  text-decoration: none;
}
sup.note_super a:hover, sup.note_super a:hover span.add {
  z-index: 100;
}
sup.note_super a:hover span.add {
  visibility: visible;
  left: 1em;
  bottom: 1em;
}
div#note {
  margin-top: 1.8em;
  border-top: solid #777 1px;
  font-size: 85%;
}
div#note dl {
  margin: 1em 0 -0.5em 0;
  padding: 0;
}
div#note dt {
  margin: 0.1em 0 0.1em 0;
  padding: 0.2em 0 0.2em 2.8em;
}
div#note dt a {
  vertical-align: baseline;
  font-size: 100%;
}
div#note dt:target, 
div#note dt:target+dd {
  background-color: #e9e9ff;
}
div#note dt a:link  {color: #00f;}
div#note dt a:hover {background-color: #ddf;}
div#note dd {
  margin: -2em 0 0.1em 0;
  padding: 0.2em 0 0.2em 5em;
}

/* div#sidebar */

#sidebar p.settags {
  text-indent: -1em;
  margin-left: 1em;
}

img {
  border: none;
}

ul {
  margin-top: .5em;
  margin-bottom: .5em;
  line-height: 130%;
}
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;}


/* inline */
em {
  font-style: normal;
  background-color: #e5e5e5;
}
strong {
  font-weight: bold;
}
dfn {
  font-weight: bold;
  font-style: normal;
}
q:before, q:after {
  content: "";
}
span.unicode {
  font-family: 'Arial Unicode MS';
}

a.glyphwiki img {
  vertical-align: bottom;
}

/* table */
table {
  margin: 0.5em auto;
  padding: 0;
  border-collapse: collapse;
  text-align: left;
  color: inherit;
  background-color: #fff;
}
td, th {
  padding: 0.2em 0.5em;
  margin: 0;
  border: solid #bbb 1px;
  color: inherit;
  font-weight: normal;
  background-color: #fff;
} 
thead td, thead th {
  background-color: #e0e0e0;
  text-align: center;
}


span.noexists {
  color: inherit;
  background-color: #FFFACC;
}

.small {
  font-size: 80%;
}

.small1 {
  font-size: 70%;
}

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


div.jumpmenu {
  font-size: 50%;
  text-align: right;
}


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

/* html.php/catbody() */
strong.word0 {background-color: #FFFF99; color: black;}
strong.word1 {background-color: #ccFFFF; color: black;}
strong.word2 {background-color: #99FF99; color: black;}
strong.word3 {background-color: #FF9999; color: black;}
strong.word4 {background-color: #FF99FF; 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;
}

td.menubar {
  width: 160px;
  vertical-align: top;
}

td.sidebar {
  width: 160px;
  vertical-align: top;
}

div#menubar {
  width: 160px;
  padding: 0px;
  margin: 0px 2px;
  word-break: break-all;
  font-size: 90%;
  overflow: hidden;
}

div#menubar ul.menu {
  list-style-type: none;
  list-style-position: outside;
  margin: 0px;
  padding: 0px;
}

div#menubar ul.menu li {
  padding: 0px 0.3em;
  margin: 0px;
  border-bottom: 1px dotted #FFFCEE;
}

div#menubar ul.menu li a {
  text-decoration: none;
  display: block;
  padding: 0.1em 0.3em;
  margin: 0px -0.3em;
}

div#menubar h2 {
  margin: 0px 0px 0px 0px;
  padding: 4px;
  border: 1px #FFCC99 solid;
  background-color: #FFF0DD;
  text-align: center;
}

div#menubar h3 {
  margin: 0px 0px 0px 0px;
  padding: 4px;
  border: 1px #FFCC99 solid;
  background-color: #FFF0DD;
  text-align: center;
}

div#menubar h4 {
  margin: 0px 0px 0px 0px;
  padding: 4px;
  border: 1px #FFCC99 solid;
  background-color: #FFF0DD;
  text-align: center;
}

div#menubar h5 {
  margin: 0px 0px 4px 0px;
  padding: 3px;
  border: 1px #FFCC99 solid;
  background-color: #FFF0DD;
  text-align: center;
}

div#plsidebar {
  width: 160px;
  padding: 0px;
  margin: 0px 2px;
  word-break: break-all;
  font-size: 90%;
  overflow: hidden;
}

div#plsidebar ul {
  margin: 0px 0px 0px .5em;
  padding: 0px 0px 0px .5em;
}

div#plsidebar ul li {
  line-height: 110%;
}

div#plsidebar h2 {
margin: 0px 0px 4px 0px;
padding: 4px;
border: 1px #FFCC99 solid;
background-color: #FFF0DD;
text-align: center;
  font-size: 110%;
}

div#plsidebar h3 {
margin: 0px 0px 4px 0px;
padding: 4px;
border: 1px #FFCC99 solid;
background-color: #FFF0DD;
text-align: center;
  font-size: 110%;
}

div#plsidebar h4 {
margin: 0px 0px 4px 0px;
padding: 4px;
border: 1px #FFCC99 solid;
background-color: #FFF0DD;
text-align: center;
  font-size: 110%;
}


div#attach {
  clear: both;
  padding: 0px;
  margin: 0px 1%;
  font-size: 78%;
}
div#attach img {
  vertical-align: middle;
}

div#toolbar {
  clear: both;
  padding: 0px;
  margin: 0px 1%;
  text-align: right;
  white-space: nowrap;
}

div#preview {
  color: inherit;
  background-color: #F5F8FF;
}

img#logo {
  float: left;
  margin-right: 20px;
}

/* aname.inc.php */
.anchor {
}
.anchor_super {
  font-size: xx-small;
  vertical-align: super;
}

/* br.inc.php */
br.spacer {
}


/* clear.inc.php */
.clear {
  display: block;
  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 0px;
}

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

/* navi.inc.php */
ul.navi {
  margin: 0px;
  padding: 0px;
  text-align: center;
}

li.navi_none {
  display: inline;
  float: none;
}

li.navi_left {
  display: inline;
  float: left;
  text-align: left;
}

li.navi_right {
  display: inline;
  float: right;
  text-align: right;
}

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

/* popular.inc.php */
span.counter {
  font-size: 70%;
}
ul.popular_list {
  padding: 0px 0px 0px .5em;
  margin: 0px 0px 0px .5em;
  border: 0px;
  word-wrap: break-word;
  word-break: break-all;
}

/* recent.inc.php,showrss.inc.php */
ul.recent_list {
  padding: 0px 0px 0px .5em;
  margin: 0px 0px 0px .5em;
  border: 0px;
  word-wrap: break-word;
  word-break: break-all;
}
ul.recent_list li {
  line-height: 110%;
}

/* vote.inc.php */
.style_table_vote {
  padding: 0px;
  border: 0px;
  margin: auto auto auto 32px !important;
  text-align: left;
  color: inherit;
  background-color: #ccd5dd;
}
td.vote_label {
  color: inherit;
  background-color: #FFCCCC;
}
td.vote_td1 {
  color: inherit;
  background-color: #DDE5FF;
}
td.vote_td2 {
  color: inherit;
  background-color: #EEF5FF;
}

/* tooltip.inc.php */
abbr, .tooltip {
  border-style: none none dotted none;
  border-width: medium medium 1px medium;
  cursor: help
}
