/*
www.HelenJennings.co.uk
copyright: Helen Jennings
Updated: 19th April 2005 rej
*/
/* ---( font parameters all browsers other than IE5 )------------------------------- */
body, td, th, p {
	font-size: small;
}
h1 {
	font-size: xx-large;
}
h2 {
   font-size: x-large;
}

h3, h4 {
   font-size: small;
}

/* --- NB IE5 & 5.5 is handled by javascript in the header --- */


body {
	margin: 0;
	padding: 0;
}

/* ---( font parameters all browsers other than IE5 )------------------------------- */
body, td, th, p {
	font-family: "Trebuchet MS", Verdana, arial, helvetica, sans-serif;
	color : #333;	
    }

p {
	padding: 0 10px;
	margin: 2px 0 10px 0;
	}


h1 {
    font-family: "Trebuchet MS", Verdana, arial, helvetica, sans-serif;
	font-weight: normal;
	padding: 0 10px;
	margin: 0;
	color: #666;	
    }

h2 {
	font-family: "Trebuchet MS", Verdana, arial, helvetica, sans-serif;
	font-weight: normal;
	color: #A73747;	
	padding: 0 10px;
	margin: 0;
    }

h3 {
	font-family: "Trebuchet MS", Verdana, arial, helvetica, sans-serif;
	font-weight: normal;
	padding: 5px 0;
	margin: 10px;
    color: #666;
	border-top: 1px solid #eee;	
	border-bottom: 1px solid #eee;	
    }
	
h3.article {
	font-family: "Trebuchet MS", Verdana, arial, helvetica, sans-serif;
	font-size: large;
	font-weight: normal;
	padding: 0;
	margin: 0 10px;
    color: #A73747;
	border-top: 0;	
	border-bottom: 0;	
    }	
	
h4 {
	font-family: "Trebuchet MS", Verdana, arial, helvetica, sans-serif;
	font-weight: normal;
	padding: 0 10px;
	margin: 0;
    color: #666;	
	font-style: italic;
    }


a:link {
    color: #B6415B;
    text-decoration: none;
    background-repeat: no-repeat;
    }

a:active {
    color: #c60;
    text-decoration: underline;
    }

a:visited {
    color: #969;
    text-decoration: none;
    }

a:hover {
    color: #c60;
    text-decoration: underline;
    }

ul {
    font-family: "Trebuchet MS", Verdana, arial, helvetica, sans-serif;
    list-style-type: square;
    }
    
a img {
    border-width: 0; /* remove the border around linked images. <img border="0" ..../> is invalid in XHTML 1.1 */
    }

/*---- ( layout - background ) ----*/

body {
    padding: 0px;
/*    background-color: #99A99F;
    background-image: url(../images/wallpaper5.jpg);*/
	background-color: #495d9a;
	text-align:center;
    }

/*-- ( outer wrapper for whole page ) --*/

#outer {
	position: relative;
	margin: 5px auto;
	padding: 0;
	border: solid 1px #666; 
    width: 700px;
    background-color: #fff;
	text-align:left;
    }
#banner {
    padding:0px;
	margin:0px;
	}
/*--  ( navigation bar ) --*/

#nav {
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
	padding:0px;
	margin: 10px 0 0 0;
	width:700px;
	text-align:right;
}
#nav ul {
    margin:0px;
	padding:0px 0px 0px 0px;
	height:20px;
	list-style: none;
	display:inline;
	}
#nav ul li {
    margin:0px;
	padding:0px;
	list-style: none;
	display:inline;
	}
#nav ul li a {
	padding: 0px 20px 0px 0px;
	}
    
#nav ul li a:link {
    color: #999;
    text-decoration: none;
    background-repeat: no-repeat;
    }

#nav ul li a:active {
    color: #000;
    text-decoration: none;
	
    }

#nav ul li a:visited {
    color: #999;
    text-decoration: none;
    }

#nav ul li a:hover {
    color: #000;
    text-decoration: none;
    }

/*--  ( main is the wrapper for content ) --*/

#main {
    width: 400px;
	clear:left;
    /*-margin-left: 160px;-*/
    }
    

/* ---( content -- the primary page area )------------------------------- */

#content {
    /*-font-family: verdana, arial, helvetica, sans-serif;-*/
    padding: 10px 20px 5px 0px;
    overflow: visible;
    height: 100%; /* fix the Win32 IE float bug */
    }


/* ---( image -- large image on the right )------------------------------- */   

#image {
    display:inline;
	top:0px;
	float:right;
    clear:right;
	width:250px;
	border: 1px solid #eee;
	padding: 5px;
	margin: 5px;
	font-size: x-small;
	color: #666;
	text-align: left;
	background-color:#fff;
	z-index:20;
}
#image p {
    color:#666;
	text-align:left;
	font-size:x-small;
	padding:0;
	margin:0;
    }
    
.boxout {
	float: right;
    clear:right;
	width: 250px;
    padding: 5px;
	margin: 5px;
	border: 1px solid #eee;
	}


    
/* ---( styling images )------------------------------- */
#styling {
    margin: 0px 0px 10px 5px;
	}

td {
	padding: 0 1px 0 0;
	}
   
/* ---( footer )------------------------------- */

#footer {
    clear: both;
    border-bottom: solid 1px #fff; /* IE 6 has the footer flow over the outer's 
    bottom border. if this border is added, IE draws
    the outer border as exptected */
    z-index: 10;
    }

#innerFooter {
    text-align: left;
    padding: 5px 10px 10px 2px;
    }

/* ---( misc )------------------------------- */


.url {
	color: #999;
	font-size: x-small;
	}

#trailimageid {
    position:relative;
	visibility:visible;
	left:0px;
	top:0px;
	width:1px;
	height:1px;
	background-color:#FFF;
	z-index:20;
}
.gallery ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
.gallery ul li {
	display: block;
	position: relative;
	float: left;
	width: 106px;
	height: 106px;
	border: 1px solid silver;
	background: #ededed;
	margin: 2px;
	line-height: 0;
	overflow: hidden;
}
.gallery ul a {
	position: absolute;
	top: 50%;
	left: 50%;
}
.gallery ul img {
 	position: relative;
	top: -50%;
	left: -50%;
}
html>/**/body .gallery ul li {
	display: table;
	text-align: center;
}
html>/**/body .gallery ul li {
	text-align: center;
}
html>/**/body .gallery ul a {
	position: static;
	display: table-cell;
	vertical-align: middle;
}
html>/**/body .gallery ul img {
	position: static;
}

