/*@charset "UTF8";*/

a img {
  border: 0 none;
}

/*
 * for layout
 */

body {
  margin: 0;
  padding: 8px 0 0 16px;
  font-family: sans-serif;
  box-sizing: border-box;
}

#page {
  width: 950px;
  /*  border: dashed 1px silver;*/
}

#header {}

#header h1 {
  /*  height: 78px;*/
  /*  background-image: url("image/header_h1.png");*/
  /*  font-size: 0;*/
  /*  text-indent: -9999px;*/
  padding: 0;
  margin: 0;
}

#header h1 a {
  display: block;
}

#menu {
  background-color: #333333;
  background-image: url("/assets/images/menu_bg.png");
  height: 32px;
}

#menu ul {
  margin: 0;
  padding: 0 0 0 24px;
  list-style-type: none;
  /*display: table;*/
}

#menu ul li {
  margin: 0;
  padding: 0 0 0 0;
  float: left;
  text-align: center;
  /*  height: 32px;
  width: 130px;
  display: table-row;*/
}

#menu ul li a {
  color: white;
  font-size: 14px;
  font-weight: bold;
  margin: 0;
  text-decoration: none;
  display: block;
  vertical-align: middle;
  display: table-cell;
  vertical-align: middle;
  height: 32px;
  width: 120px;
  /*  text-shadow: 1px 1px 0px gray, -1px -1px 0px black;*/
}

#menu ul li a:hover {
  background-color: #666666;
}

#menu ul:after {
  content: ".";
  clear: left;
  display: block;
  height: 0;
  visibility: hidden;
}

#langselector {
  text-align: right;
  padding: 6px 12px 6px 6px;
}

#langselector a {
  text-decoration: none;
}

#content {
  padding: 0 0 2em 0;
  color: #111111;
}

#content h1 {
  border-width: 1px 1px 1px 24px;
  border-style: solid;
  border-color: gray gray gray #005396;
  padding: 0 10px;
  margin: 0 0 1em 0;
  height: 64px;
  width: 950px;
  display: table-cell;
  vertical-align: middle;
  font-size: 22px;
  font-weight: bold;
  background-image: url("/assets/images/content-h1.jpg");
  background-position: right center;
  background-repeat: no-repeat;
  text-shadow: 2px 2px 2px silver;
  clear: both;
}

#content h2 {
  font-size: x-large;
  background-image: url("/assets/images/content-h2.png");
  background-position: left bottom;
  background-repeat: no-repeat;
  padding: 0 0 6px 0;
  margin-top: 2em;
  margin-bottom: 1em;
  font-weight: normal;
  text-shadow: 2px 2px 2px silver;
  clear: both;
}

#content h3 {
  color: #005396;
  margin-top: 1.5em;
  margin-bottom: 1em;
  padding: 0;
  font-weight: bold;
  font-size: large;
  clear: both;
}

#content h4 {
  color: black;
  margin: 0.7em 0 0.7em 0;
  font-weight: bold;
  font-size: medium;
}

#content ul {
  padding: 0 0 0 1.5em;
  margin-top: 1em;
  margin-bottom: 1em;
  margin-right: 1em;
  list-style-image: url("/assets/images/list_icon1.png");
}

#content li {
  margin: 0.2em 0;
  padding: 0;
  line-height: 130%;
}

#content pre, .codeblock {
  display: block;
  padding: 0.8em;
  border: 2px solid silver;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  line-height: 100%;
}

#content code {
  font-family: monospace;
  margin: 0;
  padding: 0;
  /*  font-height: 100%;*/
}

#content .topimage {
  width: 930px;
  height: 330px;
  border: solid #ddd 10px;
}

#content .news {
  margin-top: 2em;
  margin-bottom: 1em;
  font-size: small;
}

#content .news h2 {
  background: none;
  margin: 0 0 0 0;
  padding: 6px 14px;
  border-style: solid;
  border-width: 0 0 1px 6px;
  border-color: #EEEEEE #005396;
  font-size: large;
  font-weight: bold;
}

#content .news ul {
  list-style-type: none;
  list-style-image: none;
  margin: 0;
  padding: 0;
  border-style: solid;
  border-width: 0 0 0 6px;
  border-color: silver;
}

#content .news ul li {
  padding: 6px 14px;
  margin: 0;
  border-style: solid;
  border-width: 0 0 1px 0;
  border-color: #EEEEEE;
}

#content .news p.alllist {
  text-align: right;
  margin: 0;
  padding: 6px 14px;
}

#content .memberonly {
  font-size: small;
  text-align: right;
  padding-right: 12px;
}

#content address {
  text-align: right;
  margin-top: 1em;
  margin-bottom: 1em;
  text-decoration: none;
  font-style: normal;
}

#content .picboxr {
  clear: right;
  float: right;
  margin-right: 24px;
  margin-left: 16px;
  margin-bottom: 16px;
}

#content strong {
  font-weight: bold;
  font-style: normal;
  text-decoration: none;
}

#content dl {
  margin-top: 1em;
  margin-bottom: 1em;
}

#content dd {
  margin: 0;
  margin-left: 1em;
  line-height: 120%;
}

#content dt {
  font-weight: bold;
  margin: 4px 0;
  line-height: 120%;
}

#content>* {
  margin-left: 35px;
  margin-right: 35px;
}

#content>div.fullwidth {
  margin: 0;
}

#content>p {
  margin-top: 1em;
  margin-bottom: 1em;
  line-height: 150%;
  text-align: justify;
}

#footer {
  font-size: small;
  text-align: center;
  border-color: gray;
  border-style: solid;
  border-width: 2px 0 0 0;
  padding: 3px;
  margin-bottom: 20px;
}

#footer p {
  margin: 0.1em 0;
}

#footer a {
  color: #111111;
}

/*
 * for member list
 * TODO to be separated
 */

#content .memberlist {
  margin: 0.5em auto ! important;
  /*width: 768px;*/
  /* (4 * 2 + 248) * 3 */
  width: 774px;
  /* for chrome */
  text-align: left;
  /*  letter-spacing: -1em; */
  font-size: 0;
}

#content .memberlist dl {
  width: 248px;
  /*  float: left;*/
  margin: 6px 4px;
  display: inline-block;
  /* for inline-block */
  letter-spacing: normal;
  vertical-align: top;
  /* end for inline-block */
}

#content .memberlist dl dt {
  margin: 0;
  padding: 2px;
  text-align: center;
  background-color: #444444;
  color: white;
  font-weight: normal;
  font-size: medium;
  line-height: 100%;
}

#content .memberlist dl dd {
  margin: 0;
  padding: 2px;
  text-align: center;
  background-color: #444444;
  color: white;
  font-size: small;
  font-weight: normal;
}

#content .memberlist dl dd.photo {
  margin: 0;
  padding: 0;
  width: 248px;
  height: 200px;
  text-align: center;
  display: table-cell;
  vertical-align: middle;
  background-color: #DDDDDD;
}

#content .memberlist dl dd.photo img {
  margin: 0;
  padding: 0;
  border-width: 0;
}

#content .memberlist dl dt a {
  color: white;
}

#content .memberlist:after {
  content: ".";
  clear: left;
  display: block;
  height: 0;
  visibility: hidden;
}

.award {
  color: green;
}
