#search {
  height: none;
  margin-bottom: 0px;
}
div[id=banner] {
 padding-top:0.5em;
 margin-top: 1em;
}

div#header {
  margin-bottom: 1em;
  margin-left: 0;
  margin-right: 0;
  margin-top: 0.3em;
}

/**　メタナビゲーション */
div#metanav {
 position: absolute;
 top:1px;
 left: 1px;
}

#metanav ul {
  padding-left: 1em;
}

#metanav ul li {
  border: none;
  padding: 0px 0.2em;
}

#metanav ul li a {
   padding: 0.2em 1em 0.2em 1em;
   border-top-right-radius: 5px;
   border-top-left-radius: 5px;
   border-bottom-left-radius: 5px;
   border-bottom-right-radius: 5px;
   -moz-border-radius-topleft: 5px;
   -moz-border-radius-topright: 5px;
   -moz-border-radius-bottomleft: 5px;
   -moz-border-radius-bottomright: 5px;
   background: #eee;
   background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#ddd));
   background: -moz-linear-gradient(top,#fff,#ddd);
   color:black;
}

#metanav ul li a:hover {
   background: darkGray;
}

/******************* wiki *********************/
.wikipage h1 {
   width: 80%;
   border-bottom: 2px solid #44f;
   text-shadow: 1px 1px 3px darkGray;
}

.wikipage h2 {
   border-left: 1.2em solid #44f;
   padding-left: 0.5em;
}

.wikipage h3 {
   border-left: 1em solid #44f;
   padding-left: 0.5em;
}

/*************** メインナビゲーション ***************/

#mainnav {
  background: #fff;
  border: none;
}

#mainnav ul {
  text-align: left;
  -webkit-padding-start: 0px;
  padding-left: 0px;
}

#mainnav {
  margin: 0px 0px 0px 0px;
  padding: 15px 0;
}

#mainnav ul li {
/* メニューの間隔 */
  line-height: 2.2em;
  background-image: none;
  color: white ;
  padding: 0px;
  vertical-align:middle;
}


/* メニュー共通設定 */
#mainnav :link, 
#mainnav :visited,
#mainnav .active :link,
#mainnav .active :visited {
  vertical-align:middle;

   background: white;
/* メニューのスタイル */
   font-size: 9pt;
   font-weight: bold;
   color: white;
   text-shadow: 1px 1px 3px gray;
   padding: 0.75em 1em 0.75em 1em; /* メニューの大きさ */
   margin: 0px 0px 0px 0px; /*メニューの間隔 */
   border: none;
/* コーナー */
   border-right: 1px solid lightgray;
   border-left: 1px solid lightgray;
   border-top: 1px solid lightgray;
   -moz-border-radius-topleft: 12px;
   -moz-border-radius-topright: 12px;
   border-top-right-radius: 12px;
   border-top-left-radius: 12px;
}

/* メニュー設定 */
#mainnav ul li a:link, #mainnav ul li a:visited {
  background: #44f;
  background: -webkit-gradient(linear, left top, left bottom, from(#88f), to(#00a));
  background: -moz-linear-gradient(top,#88f,#00a);
  color: white ;
}



#mainnav ul li {
/* メニューを改行したときの幅 */
  display: inline-block;
}

/* IE7の対応 */
*+html #mainnav ul li {
  display: inline;
}

/* アクティブメニュー */
#mainnav .active :link,
#mainnav ul li.active a:visited {
  color: #333; /* 文字色 */
  font-weight: normal;
  text-shadow: 1px 1px 1px lightgray;
  border-bottom: 1px solid white;
  background: white; /* 背景 */
  border-right: 1px solid gray; /* 枠 */
  border-left: 1px solid gray;
  border-top: 1px solid gray;
}



#mainnav span {
   padding: 0px 0px 0px 0px;
}

/* ホバー時の設定 */
#mainnav .active :link:hover,
#mainnav :link:hover,
#mainnav :visited:hover,
#mainnav .active :visited:hover {
   border-right: 1px solid lightgray;
   border-left: 1px solid lightgray;
   border-top: 1px solid lightgray;
   border-bottom: none;
   background: #88f;
}




input[type=submit], button, input[type=button] {
overflow: hidden;
padding: 0.3em 25px 0.3em;
text-overflow: ellipsis;
white-space: nowrap;
webkit-box-shadow: rgba(0, 0, 0, 0.199219) 0px 1px 4px inset;
-webkit-background-clip: padding-box;
background-clip: padding-box;
border-bottom-left-radius: 1em 1em;
border-bottom-right-radius: 1em 1em;
border-top-left-radius: 1em 1em;
border-top-right-radius: 1em 1em;
   -moz-border-radius-topleft: 1em;
   -moz-border-radius-topright: 1em;
   -moz-border-radius-bottomleft: 1em;
   -moz-border-radius-bottomright: 1em;
border: 1px solid #B3B3B3;
background: #F0F0F0 -webkit-gradient(linear, 0% 0%, 0% 100%, from(white), to(#F0F0F0));
background: -moz-linear-gradient(top,#FFFFFF,#F0F0F0);
cursor: pointer;
text-align: center;
color: #444;
font-weight: bold;
text-shadow: #F6F6F6 0px 1px 1px;
}


input[type=text]  ,textarea ,select {
-webkit-box-shadow: rgba(0, 0, 0, 0.199219) 0px 1px 4px inset;
line-height: 1.4;
padding: 0.4em;
-webkit-background-clip: padding-box;
background-clip: padding-box;
border-bottom-left-radius: 0.6em 0.6em;
border-bottom-right-radius: 0.6em 0.6em;
border-top-left-radius: 0.6em 0.6em;
border-top-right-radius: 0.6em 0.6em;
   -moz-border-radius-topleft: 0.6em;
   -moz-border-radius-topright: 0.6em;
   -moz-border-radius-bottomleft: 0.6em;
   -moz-border-radius-bottomright: 0.6em;
background: #F0F0F0 -webkit-gradient(linear, 0% 0%, 0% 100%, from(white), 
to(#F0F0F0));
background: -moz-linear-gradient(top,#FFFFFF,#F0F0F0);
border: 1px solid #B3B3B3;
color: #333;
text-shadow: white 0px 1px 0px;
border: 1px inset;
cursor: auto;
margin-left: 2px;
}


input[type=text],textarea, input[type="password"], input[type="search"],isindex {
-webkit-appearance: textfield;
-webkit-rtl-ordering: logical;
-webkit-user-select: text;
}

input, textarea, keygen, select, button, isindex, datagrid {
font: -webkit-small-control;
letter-spacing: normal;
line-height: normal;
margin: 0em;
text-align: -webkit-auto;
text-indent: 0px;
text-transform: none;
word-spacing: normal;
}

input::-webkit-input-placeholder, isindex::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
color: darkGray;
}
