/* The html rule set adds a disabled scrollbar in Firefox even if scrolling not required */
/* this is what happens in IE by default, and now ALL pages have the same positioning */
html
{
  overflow-x: auto;
  overflow-y: scroll;
}

body {
	margin-top: 0px; /* Removes annoying gap at top */
	background-color : #fff;
	/*background-image: url(images/background.jpg);
	background-repeat: no-repeat;
	background-attachment: fixed;*/
	
	font-family: verdana, helvitica, sans-serif;
	font-size: 10pt;
	font-weight: bold;
	text-decoration:none;
	color:#fff;
}

a, p{color:#000000;}
a{text-decoration:underline;}
#selected_menu_item{color: #FFFFFF;}
a#edit_link{text-decoration:none;}

form{
	margin: 0;
	padding: 0;
}

h1{
	/*font-family: script;*/
	/*font-style:italic;*/ 
	font-size: 20pt;
	text-align: center;
	line-height: 100%;
	
	margin-top: 10px;
}

.button{
	font-family: verdana, helvitica, sans-serif;
	font-size: 10pt;
	font-weight: bold;
	text-decoration:none;
	color:#000;
	
	background-color: #616161;
}

p.regular{
	margin-left:5px;
	margin-right:5px;
	margin-top:10px;
	margin-bottom:10px;
}

p.regular_no_left_margin{
	margin-left:0px;
	margin-right:5px;
	margin-top:10px;
	margin-bottom:10px;
}

p.login{
	margin: 0;
	padding: 2px 0px 2px 0px;
}

.clear{
	clear: left;
}

.error{
	margin: 0px;
	color: red;
}

.center_text{
	text-align: center;
}

#main{
	position:relative; /* This is needed so that the absolute title position (below) knows to be relative to this */
	width: 800px;
	height: 530px;
	
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	
	border-style: solid;
	border-color: #fff;
    border-width: 0px 0px 2px 0px;
	
	background-color: #828282;
}

#main_variable_height{
	position:relative; /* This is needed so that the absolute title position (below) knows to be relative to this */
	width: 800px;
	
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	
	padding: 0;
	
	border-style: solid;
	border-color: #fff;
    border-width: 0px 0px 2px 0px;
	
	background-color: #828282;
}

#home img{
	width: 800px;
	height: 350px;
	
	/*border: 1px solid #fff;*/
	border-style: solid;
	border-color: #fff;
    border-width: 0px 0px 1px 0px;
	margin: 0;
	padding: 0;
}

div#menu {
	width: 800px;
    height: 40px;
	
    margin-left: auto; /*centres the block*/
   	margin-right: auto; /*centres the block*/
	padding-top: 10px;
	
	border-style: solid;
	border-color: #fff;
    border-width: 0px 0px 1px 0px;
	
	background-color: #828282;
}
	
div#menu ul {
	list-style-type:none;
	/*padding-left: 10px;*/
	padding: 5px 0px 0px 10px;
	margin: 0;
	}

div#menu li {
	float: left;
	margin: 0 0.15em;
}

div#title{
	position: absolute;
	width: 350px;
	height: 50px; /* IE6 seems to ignore this*/
	
	top: 0px;
	left: 450px;
	/*background-color: pink;*/
}

/* footer */

#footer{
	clear: left;
	width: 800px;
	height: 30px;
	padding-top: 0px;
	padding-bottom: 0px;
	
	border-style: solid;
	border-color: #000;
    border-width: 1px 0px 1px 0px;
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: auto; /*centres the block*/
   	margin-right: auto; /*centres the block*/
	
	background-color: #828282;
	
	text-align:center;
}

#footer a{text-decoration:none;}

#footer p{
	line-height: 100%;
	padding:0;
	margin-top: 7px;
}

/* Login */
#login{
	clear: left;
	width: 800px;
	
	padding: 0px 0px 0px 0px;
	margin-top: 2px;
	margin-bottom: 0px;
	margin-left: auto; /*centres the block*/
   	margin-right: auto; /*centres the block*/
	
	border-style: solid;
	border-color: #000;
    border-width: 1px 0px 1px 0px;
	
	background-color: #C0CCA2;
	text-align:center;
}

/* pages */
#about_page_words{
	float: left;
	width: 532px; /* 540 - 2 image border */

	margin: 0px 0px 0px 0px;
	padding: 0;
	
	/*background-color: pink;*/
}

#about_page_image{
	float: left;
	width: 250px;

	margin: 10px 5px 0px 3px;
	/*background-color: green;*/
}

#about_page_image img{
	width: 250px;
	border: 1px black solid;
}

/* Gallery page */

#gallery_page{
	position:relative; /* This is needed so that the absolute title position (below) knows to be relative to this */
	width: 800px;
	
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	
	border-style: solid;
	border-color: #fff;
    border-width: 0px 1px 0px 1px;
	
	/*background-color: #404040;*/
}

.gallery_panel{
	width: 800px;
	height: 160px;
	
	margin-top: 5px;
	margin-bottom: 5px;
	padding: 0;
	border-style: solid;
	border-color: #fff;
    border-width: 1px 0px 1px 0px;
	
	background-color: #616161;
}

.gallery_panel_image{
	float:left;
	width: 202px;
	height: 150px;
	
	padding: 0;
	
	margin: 4px 0px 4px 5px; /* 5 - 1 image border */
}

.gallery_panel_image img{
	padding: 0;
	border: 1px #fff solid;
}

.gallery_panel_text{
	float:left;
	width: 587px; /* 600 - 5 image border AND minus another 2 to keep IE 6 happy */
	height: 150px;
	
	padding: 0;
	margin: 4px 0px 4px 0px; /* 5 - 1 image border */
	
	/*background-color: green;*/
}

.gallery_panel_text p{
	margin-top: 5px;
	margin-bottom: 5px;
}

/* Links page rule sets */
table{
	border-collapse: collapse;
}
tr.alternate{background: #002200;}
tr.alternate{background: yellow;}
td{
	border-left: 1px solid #fff;
	border-right: 1px solid #fff;
	border-bottom: 1px solid #fff;
}

#links_container{
	margin-left: 10px;
}

.gallerytext{
	width: 616px;
	background: #616161;
	margin: 0 auto;
	margin-top: 1em;
	margin-bottom: 1em;
	padding: 0px 5px 0px 5px;
	text-align: justify;
}

.disabledfeature{
	color:#525252;
}

/* Image page layout */

p.imagepage{
	margin: 2px 5px 2px 5px;
	padding: 0;
}

div#imagepage{
	margin: 0;
	padding: 0px 0px 2px 0px;
}

#full_sized_image{
	width: 800px;
	margin: 0;
	padding: 0;
}

#full_sized_image img{
	border-style: solid;
	border-width: 1px 0px 1px 0px;
	border-color: #E0E0E0;
	
	display: block;/*centres the image*/
	margin-left: auto; /*centres the image*/
   	margin-right: auto; /*centres the image*/
}

#image_page_navigation{
	width: 780px;
	margin-top: 0px;
	margin-bottom: 0px;
	
	padding-top: 5px;
	padding-bottom: 5px;
	
	padding-left: 10px;
	text-align: right;
}

#image_page_navigation_left{
	float: left;
	text-align: left;
}

input.submit{
	width: 55px;
	/*height: 25px;*/
	margin: 0px 5px 0px 5px;
	padding: 0;
}

input.search{
	width: 60px;
	/*height: 25px;*/
	margin: 0px 5px 0px 5px;
	padding: 0;
}

textarea.imagepage{
	width: 780px;
	height: 100px;
	
	margin-top: 0px;
	margin-bottom: 0px;
	padding-top: 0px;
	padding-bottom: 0px;
}

div#copyright_image{
	float:left;
	margin: 3px 30px 0px 5px;
	padding: 0;
}

p#dates{
	margin: 0px 0px 0px 5px;
	padding: 0;
}

span.dates{
	margin: 0px 30px 0px 0px;
	padding: 0;
	color: #303030;
}

input.textfield{
	width: 130px;
	margin: 0;
	padding:0;
}

/* NEW CSS STUFF 19th SEPT 2007*/

div#thumbnail_container{
	width: 636px; 
	height: 420px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 5px; /* width of 636 needs to be increased for IE 6 */
	padding-right: 5px; /* width of 636 needs to be increased for IE 6 */
}

div.gallerythumbnail{
	float: left;
	width: 202px; 
	height: 192px;/* CRITICAL - less than 192 causes problems in IE6 */
	
	margin: 8px 5px 8px 5px;
	padding: 0;
	/*margin: 1em;*/
	background-color: #616161;
}

div.gallerythumbnail img{
	width: 200px; 
	height: 150px;
	border: 1px solid #fff;
}

div.gallerythumbnail p{
	text-align: center;
	margin-top:5px;
}


/* Contact page info */
div#name_and_email{
	width: 425px;
	height: 90px;
	/*background-color: pink;*/
}

input{
	width: 175px;
}

div.name_and_email_item{
	float: left;
	width: 200px;
	height: 40px:
	margin-right: 20px; 
}

div#message{
	width: 425px;
	height: 150px;
	
	margin-top: 0px;
	margin-bottom: 0px;
	padding-top: 0px;
	padding-bottom: 0px;
}

textarea.contact{
	width: 400px;
	height: 100px;
	
	margin-top: 0px;
	margin-bottom: 0px;
	padding-top: 0px;
	padding-bottom: 0px;
}

div#contact_page_left{
	float:left;
	width: 522px;
	height: 350px;
	
	padding-top: 10px;
	padding-left: 10px;
}

div#contact_page_lower{
	clear: left;
}

div#contact_form_box{
	width: 420px;
	padding: 5px;
	background-color: #616161;
}

span.email_image{
	display:inline;
	vertical-align: bottom;
	width: 178px;
	height: 16px;
}

span.email_image img{
	width: 178px;
	height: 16px;
	margin: 0;
	padding-top: 0;
}