/**************************************************************
   AUTHOR:  Pat Heard (fullahead.org)
   DATE:    2006.03.19
   PURPOSE: Controls the layout of the site and styles
            the menus
 **************************************************************/



/**************************************************************
   #content: Sets the width of the site.  Make changes here
             to convert to a fixed width site.
 **************************************************************/

#content {  
  height: 100%;
  min-height: 100%;
  text-align: left;
}

#content,
#width {
  /* max-width hack for IE since it doesn't understand the valid css property */
  width: expression(document.body.clientWidth > 1000 ? "1000px" : "94%");  
  min-width: 800px;
  max-width: 1000px;
  margin: 0 auto;
}

#content[id],
#width[id] {
  width: 94%;
  height: auto;
}


* {
  margin: 0;
  padding: 0;
}


/**************************************************************
   #header: Holds the site title and header images
 **************************************************************/

#header {
  position: relative;
  height: 193px;
  background: url(../images/bg/a.jpg) no-repeat top center;
}

/* Holds the site title and subtitle */
#header #title {
  position: absolute;
  z-index: 3;
  top: 10px;
  left: 130px;

  padding: 5px;
  text-align: right;
}

#header h1 {
  margin: 0;
  padding: 0;

  font: 700 4em "trebuchet ms", serif;
  letter-spacing: -3px;
  text-transform: lowercase;
  color: #cc0066;
}

#header h2 {
  position: absolute;
  top: 54px;
  right: 5px;

  margin: 0;
  padding: 0;

  font: 700 1em "trebuchet ms", serif;
  text-transform: lowercase;
  color: #003366;
}


/**************************************************************
   #mainMenu: The top level site menu
 **************************************************************/

#mainMenu { 
  float: left;
  width: 100%;
  clear: both;  
}

#mainMenu ul {
  margin: 0;
  padding: 0;
}

#mainMenu li {
  display: inline;
  list-style: none;
  margin: 0;
  padding: 0;
}

#mainMenu li a {
  float: left;
  margin: 0 2px;
  padding: 5px 0.5em;

  font: 400 1.4em "trebuchet ms", serif;
  text-decoration: none;
  text-transform: lowercase;
  color: #FFF;
}

#mainMenu li a:hover,
#mainMenu li a.here {
  color: #00ff99;
  border-top: 5px solid #cc0066;
}

#mainMenu li a.last {
  margin-right: 0;
}

#mainMenu li a.he {
  color: #ffff00;
  border-top: 5px solid #cc0066;
}

#mainMenu li a.lastx {
  color: #ffff00;
  margin-right: 0;
  border-top: 5px solid #cc0066;
}

#mainMenu li.tsm {
  float: left;
  margin: 0 2px;
  padding: 5px 0.5em;

  font: 400 1.4em "trebuchet ms", serif;
  text-decoration: none;
  text-transform: lowercase;
  color: #ccff00;
  border-top: 5px solid #cc0066;
}

/**************************************************************
   .sideMenu: The side bar menu
 **************************************************************/

ul.sideMenu {
  margin: 0;
  padding: 0;
}

.sideMenu li {
  display: inline;
  
  /* Needed since IE fails when you give it list-style: none; */  
  font: 400 1.26em "trebuchet ms", serif;
}

.sideMenu li a {
  display: block;
  margin: 0.2em 0;
  padding: 3px 5px;
  text-decoration: none;
  color: #FFF;
} 

.sideMenu li a:hover {
  color: #00ff99;
  background: #5F5F5F;
}

/* Active menu item */
.sideMenu li.here {
  display: block;  
  padding: 5px;
  font-weight: bold;
  color: #ccff00;
  background: #555;
}

/* Submenu of active menu item */
.sideMenu li.here ul {
  margin: 0;
  padding: 0;
}

.sideMenu li ul li a {
  padding-left: 30px;
  font: 400 0.6em verdana, arial, sans-serif; 
  color: #FFF;  
  background: url(../images/bg/bullet1.gif) no-repeat 10px 5px;
}

.sideMenu li ul li a:hover {
  color: #00ff99;
  background: #5F5F5F url(../images/bg/bullet2.gif) no-repeat 10px 5px;
}

.sideMenu li ul li.het a {
  padding-left: 42px;
  font: 400 0.6em verdana, arial, sans-serif; 
  color: #FFF;  
  background: url(../images/bg/arrow.gif) no-repeat 30px 8px;
}

.sideMenu li ul li.het a:hover {
  color: #00ff99;
  background: #5F5F5F url(../images/bg/arrow1.gif) no-repeat 30px 8px;
}

.sideMenu li ul li a.he {
  color: #ffff00;
}

.sideMenu li a.he {
  color: #ffff00;
}

.sideMenu li.same {
  font: 400 1.22em "trebuchet ms", serif;
  font-weight: bold;
  color: #ccff00;
}

.sideMenu li.not {
    font: 400 1em "trebuchet ms", serif;
  padding-left: 30px;
  color: #ffffff;
}

/**************************************************************
   .sideMenu: サイト内メニュー
 **************************************************************/

.sideMenu li ul li.mb a {
  padding-left: 30px;
  font: 400 0.6em verdana, arial, sans-serif; 
  color: #FFF;  
  background: url(../images/bg/bullet3.gif) no-repeat 10px 5px;
}

.sideMenu li ul li.mb a:hover {
  color: #00ff99;
  background: #5F5F5F url(../images/bg/bullet4.gif) no-repeat 10px 5px;
}

.sideMenu li ul li.hetb a {
  padding-left: 42px;
  font: 400 0.6em verdana, arial, sans-serif; 
  color: #FFF;  
  background: url(../images/bg/arrow2.gif) no-repeat 30px 8px;
}

.sideMenu li ul li.hetb a:hover {
  color: #00ff99;
  background: #5F5F5F url(../images/bg/arrow3.gif) no-repeat 30px 8px;
}

.sideMenu li ul li.mb a.he {
  color: #ffff00;
}

/**************************************************************
   .sideMenu: 地図と天気
 **************************************************************/

.sideMenu li ul li.mc a {
  padding-left: 6px;
  font: 400 0.7em verdana, arial, sans-serif; 
  background: no-repeat 10px 5px;
  color: #FFF;  
}

.sideMenu li ul li.mc a:hover {
  color: #00ff99;
  background: #5F5F5F no-repeat 10px 5px;
}

.sideMenu li ul li.hetc a {
  padding-left: 50px;
  font: 400 0.6em verdana, arial, sans-serif; 
  color: #FFF;  
  background: url(../images/bg/bullet5.gif) no-repeat 30px 6px;
}

.sideMenu li ul li.hetc a:hover {
  color: #00ff99;
  background: #5F5F5F url(../images/bg/bullet6.gif) no-repeat 30px 6px;
}

.sideMenu li ul li.mc a.he {
  color: #ffff00;
}

/**************************************************************
   .sideMenub: adv広告用
 **************************************************************/

ul.sideMenub {
  margin: 0;
  padding: 0;
}

.sideMenub li {
  display: inline;
  
  /* Needed since IE fails when you give it list-style: none; */  
  font: 400 1.26em "trebuchet ms", serif;
}

.sideMenub li {
  display: block;
  margin: 0.2em 0;
  padding: 4px 6px;
  text-decoration: none;
  background: #5F5F5F;
  color: #FFF;
} 

/* Active menu item */
.sideMenub li.here {
  display: block;  
  padding: 5px;
  font-weight: bold;
  color: #ccff00;
  background: #555;
}

/* Submenu of active menu item */
.sideMenub li.here ul {
  margin: 0;
  padding: 0;
}

.sideMenub li ul li {
  padding-left: 4px;
  font: 600 0.8em verdana, arial, sans-serif; 
  color: #FFF;  
}

.sideMenub li ul li.het {
  padding-left: 10px;
  font: 600 0.8em verdana, arial, sans-serif; 
  color: #FFF;  
}

.sideMenub li ul li.heta {
  padding-left: 30px;
  font: 700 0.8em verdana, arial, sans-serif; 
  color: #FFF;  
}
.sideMenub li ul li.hetb {
  padding-left: 50px;
  font: 700 0.8em verdana, arial, sans-serif; 
  color: #FFF;  
}

.sideMenub li ul li.he {
  color: #ffff00;
}

.sideMenub li.he {
  color: #ffff00;
}

.sideMenub li.her {
  color: #ffccff;
}

/**************************************************************
   #page: Holds the main page content.
 **************************************************************/

#page {
  float: left;
  width: 100%;
  clear: both;
  
  padding-bottom: 4em;
}

/**************************************************************
   #footer: The page footer - will stick to the bottom if not
            enough content.
 **************************************************************/

#footer {
  float: left;
  width: 100%;
  clear: both;
  
  margin-top: -3.8em;
  background: #cc0066 url(../images/bg/footer.jpg) repeat-x top left;
}

/* Sets the width of the footer content */
#footer #width {
  position: relative;
  z-index: 3;
  font-size: 0.85em;
  padding-top: 27px;
}

/**************************************************************
   Width classes used by the site columns
 **************************************************************/

.width100 {
  width: 100%;
}

.width75 {
  width: 74%;
}

.width50 {
  width: 49.7%;
}

.width33 {
  width: 32.7%;
}

.width25 {
  width: 24.7%;
}

/**************************************************************
   Alignment classes
 **************************************************************/

.floatLeft {
  float: left;
}

.floatRight {
  float: right;
}

.alignLeft {
  text-align: left;
}

.alignRight {
  text-align: right;
}

.aligncenter {
  text-align: center;
}

/**************************************************************
   Generic display classes
 **************************************************************/

.clear {
  clear: both;
}

.block {
  display: block;
}

.small {
  font-size: 0.8em;
}

.green {
  color: #A1FF45;
}

.red {
  color: #EA1B00;
}

.grey {
  color: #fff;
}

.grey a {
  color: #999;
}

.grey a:hover {
  color: #EEE;
}

.gradient {
  margin-bottom: 2em;
  background: #555 url(../images/bg/gradient.jpg) repeat-x bottom left; 
}

.gradient4 {
  margin-bottom: 2em;
  background: #555 url(../images/bg/gradient.jpg) repeat-x bottom left; 
}

/**************************************************************
  トップ
 **************************************************************/

.tops {
  font: 200 1.2em verdana, arial, sans-serif; 
}

.tops p.fons {
  font: 700 1.3em verdana, arial, sans-serif; 
  color: #ffff66;  
}

.tops p.coment {
  font: 400 0.8em verdana, arial, sans-serif; 
  color: #ccffcc;  
}

.tops p.coment span.font {
  color: #66ff66;  
}

.tops span.fontt {
  font: 400 1.2em verdana, arial, sans-serif; 
  font-weight: bold;
  color: #ccff00;  
}

.tops span.fon {
  font: 400 1.1em verdana, arial, sans-serif; 
  font-weight: bold;
  color: #ccff00;  
}

.tops span.forr {
  font: 200 1em verdana, arial, sans-serif; 
  font-weight: bold;
  color: #ffffff;  
}

.tops p a {
  font: 200 0.8em verdana, arial, sans-serif; 
}

.tops dl.sen {
  margin: 10px 10px;
  padding: 0 10px;
  font: 600 1.1em "trebuchet ms", serif;
}

.tops dl dt {
  font: 600 0.8em "trebuchet ms", serif;
  padding-top: 4px; 
  color: #66ff99;  
}

.tops dl dd {
  font: 400 0.8em "trebuchet ms", serif;
  padding-top: 4px; 
  color: #ffffff;  
}

.tops p.not {
  font: 700 4em verdana, arial, sans-serif; 
  font-weight: bold;
  color: #ffff00;  
}


/**************************************************************
  コメント
 **************************************************************/

.gradient p span.fon {
  font: 200 1.1em verdana, arial, sans-serif; 
  color: #66ffff;  
}

.gradient dl dt.he {
  font: 200 1.1em verdana, arial, sans-serif; 
  font-weight: bold;
  color: #66ffff;  
}

.gradient dl dt.het {
  font: 200 1em verdana, arial, sans-serif; 
  font-weight: bold;
  color: #ffff99;  
}

.gradient dl dd.hes {
  font: 200 0.9em verdana, arial, sans-serif; 
  color: #ffccff;  
}

/**************************************************************
  サイト説明
 **************************************************************/

.gradient2 {
  margin-bottom: 2em;
  font: 200 1.2em verdana, arial, sans-serif; 
  color: #ccffff;  
  background: #555555 repeat-x bottom left; 
}

/**************************************************************
   feeds用
 **************************************************************/

.blnews ul {
  font: 200 1em verdana, arial, sans-serif; 
  list-style-image: url(../images/bg/point.gif);
}

.blnews {
  margin-bottom: 2em;
  background: #666666 url(../images/bg/gradient.jpg) repeat-x bottom left; 
}

.blnews span.fontt {
  font: 200 0.9em verdana, arial, sans-serif; 
  color: #ccff99;  
}

.blnews p {
  font: 200 1.3em verdana, arial, sans-serif; 
  font-weight: bold;
}

/**************************************************************
   リンク集用
 **************************************************************/
.a-links span.fontt {
  font: 200 1.2em verdana, arial, sans-serif; 
  color: #ccff00;  
}

.a-links p span.affont {
  font: 200 0.8em verdana, arial, sans-serif; 
  color: #ffccff;  
}

.a-links p.fonts {
  font: 200 1.4em verdana, arial, sans-serif; 
  color: #ccffff;  
}

.a-links {
  margin-bottom: 2em;
  font: 200 1.1em verdana, arial, sans-serif; 
  background: #555 url(../images/bg/gradient.jpg) repeat-x bottom left; 
}

.a-links p a {
  font: 400 1.4em verdana, arial, sans-serif; 
  color: #00ff99;  
}

.a-links p a:hover {
  color: #ffffff;
}

.a-links span.fontn {
  font: 200 1.4em verdana, arial, sans-serif; 
  color: #ccccff;
}

.a-links p span.fontc {
  font: 200 0.9em verdana, arial, sans-serif; 
  color: #e0ffff;
}


/**************************************************************
   サイトマップ用
 **************************************************************/

.smap dt a {
  font: 600 1.4em "trebuchet ms", serif;
  font-weight: bold;
  color: #00ff99;  
}

.smap dt a:hover {
  color: #ffffff;
}

.smap dt.sts {
  font: 600 1.7em "trebuchet ms", serif;
  font-weight: bold;
  padding-top: 2px; 
  padding-left: 20px; 
  color: #ffff00;
}

.smap dt.ststa {
  font: 600 1.5em "trebuchet ms", serif;
  font-weight: bold;
  padding-top: 2px; 
  padding-left: 40px; 
  color: #ccffff;
}

.smap dt.stst {
  font: 600 1.4em "trebuchet ms", serif;
  font-weight: bold;
  padding-top: 2px; 
  padding-left: 80px; 
  color: #ccffff;
}

.smap dt {
  font: 200 1.1em "trebuchet ms", serif;
  padding-top: 2px; 
  padding-left: 40px; 
  color: #ffffff;
}

.smap dd {
  font: 200 1em "trebuchet ms", serif;
  margin-left: 0;
  padding-top: 2px; 
  padding-left: 80px; 
  color: #ffccff;
}

.smap dt.sla {
  font: 200 1.1em "trebuchet ms", serif;
  padding-top: 2px; 
  padding-left: 80px; 
  color: #ffffff;
}

.smap dd.slt {
  font: 200 1.1em "trebuchet ms", serif;
  margin-left: 0;
  padding-top: 2px; 
  padding-left: 120px; 
  color: #ffccff;
}

.smap dt.slaa {
  font: 200 1.1em "trebuchet ms", serif;
  padding-top: 2px; 
  padding-left: 120px; 
  color: #ffffff;
}

.smap dd.slta {
  font: 200 0.8em "trebuchet ms", serif;
  margin-left: 0;
  padding-top: 2px; 
  padding-left: 160px; 
  color: #ffccff;
}

/**************************************************************
  広告説明トップ
 **************************************************************/

.gradient3 {
  margin-bottom: 1em;
  padding-top: 4px; 
  padding-bottom: 10px; 
  font: 500 1.4em verdana, arial, sans-serif; 
  color: #ffffff;  
  background: #555555; 
}

.gradient3 span {
  color: #ffff99;  
}

.gradient3c {
  margin-bottom: 2em;
  font: 400 1.3em verdana, arial, sans-serif; 
  color: #ccffff;  
  background: #555555 repeat-x bottom left; 
}

/**************************************************************
  adv 中間用
 **************************************************************/

.gradient4 p.fon {
  font: 400 1.26em verdana, arial, sans-serif; 
}

.gradient4 p.fonr {
  font: 400 1.2em verdana, arial, sans-serif; 
  font-weight: bold;
  color: #ffcccc;  
}

.gradient4 p span.colz {
  color: #ccffcc;  
}

.gradient4 p span.colza {
  color: #ffff33;  
}

.gradient4 p span.colzb {
  font-weight: bold;
  color: #66ffff;  
}

.gradient4 p span.colzc {
  color: #ffffcc;  
}

.gradient4 p span.fon {
  font: 400 1.2em verdana, arial, sans-serif; 
  color: #66ffff;  
}

.gradient4 p span.fonb {
  font: 200 0.8em verdana, arial, sans-serif; 
}

.gradient4 dl dt.he {
  font: 600 1.2em verdana, arial, sans-serif; 
  color: #66ffff;  
}

.gradient4 dl dt.hex {
  font: 600 1.2em verdana, arial, sans-serif; 
  color: #00ff99;  
}

.gradient4 dl dt.hetx {
  font: 600 1.2em verdana, arial, sans-serif; 
  color: #ccffcc;  
}

.gradient4 dl dt.het {
  font: 600 1.2em verdana, arial, sans-serif; 
  color: #ffff99;  
}

.gradient4 dl dd {
  font: 200 1.2em verdana, arial, sans-serif; 
}

.gradient4 dl dd.het {
  font: 600 1.2em verdana, arial, sans-serif; 
  color: #ffff99;  
}

.gradient4 dl dd.hes {
  color: #ffccff;  
}

.gradient4 dl dd.hesr {
  font: 400 1.0em verdana, arial, sans-serif; 
  color: #99ff99;  
}

.gradient4 p a {
  font: 400 1.0em verdana, arial, sans-serif; 
  color: #00ff99;  
}

.gradient4 p a.sml {
  font: 400 0.8em verdana, arial, sans-serif; 
  color: #00ff99;  
}

.gradient4 p a:hover {
  color: #ffffff;
}

.gradient4 span.fontt {
  font: 200 1.2em verdana, arial, sans-serif; 
  color: #ccff00;  
}

