/***************************************
 Common
****************************************/
body {
    margin: 0;
    padding: 0;
    background: #CCCCCC;
    font-size: 85%;
    font-family:arial,helvetica,clean,meiryo,sans-serif;
    /* for IE6/7 */
    *font-size:small;
    /* for IE Quirks Mode */
    *font:x-small;
}

.center {
    text-align: center;
}

.right {
    text-align: right;
}

.hidden {
    display: none;
}

.clear {
    clear: both;
}

.small {
    font-size: 12px;
}

a {
    color: #000080;
    /*	text-decoration:none; */
}
a:hover {
    color: #003d4c;
    /*	text-decoration: underline; */
}

a img {
    border: none;
}

h2 {
    color: blue;
    font-size: 110%;
    margin: 0;
    padding: 0;
    margin-bottom: 10px;
}

input[type=text] {
    font-size: 100%;
    padding: 2px;
}

textarea {
    font-size: 100%;
    padding: 2px;
}

/*
input[type=submit] {
*/
div.submit input {
    display: inline;
    font-size: 14px;
    padding: 2px 5px;
    width: 150px;
    vertical-align: bottom;
    margin-left: 10px;
}

label {
    display: block;
    font-size: 90%;
    padding-right: 20px;
}

li {
    list-style-type: none;
}

p {
    display: block;
    margin: 0;
}

select {
    clear: both;
    font-size: 105%;
    vertical-align: text-bottom;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    text-valign: top;
}
table.normal {
    border: 1px solid #7a7acc;
    margin: 0 auto;
}
table.normal th{
    border: 1px solid #7a7acc;
    padding: 5px;
}
table.normal td{
    border: 1px solid #7a7acc;
    padding: 5px;
}

table tr td {
    /*	background: #fff;
        border-right: 1px solid #ccc;
        padding: 4px;
        text-align: center;
    */
    vertical-align: top;
}

div.input {
    margin: 3px 0;
}

div.submit {
    clear: both;
    text-align: center;
    width: 100%;
    margin: 20px 0;
}

div.checkbox label {
    display: inline;
}

div.imagebar1 {
    height: 10px;
    background-color: #333366;
    text-align: right;
}
div.imagebar2 {
    height: 5px;
    background-color: #FFCC33;
}

/*
div.dotbar {
	width: 98%;
	height: 5px;
	background-image: url("/img/dots.gif");
	margin: 5px auto;
	clear: both;
}*/

div.dotbar {
    clear: both;
    margin: 5px;
    border-top: 1px dotted lightgrey;
}

/***************************************
 Layout
****************************************/
#container {
    width: 980px;
    margin: 0 auto;
    background: #fff;
}

#header {
    width: 100%
}

#logo {
    padding: 10px;
    float: left;
}

#moji {
    padding-right: 10px;
    text-align: right;
    text-valign: middle;
    float: right;
    margin-top: 10px;
}

#moji input[type=submit] {
    width: 50px;
}

#lang_en {
    font-size: 110%;
}

#fotter {
    clear: both;
    width: 960px;
    text-align: center;
    padding: 10px;
}

#fotter img{
}

#main {
    clear: both;
    width: 960px;
    padding: 10px;
}

#content_back {
    float: left;
    background: #FAEBD7;
}

#content_menu {
    clear: both;
    width: 200px;
    height: 100%;
    float:left;
}

#content_main {
    width: 730px;
    float: right;
    padding-left: 30px;
    padding-bottom: 20px;
    background: white;
}

#content_logo {
    background-color: white;
}

#content_moji {
    padding: 10px;
    text-align: right;
    text-valign: middle;
}

#content_moji input[type=submit] {
    width: 50px;
}

#sub_menu {
    width: 98%;
    margin-bottom: 5px;
    text-align: right;
}

#admin_menu {
    border: solid 3px #7a7acc;
    padding: 4px 5px;
    width: 965px;
    background: white;
    clear: both;
}

#admin_menu a {
    text-decoration: none;
}

#login {
    width: 400px;
    text-align: center;
    margin: 50px auto;
    padding: 30px;
    background: #f8f1db;
}

#login input {
    width: 150px;
}

#login input[type=submit] {
    width: 100px;
}

/***************************************
 Content[Top]
****************************************/
table.top_menu {
    clear: both;
    width: 100%;
}

table.top_menu td.top_menu_l {
    width: 75%;
}

table.top_menu td.top_menu_r {
    vertical-align: bottom;
}

div.top_staff {
    height: 170px;
    width: 220px;
    text-align: right;
    float:left;
}

div.top_kico {
    height: 160px;
    float: left;
}

div.top_kico_en {
    height: 140px;
    margin-left: 180px;
}

div.top_menu {
    clear: both;
}
div.top_menu2 {
    text-align: center;
    margin-top: 5px;
}

div.event_title {
    background-color: #333366;
    margin-top: 10px;
    width: 960px;
}

table.event_list th,
table.event_list td {
    border: solid 1px lightgrey;
}

table.event_list td {
    font-size:70%;
}

table.event_list th {
    background-color: #F2F2F2;
    width: 134px;
}

table.event_list td {
    height: 6em;
}

th.sat {
    color: #0066FF;
}

th.sun {
    color: #FF66CC;
}

table.top_posts {
    margin-top: 10px;
    width: 970px;;
}

table.top_posts td {
    width: 450px;
}

div.top_posts_2 {
    margin-bottom: 10px;
}

div.top_posts_header {
    position: relative;
    height: 45px;
}

div.top_posts_header a {
    position: absolute;
    top: 15px;
    left: 400px;
}

div.top_posts_header img {
    z-index: 0;
}

div.top_posts_item {
    height: 20px;
    margin: 10px 0;
    clear: both;
}

div.top_posts_item img {
    float: left;
}

div.top_posts_item div.topic {
    float: left;
    width: 50px;
    text-align: center;
    font-size: 10px;
    padding: 2px;
    color: white;
    margin-top: 2px;
    margin-left: 5px;
    font-weight: bold;
}

div.top_posts_item div.title {
    float: left;
    margin-left: 8px;
    overflow: hidden;
    width: 400px;
    white-space: nowrap;

    /*	text-align: justify;
        text-justify: inter-ideograph;*/
}

div.top_posts_item div.title_wide {
    float: left;
    margin-left: 8px;
    overflow: hidden;
    width: 650px;
    white-space: nowrap;

    /*	text-align: justify;
        text-justify: inter-ideograph;*/

}

div.top_posts_item span.date {
    font-size: 85%;
}

div.top_posts_more{
    text-align: right;
    padding-right: 20px;
}

div.top_banner {
    text-align: center;
}

div.top_banner a{
    margin: 0 10px;
}

/***************************************
 Content[post]
****************************************/
div.post_title,
div.post_subtitle,
div.post_subtitle2,
div.post_subtitle3,
div.post_subtitle4 {
    display: table-cell;
    vertical-align: middle;
}
* html div.post_title,
* html div.post_subtitle,
* html div.post_subtitle2,
* html div.post_subtitle3,
* html div.post_subtitle4 { /* IE 6 */
    display: inline;
    zoom: 1;
}
*:first-child + html div.post_title,
*:first-child + html div.post_subtitle,
*:first-child + html div.post_subtitle2,
*:first-child + html div.post_subtitle3,
*:first-child + html div.post_subtitle4 { /* IE 7 */
    display: inline;
    zoom: 1;
}

div.post_title {
    background-image: url("/img/content_titlebar.gif");
    background-repeat: no-repeat;
    height: 50px;
    width: 680px;
    padding: 5px;
    padding-left: 25px;
}

div.post_title h2 {
    color: indigo;
}

div.post_subtitle {
    background-image: url("/img/content_titlebar0_35.gif");
    background-repeat: no-repeat;
    height: 25px;
    width: 700px;
    padding: 5px;
    padding-left: 25px;
}

div.post_subtitle2 {
    background-image: url("/img/content_titlebar0.gif");
    background-repeat: no-repeat;
    height: 40px;
    width: 700px;
    padding: 5px;
    padding-left: 25px;
}

div.post_subtitle3 {
    background-image: url("/img/content_titlebar0_mini.gif");
    background-repeat: no-repeat;
    height: 25px;
    width: 350px;
    padding: 5px;
    padding-left: 25px;
}

div.post_subtitle4 {
    background-image: url("/img/content_titlebar0_35_450.gif");
    background-repeat: no-repeat;
    height: 40px;
    width: 450px;
    padding: 5px;
    padding-left: 25px;
}

div.post_date {
    margin: 5px;
    text-align:right;
    padding-bottom: 10px;
}

div.post_body {
    padding: 5px;
    width: 710px;
    text-align: justify;
    text-justify: distribute;
    line-height: 130%;
}

#PostTitle {
    width: 50%;
}

/***************************************
 Content[Mailform]
****************************************/
div.Mailform {
    margin: 0 40px;
    padding: 20px;
    padding-bottom: 10px;
    background: #f8f1db;
}

table.Mailform th {
    width: 150px;
    text-align: left;
    background: #F9E6B0;
}

table.Mailform td {
    width: 450px;
    background: white;
}

table.Mailform input {
    width: 75%;
}

table.Mailform textarea {
    width: 430px;
    height: 250px;
}

#MailformTitletext {
    margin-top: 8px;
    display: none;
}

/***************************************
 Content[Invention]
****************************************/
table.inv_navi {
    margin-left: 20px;;
}

table.inv_navi td {
    vertical-align: middle;
}

div.inv_navi {
    border: 2px solid gold;
    width: 100px;
    height: 40px;
    background-color: #f9e6b0;
    text-align: center;
    font-size: 16px;
    padding: 2px;
}
div.inv_navi_on {
    background-color: #FFCC33;
}

form.Invention {
    width: 680px;
}

form.Invention h3,
form.Invention h4 {
    background-image: url("/img/content_titlebar0_35.gif");
    background-repeat: no-repeat;
    height: 25px;
    width: 700px;
    padding: 5px;
    padding-left: 25px;
    display: block;
}

form.Invention h5 {
    margin-left: 20px;
    margin-bottom: 10px;
    font-size: 14px;
    background: #F9E6B0;
    display: block;
    width: 650px;
    padding: 3px;
    border: 1px solid #7a7acc;
}

form.Invention input[type=text] {
    width: 98%;
}

form.Invention p {
    width: 660px;
    margin-left: 20px;
    margin-bottom: 10px;
    color: blue;
}

form.Invention div.textarea {
    margin-left: 20px;
}

form.Invention textarea {
    width: 650px;
    height: 200px;
}

form.Invention div.normal {
    width: 650px;
    margin-left: 20px;
    border: 1px solid #7a7acc;
    padding: 3px;
}

form.Invention table {
    width: 660px;
    margin-left: 20px;
}

form.Invention table th {
    text-align: left;
    vertical-align: middle;
    background: #F9E6B0;
    width: 150px;
    font-size: 14px;
}

form.Invention table.f3 span {
    font-size: 12px;
}

form.Invention table.f3 th {
    font-size: 12px;
}

form.Invention table.f3 input {
    width: 165px;
}

form.Invention table.f3 td.f3-4 input {
    width: 80px;
}

form.Invention table.f4-1 th {
    vertical-align: top;
    padding: 10px;
}
form.Invention table.f4-1 td.filelist {
    height: 100px;
}

form.Invention table.f14 input {
    width: 200px;
}

form.Invention table.f14 th.no {
    width: 10px;
}

input[type=file] {
    height: 23px;
    width: 300px;
}

/***************************************
 Content[Accessmap]
****************************************/
div#map {
    border: 2px outset gray;
}
div#side_bar {
    border: 1px solid #666;
    padding: 6px;
    line-height: 2;
    overflow:auto;
}

/***************************************
 Content[xoops]
****************************************/
/*
pre.xoops {
  white-space: -moz-pre-wrap; /* Mozilla */
white-space: -pre-wrap;     /* Opera 4-6 */
white-space: -o-pre-wrap;   /* Opera 7 */
white-space: pre-wrap;      /* CSS3 */
word-wrap: break-word;      /* IE 5.5+ */
}
*/

/***************************************
 Paging
****************************************/
div.paging {
    background:#fff;
    color: #ccc;
    margin: 0.5em 0;
}
div.paging div.disabled {
    color: #ddd;
    display: inline;
}
div.paging span {
}
div.paging span.current {
    color: #000;
}
div.paging span a {
}

/***************************************
 Notices and Errors
****************************************/
div.message {
    clear: both;
    color: #900;
    font-size: 140%;
    font-weight: bold;
    margin: 1em 0;
}
div.error-message {
    clear: both;
    color: black;
    font-weight: bold;
    background-color: #e32;
    padding: 5px;
    margin: 5px 0;
    /*
        width: 700px;
    */
}
p.error {
    background-color: #e32;
    color: #fff;
    font-family: Courier, monospace;
    font-size: 120%;
    line-height: 140%;
    padding: 0.8em;
    margin: 1em 0;
    margin-left: 1em;
    width: 600px;
}
p.error em {
    color: #000;
    font-weight: normal;
    line-height: 140%;
}
.notice {
    background: #ffcc00;
    color: #000;
    display: block;
    font-family: Courier, monospace;
    font-size: 120%;
    line-height: 140%;
    padding: 0.8em;
    margin: 1em 0;
}
.success {
    background: green;
    color: #fff;
}

/***************************************
  Debugging
****************************************/
pre {
    color: #000;
    background: #f0f0f0;
    padding: 1em;
}
pre.cake-debug {
    background: #ffcc00;
    font-size: 120%;
    line-height: 140%;
    margin-top: 1em;
    overflow: auto;
    position: relative;
}
div.cake-stack-trace {
    background: #fff;
    border: 4px dotted #ffcc00;
    color: #333;
    margin: 0px;
    padding: 6px;
    font-size: 120%;
    line-height: 140%;
    overflow: auto;
    position: relative;
}
div.cake-code-dump pre {
    position: relative;
    overflow: auto;
}
div.cake-stack-trace pre, div.cake-code-dump pre {
    color: #000;
    background-color: #F0F0F0;
    margin: 0px;
    padding: 1em;
    overflow: auto;
}
div.cake-code-dump pre, div.cake-code-dump pre code {
    clear: both;
    font-size: 12px;
    line-height: 15px;
    margin: 4px 2px;
    padding: 4px;
    overflow: auto;
}
div.cake-code-dump span.code-highlight {
    background-color: #ff0;
    padding: 4px;
}
div.code-coverage-results div.code-line {
    padding-left:5px;
    display:block;
    margin-left:10px;
}
div.code-coverage-results div.uncovered span.content {
    background:#ecc;
}
div.code-coverage-results div.covered span.content {
    background:#cec;
}
div.code-coverage-results div.ignored span.content {
    color:#aaa;
}
div.code-coverage-results span.line-num {
    color:#666;
    display:block;
    float:left;
    width:20px;
    text-align:right;
    margin-right:5px;
}
div.code-coverage-results span.line-num strong {
    color:#666;
}
div.code-coverage-results div.start {
    border:1px solid #aaa;
    border-width:1px 1px 0px 1px;
    margin-top:30px;
    padding-top:5px;
}
div.code-coverage-results div.end {
    border:1px solid #aaa;
    border-width:0px 1px 1px 1px;
    margin-bottom:30px;
    padding-bottom:5px;
}
div.code-coverage-results div.realstart {
    margin-top:0px;
}
div.code-coverage-results p.note {
    color:#bbb;
    padding:5px;
    margin:5px 0 10px;
    font-size:10px;
}
div.code-coverage-results span.result-bad {
    color: #a00;
}
div.code-coverage-results span.result-ok {
    color: #fa0;
}
div.code-coverage-results span.result-good {
    color: #0a0;
}
