body {
	font-family:trebuchet ms,myriad pro,arial,helvetica,sans-serif;
	background:#6F9B22;
	margin:0,0,0,0;
}

#page {
	background:#98DEFA url('bg_page-top.png') top center repeat-x;
}

#page-inner {
	background: transparent url('bg_page-bottom.png') bottom center repeat-x;
	min-height:350px; 
	padding-bottom:388px;	/* Distance from bottom of content footer boxes to bottom of page and bottom background image */
}

#page-content,
#header-content {
	margin-left:auto;
	margin-right:auto;
	width:900px;
}

#header-content {
	position:relative;
	height:210px;
}

#header-content .logo {
	display:block;
	width:540px; height:160px;
}

#header-content a.logo {
	position:absolute;
	top:30px; left:0px;
}

#header-content ul.primary-links {
	position:absolute;
	right:0; bottom:60px;
}

ul.primary-links li {
	float:left;
	margin-left:10px;
}


/* Content Footer Boxes */
.content-footer-region {
	height:188px;
	margin:0 0 0 0;
	padding:0 0 0 0;
}

.content-footer-region .footer-box {
	width:290px; height:180px;
	position:relative;
	background-color:#E5F7FE;
	background-position:top left;
	background-repeat:no-repeat;
}

.content-footer-region .footer-box-01 {
	float:left;
	margin-right:15px;
	background-image:url('bg_footer-box_01.png');
}

.content-footer-region .footer-box-02 {
	float:left;
	background-image:url('bg_footer-box_02.png');
}

.content-footer-region .footer-box-03 {
	float:right;
	margin-left:15px;
	background-image:url('bg_footer-box_03.png');
}

/* Main content area */
.content-main {
	background:#E5F7FE url('bg_content-main-top.png') top left no-repeat;
	margin-bottom:15px;
}

.content-main .content {
	background:transparent url('bg_content-main-bottom.png') bottom left no-repeat;
	min-height:160px;
	padding-bottom:25px;
	position:relative;
	width:100%;
}

.content-main .content-end {
	clear:both;
}


/* Navigation Links */

a.button-internal,
a.button-external {
	display:block;	position:relative;
	float:left;
	padding-right:10px;
	height:38px;

	font-size:14px; line-height:14px;	
	text-decoration:none;
	color:#FFF;
}

a.button-internal span,
a.button-external span {
	display:block;
	margin:0 0 0 0;
	padding:12px 10px 12px 20px;
	background-position:0% 0%;
}

a.button-internal span.end,
a.button-external span.end {
	display:block;
	position:absolute;
	top:0; right:0; bottom:0;
	padding:0 0 0 0;
	width:10px;	height:38px;
	background-position:100% 0%;
}

a.button-internal span {
	background-image:url('bt_blue.png');
}
a.button-internal span.end {
	background-image:url('bt_blue.png');
}

a.button-external span {
	background-image:url('bt_red.png');
}
a.button-external span.end {
	background-image:url('bt_red.png');
}


a.button-internal:hover span,
a.button-internal:active span,
a.button-external:hover span,
a.button-external:active span {
	background-position:0% -38px;
}

a.button-internal:hover span.end,
a.button-internal:active span.end,
a.button-external:hover span.end,
a.button-external:active span.end {
	background-position:100% -38px;
}





/* CSS Clearfix */

.clear-block:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
 
.clear-block {
	display: inline-block;
}
 
html[xmlns] .clear-block {
	display: block;
}
 
* html .clear-block {
	height: 1%;
}



/* CSS Gallery Styles (Not J-Album Table Horror */

	.gallery-container {
		padding:25px;
	}
	
	
	.gallery-container .thumbnail {
		position:relative; float:left;
		background:transparent url('bg_thumbnail.png') top left no-repeat;
		width:150px; min-height:150px;
		margin-right:20px; margin-bottom:20px;
		
	}
	
	.gallery-container .thumbnail-inner {
		position:relative;
		width:140px; height:140px;
		vertical-align:middle;
		text-align:center;
	}
	
	.gallery-container .thumbnail-inner a {
		display:inline-block;
		border:none;
		vertical-align:middle;
		line-height:140px;
	}
	
	.gallery-container .thumbnail-inner img {
		display:inline-block;
		background-color:#333;
		border:none;
		vertical-align:middle;
	}
	
	.gallery-container .thumbnail-label {
		padding:8px 10px 5px 10px; 
		font-size:14px; line-height:1.5em;
	}
	
	.gallery-container .thumbnail-label a,
	.gallery-container .thumbnail-label a:link,
	.gallery-container .thumbnail-label a:visited {
		text-decoration:none;
	}
	
	.gallery-container .thumbnail-label a:hover,
	.gallery-container .thumbnail-label a:active {
		text-decoration:underline;
	}

	
/* - - - - Footer Boxes - - - - - - - - - - - - - - - - - - - - - - - - - - - */

	/* Footer Box Rotator ("other sites") */
		.footer-box-rotator {
			position:relative;
			padding:6px;
		}
		
		.footer-box-rotator .rotator {
			width:278px; height:168px;
			margin:0 0 0 0;
			padding:0 0 0 0;
			overflow:hidden;
		}
		
		.footer-box-othersites .banner-othersites {
			position:absolute;
			left:0; top:0; z-index:100;
			width:88px; height:88px;
			background:transparent url('obj_free-image-corner-banner.png') top left no-repeat;
		}
	
	
	/* Dreamstime Footer Box */
		.footer-box-dreamstime {
			position:relative;
			padding:6px;
			width:278px; height:168px;
		}
		
		.footer-box-dreamstime .title {
			font-size:12px; color:#333;
			padding-top:2px;
		}
		
		.footer-box-dreamstime .title h4 {
			color:#999;
			font-size:18px;
			text-transform:uppercase;
		}
		
		.footer-box-dreamstime .dreamstime-image-collection {
			margin-top:8px;
		}
		
			.dreamstime-image-collection .dreamstime-thumbnail {
				float:left;
				/* 85 pixel total width = 75 pixels + 2x5px padding */
				width:75px; height:75px; padding:5px;
				color:#999;
				background-color:#333;
				margin-right:10px;
			}
			
			.dreamstime-image-collection .dreamstime-thumbnail.last {
				margin-right:0;
			}
	
		.dreamstime-button-container a.button-external {
			float:none;
			position:absolute;
			left:4px; bottom:4px;
			width:272px;
		}
		
		.dreamstime-button-container a.button-external span {
			text-align:right;
		}
		
		/* links footerbox */
	
	
	.footer-box-links {
			position:relative;
			padding:6px;
			width:278px; height:168px;
		}

      .footer-box-links .title h4 {
			color:#999;
			font-size:18px;
			text-transform:uppercase;
		}
	   .footer-box-links a:link {
		   text-decoration:none;
	   }
	   
	   	   .footer-box-links a:hover {
		   text-decoration:underline;
	   }

	
	


/* - - - - Home Page Specific Styles - - - - - - - - - - - - - - - - - - - -  */

	img.img-free-badge {
		display:block;
		position:absolute;
		top:-10px; right:-10px;
		z-index:100;
	}

	.page-text-home {
		float:right;
		width:320px;
		padding-right:25px;
		padding-top:220px;
		font-size:21px; line-height:1.5em;
	}
	
	.page-text-home p {
		margin-bottom:1em;
	}
	
	.page-text-home p:last-child {
		margin-bottom:0em;
	}
	
	.gallery-container-home {
		padding:30px 0 0 25px;
		float:left;
		width:515px;	/* 540 px overall with padding */
	}
	
	
	.gallery-button-container {
		clear:both;
		margin-left:25px;
		width:490px;
	}
	
	.gallery-button-container a.button-internal {
		float:none;
		height:38px;
	}
	
	.gallery-button-container a.button-internal span {
		text-align:right;
	}