@charset "Shift_JIS";

/*-----------------------------------
  全体構造
-----------------------------------*/
body {
  margin: 0;
  padding: 0 0 0 10px;
  color: #333333;
  background: #cccccc url(../images/bodyleft.gif) repeat-y;
  font-size: small;
  font-family: Verdana, 'MS UI Gothic', Osaka;
}
#wrapper {
  width: 100%;
  border-top: 13px solid #006699;
  color: #333333;
  background: #ffffff;
}
h2 {
  font-size: medium;
}

/*-----------------------------------
  リンク用
-----------------------------------*/
a img {
  border: none;
  color: #ffffff;
  background: transparent;
}
a:link {
  color: #006699;
  background: transparent;
}
a:visited {
  color: #006699;
  background: transparent;
}
a:hover, a:active {
  color: #ff9933;
  background: transparent;
}

.thispagelink {
  text-decoration: none;
  color: inherit;
  background: inherit;
}
/*-----------------------------------
  ヘッダ用
-----------------------------------*/
#header #logo {
  position: absolute;
  top: 31px;
  left: 13px;
}

/*-----------------------------------
  ナビゲーション用
-----------------------------------*/
#navigation {
  float: left;
  width: 236px;
  margin-top: 67px;
/*  border-top: 13px solid #006699;*/
}
#navigation ul {
  margin: 0 0 1em;
  padding: 0;
  border-top: 1px solid #cccccc;
  border-bottom: 1px solid #cccccc;
  list-style: none;
}
#navigation li {
  margin: 0;
  padding: 0;
  width: 236px;
  height: 30px;
  text-indent: -9999px;
}
#navigation li a {
  text-decoration: none;		/* ■Firefox等で線が表示されないようにする */
  display: block;
  width: 236px;
  height: 30px;
}
/*-------------------------- top --------------------------*/
#navigation li#top      {
  background: url(../images/navigation.gif) no-repeat 0 0;
}
#navigation li#top_selected      {
  background: url(../images/navigation.gif) no-repeat -236px 0;
}
#navigation li#top a:hover    {
  background: url(../images/navigation.gif) no-repeat -236px 0px;
}

/*-------------------------- designpatterns --------------------------*/
#navigation li#designpatterns    {
  background: url(../images/navigation.gif) no-repeat 0 -30px;
}
#navigation li#designpatterns_selected  {
  background: url(../images/navigation.gif) no-repeat -236px -30px;
}
#navigation li#designpatterns a:hover  {
  background: url(../images/navigation.gif) no-repeat -236px -30px;
}

/*-------------------------- win32api --------------------------*/
#navigation li#win32api  {
  background: url(../images/navigation.gif) no-repeat 0 -60px;
}
#navigation li#win32api_selected  {
  background: url(../images/navigation.gif) no-repeat -236px -60px;
}
#navigation li#win32api a:hover  {
  background: url(../images/navigation.gif) no-repeat -236px -60px;
}

/*-------------------------- beginner --------------------------*/
#navigation li#beginner {
  background: url(../images/navigation.gif) no-repeat 0 -90px;
}
#navigation li#beginner_selected {
  background: url(../images/navigation.gif) no-repeat -236px -90px;
}
#navigation li#beginner a:hover {
  background: url(../images/navigation.gif) no-repeat -236px -90px;
}

/*-------------------------- tips --------------------------*/
#navigation li#tips      {
  background: url(../images/navigation.gif) no-repeat 0 -120px;
}
#navigation li#tips_selected      {
  background: url(../images/navigation.gif) no-repeat -236px -120px;
}
#navigation li#tips a:hover      {
  background: url(../images/navigation.gif) no-repeat -236px -120px;
}

/*-------------------------- dog --------------------------*/
#navigation li#dog      {
  background: url(../images/navigation.gif) no-repeat 0 -150px;
}
#navigation li#dog_selected      {
  background: url(../images/navigation.gif) no-repeat -236px -150px;
}
#navigation li#dog a:hover      {
  background: url(../images/navigation.gif) no-repeat -236px -150px;
}

/*-------------------------- linketc --------------------------*/
#navigation li#linketc      {
  background: url(../images/navigation.gif) no-repeat 0 -180px;
}
#navigation li#linketc_selected      {
  background: url(../images/navigation.gif) no-repeat -236px -180px;
}
#navigation li#linketc a:hover      {
  background: url(../images/navigation.gif) no-repeat -236px -180px;
}
/*-------------------------- bbs --------------------------*/
#navigation li#bbs      {
  background: url(../images/navigation.gif) no-repeat 0 -210px;
}
#navigation li#bbs_selected      {
  background: url(../images/navigation.gif) no-repeat -236px -210px;
}
#navigation li#bbs a:hover      {
  background: url(../images/navigation.gif) no-repeat -236px -210px;
}

#navigation .myheader {
  margin:0;
  padding: 0 0 0 3px;
  color: #ffffff;
  font-style: normal;
  font-size: small;
  background-color: #006699;
}
#navigation div {
  margin: 0.7em 0 0 5px;
}

/*-----------------------------------
  コンテンツ用
-----------------------------------*/
#content {
  margin: 67px 10px 0 248px; /* top right bottom left  */
  padding-bottom: 2.5em;
}
#content h1 {
  margin: 0 0 1em;
  padding: 0;
  border-bottom: 1px solid #cccccc;
  font-size: small;
}
#content h1 img {
  vertical-align: bottom;
}
#content .lead p {
  margin:0 10px 0 0;
  text-align: left;
  line-height: 1.4;
  font-size: small;
  color: #006699;
  background: transparent;
}
#content_title {
  font-size: medium;
  font-weight: bold;
  color: #006699;
  border-bottom: 1px solid #cccccc;
}
/*----------- Summary -------------*/
#content .lead .head {
  margin:3px 10px 0 0;
  padding: 0 0 0 3px;
  color: #ffffff;
  font-style: normal;
  font-size: small;
  background-color: #339966;
}
#content .lead .link {
  margin:0 10px 30px 0px;
  padding: 0 0 0 3px;
  font-style: normal;
  font-size: small;
  background-color: #ffffff;
  border: 1px solid #999999;
}
#content .gototop {
  text-align: right;
  font-size: xx-small;
  color: #cccccc;
  border-bottom: 1px solid #cccccc;
}
/*
#details {
  margin-right:0px;
}
*/
#details h2 {
  margin: 0.5em 0 0.3em;
  font-size: small;
  font-weight: bold;
  color: #339966;
  background: transparent;
}
#details p{
  margin: 0;
  font-size: small;
}
/* 注釈用 */
.lead h3 {
  margin: 2em 0 0.3em;
  font-size: xx-small;
  font-weight: normal;
  color: #006699;
  background: transparent;
}

/*-----------------------------------
  コード表示用
-----------------------------------*/
#details .code_name{
  margin: 5px 0 0 0; /* top right bottom left  */
  padding: 0px;
  font-size: small;
  color: #ffffff;
  background: #696969;
  border: 1px solid #999999;
  font-family: 'MS UI Gothic', Osaka;
}
#details pre {
  margin: 0 0 5px 0;
  padding: 10px;
  font-size: small;
  background: #f0f0e8;
  border: 1px solid #cccccc;
  font-family: 'MS UI Gothic', Osaka;
}
#details .code_name a{
  font-size: small;
  color: #ffffff;
}
#details .code_name a:hover{
  font-size: small;
  color: #696969;
  background: #ffffff;
}
#details pre .code_blue{
  color: #0000ff;
}
#details pre .code_green{
  color: #008000;
}
#details pre .code_supgreen{
  color: #ff0000;
}
#details pre .code_gray{
  color: #808080;
}
#details pre .code_red{
  color: #ff0000;
}
#details pre .code_broun{
  color: #800000;
}

/*-----------------------------------
  上方のナビゲーション用
-----------------------------------*/
ul#subnav  {
  position: absolute;
  top: 42px;
  right: 15px;
  margin: 0;
  padding: 0 0 0 250px;			/* ■ロゴと重ならないための余白を確保 */
  list-style: none;
  text-align: right;
  font-size: x-small;
  line-height: 1.5;
}
ul#subnav li {
  display: inline;
  padding-left: 1em;
  text-transform: uppercase;
  vertical-align: top;
}

/*-----------------------------------
  フッタ用
-----------------------------------*/
#footer {
  border-top: 1px solid #cccccc;
  clear: both;
}
#footer ul {
  margin: 0;
  padding: 10px 10px;
  list-style: none;
  text-align: right;
  font-size: xx-small;
}
#footer li {
  display: inline;
  padding-left: 1.7em;
  text-transform: uppercase;
}
#footer li a {
  padding: 10px 0;
  vertical-align: middle;
  text-decoration: none;
}
#footer li#info a {
  padding-right: 22px;
  color: #666666;
  background: url(../images/info.gif) right no-repeat;
}
/*
#footer li#wankuma a {
  padding-right: 88px;
  background: url(../images/wankuma.gif) right no-repeat;
}
#footer li#w3chtml a {
  padding-right: 88px;
  background: url(../images/valid-html.gif) right no-repeat;
}
#footer li#w3ccss a {
  padding-right: 88px;
  background: url(../images/valid-css.gif) right no-repeat;
}
*/
#footer img{
  text-decoration: none;
  border: none;
}
#footer p {
  margin: 0;
  padding: 1em 10px;
  text-align: right;
  text-transform: uppercase;
  font-size: x-small;
  color: #696969;
  background: #f0f0e8;
}


/*-----------------------------------
  csharpcode
-----------------------------------*/

#details .csharpcode pre { margin: 0em; }

#details .csharpcode .rem { color: #008000; }

#details .csharpcode .kwrd { color: #0000ff; }

#details .csharpcode .str { color: #006080; }

#details .csharpcode .op { color: #0000c0; }

#details .csharpcode .preproc { color: #cc6633; }

#details .csharpcode .asp { background-color: #ffff00; }

#details .csharpcode .html { color: #800000; }

#details .csharpcode .attr { color: #ff0000; }

#details .csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}

#details .csharpcode .lnum { color: #606060; }

