/* Gradient background - final color set for long pages */
body {
	font-family:Lucida Sans Unicode, Lucida Grande, sans-serif;
	font-size: 10pt;
	margin-left: 40px;
	margin-right: 40px;
	background-color: rgb(194,209,180);
	background-image: url(index_files/mainbackground.jpg); background-repeat: repeat-x;
}

div.title {
        margin-left: 40;
        margin-right: 40;
	margin-bottom: 10px;
        background-image: url(index_files/titlebackground.jpg); background-repeat: repeat-x;
	background-color: rgb(156,242,169);
}

span.titletext {
	margin-left: 20px;
	font-size: 36pt;
}

div.subtitletext {
	margin: 20px;
	margin-bottom: 0px;
	color: white;
	font-size: 16pt;
}

img.logo {
	margin-top: 7px;
	float: right;
}

/* Small font for the general enquiries etc at the bottom */
p.small {
        font-size: 7pt;
}

/* Highlight links on mouse over. Also set the lovely green colour */
a {
        color: rgb(40,120,00);
}
a:visited {
        color: rgb(22,77,00);
}
a:hover {
        color: rgb(0,0,255);
        background-color: rgb(255,255,0);
}

/* Navigation menu - from List O Matic */
ul#navlist {margin:0;padding:0;float:left;width:100%;}
ul#navlist li {margin:0;padding:0;list-style:none;float:left;margin:0 0.3em 0 0;}
ul#navlist li a {text-decoration:none;display:block;padding:0.3em 0.6em;color:white;background:#063;border-bottom:0.5em solid #fff;}
ul#navlist li a:hover {background:#396;border-bottom:0.5em solid #063;}

/* Highlight currently selected entry - see php function for setting body id */
body#index a#indexnav,
body#diary a#diarynav,
body#photos a#photosnav,
body#photoalbum a#photosnav,
body#faq a#faqnav,
body#contact a#contactnav,
body#join a#joinnav,
body#walks a#walksnav,
body#links a#linksnav {
	color: #ff0;
	background: #030;
}

/* Navigation menu - from List O Matic */
ul#photoalbumnav {margin:0;padding:0;float:left;width:100%;}
ul#photoalbumnav li {margin:0;padding:0;list-style:none;float:left;margin:0 0.3em 0 0;}
ul#photoalbumnav li a {text-decoration:none;display:block;padding:0.3em 0.6em;color:white;background:#063;border-bottom:0.5em solid #fff;}
ul#photoalbumnav li a:hover {background:#396;border-bottom:0.5em solid #063;}

/* Highlight currently selected entry - see php function for setting body id */
div#submenu_album_0 a#album_0,
div#submenu_album_1 a#album_1,
div#submenu_album_2 a#album_2,
div#submenu_album_3 a#album_3,
div#submenu_album_4 a#album_4,
div#submenu_album_5 a#album_5,
div#submenu_album_6 a#album_6,
div#submenu_album_7 a#album_7,
div#submenu_album_8 a#album_8,
div#submenu_album_9 a#album_9
{
	color: #ff0;
	background: #030;
}

/* Photos have a caption beneath. This is done with a mini table for each photo. */
table.gallery
{
	float: left;
	margin: 0 5px 20px 0; 
}

td.caption
{
	height:2em;
	vertical-align:top;
	text-align: center;
}

td.smallcaption 
{
	height:5em;
	vertical-align:top;
	font-size: 8pt;
	test-align: center;
}


#entire_image {
	position: relative;
	display:inline-block;
}

.floatlinks p a em {
  position:absolute;
  top: 0;
  left: 0;
  right: auto;
  width:50%;
  height:100%;
  text-indent:-10000px;
  }
  
#next p a em {
  left: auto;
  right: 0;
  }
.v .floatlinks p a em {
  width:190px;
  height:500px;
  }

#prev a>em {
  background:url("photonav_prev.png") no-repeat 50% -100px;
  }

#next a>em {
  background:url("photonav_next.png") no-repeat 50% -100px;
  }

#next a:hover em, #next a:active em {
  background-position: 90% 50%;
  cursor:pointer;
}

#prev a:hover em, #prev a:active em {
  background-position: 10% 50%;
  cursor:pointer;
}
