.right{float: right;}
.left{float: left;}
img{border: 0;}
h1, h2, h3, h4, h5, p
{
  font-weight: normal;
}


/* LAYOUT */

body
{
  font: 15px/19px Helvetica, Arial, sans-serif;
  color: #333;
  padding: 0;
  margin: 0;
}

#container
{
  width: 950px;
  margin: 0 auto;
  padding: 0;
}

#header
{
  clear: both;
  width: 100%;
  height: 166px;
  margin: 0;
  padding: 0;
  overflow: auto;
  background: url(../images/navbarfade.jpg) no-repeat;
  background-position: 0 108px;
  /*overflow: hidden;*/
}


#navbar
{
  clear: both;
  width: 100%;
  height: 36px;
  margin: 0;
  padding: 0;
  overflow: auto;
}

#navbar.home{background: url(../images/navbar_home.jpg) no-repeat;}
#navbar.wware{background: url(../images/navbar_wware.jpg) no-repeat;}
#navbar.wwdo{background: url(../images/navbar_wwdo.jpg) no-repeat;}
#navbar.event{background: url(../images/navbar_event.jpg) no-repeat;}
#navbar.contact{background: url(../images/navbar_contact.jpg) no-repeat;}

#content
{
  clear: both;
  width: 100%;
  margin: 14px 0;
  padding: 0;
  overflow: auto;
}

#billboard
{
  float: left;
  width: 655px;
  height: 320px;
  margin: 0;
  padding: 0;
  /* background: url(../images/billboard.jpg) no-repeat;*/
}

#main
{
  float: left;
  width: 640px;
  margin: 0 25px 0 0;
  padding: 0 0 1em 0;
  overflow: auto;
}

#sidebar
{
  float: right;
  width: 280px;
  min-height: 320px;
  margin: 0;
  padding: 0;
}

#sidebar.sbhome
{
  background: url(../images/sb_home.jpg) repeat-y;
  height: 320px;
}
#sidebar.sbwware{background: url(../images/sb_wware.jpg) repeat-y;}
#sidebar.sbwwdo{background: url(../images/sb_wwdo.jpg) repeat-y;}
#sidebar.sbevent{background: url(../images/sb_event.jpg) repeat-y;}
#sidebar.sbcontact{background: url(../images/sb_contact.jpg) repeat-y;}

#ad-panel
{
  clear: both;
  width: 100%;
  height: 170px;
  margin: 40px 0;
  padding: 0;
}

#footer
{
  clear: both;
  width: 100%;
  height: 2em;
  margin: 0;
  padding: 0;
}



/* HEADER AND NAVIGATION */

#header #logo
{
  float: left;
  margin: 0 75px 0 0;
  padding: 0;
  width: 300px;
  height: 110px;
  overflow: hidden;
}

#header #logo h1
{
  background: url(../images/logo_home.jpg) no-repeat;
  text-indent: -5000px;
  margin: 0;
  padding: 0;
  width: 300px;
  height: 110px;

}

#header #logo h1.home{background: url(../images/logo_home.jpg) no-repeat;}
#header #logo h1.wware{background: url(../images/logo_wware.jpg) no-repeat;}
#header #logo h1.wwdo{background: url(../images/logo_wwdo.jpg) no-repeat;}
#header #logo h1.event{background: url(../images/logo_event.jpg) no-repeat;}
#header #logo h1.contact{background: url(../images/logo_contact.jpg) no-repeat;}




#newtochurch
{
  float: right;
  width: 156px;
  height: 106px;
  margin: 0 20px 0 0;
  padding: 0;
  background: url(../images/newtochurch.jpg) no-repeat;
  text-indent: -5000px;
}

ul#nav
{
  float: left;
  width: 200px;
  height: 110px;
  margin: 20px 0 0 0;
  padding: 0;
  list-style: none;
}

ul#nav li
{
  float: left;
  width: 30px;
  height: 110px;
  margin: 0 5px;
  padding: 0;
  list-style: none;
}

ul#nav li a
{
  text-indent: -5000px;
  display: block;
  height: 110px;
}


#nav a:active{
  background-position: -60px 0;
}



#nav a
{
  background-position: -60px 0;
  background-repeat: no-repeat;  
}

#nav a:hover
{
  background-position: -30px 0;
  background-repeat: no-repeat;
}

#nav .on a
{
  background-position: 0 0; /*starting position*/
}

#nav .on a:hover
{
  background-position: 0 0; /* this option for rollover state for current page*/
}


ul#nav #nav_home, ul#nav #nav_home a
{
  width: 30px;
  height: 110px;
  background-image: url(../images/navbtn_home.jpg);
}

ul#nav #nav_wware, ul#nav #nav_wware a
{
  width: 30px;
  height: 110px;
  background-image: url(../images/navbtn_wware.jpg);
}

ul#nav #nav_wwdo, ul#nav #nav_wwdo a
{
  width: 30px;
  height: 110px;
  background-image: url(../images/navbtn_wwdo.jpg);
}

ul#nav #nav_event, ul#nav #nav_event a
{
  width: 30px;
  height: 110px;
  background-image: url(../images/navbtn_event.jpg);
}

ul#nav #nav_contact, ul#nav #nav_contact a
{
  width: 30px;
  height: 110px;
  background-image: url(../images/navbtn_contact.jpg);
}


/* LOGIN BAR */

#navbar p
{
  font-size: 0.8em;
  margin: 0 0 0 1.5em;
  padding: 6px 0 0 0;
}

#navbar a
{
  text-decoration: none;
  color: #3f3f3f;
}

#navbar a:hover
{
  text-decoration: underline;
  color: #3f3f3f;
}



/* BILLBOARD - FRONT PAGE ONLY */

#billboard #bb-txt
{
  float: right;
  width: 274px;
  height: 200px;
  margin: 72px 20px 0 0;
  padding: 8px 0;
}

#bb-txt .bb-copy
{
  font-size: 1.2em;
  line-height: 1.2em;
  color: #fff;
  margin: 0.4em;
  display: block;
}

#bb-txt a
{
  float: right;
  background:url(../images/bb_btn_about.jpg) no-repeat;
  text-indent: -5000px;
  width: 125px;
  height: 30px;
  color: #fff;
  margin: 0.5em 0;
}


/* MAIN */

#main h2
{
  font-size: 2em;
  font-weight: bold;
  color: #4c4c4c;
  text-transform: uppercase;
  margin: 0.5em 0 1em 0;
  padding: 0;
  clear: right;
}

#main h3, h4, h5, h6
{
  font-size: 1.2em;
  font-weight: normal;
  margin: 1em 0 0.5em 0;
  padding: 0;
}

#main p, #main a
{
  font-size: 1em;
  line-height: 1.2;
}

#main p
{
  color: #4c4c4c;
  margin: 1em 1em 0 0;
  padding: 0;
}

#main p.aside
{
  font-style: italic;
}

#main p.pullquote
{
  font-size: 1.6em;
  font-weight: bold;
  float: right;
  width: 180px;
  border: 3px dashed;
  margin: 0.4em 0 0.4em 0.4em;
  padding: 20px 0.5em 0.5em 20px;
}

#main.wware p.pullquote
{
  background: #F8C6D8 url(../images/pullquote.gif) no-repeat 5px 5px;
  border-color: #CD0074;
  color: #CD0074;
}

#main.wwdo p.pullquote
{
  background: #F6CA93 url(../images/pullquote.gif) no-repeat 5px 5px;
  border-color: #EF4A1E;
  color: #EF4A1E;
}

#main.event p.pullquote
{
  background: #F8C6D8 url(../images/pullquote.gif) no-repeat 5px 5px;
  border-color: #CD0074;
}

#main.contact p.pullquote
{
  background: #F8C6D8 url(../images/pullquote.gif) no-repeat 5px 5px;
  border-color: #CD0074;
}



#main a
{
  text-decoration: none;
  color: #9e4c4c;
}

#main a:hover
{
  text-decoration: underline;
}

#main img, #main img a
{
  border: none;
  margin: 0.4em;
}

#main img.right
{
  float: right;
  margin-right: 0;
}

#main img.left
{
  float: left;
  margin-left: 0;
}

#main img.block
{
  display: block;
  clear: both;
}


/* Contact Form */
#formwrap
{
  margin: 1em 0;
  padding: 0;
}

form#contactform
{
  width: 550px;
  margin: 0;
}

fieldset
{
  border: 1px solid #999;
  margin: 1em 0;
  padding: 0.5em 1.2em;
}

legend
{
  font-size: 1.2em;
  color: #4d4d4d;
  line-height: 1.4;
  /*background: ;*//*put some kind of mail icon here*/
  padding: 0.2em 0.5em;
  margin-left: 0.5em;
}

#formwrap p
{
  font-size: 0.9em;
  line-height: 1.2;
  margin: 1.4em 0;
}

input.text
{
  width: 300px;
  margin-left: 0.5em;
  border: 1px solid #999;
}

textarea
{
  width: 500px;
  border: 1px solid #999;
}

label.top
{
  display: block;
  margin-bottom: 0.5em;
}

input.submit, input.reset
{
  float:right;
  margin: 0.4em;
  border-width: 1px;
  border-color: #999;
  border-style: solid;
  background: #fff;
  color: #4d4d4d;
}

input.submit:hover
{
  background: #3cc33c;
  color: #eee;
}

input.reset:hover
{
  background: #dc3c3c;
  color: #eee;
}

p.required
{
  position: relative;
}

span.required
{
  position: absolute;
  left: 385px;
  color: #d33333;
}

  
/* SIDEBAR */

#sidebar h3.side-title, #sidebar h3.side-title a
{
  font-size: 1.2em;
  font-weight: normal;
  text-transform: uppercase;
  margin: 0.5em 0;
  color: #eee;

}

#sidebar h3.side-title a
{
  display: block;
  text-decoration: none;
}

#sidebar h3.side-title a:hover
{
  color: #eee;
}

#sidebar #links
{
  margin: 0;
  padding: 20px 15px;
}

#sidebar #links a
{
  font-size: 1.1em;
  font-weight: normal;
  text-transform: uppercase;
  color: #eee;
  text-decoration: none;
  margin: 0 0;
}

#sidebar #event-summary
{
  margin: 0;
  padding: 20px 15px;
  font-size: 0.8em;
  color: #eee;
  line-height: 1em;
}

#event-summary ul, #links ul
{
  list-style: none;
  margin: 0;
  padding: 0;
}

#sidebar li
{
  border-width: 1px 0 0 0;
  border-style: solid;
  margin: 0;
  text-decoration: none;
}

/* Added by Ben for nested lists */
#sidebar ul ul li
{
  margin-left: 10px;
  font-size: 0.7em;
}

#sidebar li.last
{
  border-width: 1px 0 1px 0;
}

#sidebar.sbhome li{border-color: #badc6e;}
#sidebar.sbwware li{border-color: #fd7fc6;}
#sidebar.sbwwdo li{border-color: #f7a344;}
#sidebar.sbevent li{border-color: #5ab9e2;}
#sidebar.sbcontact li{border-color: #fe8f9c;}

#sidebar #links li
{
  padding: 8px 0.75em;
}

#sidebar #event-summary li
{
  padding: 6px 0.75em;
}

#sidebar.sbhome li:hover{background: url(../images/sb_hover_home.jpg) repeat-y;}
#sidebar.sbwware li:hover{background: url(../images/sb_hover_wware.jpg) repeat-y;}
#sidebar.sbwwdo li:hover{background: url(../images/sb_hover_wwdo.jpg) repeat-y;}
#sidebar.sbevent li:hover{background: url(../images/sb_hover_event.jpg) repeat-y;}
#sidebar.sbcontact li:hover{background: url(../images/sb_hover_contact.jpg) repeat-y;}

#event-summary li a, #links li a
{
  text-decoration: none;
  display:block;
  padding: 0;
  color: #eee;
}


#sb-footer a.subscribe
{
  /*font-size: 1em;*/
  color: #eee;
  text-decoration: none;
  /*background: (url="#"); *//*rss logo offset to left side*/
}

#sb-footer a.subscribe:hover
{
  text-decoration: underline;
}


/* AD PANEL */

#ad-panel ul
{
  margin: 0;
  padding: 0;
  list-style: none;
}

#ad-panel ul li
{
  float:left;
  text-decoration: none;
  width: 230px;
  height: 170px;
  margin: 0 0 0 10px;
}

#ad-panel ul li.first
{
  margin: 0;
}




/* FOOTER */

#footer p
{
  font-size: 0.8em;
  margin: 0;
  padding: 0;
  color: #999;
}

#footer a
{
  color: #8BC237;
  text-decoration: none;
}

#footer a:hover
{
  text-decoration: underline;
}
