/*--- Layout Stylings ---*/

#floatlayer{ z-index:100;}

a, a img{border:none; text-decoration:none;}

hr{ border:none; height:1px; width:100%; background-color:#438a85; margin:5px 0; clear:both;}

TABLE.table {border : 1px solid #045b55; padding : 2px; background-color : #FFF;}
.table TH {	background-color:#045b55; padding:4px; text-align:left; color:#fff; font-family:Verdana, Geneva, sans-serif;}
.table TD {padding:4px; font-family:Verdana, Geneva, sans-serif;}

body{
	text-align:center;
	margin:0; padding:0;
	position:relative;
	background-repeat:repeat-x;
	background-position:top;
	background-color:#7e99a1;
	font-family:Verdana, Geneva, sans-serif;
}
#homepage{background-image:url(/custom/templates/page/AFMhome09/images/page-bg.jpg);}
#innerpage{background-image:url(/custom/templates/page/AFMinner09/images/page-bg.jpg);}
	
	.outline{
		background-repeat:no-repeat;
		background-position:top left;
		height:133px;
		position:absolute;
		top:0;
	}
		#innerpage .outline{height:103px;}
		.outline#left{background-image:url(/custom/templates/page/AFMhome09/images/header-outline-left.jpg); width:291px; left:0;}
		.outline#right{background-image:url(/custom/templates/page/AFMhome09/images/header-outline-right.jpg); width:455px; right:0;}
			#innerpage .outline#left{background-image:url(/custom/templates/page/AFMinner09/images/header-outline-left.jpg); width:232px;}
			#innerpage .outline#right{background-image:url(/custom/templates/page/AFMinner09/images/header-outline-right.jpg); width:432px;}
	
	.outer-container{
		width:100%;
		position:absolute;
		display:block;
		left:0;
		text-align:center;
		margin:0; padding:0;
		background-repeat:repeat-x;
		background-position:top left;
		z-index:20;
	}
		#innerpage .outer-container{ position:relative;}
		.outer-container#top{
			height:161px;
			top:0;
		}
			#innerpage .outer-container#top{
				position:absolute;
				height:131px;
			}
			#innerpage #main-area{ position:relative; top:131px; left:0px; text-align:center; width:100%;}
			.inner-container{
				width:980px;
				z-index:100;
				margin:0 auto; padding:0;
				text-align:left;
			}
				.inner-padding{ width:960px; margin:0 10px;}
				.inner-container#header{ height:133px;}
					#innerpage .inner-container#header{ height:103px;}
					#logo{
						float:left;
						width:483px;
						height:91px;
						margin:41px 0 0 7px;
						position:relative;
					}
						#innerpage #logo{margin:11px 0 0 7px;}
						#logo a{
							display:block;
							position:absolute;
							width:483px;
							height:91px;
							z-index:100;
						}
					#plane{
						float:right;
						width:293px;
						height:133px;
					}
						#innerpage #plane{
							float:right;
							width:250px;
							height:103px;
						}
				.inner-container#menu{ width:100%; top:133px; left:0; position:absolute;}
				#innerpage .inner-container#menu{ width:100%; top:103px; left:0; position:absolute;}
					.inner-container#menu .inner-padding{
						background-image:url(/custom/templates/page/shared/images/menu-divider.jpg);
						background-repeat:no-repeat;
						background-position:right;
						height:28px;
						width:960px; margin:0 auto;
					}
		
		.outer-container#mid{
			top:161px;
			height:298px;
		}
			#innerpage .outer-container#mid{
				background-color:#FFF;
				height:auto;
				top:auto;
			}
			.outer-container#top-grey-bar{
				background-image:url(/custom/templates/page/AFMinner09/images/grey-bar-bg.jpg);
				background-repeat:repeat-x;
				height:20px;
			}
				.top-shadow, .bottom-shadow{
					background-repeat:repeat-x;
					width:100%;
					margin:0;
				}
					.top-shadow{
						background-image:url(/custom/templates/page/AFMinner09/images/content-bg-top-repeat.jpg);
						background-position:top;
					}
					.bottom-shadow{
						background-image:url(/custom/templates/page/AFMinner09/images/content-bg-bottom-repeat.jpg);
						background-position:bottom;
						}
					.top-shadow-inner,
					.bottom-shadow-inner{
						background-repeat:no-repeat;
						width:1000px;
						height:10px;
						line-height:4px;
						font-size:4px;
						margin:0 auto;
						padding:none; display:block;
					}
						.top-shadow-inner{
							background-image:url(/custom/templates/page/AFMinner09/images/content-bg-top.jpg);
							background-position:top;
						}
						.bottom-shadow-inner{
							background-image:url(/custom/templates/page/AFMinner09/images/content-bg-bottom.jpg);
							background-position:top;
						}
			
			.inner-container#content{
				background-image:url(/custom/templates/page/AFMhome09/images/mid-no-repeat.jpg);
				background-repeat:no-repeat;
				height:298px;
			}
			.error .inner-container#content{background-image:url(/custom/templates/page/AFMhome09/images/404-mid-no-repeat.jpg);}
				
				#innerpage .inner-container#content{					
					background-image:url(/custom/templates/page/AFMinner09/images/content-bg-repeat.jpg);
					background-position:center;
					background-repeat:repeat-y;
					height:auto;
					width:1000px;
				}
					#innerpage .inner-container#content .inner-padding{margin:0 20px 0 10px; position:relative;}
						#innerpage .content-container{ float:right; background-color:#FFF; background-image:url(/custom/templates/page/AFMinner09/images/content-bg-left.jpg); background-position:left; background-repeat:repeat-y;}
							#innerpage .content-padding{ width:730px; margin:0 0 0 21px; overflow:hidden;}
								#eBreadcrumbTrail{ line-height:10px; margin:5px 0 15px 0;}
						
						#innerpage .menu-container#vertical{
							background-image:url(/custom/templates/page/AFMinner09/images/menu-top.jpg);
							background-repeat:no-repeat;
						}
							#innerpage .menu-padding{
								float:left;
								width:209px;
								background-color:#045a56;								
							}
								#innerpage .menu-inner{
									width:203px;
									padding:3px 0 0 3px;
								}
								.menu-bottom{
									background-image:url(/custom/templates/page/AFMinner09/images/menu-bottom.jpg);
									background-repeat:no-repeat;
									width:209px;
									height:11px;
								}
				
				#slideshow{
					float:left;
					width:458px;
					height:278px;
					margin:20px 0 0 0;
				}				
				
				#Featured-Items{
					position:relative;
					float:right;
					width:461px;
					height:278px;
					margin:8px 0 12px 0;
					padding:0 20px 0 0;
				}
						
		.outer-container#bottom{
			top:459px;
		}
			#innerpage .outer-container#bottom{ 
				position:relative;
				top:auto;
				background-image:url(/custom/templates/page/AFMinner09/images/bottom-green-bar-bg.jpg);
				background-repeat:repeat-x;
				background-position:top;
			}
			.inner-container#grey-bar{
				background-image:url(/custom/templates/page/AFMhome09/images/bottom-grey-bar-bg.jpg);
				background-repeat:no-repeat;
				background-position:left;
				height:45px;
				position:relative;
			}
				.button#find-us{
					width:161px;
					height:37px;
					position:absolute;
					top:5px;
					right:245px;
				}
					#innerpage .button#find-us{
						position:relative;
						margin:0 0 5px 0;
						clear:both;
						left:0;
						bottom:0;
					}
						#innerpage .button#find-us a{
							display:block;
							width:209px;
							height:48px;
						}
			.inner-container#green-bar{
				height:24px;
				color:#FFF;
				font-size:11px;
				font-family:Verdana, Geneva, sans-serif;
			}
				.inner-container#green-bar .inner-padding{padding:4px 0 4px 0;}
			
		.outline#footer-left{
			  background-image:url(/custom/templates/page/AFMhome09/images/footer-outline-left.jpg); 
			  background-repeat:no-repeat;
			  background-position:top left;
			  height:182px;
			  width:450px;
			  display:inline;
			  position:absolute;
			  top:528px; left:0;
		}
		#innerpage .outline#footer-left{top:auto;}
		.outer-container#footer{
		  height:182px;
		  top:528px;
		  /*background-image:url(/custom/templates/page/AFMhome09/images/footer-bg.jpg);
		  background-repeat:repeat-x;
		  background-position:top;*/
		}
			#innerpage .outer-container#footer{top:auto; background-image:url(/custom/templates/page/AFMinner09/images/footer-bg.jpg); background-repeat:repeat-x; background-position:top;}
		  	.inner-container#details{}
				#innerpage .inner-container#details{background-image:url(/custom/templates/page/AFMhome09/images/footer-outline-left.jpg); width:100%; height:182px; background-position:top left; background-repeat:no-repeat;}
					#innerpage #details .inner-padding{ margin:0 auto;}
						.sponsors{ float:left; margin:10px 0 0 0; padding:0 10px;}
							.sponsors a{ display:inline-block; margin:0 8px 0 0;}
						.company-address{
							float:right; margin:10px 0 0 0; height:104px; width:494px;
						}
					.company-address .tagHtmlAddress, .company-address .tagHtmlAddress a{ font-family:Verdana, Geneva, sans-serif; color:#045a56; font-weight:bold;}
					.tagHtmlAddress div{ line-height:12px; margin:0 0 2px 0; text-align:left;}
						#footer .tagHtmlAddress div{font-size:10px; }
						.right-text{width:140px;}
						#footer .right-text{width:216px;}
						#footer .right-text .tagHtmlAddress div{text-align:right;}
						#footer .left-text .tagHtmlAddress div{text-align:left;}
							#footer .tagHtmlAddress div#postal{ display:none;}
						.company-address .tagHtmlAddress a{text-decoration:underline;}
					
					#footer .border{border-left:1px solid #8eacb0;}
			
.clear{ clear:both;}

/*-----------------------*/



/* --- Image Templates --- */
#content-image-container{width:259px; height:179px;}
#vert-content-image-container{width:179px; height:209px}
	#vert-content-image-container.tall{height:227px}

#content-image-container,
#vert-content-image-container{display:inline; position:relative;}
#content-image-container div,
#vert-content-image-container div{/*display:inline;*/}

	#content-image-container.left,
	#vert-content-image-container.left{ float:left; margin:0 10px 0 0;}
	#content-image-container.right,
	#vert-content-image-container.right{ float:right; margin:0 0 0 10px;}
	
	#content-image{width:259px; height:179px;}
	#vert-content-image{width:179px; height:209px;}
		#vert-content-image-container.tall #vert-content-image{height:247px}
	#content-image,
	#vert-content-image{
		display:inline-block;
		z-index:0;
		overflow:hidden;
		position:relative;
	}
		.left #content-image, .left #vert-content-image{ float:left}
		.right #content-image, .right #vert-content-image{ float:right;}
		
			#content-image IMG,
			#vert-content-image IMG{ margin:10px 0; padding:0 10px;}
			
			#content-image a, #content-image IMG,
			#vert-content-image a, #vert-content-image IMG{ border:none;text-decoration:none;}
		
		#content-image-overlay,
		#vert-content-image-overlay{
			margin:0;
			padding:0;
			z-index:80;
			position:absolute;
			top:0;
			left:0;
		}
			#content-image-overlay{ height:179px; width:259px;}
			#vert-content-image-overlay{ height:209px; width:179px;}
			.tall #vert-content-image-overlay{ height:247px; width:179px;}
				#content-image-overlay IMG,
				#vert-content-image-overlay IMG{margin:0; padding:0;}
		
		#content-image-container #enlarge-container,
		#vert-content-image-container #enlarge-container{ width:69px; height:27px; float:right; display:inline-block;}

			#content-image-container #enlarge-container{ top:179px;}
			#vert-content-image-container #enlarge-container{ top:209px;}
				#content-image-container.tall #vert-content-image-container #enlarge-container{ top:247px;}
				#content-image-container #enlarge-container a, #content-image-container #enlarge-container a img,
				#vert-content-image-container #enlarge-container a, #vert-content-image-container #enlarge-container a img{}
/* --- Image Templates --- */

/* --- Shopping Cart Styles --- */
.yourCart{
	margin:0 0 10px 0;
}
#tableSearchResults{ width:100%;}
	#tableSearchResults th{ background-color:#045b55; color:#FFF; padding:5px;}
	#tableSearchResults tr{/* background-color:#b9d1d0;*/}
		#tableSearchResults tr.border-bottom{}
			#tableSearchResults tr.border-bottom td{ border-bottom:1px dashed #ccc;}
		#tableSearchResults td{/*border:1px solid #045b55;*/ padding:10px 5px;}
			#tableSearchResults td.left{border-top:none; border-right:none;}
			#tableSearchResults td.right{border-top:none; border-left:none;}
				#tableSearchResults img{/*border:1px solid #045b55;*/}
				
.yourCart{
	background-color:#ebebeb;
	padding:5px;
	border-bottom:2px solid #fff;
}


.details-link{ border-top:1px dashed #ccc; padding:5px 0 0 0;}

.pagingLinks{}
	.pagingLinks a,
	#addtocart, #update, #checkout, #place-order, #next{ font-weight:bold; display:block; height:20px; text-indent:-9989em; border:none;}
	
		.link-first,
		.link-previous{ float:left; margin:10px 5px 10px 0;}
			.link-first{ background-image:url(/custom/templates/page/shared/images/pagelink-first.jpg); width:62px;}
			.link-previous{ background-image:url(/custom/templates/page/shared/images/pagelink-previous.jpg); width:82px;}
		
		.link-next,
		.link-last{float:right; margin:10px 0 10px 5px;}
			.link-next{ background-image:url(/custom/templates/page/shared/images/pagelink-next.jpg); width:55px;}
			.link-last{ background-image:url(/custom/templates/page/shared/images/pagelink-last.jpg); width:56px;}
			
#tableProductDetails{}
	#tableProductDetails td{ padding:0 10px 0 0; vertical-align:top;}

.tabularData{}
	.tabularData th,
	.tabularData td{ vertical-align:top;}
	
		.cart-name{ width:200px;}
		.cart-price{ width:80px;}
		.cart-qty{width:80px;}
		.cart-total{width:80px;}
		.cart-remove{width:120px;}

#addtocart{ background-image:url(/custom/templates/page/shared/images/button-addtocart.jpg); width:84px; margin:10px 0 0 0;}
#update{ background-image:url(/custom/templates/page/shared/images/button-update.jpg); width:59px;}
#checkout{ background-image:url(/custom/templates/page/shared/images/button-checkout.jpg); width:74px; margin:0 0 10px 0;}
#place-order{ background-image:url(/custom/templates/page/shared/images/button-placeorder.jpg); width:84px; margin:0 0 10px 0;}
#next{ background-image:url(/custom/templates/page/shared/images/pagelink-next.jpg); width:55px;}

.backbutton{ width:340px; text-align:right; display:inline-block;}
/* --- Shopping Cart Styles --- */

/* --- Lightbox Category Page --- */
.lightboxArchive{}
	.lightboxArchive .lightboxArchiveImage{
		width:154px;
		/*height:270px;*/
		margin:0 25px 20px 0;
	}
		.lightboxArchive .lightboxArchiveImage table{}
			.lightboxArchive .lightboxArchiveImage table a{
				border:1px solid #045A56;
				width:152px;
				height:152px;
			}
				.lightboxArchive .lightboxArchiveImage table a img{
					border:1px solid #FFF;
				}
		.lightboxArchive .lightboxArchiveImageName{
			font-size:12px;
			font-family:Verdana, Geneva, Arial, Helvetica, sans-serif;
			color:#045A56;
			font-weight:bold;
			margin:4px 0;
		}
		.lightboxArchive .lightboxArchiveImageCredit,
		.lightboxArchive .lightboxArchiveImageCaption{display:none;}
		.lightboxArchive .lightboxArchiveImageDate{
			font-size:10px;
			font-family:Verdana, Geneva, Arial, Helvetica, sans-serif;
			color:#045A56;
			display:none;
		}
/* --- Lightbox Category Page --- */

.error-message{ padding:50px 40px 0 40px; }

.checkboxes table.terraFormLayoutElement{ margin:0; width:425px;}