/* General */

BODY {background-color: white;}

P, DIV, TD, A,H1, H2, H3, H4, H5, H6, MENU, LI {font-family: "MSゴシック", Osaka, VERDANA; color:#000066; font-style:normal;Line-height: 18px;} /*line spacing*/
 
P, DIV, TD, A,MENU, LI,H5 {font-size:12px;}

H1, H2, H3, H4, H5, H6, P {margin: 0px; margin-top: 0px; margin-bottom:0px;}

H1, H2, H3, H4, H5, H6 {font-weight: bold;}

H4 {font-size:16px;}

H5 {margin-top: 5px; color:#000066; white-space:nowrap;}

H2, H3 { color: #000066;line-height:1.2em;}

HR {text-align: center;}

A, A:link,A:visited,A:active {text-decoration: none;}
A:hover {text-decoration: underline;}



/*GENERIC CLASSES*/

/* Generic Box Heading */
TD.boxheading P, TD.boxheading, P.boxheading, P.boxheading A {border: 1px solid #330099; background:#330099; color:#ffffcc; width: 100%; font-weight: bold; text-indent:5px;} 

/* Generic Box */
TABLE.box, DIV.box {border: 1px solid #000066; width: 100%;  background:#dfdfac;padding-left:5px;padding-right:5px;}

/* Generic Box for Grouping of Content */
TABLE.groupbox {border: 1px solid #B9BFB0;}

/* Generic Article Headlines for Text/Link */
.article, P.article, A.article:link, A.article:visited, A.article:active{text-decoration:underline; color:#000066;}
P.article A:hover, A.article:hover {font-weight:bold; color:#0066ff;}

/* Generic Emphasis for Text/Link */
.emphasis, P.emphasis, A.emphasis:link, A.emphasis:visited, A.emphasis:active{text-decoration:none; font-size:11px; font-weight:bold; color:#000066;white-space:nowrap;}
P.emphasis A:hover, A.emphasis:hover {color:#cccc99;white-space:nowrap;}

/* Generic Extra Emphasis for Text/Link */
.emphasisextra, P.emphasisextra, A.emphasisextra:link, A.emphasisextra:visited, A.emphasisextra:active {text-decoration:none; font-size:16px; font-weight:bold; color:#000066; white-space:nowrap;}
P.emphasisextra A:hover, A.emphasisextra:hover {color:#cccc99;white-space:nowrap;}

/* Generic Emphasis2 for Text/Link */
.emphasis2, P.emphasis2, A.emphasis2:link, A.emphasis2:visited, A.emphasis2:active{text-decoration: underline;font-weight:bold; color:#000066;white-space:nowrap;}
P.emphasis2 A:hover, A.emphasis2:hover {color:#0066ff;white-space:nowrap;}

/* Generic Extra Emphasis2 for Text/Link */
.emphasisextra2, P.emphasisextra2, A.emphasisextra2:link, A.emphasisextra2:visited, A.emphasisextra2:active {text-decoration:underline; font-size:16px; font-weight:bold; color:#000066; white-space:nowrap;}
P.emphasisextra2 A:hover, A.emphasisextra2:hover {color:#0066ff;white-space:nowrap;}

/* Generic Text in a Table Cell */
.tablecelltext, P.tablecelltext, A.tablecelltext:link, A.tablecelltext:visited, A.tablecelltext:active {color: #000066; font-size: 10px; text-decoration: none; line-height:1.2em;}

/* Generic Heading in a Table */
.tableheading, P.tableheading, A.tableheading:link, A.tableheading:visited, A.tableheading:active {color: #000066; font-size: 9px;text-decoration: none;font-weight:bold;}

/* Box Used for Buttons */
.buttonbox {background-color:#cccc99;color:white; font-weight:bold;}


/* STYLES/CLASSES USED GENERALLY */

/* Main menu */
MENU{  list-style-type: none;  text-indent: 0px;  margin: 0px;  margin-top: 2px;
 padding: 0px;}
MENU A:link, MENU A:Visited { color: #000066; font-style: normal; font-size:  12px; font-weight: bold; text-decoration: none;}
MENU LI { border: 1px solid #000066; margin-bottom: 2px; /* Distance between menu boxes */ margin-top: 0px; margin-right: 0px; padding: 0px; }
MENU LI A { display: block; text-decoration: none; width: 100%;  padding-top:2px; padding-bottom:2px; padding-left:4px;}
MENU LI A:hover {color:#ffffcc; background:#330099;}

/* Toolbar menu */
DIV.toolbarmenu, A.toolbarmenu:link,A.toolbarmenu:visited,A.toolbarmenu:active 
{ display: block; color:#000066; font-size:10px; font-weight:bold; white-space:nowrap; text-decoration: none; text-align:center; width: 100%;padding-left:4px;padding-right:4px;}
A.toolbarmenu:hover {color:#ffffcc; background:#330099;}
TABLE.toolbarborder TD {border: 1px solid #000066;text-align:center; }
TABLE.toolbarborder {width:100%;}

/* Template design */
TD.templatetop { text-align: left; background-image: url(/default.gif);background-repeat: no-repeat;background-color: #cccc99;}
TD.templatebackground {background-color: #cccc99;}
TD.templateleft {background-image: url(/default.gif);background-repeat: no-repeat;background-color: #cccc99;}
TD.templateright {background-image: url(/default.gif);background-repeat: repeat-x; background-color: #cccc99;}
IMG.templatefooter {position:absolute; z-index: 0;}
DIV.templatefooter {position:absolute; z-index: 1; background-color: #cccc99;}

/* Template Footer */
.footer,P.footer A, A.footer:link, A.footer:visited, A.footer:active {text-decoration:none; font-size:9px; font-weight:bold; color:#0066ff;line-height:1em;}
P.footer A:hover, A.footer:hover {color:#0000ff;white-space:nowrap;}

/* Join Element Box */
DIV.joinelementbox {border: 1px solid #000066; width: 100%; background:#ffffcc; padding:0px;} /* No padding*/

/* News Element Box */
TABLE.newselementbox, DIV.newselementbox {border: 1px solid #000066; width: 100%; } /* With no padding */

/* Link to news */
.newslink, P.newslink A {font-size: 10px; color:#000066; font-weight:bold; line-height:1.2em; text-decoration: none;}
P.newslink A:hover {color:#cccc99;}

/* Box for logging into pages */
TABLE.loginbox, TD.loginbox, DIV.loginbox {border: 1px solid #000066; padding-left:5px;padding-right:5px; } /* Fixed width*/


/* CLASSES USED IN GUESTBOOK */

/* Information About Author of Guestbook Item */
.guestbookauthoritem, P.guestbookauthoritem, A.guestbookauthoritem:link, A.guestbookauthoritem:visited, A.guestbookauthoritem:active {color: #000066; font-size: 9px;text-decoration: none;font-weight:bold;}
P.guestbookauthoritem A:hover,A.guestbookauthoritem:hover {color:#dfdfac;}