/******** Basic Layout Rules ********/
body{
  background: url('/images/site_bg.jpg') repeat bottom;
  font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
  font-size: small;
  min-width: 1000px;
}

div#main{
  background: url('/images/paper.png') repeat-y;
  margin: -20px auto 0 auto;
  width: 1000px;
}

div#main-content{
  background: url('/images/painted_paper.jpg') repeat-y;
  font-size: 110%;
  margin-left: 150px;
  min-height: 1000px;
  padding-bottom: 45px;
  width: 675px;
}

	div#main-header{
	  background: url('/images/header.png') no-repeat;
	  height: 140px;
	  margin-left: -65px;
	  width: 775px;
	}
  	
	div#main-content h1,
	div#main-content h2,
	div#main-content h3{
	  color: #009;
	  text-align: center;
	}
	
	/* NOTE: width of paragraph is approx 420px */
	div#main-content p{
	  padding: 0 120px 0 125px;
	}
	
div#footer{
  color: #fff;
  font-size: 90%;
  font-weight: bold;
  background: url('/images/footer.png') -2px 0 no-repeat; /* x offset -2px to correct image alignment */
  height: 178px;
  margin: -30px auto 0 auto;
  width: 1000px;
}

  div#footer-copy{
    padding: 25px 0 0 130px;
    text-align: center;
    width: 700px;
  }

  /* not currently used */
  div#footer-toj{
    float: left;
    margin: 0;
    padding: 25px 0 0 130px;
    width: 300px;
  }
  
  /* not currently used */
  div#footer-toj a img{
    border: none;
    float: left;
    margin-right: 0.8em;
  }

/******** MENU RULES ********/
/* the logo */
a#logo{
  border: none;
  display: block;
  height: 125px;
  margin-left: 35px;
  position: absolute;
  width: 215px;
}

/* the list containing the menu items */  	
ul#menu{
  background: url('/images/menu-img.png') no-repeat;
  height: 55px;
  left: 255px;
  padding: 0;
  position: relative;
  top: 37px;
  width: 500px;
}

ul#menu li{
  list-style: none;
  position: absolute;
}

ul#menu li,
ul#menu a{
  display: block;
  height: 55px;
}

/* basic positioning */
#menu-calendar{ left: 0px; width: 140px;}
#menu-about{ left: 140px; width: 100px;}
#menu-members{ left: 240px; width: 135px;}
#menu-contact{ left: 375px; width: 125px;}

/* default state */
#menu-calendar a{ background: transparent url('/images/menu-img.png') 0 0 no-repeat;}
#menu-about a{ background: transparent url('/images/menu-img.png') -140px 0 no-repeat;}
#menu-members a{ background: transparent url('/images/menu-img.png') -240px 0 no-repeat;}
#menu-contact a{ background: transparent url('/images/menu-img.png') -375px 0 no-repeat;}

/* hover state */
#menu-calendar a:hover{ background: transparent url('/images/menu-img.png') 0 -55px no-repeat;}
#menu-about a:hover{ background: transparent url('/images/menu-img.png') -140px -55px no-repeat;}
#menu-members a:hover{ background: transparent url('/images/menu-img.png') -240px -55px no-repeat;}
#menu-contact a:hover{ background: transparent url('/images/menu-img.png') -375px -55px no-repeat;}

/* selected state (selected needs to not contain an a element) */
body#calendar #menu-calendar{ background: transparent url('/images/menu-img.png') 0 -110px no-repeat;}
body#about #menu-about{ background: transparent url('/images/menu-img.png') -140px -110px no-repeat;}
body#members #menu-members{ background: transparent url('/images/menu-img.png') -240px -110px no-repeat;}
body#contact #menu-contact{ background: transparent url('/images/menu-img.png') -375px -110px no-repeat;}

/******** MISC RULES ********/
/* "blue box" formatting */
.bluebox{
  background: #099 url('/images/tealbg-bottom.jpg') bottom left no-repeat;
}

/* .bluebox with only 1 column */
.bluebox1c{
  background: #099 url('/images/tealbg1c-bottom.jpg') bottom left no-repeat;
}

.bluebox,
.bluebox1c{
  clear: both;
  margin: 1.8em auto;
  padding-bottom: 1.2em;
  width: 650px;
}

  .bluebox-caption{
    background: url('/images/tealbg-top.jpg') top left no-repeat;
    padding: 1.2em 250px 0 .8em;
    text-align: left;
  }
  
  
  .bluebox1c-caption{
    background: url('/images/tealbg1c-top.jpg') top left no-repeat;
    padding: 1.2em .8em 0 .8em;
    text-align: center;
  }
  
  .bluebox-caption,
  .bluebox1c-caption{
    color: #009;
    font-size: 130%;
    font-weight: bold;
  }
  
  .bluebox-content{
    margin: .8em 260px .5em 1.2em;
  }
  
  .bluebox-content,
  .bluebox1c-content{
    color: #004;
    font-size: 100%;
    text-align: left;
  }
  
  .bluebox-content a:link,
  .bluebox1c-content a:link,
  .bluebox-content a:visited,
  .bluebox1c-content a:visited{
    color: #00F;
    text-decoration: none;
  }

  .bluebox-content a:hover,
  .bluebox1c-content a:hover,
  .bluebox-content a:active,
  .bluebox1c-content a:active{
    background: #fff;
    color: #004;
    text-decoration: none;
  }
  
  .bluebox-content p{
    text-align: justify;
  }
  
  .bluebox li{
    margin-bottom: 0.8em;
  }
  
  .bluebox-twitter{
    float: right;
    width: 250px;
  }
  
    #twitter_div{
      color: #fff;
      font-size: 100%;
      padding: 0 1.2em;
    }
    
    #twitter_div a:link,
    #twitter_div a:visited{
      color: #0cc;
      font-weight: bold;
      text-decoration: none;
    }
    
    #twitter_div a:hover,
    #twitter_div a:active{
      background: #fff;
      text-decoration: none;
    }
    
    #twitter_caption{
      color: #fff;
      font-size: 110%;
      font-weight: bold;
      margin-top: 1.2em;
      text-align: center;
    }
    
    #twitter_caption a:link,
    #twitter_caption a:visited{
      text-decoration: none;
    }
  
    /* this list populated dynamically by JS */
    ul#twitter_update_list{
      font-size: 90%;
      list-style-image: url('/images/paddle-white.gif');
    }
    
    #twitter-link{
      color: #0cc;
      display: block;
      font-weight: bold;
      padding: 0 1.2em 0 410px;
      text-align: right;
    }
    
    #twitter-link img{
      /* Don't have a border in Firefox. */    
      border: none;
    }
/* formatting for the box containing the agenda-style calendar on the homepage */
#agenda-container{
  background: url('/images/now-and-later.jpg') top left no-repeat;
  height: 375px;
  width: 670px;
}

#agenda{
  color: #fff;
  float: right;
  font-weight: bold;
  padding: 10px 15px 0 0;
  text-align: right;
  width: 420px;
}

  #agenda-container img{
    padding: 0 3px 5px 0;
  }
  
  #agenda-container a:link,
  #agenda-container a:visited{
    color: #099;
    text-decoration: none;
  }
  
  #agenda-container a:hover,
  #agenda-container a:active{
    background-color: #099;
    color: #fff;
  }

/* faq formatting */
/* this keeps the background from shifting on the FAQ when items open */
body#about div#main-content{ min-height: 1600px; }

ul#faq{
  list-style-image: url('/images/paddle.gif');
}

  div.faq-section{
    color: #099;
    font-size: 125%;
    font-weight: bold;
    padding-top: 1.5em;
    text-align: center;
    text-transform: uppercase;
  }

  li.faq-question{
    font-size: 110%;
    margin-bottom: 0.5em;
  }
  
  div.faq-answer{
    margin: 0.3em 0 0.8em 0;
  }
  
  div.faq-answer ul,
  div.faq-answer ol{
    list-style-position: inside;
    list-style-image: none;
  }
  
  div#mapbox{
	  padding: 1.2em 110px 0 110px;
  }
  
/* members table formatting */
table#members{
  margin: 1.2em auto 0 auto;
  width: 610px;
}

  table#members th{
    color: #099;
    text-align: left;
  }

  table#members td,
  table#members th{
    border-bottom: 1px solid #ccc;
  }

  td.member-name{
    font-weight: bold;
    text-align: right;
  }
  
  td.member-discipline{
    font-size: 70%;
  }
  
  .member-discipline:before{
    color: #099;
    content: '• ';
    font-size: 135%;
  }
