/* MACGO.CGI STYLE */
body {
	overflow-y:scroll;
	margin:0;
	padding:2em 1em 1em 0;
	background:#ffffff none no-repeat fixed 0% 0%;
				 /* 背景色 背景URL 繰返 固定 横位置 縦位置 */
}

/* 基本 */
body,td,th,caption{
	font-size:83%;
	line-height:120%;
	color:#333333;
}
img { border:0; vertical-align:text-bottom; }
th  { font-weight:normal; white-space:nowrap; }
caption { text-align:left; white-space:nowrap; }
h1,h2,h3,h4,h5,h6,div,p,ol,ul,dl,pre,form {
	margin:0; padding:0;
}


/* リンク系 */
a         { text-decoration:none; }
a:link    { color:#3366cc;  } /*リンク*/
a:visited { color:#663399;  } /*訪問済み*/
a:hover   { color:#e68080; text-decoration:underline; } /*オンマウス時*/
a:active  { color:#339933; text-decoration:underline; } /*訪問中*/


/* インプット系 */
input, select, textarea {
	color:#333333;
	background-color:#ffffff;
	border:1px solid #666666;
}


/* 見出し系 */
h1, h2, h3, h4, h5 {
	font-size:100%;
	font-weight:normal;
}
h1 {
	font-size:120%;
	letter-spacing:1ex;
	text-transform:uppercase;
}
h2 {
	text-align:left;
	display:none;
}
h3 {
	text-transform:uppercase;
}
h4 {}


/* 段落系 */
div.cap {}
div.dress {}
div.boot {}


/* リスト系 */
li, dt, dd {
	margin-left:0;
}


/* 強調系 */
strong {}
em {}


/* その他 */
.cap { /*題*/
}
.dress { /*内容*/
}
.boot { /*追記・補足*/
	font-size:83%;
	color:#999999;
}
.keyword { /*検索ワード*/
	color:#e68080;
	font-weight:bold;
}
.nouse { /*不許可なとき*/
	text-decoration:line-through;
	color:#b3b3b3;
}
nobr {
	white-space:normal;
}




/* ヘッダー */
#header {
	margin:0 0 1em 12em;
}
#header h1 {
	text-align:right;
}


/* フッター */
#footer {
	text-align:right;
	margin:2em 0 1em 12em;
}
#footer li {
	display:inline;
}
#footer address {
	text-align:right;
	border-top:1px solid #666666;
	margin-top:1ex;
	padding:1ex;
}


/* コンテンツ */
#contents {
	width:10em;
	float:left;
	margin-top:-3.5em;
	white-space:nowrap;
}
#contents .cap {
	margin-bottom:-1em;
	padding:0.5ex;
}
#contents .dress {
	border:1px solid #666666;
	border-top:0;
}
#contents .boot {
	margin-top:1em;
	padding:0.5ex;
}
#contents dt {
	padding:0.5ex;
	margin-top:1em;
	border-top:1px solid #666666;
	background-color:#e6e6e6;
}
#contents dd {
	padding-left:0.5ex;
}


/* メニュー */
#menu {
	text-align:right;
	margin-top:2em;
	margin-left:12em;
}
#menu .cap, #menu .dress, #menu .boot {
	margin:0 auto 0 auto;
	text-align:left;
}
#menu .cap {
	display:none;
	padding:0.5ex;
}
#menu .dress {
	border:1px solid #666666;
}
#menu .dress dl, #menu .dress div {
	padding:2px;
}
#menu .boot {
	text-align:right;
}
#menu .boot p {
	display:inline;
	margin-left:1ex;
}
#menu dt {
	margin-left:0.5ex;
}
#menu dd {
	display:inline;
	white-space:nowrap;
}
#menu .y2 dt {
	margin-bottom:-1.4em;
	margin-left:-6.5em;
}
#menu .y0 *, #menu dl.y1 *, #menu div.y3 * {
	display:inline;
}
#menu .y0 {
	background-color:#e6e6e6;
}
#menu .y1 {
	text-align:right;
}
#menu .y2 {
	margin-left:6.5em;
}
#menu .y3 {
	text-align:right;
}


/* メインリスト */
#main {
	margin-top:1em;
	margin-left:12em;
	text-align:right;
}
#main h3 {
	display:none;
}
#main h4 {
	margin-top:2em;
	margin-bottom:1em;
}
#main table {	/*一般*/
	border:1px solid #666666;
	margin-left:auto;
	border-collapse:collapse;
}
#main td, #main th {
	border:1px solid #cccccc;
}
#main th {
	background-color:#e6e6e6;
}
#main td {
	padding:2px;
}
#main .no {
	width:5%;
	text-align:center;
	white-space:nowrap;
}
#main .data {
	width:33%;
	white-space:nowrap;
}
#main .point {
	width:13%;
	text-align:center;
	white-space:nowrap;
}
#main .graph {
	white-space:nowrap;
	vertical-align:middle;
}
#main .graph0, #main .graph1 {	/*グラフ*/
	font-size:3px;
	line-height:3px;
	height:7px;
	float:left;
	clear:both;
}
#main .graph0 {	/*グラフ0の色*/
	background-color:#ccddee;
	border-top:2px solid #bbddff;
	border-bottom:2px solid #88aacc;
}
#main .graph1 {	/*グラフ1の色*/
	background-color:#ffb3b3;
	border-top:2px solid #ffe6e6;
	border-bottom:2px solid #e69999;
}
#main .percent { 	/*パーセント*/
	text-align:right;
	font-size:90%;
}


/* コンテンツごと */  /* 0:NO, 1:DATA, 2:POINT, 3:GRAPH / 1-:数字DATA, 1+:URL-DATA */
#p1 {} /*ページごと*/
#p33{} /*月*/ /*1-,2,3*/
#p32{} /*日*/ /*1-,2,3*/
#p31{} /*曜*/ /*1-,2,3*/
#p30{} /*時間*/ /*1-,2,3*/

#p6 {} /*URL*/ /*0,1+,2,3*/
#p26{} /*サイト*/ /*0,1+,2,3*/
#p27{} /*検索*/

#p2 {} /*訪問回数*/ /*0,1-,2,3*/
#p3 {} /*アクセス日*/
#p4 {} /*訪問間隔*/
#p5 {} /*初訪問日*/
#p15{} /*履歴*/  /*0,1-,2,3*/
#p19{} /*ユニーク*/  /*0,1-,2,3*/

#p7 {} /*窓*/
#p8 {} /*窓/スクリーン*/
#p9 {} /*スクリーン*/
#p10{} /*スクリーンx色*/
#p11{} /*色*/
#p14{} /*言語*/
#p12{} /*OS*/
#p13{} /*ブラウザ*/
#p16{} /*ドメイン*/
#p17{} /*IP*/
#p18{} /*HOST*/
#p20{} /**/
#p0 {} /*生ログ*/


/* 数字DATA */
#p33 .data, #p32 .data, #p31 .data, #p30 .data, #p2 .data, #p15 .data, #p19 .data {
	width:10%;
	text-align:center;
}


/* URL */
#p6 table, #p26 table {}
#p6 .data, #p26 .data { width:60%; white-space:normal; }


/* 生ログ */
#p0 table {}
#p0 table.cap, #p0 table.dress, #p0 p { margin-bottom:1em; }
#p0 .dress { text-align:center; }
#p0 .x0 {  }
#p0 .x1 { width:22%; }
#p0 .x2 { width:15%; }
#p0 .x3 { width:18%; }
#p0 .x4 { width:3%; }
#p0 .x5 { width:3%; }
#p0 .cap { white-space:nowrap; }
#p0 .cap .x4 { width:10%; }
#p0 .cap .x5 { width:10%; }
#p0 .dress .y1 .x0 { text-align:left; }	/*URL*/







/* CGI画面 */
#container {
	text-align:right;
	margin-left:12em;
	margin-top:2em;
}
#container .section {}
#container .body {
	margin-left:auto;
}
#container .body .cap {
	padding:1ex;
	border-bottom:1px solid #666666;
}
#container .error {
	margin-left:auto;
}
#container .error .cap {
	padding:1ex;
	border-bottom:1px solid #e66666;
	color:#e66666;
}
#container ul { margin-bottom:1em; }
#container li { display:inline; list-style-type:none; }
#container p  { margin-bottom:1em; }


/* 管理メニュー */
#admin {} /*menu*/


/* CGIの設定 */
#setup1, #setup2 { margin-bottom:2em; }
#setup1 p,  #setup2 p  { text-align:left; }
#setup1 dl, #setup2 dl { margin:1em 0 2em 4em; text-align:left; }
#setup1 dt, #setup2 dt { margin-top:1ex; }
#setup1 dd, #setup2 dd { margin-left:2em; }
#setup1 em, #setup2 em { font-size:83%; font-style:normal; }
#setup1 em.x1, #setup2 em.x1 { display:block; padding-left:2em; }
#setup1 em.x2, #setup2 em.x2 { display:block; padding-left:2em; }
#setup1 p.x3,  #setup2 p.x3  { text-align:right; }
#setup1 p.title, #setup2 p.title  {
	text-align:right;
	margin-top:1em;
	border-bottom:1px solid #666666;
	letter-spacing:5px;
}


/* カウント数編集 */
#recount dl { margin-bottom:1.5em; }
#recount dt { margin-top:1ex; }


/* サイトデータ読込 */
#sitedata dl    { margin:0 0 1em auto; }
#sitedata dd    { display:inline; margin:0; }
#sitedata dt.x0 { display:inline; }
#sitedata dt.x1 { margin:2ex 0 1ex 0; }
#sitedata dd.x4 { display:block; }


/* データコピー・リセット */
#datacopy dl, #datareset dl { text-align:left; margin:1ex auto 1em auto; width:12em; }
#datacopy dt, #datareset dt { margin-top:1ex; }
