/* 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.main {
}

div.rightbar {
	float: right;
	width: 30%;
}

div.walks {
	margin : 10px;
	padding: 5px;
	clear: right;
	border-style: solid;
	border-width: 2px;
	background-color: #ffffff;
}

div.news {
	max-width : 480px;
	margin : 10px;
	padding: 5px;
	clear: right;
	border-style: solid;
	border-width: 2px;
	background-color: #ffffff;
	overflow: auto;
	word-wrap: break-word;
}

div.biglinks {
	margin : 10px;
	padding: 5px;
	clear: right;
	border-style: solid;
	border-width: 2px;
	background-color: #ffffff;
}

#titlebar{
	z-index:1;
	width:100%;
}

/* Make sure the footer is below the floats */
#footerstart{
	float:left;
	clear:both;
}

/* Put Ramblers logo on the left */
div.left {
	clear:both;
	float:left;
	margin-right:10px;
}

/* Small font for the general enquiries etc at the bottom */
p.small {
	float:left;
        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:70%;}
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
{
	display: inline-block;
	vertical-align:top;
	margin: 0 10px 20px 0; 
	padding: 0 10px 0 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;
	max-width:70%;
}

#image_element{
	z-index:1;
	width:100%;
}

.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;
}

