/* This file contains additional CSS over WordPress css */

/* -- base structure -- */

body {
  background-color: gray;
  color: black;
  line-height: 1.5em;
}
#page{
  text-align: left;
  max-width: 730px;
  padding: 0;
  margin: 0 auto;
  background-color: whitesmoke;
}
#main {
  padding: 1.5em 15px 0;
}
#primary{
  width: 100%;
  float: left;
  margin-right: -160px;
}
#content{
  margin: 0;
  width: 500px;
  padding-left: 10px;
}
#secondary{
  width: 160px;
  float: right;
  margin: 0;
}
@media (max-width: 600px) {
  #main #content {
    margin: 0;
    width: auto;
  }
  #main #secondary {
    float: none;
    margin: 0;
    width: auto;
  }
}

/* -- header section -- */

#branding {
  border: none;
  background: #f39;
  padding: 0;
}
#branding hgroup {
  margin: 0 0.5em;
}
#site-title {
  margin: 0;
  padding: 5px;
  font-size: 180%;
  font-weight: bold;
  border: 0px none;
}
#site-title a {
  line-height: 1em;
  color: white;
}
.char-title {
  display: inline-block;
  margin: 0 1em 10px -10px;
}
.char-title h2 {
  display: inline-block;
  margin: 0;
  font-size: 120%;
}
.char-title .titlecaption {
  font-size: 75%;
}
.social-buttons {
  display: inline-block;
}
.social-buttons img {
  height: auto;
  width: auto;
  margin: 0;
}
.social-buttons a {
  display: inline;
  margin: 0;
}
.social-buttons div {
  margin: 0;
}
.sns-button {
  height: 16px;
  width: 16px;
  display: inline-block;
  margin: 0;
  background: url("/img/sns-buttons.png") no-repeat;
}
#banner-ad{
  background-color: transparent;
  overflow: hidden;
  padding-bottom: 3px;
}
#access {
  margin: 0 auto;
  padding: 2px 10px;
  background: #333;
  display: flex;
  flex-wrap: wrap;
  font-size: smaller;
  color: white;
}
#access a {
  color: white;
}
#access .crumbitem:not(:last-child):after {
  content: "＞";
  margin: 0 0.5em;
}

/* -- main content -- */

h1, h2, h3 {
  margin: 0 0 10px 0;
  line-height: 1em;
}
h2 {
  font-size: 120%;
  font-weight: bold;
}
h3 {
  font-weight: bold;
}
a {
  outline: none;
  color: #1982d1;
  text-decoration: none;
  word-break: break-word;
}
ul, ol {
  margin: 0.5em 0;
}
ul {
  list-style-type: disc;
}
ol {
  list-style-type: decimal;
}
section{
 padding: 0 0 0.5em 0;
}
sup, sub {
  font-size: 75%;
}
#content table {
 border: 1px solid;
 border-collapse: collapse;
 line-height: 1em;
}
#content table th, #content table td {
  padding: 0 4px;
  border: 1px solid;
  vertical-align: middle;
  color: black;
}
#content p {
  margin-left: 1em;
}
#content table p {
  margin-left: 0;
}
#content th {
 background-color: #99ccff;
 text-decoration: none;
 text-align: center;
 font-weight: inherit;
}
.center td {
 text-align: center;
}
#content li {
  margin-left: 1.5em;
}
.pagination > span {
  margin-right: 0.5em;
}
.hidden {
  display: none;
}

#content .suingo-ads-box {
  margin: 30px 0;
}

input, textarea {
  line-height: 1.4;
}

input[type=text], input[type=password], textarea {
  color: black;
}

.i-image {
  height: 220px;
  max-width: 200px;
}

.s-image {
  height: 120px;
  max-width: 100px;
}

.ss-image {
  height: 32px;
  max-width: 32px;
}

.proficon {
  float: left;
  width: 200px;
  min-height: 150px;
}

.indexproficon {
  width: 100px;
}

.centered-image {
  text-align: center;
}

.indeximagebox {
  float: left;
  width: 210px;
  height: 240px;
  font-size: 75%;
}

.indeximage {
  max-width: 200px;
  max-height: 200px;
  display: block;
  margin: auto;
}

.coreprof {
  float: left;
  width: 290px;
  margin-bottom: 1.5em;
}

@media (max-width: 600px) {
  .coreprof {
    width: 100%;
  }
  .proficon {
    width: 100%;
    min-height: auto;
  }
}

.profent {
  line-height: 1.5em;
  margin-bottom: 0.5em;
}

.extraprof .profent {
  margin: 1.1em 0;
}

.extraprof .profent.longtext {
  margin: 1.1em 0 1.1em 1em;
  text-indent: -1em;
}

.profent li {
  margin-bottom: 0.5em;
}

.history ul, ul.history {
  list-style-type: none;
  margin: 0;
}
#content .history li {
  margin: 0.7em 0.5em 0.7em 1.5em;
  text-indent: -1em;
}

.entlabel {
  font-weight: bold;
  margin-right: 10px;
}

.tags {
  margin: 5px 0 1em 0;
}

#content .tag {
  margin-right: 7px;
  font-size: 75%;
  vertical-align: 10%;
}

.color-view {
  display: inline-block;
  min-width: 30px;
  height: 1em;
}

.color-view-stroke {
  color: white;

  /* for modan browser */
  text-shadow:0px 1px 1px black,0px 0px 1px black,1px 0px 1px black,0px -1px 1px black,-1px -1px 1px black,-1px 0px 1px black;

  /* for IE */
  filter:dropshadow(color=black,offx=0,offy=1,positive=1),dropshadow(color=black,offx=0,offy=0,positive=1),dropshadow(color=black,offx=0,offy=-1,positive=1),dropshadow(color=black,offx=-1,offy=-1,positive=1),dropshadow(color=black,offx=-1,offy=0,positive=1);
}

.profformstr {
  width: 100%;
}

#content .medialitem {
  list-style: none;
  float: left;
  margin: 0 10px 0.5em 0;
}

.imagecaption {
  font-size: 75%;
  line-height: 1.5em;
  word-wrap: break-word;
  white-space: pre-wrap;
}

.proficon .imagecaption {
  padding: 0 10px;
}

.references {
  font-size: 75%;
  line-height: 1.5em;
}

#references li {
  margin-left: 3em;
}

li:target {
  background-color: #def;
}

.annotation {
  font-size: 75%;
  line-height: 1.3em;
  margin: 0 0 0 2em;
}
.annotation:first-letter {
  margin-left: -1em;
}

.scrollbox {
  overflow-y: scroll;
  max-height: 40em;
  border: 1px dotted;
  margin: 0.5em 0;
  padding: 3px;
}

#events .history, #events .closed-history {
  border: 1px dotted;
  margin: 0.5em 0;
  padding: 3px;
}

.history > li {
  margin-bottom: 0.5em;
}

#content-ad {
  margin: auto;
  width: 300px;
}

#content .pagination {
  margin: 1em 0;
}
#content .pagination, #content .pagination a {
  padding: 0;
  text-align: center;
}

.unknownchar {
  color: red;
}

/* -- suingo ads -- */

.suingo-ads-tile {
  border: 0 !important;
  font-size: 90%;
}
.suingo-ads-tile td {
  border: 0 !important;
  line-height: 1.5em;
  font-weight: normal;
}
.suingo-ads-tile a {
  font-weight: normal;
}

/* -- side bar -- */

.small-page-list li {
  font-size: 75%;
}
.side-bar-ads > div {
  margin-bottom: 15px;
}
.suingo-ads-rating {
  background-color: #fc6;
}

/* -- footer -- */

#colophon p {
  padding: 5px;
  text-align: center;
  font-size: 75%;
}
#colophon a {
  font-weight: bold;
  color: #373737;
}
