 	#gallerycontainer h1 { 
	margin: 2px; 
	}
	
	#gallerycontainer h2 {  
		margin: 3px; 
		}
	#gallerycontainer h2 a
	{
		font-size: small;
	}
	#gallerypreload
	{ 
		display: hidden;
	}
	
	#mainimage
	{
		color:#323433;
		/*margin-right: 0px;*/
		margin-bottom: 0px;
		/*padding-top: 2px; */
		/*margin-right: 7px; */
		margin-left: -2px;
	}
	
	#mainimage img
	{
		position: absolute;
		/*height: 323; */
		border-top: 4px solid #323433;
		border-bottom: 1px solid #323433;
		
		color: #323433;
	}
	
	#mainimagehome img
	{
		position: absolute;
		/*height: 323; */
		border-top: 4px solid #2a2a2a;
		border-bottom: 1px solid #2a2a2a;
		
		color: #2a2a2a;
	}
	
	
	#galleryleft:hover, #galleryright:hover, #gallerypageright:hover, #gallerypageleft:hover
	{
			cursor: pointer;
	}
	
		
	.subgallery {
 		/*background-color: #444; */
		/*border: 1px solid pink; */
 		/*padding: 0px; */
		padding-top: 272px;
		position: relative;
 		width: 365px;
		padding-left: 0px;
		margin-left: -4px;
		
 	}
 	.subgallery ul { list-style: none; margin: 0; padding: 0; }
 	.subgallery ul li { display: inline; margin: 0; padding: 0;  }
	.subgallery ul *{ display: inline; }
 	.subgallery ul img {
		height: 63px;
		width: 84px;
 		border: 3px solid #333333;
		border-top: 5px solid #333333;
 		/*border-width: 5px 5px 10px; */
		margin: 0;
 	}
 	.subgallery ul a:hover img {
 		border: 3px solid #fff;
		border-top: 5px solid #fff;
 		/*border-width: 5px 5px 10px; */
 		color: #fff;
 	}
 	.subgallery ul a:hover { color: #fff; }
 	
 	
 	/* green wrapper around home page gallery */
 	
 	#gallerywrapper {
		width: 433px;
		margin-top:-27px;
	}
	
	#gallerytop {
		
		height: 17px;
		background:  url('../../gallery_new/images/top.png') no-repeat;
	}
	
	#galleryleft {
		
		float: left;
		width: 42px;
		height: 100%;
		background:  url('../../gallery_new/images/left.png') repeat-y;
		
	}
	#gallerymain
	{
		color: #333333;
		width: 349px;
		float: left;
		/*border-top: 4px solid #333333; */
		/*background: none; */
	}
	
	#galleryright {
		
		float: left;
		width: 42px;
		height: 100%;
		background:  url('../../gallery_new/images/right.png') repeat-y;
	}
	
	#gallerybottom {
		/*clear: both; */
		height: 23px;
		width: 354px;
		margin-top: 338px;
		background:  url('../../gallery_new/images/bottom.png') repeat-x;
		z-index: 50;
		margin-left: 42px;
	}

 	/* this is the list for each photo set Rock Walls, Regrade ,etc */
	
#subgallerylist { list-style: none; padding:0px; font-weight:bold; font-size: 0.9em; width: 800px;  }
/* #subgallerylist li  { display: block; float:left; margin: 0; padding: 5px; border: 1px solid #ACAC62; margin: 2px; } */
#subgallerylist li { display: inline;  margin: 5px;  padding-top: 3px; }


	/* wrapper for the gallery page */
#gallerypagecontainer { text-align:center;  width: 100%; /* border: 1px solid black;  */ }


/* green wrapper around home page gallery */
 	
 	#gallerypagewrapper {
		clear: both;
		width: 100%;
		text-align: left;
	}
	
	#gallerypagetop {
		
		height: 31px;
		background: #FEFFCB url('../../gallery_new/images/pagetop.jpg') no-repeat;
	}
	
	#gallerypageleft {
		
		float: left;
		width: 26px;
		height: 100%;
		background: #000 url('../../gallery_new/images/pageleft.jpg') repeat-y;
		
	}
	#gallerypagemain
	{
		width: 454px;
		padding-left: 9px;
		padding-bottom: 4px;
		float: left;
		background: #323433;
	}
	
	#gallerypageright {
		
		float: left;
		width: 26px;
		height: 100%;
		background: #000 url('../../gallery_new/images/pageright.jpg') repeat-y;
	}
	
	#gallerypagebottom {
		clear: both;
		height: 36px;
		background: #FEFFCB url('../../gallery_new/images/pagebottom.jpg') no-repeat;
	}

 	.pagesubgallery {
 		/* background-color: #444; */
		/*border: 1px solid pink; */
 		/*padding: 0px; */
		padding-top: 0px;
		margin-left: 511px;
		
		position: relative; 
 		width: 343px;
		padding-left: 6px;
		
 	}
 	.pagesubgallery ul { list-style: none; margin: 0; padding: 0; }
 	.pagesubgallery ul li { display: inline; margin: 0; padding: 0;  }
	.pagesubgallery ul *{ display: inline; }
 	.pagesubgallery ul img {
		height: 62px;
		width: 82px;
 		border: 4px solid #FEFFCB;
 		/*border-width: 5px 5px 10px; */
		margin: 0;
 	}
 	.pagesubgallery ul a:hover img {
 		border: 4px solid #2a2a2a;
 		/*border-width: 5px 5px 10px; */
 		color: #fff;
 	}
 	.pagesubgallery ul a:hover { color: #fff; }
