/* -------- general styles -------- */

html,
body {
  margin:0;
  padding:0;
  border:0;		/* This removes the border around the viewport in old versions of IE */
  width:100%;
  background:#9EAA92;	/* or C6CEBE */
  min-width:600px;	/* Minimum width of layout - remove line if not required */
			/* The min-width property does not work in old versions of Internet Explorer */

  font-family:"Trebuchet MS",Helvetica,sans-serif;
  text-align:center;
}

#fixed-width {
  margin:0 auto;
  width:990px;		/* you can use px, em or %, e.g. 90% */
  text-align:left;
}

a {
  color:#004276;
  text-decoration:none;
}
a:hover {
  color:#fff;
  background:#004276;	
  text-decoration:none;
}

h1 {
  font-family:"Palatino Linotype","Book Antiqua",Palatino,serif;
  margin:1em 0 .2em 0;
  font-size:1.2em;
  padding:0;
}

h2, h3, h4 {
  margin:1.3em 0 .2em 0;
  padding:0;
}

h2 {
  font-size:0.9em;
  font-family:Serif;
}

h3 {
  font-size:.8em;
}

h4 {
  font-size:.79em;
}

p {
  font-size:.8em;
  margin:.4em 0 .8em 0;
  padding:0;
}
#nav {
  font-size:.7em;
  margin:4px 0 0 0;
  padding:0;
}

li {
}
#in-page {
  font-size:.8em;
  margin:.4em 0 .8em 0;
  padding:0;
}
.page {
  font-size:.8em;
  margin:.4em 0 .8em 0;
  padding:0;
}

img {
  margin:3px 3px 3px 3px;
}
.captioned {
  margin:10px 3px 0px 3px;
}

/* -------- top header styles -------------------------- */

#top-header {
  font-size:0.82em;
  clear:both;
  float:left;
  width:100%;
  border-top:1px solid #878787;
}
#top-header p {
  padding:7px;
  margin:0;
  text-align:center;
}

/* -------- donation header styles -------------------------- */

#donation-header {
  font-size:0.82em;
  clear:both;
  float:left;
  width:100%;
  border-top:1px solid #878787;
}
#donation-header p {
  padding:0px;
  margin:0;
  text-align:center;
}

/* -------- gallery header styles -------------------------- */

#gallery-header {
  clear:both;
  float:left;
  width:100%;
  background:#D1D8C9;
  border-left:1px solid #878787;
  border-right:1px solid #878787;
}
#gallery-header p {
  margin-left:15px;
}
#gallery-header h1 {
  margin-top:.3em;
  margin-left:15px;
}
#gallery-header hr {
  margin-left:15px;
  margin-right:15px;
}

/* -------- gallery image and caption styles ------------ */
div.gallery
{
  margin: 10px 7px 0px 7px;
  height: auto;
  width: auto;
  float: left;
  text-align: center;
}	
div.gallery img
{
  display: inline;
  margin: 10px 7px 0px 7px;
  border: 1px solid #939E87;
}
div.gallery a:hover img {border: 1px solid #000000;}
div.gallery-caption
{
  text-align: center;
  font-weight: normal;
  width: 280px;
  margin: 0px 0px 0px 0px;
}

/* -------- header -------------------------- */
#header {
  clear:both;
  float:center;
  width:100%;
  background:#7BAF70;
  border-left:1px solid #000;
  border-right:1px solid #000;
  border-top:1px solid #000;
}

#header p {
  padding:0 0 0 0;	/* was .4em 15px 0 15px */
  margin:0;
}


/* Main menu settings */
#centeredmenu {
   clear:both;
   float:left;
   margin:0;
   padding:0;
   background:#7BAF70;
   border-right:1px solid #555;
   border-left:1px solid #555;
   border-bottom:1px solid #000; /* black line below menu */
   width:100%;
   font-family:"Trebuchet MS",Helvetica,sans-serif;
   /* font-family:Verdana, Geneva, sans-serif; Menu font */
   font-size:90%; /* Menu text size */
   z-index:1000; /* This makes the dropdown menus appear above the page content below */
   position:relative;
}

/* Top menu items */
#centeredmenu ul {
   margin:0;
   padding:0;
   list-style:none;
   float:right;
   position:relative;
   right:50%;
}
#centeredmenu ul li {
   margin:0 0 0 1px;
   padding:0;
   float:left;
   position:relative;
   left:50%;
   top:1px;
}
#centeredmenu ul li a {
   display:block;
   margin:0;
   padding:.6em .5em .4em;
   font-size:1em;
   line-height:1em;
   background:#ddd;
   text-decoration:none;
   color:#444;
   font-weight:bold;
   border-bottom:1px solid #000;
}
#centeredmenu ul li.active a {
   color:#fff;
   background:#000;
}
#centeredmenu ul li a:hover {
   background:#555; /* Top menu items background colour */
   color:#fff;
   border-bottom:1px solid #555;
}
#centeredmenu ul li:hover a,
#centeredmenu ul li.hover a { /* This line is required for IE 6 and below */
   background:#555; /* Top menu items background colour */
   color:#fff;
   border-bottom:1px solid #555;
}

/* Submenu items */
#centeredmenu ul ul {
   display:none; /* Sub menus are hiden by default */
   position:absolute;
   top:2em;
   left:0;
   right:auto; /*resets the right:50% on the parent ul */
   width:10em; /* width of the drop-down menus */
}
#centeredmenu ul ul li {
   left:auto;  /*resets the left:50% on the parent li */
   margin:0; /* Reset the 1px margin from the top menu */
   clear:left;
   text-align:left;
   width:100%;
}
#centeredmenu ul ul li a,
#centeredmenu ul li.active li a,
#centeredmenu ul li:hover ul li a,
#centeredmenu ul li.hover ul li a { /* This line is required for IE 6 and below */
   font-size:1.0em;
   font-weight:normal; /* resets the bold set for the top level menu items */
   background:#E3E1AE;
   /* background:#eee; */
   color:#222;
   line-height:1.4em; /* overwrite line-height value from top menu */
   border-bottom:1px solid #aaa; /* sub menu item horizontal lines */
}
#centeredmenu ul ul li a:hover,
#centeredmenu ul li.active ul li a:hover,
#centeredmenu ul li:hover ul li a:hover,
#centeredmenu ul li.hover ul li a:hover { /* This line is required for IE 6 and below */
   background:#555; /* Sub menu items background colour */
   color:#fff;
}

/* Flip the last submenu so it stays within the page */
#centeredmenu ul ul.last {
   left:auto; /* reset left:0; value */
   right:0; /* Set right value instead */
}

/* Make the sub menus appear on hover */
#centeredmenu ul li:hover ul,
#centeredmenu ul li.hover ul { /* This line is required for IE 6 and below */
   display:block; /* Show the sub menus */
}

/* -------- footer styles -------------------------- */

#footer {
  font-size:0.8em;
  clear:both;
  float:left;
  width:100%;
}
#footer p {
  padding:7px;
  margin:0;
  text-align:center;
}
