/* standard elements */
* {
  margin: 0;
  padding: 0;
}

img {
  border: none;
}

a {
  text-decoration: none;
}

body {
  background: #111 url(../img/noreality/bg.gif); 
  background-color: #222;
  color: #CCC;
  font-family:'メイリオ',Meiryo,'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro',Verdana,sans-serif;
  font-size: 82.5%;
}

p {
  padding-bottom: 1.2em;
}

ul, ol {
  font-size: 1.1em;
}

blockquote {
  background: #383838;
  font-weight: bold;
  padding: 0.5em;
}

code, pre {
  background: #444;
  display: block;
  margin: 0.5em;
  overflow: auto;
  padding: 0.5em 0.8em;
  white-space: pre;
}
code {
  font-family: monospace;
}

ul, ol {
  margin-left: 2em;
}

h1 {
  font-size: 1.8em;
  font-weight: normal;
}

h2 {
  font-size: 1.5em;
}

h3 {
  font-size: 1.2em;
  border-bottom: 1px solid #BBB;
  border-left: 12px solid #BBB;
  padding-left: 6px; 
  margin-bottom: 12px;
}

/* misc */
.clearer {
  clear: both;
}

.left {
  float: left;
}

.right {
  float: right;
}

/* header */
.header {
  background-color: #111;
  background-image: url(../img/noreality/header.png);
  background-repeat: repeat-x;
  border-bottom: 1px solid #333;
  font-family: sans-serif;
  font-size: 2em;
  height: 120px;
}

.header a {
  color: #888;
  display: block;
  line-height: 120px;
  text-decoration: none;
  outline: none;
  width: 100%;
}
.header a:hover {
  color: #BBB;
}

.header span {
  padding-left: 32px;
}

/* structure */
.container {
  margin: 0 auto;
  width: 950px;
  border: 3px solid #444;
  border-top: none;
}

.main {
  background: #303030;
  border-bottom: 1px solid #2A2A2A;
  border-left: 1px solid #2A2A2A;
}

/* content */
.content {
  border-left: 1px solid #444;
  border-top: 1px solid #444;
  padding: 1.5em;
}

.content h1 {
  background: url(../img/noreality/bgh1.gif) repeat-x left bottom;
  color: #EEE;
  margin-bottom: 10px;
  padding: 6px 0 4px;
}

.content a {
  color: #AAA;
  text-decoration: underline;
}
.content a:hover {
  color: #DDD;
}

.content div.modified {
  margin-top: 1em;
  margin-bottom: -1.5em;
  text-align: right;
  font-style: italic;
  font-size: 0.8em;
  color: #848484;
}

/* navigation */
.nav {
  background: #191919 url(../img/noreality/nav.gif);
}

.nav a {
  float: left;
  border-right: 1px solid #161616;
  background: #191919 url(../img/noreality/nav.gif);
  color: #CCC;
  font-weight: bold;
  font-size: 1em;
  outline: none;
  line-height: 51px;
  padding: 0 20px;
} 

.nav a:hover {
  background: #191919 url(../img/noreality/nav_hover.gif);
}

/* footer */
.footer {
  background: #191919;
  border-top: 1px solid #444;
  color: #999;
  padding: 25px 25px 5px 0;
}

.footer h2 {
  font-size: 1.3em;
}

.footer ul {
  border-top: 1px solid #262626;
  margin: 0;
}

.footer li {
  border-bottom: 1px solid #262626;
  list-style: none;
}

.footer li a {
  display: block;
  line-height: 2em;
  padding-left: 20px;
  background-image: url(../img/noreality/li.gif);
  background-repeat: no-repeat;
  background-position: 4px bottom;
}

.footer a {
  color: #666;
}

.footer a:hover {
  color: #BBB;
  background-color: #222;
}

.footer_col {
  float: left;
  width: 284px;
  padding-left: 24px;
}

.bottom {
  clear: both;
  padding-top: 1em;
  text-align: right;
}

.bottom a {
  color: #888;
}

/* common */
.b {
  font-weight: bold;
}

.caution {
  color: #FF4D4D;
}

/* result table */
.result-win {
  color:#FF4D4D;
}

.result-lose {
  color:#66FFFF;
}

.result-draw {
  color:#A0FFA0;
}

table {
  border-collapse: collapse;
}

#result-ctrl {
  text-align: right;
  padding-bottom: 4px;
}

.result-table,
.file-table {
  border-top: 2px solid #111;
  border-bottom: 2px solid #111;
  border-left: 5px solid #444;
  border-right: 5px solid #444;
  background-color: #444;
}

.result-table .totals {
  padding: 1px 5px;
}

.result-table table,
.file-table table {
  width: 100%;
  border: 1px solid #111;
}

.result-table tr.table-header,
.file-table tr.table-header {
  background-color: #111;
}

.result-table tr.odd,
.file-table tr.odd {
  background-color: #444;
}

.result-table tr.even,
.file-table tr.even {
  background-color: #303030;
}

.result-table tr td,
.file-table tr td {
  text-align: center;
  padding: 0, 3px;
}

.result-table tr td {
  font-size: 11px;
}

.result-table td.cell-memo {
  width: 135px;
  max-width: 220px;
}

#nodata-message {
  font-size: 1.5em;
  padding-left: 2em;
}

/* form */
.input {
  clear: left;
  margin: 5px 0;
}

#result-input {
}

#result-input .input.text label,
#result-input .input.radio span,
#result-input .input.select span {
  display: block;
  float: left;
  width: 6.5em;
}

#result-input .input.submit {
  margin-left: 16em;
}

.input.radio label {
  vertical-align: top;
}

.input.submit .button {
  margin-left: 10px;
}

input.button {
  color: #BBB;
  background-color: #2A2A2A;
  font-size: 0.9em;
  padding: 1px 3px;
  border: 1px solid #BBB;
}

input.field-short,
input.field-middle,
input.field-long {
  color: #000;
  background-color: #DDD;
  border: 1px solid #BBB;
  font-size: 0.9em;
}

input.field-short {
  width: 2em;
}

input.field-middle {
  width: 10em;
}

input.field-long {
  width: 24em;
}

select {
  color: #000;
  background-color: #DDD;
  font-size: 0.9em;
  border: 1px solid #000;
}

select option {
  padding: 0 0.3em;
}

input.file-input {
  color: #666;
}

#page-input textarea {
  color: #000;
  background-color: #DDD;
  font-size: 0.9em;
  border: 1px solid #000000;
  width: 500px;
  height: 300px;
  padding: 2px;
}

#upload-form {
  margin: 1em 0;
}

/* form error */
.error-message {
  border: 3px solid #B00;
  background-color: #B44;
  color: #333;
  font-weight: bold;
  margin-top: 1.4em;
  padding: 1px 5px;
}

/* Message Text on add/edit/delete */
#flashMessage {
  border: 3px solid #282;
  background-color: #5A5;
  color: #222;
  font-weight: bold;
  font-size: 1.1em;
  margin: 1em 0;
  padding: 5px 10px;
}
#flashMessage a {
  color: #620;
}

/* tooltip */
.details-link {
  cursor: default;
}
.bt-content {
  color: #FFF;
}
.bt-content dl dt {
  font-size: 1em;
  color: #B0B0B0;
  font-weight: bold;
  margin-top: 5px;
}
.bt-content dl dd {
  font-size: 0.9em;
  margin-left: 0.8em;
}
.bt-content a {
  color: #FFD;
  text-decoration: underline;
}

/* for user generated contents */
/* ascii art */
.aa {
  line-height: normal;
  font-size: 12pt;
  font-family: "ＭＳ Ｐゴシック";
}


