*{border:0;margin:0;padding:0;background:transparent;} 

body{
	font-family: trebuchet ms, verdana, arial, tahoma;
	font-size: 80%; color: #999999;
	background-color: #ffffff;
	line-height: 110%;
	margin-top: 0px;
	background: #ffffff url('images/bg.gif') top center repeat-x;
}

#border{
border: 0px ;
width: 770px;
background-color: #FFFFFF;
background:url('images/backround2.gif') no-repeat;
margin: 0 auto;
}

#header {
height: 193px;
width:743px;
margin-left:-2px;
margin-right:-1px;
background-image:url('images/header.jpg');
padding: 0 0 0 0;
}

* html #header { margin-left: 0; }

#content {
background-color: #FFFFFF;
}

* html #content {height:1%}

#container{
width: 740px;
margin: 0px auto;
background-color: #ffffff;
/*border: 0px solid #669900;*/
}


a:link{ 
color:#5B8FBE; 
text-decoration:none;
}
a:hover{ 
color:#999999; 
text-decoration: none; 
} 



/*  ~~~~ SUB NAVIGATION ~~~~  */
#introduction{
	float:right; 
	width:180px; 
	padding:0px 0px; 
	margin:20px 0 20px 20px;
	background: url(images/menu.gif) no-repeat;
	text-align:center;
	line-height:1.5em;
	color:#999999;
	font-size:1.0em; font-family:"Lucida Grande","Lucida Sans Unicode",arial,sans-serif;
	letter-spacing:0px;
}

#introduction ul, #introduction li {
text-align:center;
	list-style: none;
	margin: 0;
	padding: 0;
}

#introduction a {
	border-bottom: none;
	color:#999999;
}

#introduction h3{
	text-align: center;
	position:static;
}

#introduction a:link, a:visited{
	color:#999999;
}

#introduction a:hover, a:active{
	color:#5B8FBE;
}



/*  ~~~~ TOP MENU ~~~~  */
#topmenu {
position:relative;
top:18px;
left:15px;
width:743px;
font-size:93%;
margin:0;
line-height: normal;
height:41px;
}
#topmenu ul {
margin:0;
padding:0px 0px 0 2px;
list-style:none;
}
#topmenu li {
display:inline;
margin:0;
padding:0;
} 
#topmenu a {
float:left;
background:url(images/menuleft.gif) no-repeat left top;
margin:0;
padding:0 0 0 4px;
text-decoration:none;
}
#topmenu a span {
float:left;
display:block;
background:url(images/menuright.gif) no-repeat right top;
padding:5px 15px 0px 6px;
color:#5B8FBE;
}
	  
#topmenu a span {
float:none;
}

#topmenu a:hover span {
color:#5B8FBE;
}

/*
#topmenu a:hover {
background-position:0% -42px;
}
	  
#topmenu a:hover span {
background-position:100% -42px;
*/

	
	
	
	
/* ~~~~~~~~~ Headings ~~~~~~~~~ */    
h1 {
	font-size: 120%;
	color: #659500;
}

h3{
	color:#5B8FBE;
	font-family:geneva,arial,sans-serif;
	font-weight:normal;
	text-transform:uppercase;
	word-spacing:4px;
	letter-spacing:3px;
	font-size:0.8em;
	font-weight:bold;
	padding:0 2px;
	margin:0;
}


/*~~~~~~~~~~~styles~~~~~~~~~~~~~~~*/
.style3 {
font-size: 12px;
color:#000000;
margin: 0px 10px 10px 10px;
text-align:left;
}

.style4 {
font-size: 16px;
}

.style5 {
font-size: 12px;
color: #CCCCCC;
}

.splitright {
width:45%;
float:right;
overflow:hidden;
border-spacing:inherit;
text-align:center;
line-height: 1.5em;
margin: 0px 0px 0px 0px;
padding: 0px 0px 0px 0px;
}

.splitleft {
background:#ffffff;
width:70%;
height:auto;
float:left;
overflow: hidden;
text-align:center;
line-height: 1.5em;
margin: 0px 0px 0px 0px;
padding: 0px 0px 0px 0px;
}


/*
form {
font-style:normal;
border-bottom-color:#D7F1FB;
border-color:#D7F1FB;
}

TEXTAREA { 
background-image: url(images/.jpg); 
}
*/
	
	

/* =Hoverbox Code
----------------------------------------------------------------------*/

.hoverbox
{
	cursor: default;
	list-style: none;
}

.hoverbox a
{
	cursor: default;
}

.hoverbox a .preview
{
	display: none;
}

.hoverbox a:hover .preview
{
	display: block;
	position: absolute;
	top: -33px;
	left: -45px;
	z-index: 1;
}

.hoverbox img
{
	background: #fff;
	border-color: #aaa #ccc #ddd #bbb;
	border-style: solid;
	border-width: 1px;
	color:#000099;
	padding: 2px;
	vertical-align:middle;
	width: 100px;
	height: 75px;
}

.hoverbox li
{
	background: #eee;
	border-color: #ddd #bbb #aaa #ccc;
	border-style: solid;
	border-width: 1px;
	color: inherit;
	display: inline;
	float: left;
	margin: 3px;
	padding: 5px;
	position: relative;
}

.hoverbox .preview
{
	border-color: #000;
	width: 350px;
	height: auto;
	}
	
		
	

/* The containing box for the gallery.
#photo {
    position:relative; 
    width:600px; 
    height:400px; 
    margin:20px auto 0 auto; 
    border:1px solid #aaa; 
    }
	
	
 Removing the list bullets and indentation 
#photo ul {
    padding:0; 
    margin:0; 
    list-style-type:none; 
    }
	
	Remove the images and text from sight 
#photo a.gallery span {
    position:absolute; 
    width:1px; 
    height:1px; 
    top:5px; 
    left:5px; 
    overflow:hidden; 
    background:#fff;
    }
	
	
Adding the thumbnail images 
#photo a.gallery, #photo a.gallery:visited {
    display:block; 
    color:#000; 
    text-decoration:none; 
    border:1px solid #000; 
    margin:1px 2px 1px 2px; 
    text-align:right; 
    cursor:default;
    }
	
#photo a.slidea {
    background:url(images/church/children01.jpg); 
    height:40px; 
    width:63px;
    }
#photo a.slideb {
    background:url(images/church/children02.jpg); 
    height:40px; 
    width:63px;
    }
#photo a.slidec {
    background:url(images/church/children03.jpg); 
    height:40px; 
    width:63px;
    }
#photoa.slided {
    background:url(images/church/group.JPG); 
    height:40px; 
    width:63px;
    }
#photo a.slidee {
    background:url(images/church/inside01.JPG); 
    height:40px; 
    width:63px;
    }
#photo a.slidef {
    background:url(images/church/inside02.JPG); 
    height:40px; 
    width:63px;
    }
#photo a.slideg {
    background:url(images/church/people01.jpg); 
    height:40px; 
    width:63px;
    }
#photo a.slideh {
    background:url(images/church/people03.jpg); 
    height:40px; 
    width:63px;
    }
#photo a.slidei {
    background:url(images/church/prayerroom01.jpg); 
    height:40px; 
    width:63px;
    }
#photo a.slidej {
    background:url(images/church/people04.JPG); 
    height:40px; 
    width:63px;
    }
#photo a.slidek {
	background:url(images/church/pulpit01.jpg);
	height:40px;
	width:63px;
	}
#photo a.slidel {
	background:url(images/church/nursery01.jpg);
	height:40px;
	width:63px;
	}
#photo a.slidem {
	background:url(images/church/church01.jpg);
	height:40px;
	width:63px;
	}
#photo a.sliden {
	background:url(images/church/church02.jpg);
	height:40px;
	width:63px;
	}
#photo a.slideo {
	background:url(images/church/church03.jpg);
	height:40px;
	width:63px;
	}
#photo a.slidep {
	background:url(images/church/church04.jpg);
	height:40px;
	width:63px;
	}
#photo a.slideq {
	background:url(images/church/church05.jpg);
	height:40px;
	width:63px;
	}
						
	
 set the size of the unordered list to neatly house the thumbnails 
#photo ul {
    width:140px; 
    height:250px;
    }
#photo li {
    float:left;
    }
 move the thumbnails into the correct position 
#photo ul {
    margin:5px; 
    float:right;
    }
	
 change the thumbnail border color 
#photo a.gallery:hover {
    border:1px solid #fff; 
    }

 styling the :hover span 
#photo a.gallery:hover span {
    position:absolute; 
    width:300px; 
    height:250px; 
    top:10px; 
    left:10px; 
    color:#000; 
    background:#fff;
    }
#photo a.gallery:hover img {
    border:1px solid #fff; 
    float:left; 
    margin-right:5px;
    }
#photo a.slideb:hover img, #container a.slidei:hover img {
    float:right;
    }
	
	
 When no images are displayed I am left with an uninteresting blank area on the screen. This would look better if I had a default image with perhaps a gallery title displayed. I can do this by adding a background image to the #photo div and, if this image is located in the same area as the span :hover, it will be hidden when I hover over a thumbnail images.  
#photo {
    background:#fff url(images/church/outside01.jpg) 10px 10px no-repeat; 
	float:left;
    }

	*/
	

#footer{
	text-align: center;
	height: 30px;
	background-color: #E7F2FE;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #CCCCCC;
	margin-top: 50px;
	margin-right: 15px;
	margin-bottom: 20px;
	margin-left: 15px;
	padding-top: 20px;
	padding-right: 20px;
	padding-bottom: 20px;
	padding-left: 20px;
	clear: both;
}


#footer a:link, fa:visited{
	color:#5B8FBE;
}

#footer a:hover, fa:active{
	color:#cccccc;
}
