/* Generic definitions */

p {
	font-family: Gill Sans MT, trebuchet MS, arial, serif;
}

h1, h2, h3, h4, h5, h6, li, label, td {
	font-family: Gill Sans MT, trebuchet MS, arial, serif;
	padding: 0px;
	margin: 0px;
}

tr, td {
	padding: 0px;
	margin: 0px;
	border: 0px;
}

body {
	background: url('../body/content.jpg');
	margin: 0px;
}

.lhs {
	float: left;
}

.rhs {
	float: right;
}

.clr {
	clear: both;
}

td {
	vertical-align: top;
}

/* Nav bar declarations */

#nav-container {
	position: fixed;
	margin-top: -50px;
}

#nav-bar {
	background: url('../box/tr.gif') no-repeat top right;
}

#nav {
	float: left;
	clear: both;
	max-width: 170px;
	width: 168px;
	background: url('../box/br.gif') no-repeat bottom right #c76428;
}

div#nav ul {
	list-style-type: none;
	padding: 0px;
	margin: 0px;
}

div#nav li {
	padding: 0px;
}

div#nav ul#primary li {
	
}

div#nav ul#primary li:hover {
	background: orange;
}

div#nav ul#primary li.selected {
	background: yellow;
}

div#nav a {
	text-decoration: none;
}

div#nav li a {
	color: white;
}

div#nav li:hover a {
	color: yellow;
}

div#nav > ul > li {
	color: yellow;
}

div#nav h4 {
	clear: left;
}

#secondary {
	clear: left;
}

ul#list li {
		list-style-type: none;
		float: left;
		width: 8em;
}

#sec {
	background: white url('../box/n-box-top.png') repeat-x;
}

/* Indivdual page headings */
#header {
	background: url('../body/banner7a.png') repeat-x;
	height: 200px;
}

.sitemap #header {
  	background: url('../body/sitemap.png');
}

.events #header {
   	background: url('../body/events.png');
}

.events .other {
	background: #dddddd;
}

.events tr:hover {
	background: #f8d6ad;
}

.events tr.fr:hover{
	background: #ffffff;
}

.germany #header {
	background: url('../body/germanycdbanner.png');
}

.france #header {
	background: url('../body/francecdbanner.png');
}

.currentbww #header {
	background: url('../body/currentbwwissue.png');
}

.gallery #header {
	background: url('../body/galleries.png');
}

.gallery #toptenlist ul {
  float: left;
  margin-left: 1em;
}

.gallery #toptenlist li {
  width: 10em;
}

.busnews #header {
	background: url('../body/busnews.png');
}

.members #header {
	background: url('../body/membership.png');
}

.searching #header {
	background: url('../body/issue_index.png');
}

.fleets #header {
	background: url('../body/fleets-banner.png');
}

.srilanka #header {
	background: url('../body/srilanka.png');
}

.fleets table tr:hover {
	background: orange;
}

.memberform td {
	width: 40%;
}

.eventcms #oneoff, .eventcms #regdays {
	display: none;
}

.eventcms .e {
	color: red;
}

.eventcms .lower {
	border-bottom: 2px solid grey;
}

.eventcms .evtitle {
	font-size: larger;
	padding-bottom: 5px;
}

.eventcms li.evtitle:hover {
	background: #c3ff6e;
}

.bba-new {
	background: url('../body/bba-content.png');
}

.bba-new #header {
	background: url('../body/bba.png');
}

/* Box model and content positioning */
#content {
	margin-top: -45px;
	margin-left: 220px;
	padding: 0px;
}

.box {
	background: white;
	margin-bottom: 20px;
	width: 95%;
}

.box-content {
	margin-top: -10px;
	padding: 3px;
}

.box-top {
	background: white url('../box/whitetr.gif') no-repeat top right;
}

.box-top img {
  vertical-align: top;
}

.box-bottom {
	background: white url('../box/whitebr.gif') no-repeat bottom right;
	clear: both;
}

.box-bottom img {
	vertical-align: bottom;
}

.infobox {
	width: 25%;
	height: 10%;
	background: #dddddd;
	margin: 0px;
}

.error {
	color: red;
}

a img {
	border: none;
}

table#publ td {
	width: 125px;
	text-align: center;
}

#nav-container select {
	width: 10em;
}

ul {
	padding: 0px;
	list-style-type: none;
}

#messages{
		float: right;
		max-width: 33%;
		width: 33%;
		}
		
#messages img {
	vertical-align: bottom;
}

.user {
	font-family: arial;
}

.pubmenu li {
  float: left;
  width: 10em;
}

.pubmenu li p {
  clear: both;
  text-align: center;
}

.pubmenu li img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.contributemenu li {
  float: left;
  width: 15em;
}

.contributemenu li p {
  clear: both;
  text-align: center;
}

.contributemenu li img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.gallery label {
	width: 12em;
}

.gallery #newg, .gallery #menug {
	display: none;
}

.n {
	clear: both;
	margin-right: 100px;
	float: left;
}

#infopanel {
	float: right;
	width: 40%;
}

#piccy {
	max-width: 300px;
	float: left;
	border: 1px dashed grey;
	padding: 3px;
	background: #eee;
	margin-right: 5px;
	margin-top: 10px;
}

.gallerylist li {
	float: left;
	margin-right: 10px;
	width: 110px;
	max-width: 110px;
}

/* Pretend Links! */
span#l {
	color: blue;
	text-decoration: underline;
}

span#l:hover {
	color: purple;
	text-decoration: underline;
}

/* PayPal Image */
.pp {
	vertical-align: bottom;
}
