/* 
   css Copyright (c) 2005-2006 by Karelia Software. All rights reserved.
   css released under Creative Commons License 
        - http://creativecommons.org/licenses/by-sa/2.5/ 
   All associated graphics belong to their respective owners 
        and are licensed separately. 
*/

a img { border: none; }

/* General styles  */

body {
	text-align: center; /*this is for IE5/PC*/
	word-wrap:break-word;
}


#page {
	text-align: left; /*this corrects the body text-align selector, strangely not working in IE5.5 though*/
}

.clear {
	clear: both;
	height: 10px;
}

#page a:link { color: #6b87b0; font-weight: bold; text-decoration: none; }
#page a:visited { color: #8ba7d8; }
#page a:hover { background: url(g-bk-container.gif); color: #6d89b1; }

h5, h6 {
	font-size: 100%;
}

.hidden {
    display: none;
}

/* Images embedded in text.  "narrow" are 200 pixels wide or smaller. */

#main img, .video object {
	border: 1px solid #dbdbdb;
	background: url(g-bk-container.gif);
	padding: 10px;
	margin: 10px;
}

#main .pagelet img, #main .pagelet .video object {
	border: 0;
	margin: 0;
	padding: 0;
}

img.narrow {
	display: block;
	clear: right;
	float: right;
}
img.wide {
	display: block;
	clear: both;
}

#main a:hover img {
	background: #eee;
}

/* Block Level formatting, more or less in descending order */

* {
	margin: 0;
	padding: 0;
}

p {
	margin-bottom: 20px;
}

body {
	background: #bbb;
	font-size: 76%;
	color: #777;
	font-family: verdana, arial, sans-serif;
}

		#page {
			position: relative;
			background: #fafafa url(g-bk-container.gif);
			margin: 0 auto;
			padding: 10px;
			width: 769px;
  		voice-family: "\"}\"";
  		voice-family: inherit;
	  	width: 749px;
	 	}
	html>body #page {
  		width: 749px;
		}

			#page-top {
				position: relative;
			}

				#title {
					position: relative;
					background: #fff url(g-bk-corner.gif) no-repeat bottom left;
					width: 747px;
					overflow: auto;
					border: 1px solid #dbdbdb;
					border-top: 3px solid #dbdbdb;
				}

					#title a img, #title img {
						float: right;
					}

					#title p {
						position: relative;
						top: 0;
						margin: 0px 19px 4px 19px;
					}

					h1 {
						position: relative;
						top: 0;
						left: 0;
						font-size: 1.5em;
						margin: 4px 19px 8px 19px;
						text-transform: uppercase;
					}
					
					.has-logo h1, .has-logo #title p {
						width: 500px;
					}

						h1 a {
						  text-decoration: none;
						  color: #888;
						  font-weight: normal;
							}

				#sitemenu-container {
					clear: both;
					margin-top: 9px;
					background: url(g-bk-header.jpg) no-repeat top;
					border-bottom: 1px solid #dbdbdb;
					border-top: 1px solid #dbdbdb;
					overflow:hidden;
					min-height: 134px;
				}
			
				.home-page #sitemenu-container {
					min-height:265px;
				}

				#sitemenu {
					padding-top: 134px;	
					background: url(title-corner.gif) 0px 123px no-repeat;	
				}
	
				.home-page #sitemenu {
					padding-top: 265px;
					background-position: 0px 253px;
				}
				
				#sitemenu h2 {
					display:block;
					text-indent: -5000px;
					line-height: 2px; /* for IE 5&6 / Win */
					height: 10px;
					width: 100%;
					position: absolute;
					background: #fafafa url(g-bk-container.gif) 0px 0px fixed;
				}			

						#sitemenu-content ul {
							background: #fff url(g-bk-corner.gif) no-repeat bottom left;
							list-style-type: none;
							text-transform: uppercase;
							margin: 10px 0 0 0;
							padding: 12px 6px 12px 6px;
							text-align: center;
							border: solid #dbdbdb;
							border-width: 3px 1px 1px 1px;
						}

						#sitemenu-content li {
							display: inline;
							padding: 3px 0;
							margin: 0 3px;
						}

							#sitemenu-content a, .currentPage span.in {
								line-height: 1.5em;
							}

							.currentPage span.in {
								font-weight: bold;
								padding-left: 12px;
								color: #6d89b1;
							}

							#sitemenu-content a:link, #sitemenu-content a:visited {
								color: #6b87b0;
								padding-left: 12px;
								text-decoration: none;
							}

							#sitemenu-content a:hover, a:focus, a:active {
								background: #fff url(g-bk-arrow.gif) left center no-repeat;
								color: #6d89b1;

							}

			#page-content ul {
				margin-top: 15px;
			}

			ul ul {
				margin-top:2px!important;
			}

			ul ul li {
				border:none!important;
			}

			ol {
				padding-left: 24px;
				margin-top: 14px;
			}
			
			dd {
				margin-left: 24px;
			}

			#page-content ul li {
				font-size: 1em;
				list-style-image: url(g-bk-arrow.gif);
				margin: 0 0 0 20px;
				border-bottom: 1px solid #999;
				padding: 4px 0 4px 5px;
			}

			#page-content li h3 {
				font-size: 1em;
			}

			#page-content li:hover {
				background: #fafafa url(g-bk-container.gif);
			}

            #sidebar-container {
				float: left;
				width: 260px;
				margin: 0;
				padding: 0;
				min-height: 50px; /*for newer browsers*/
			}

			/* IE Hack */
			/* Hides from IE5-mac \*/
			* html #sidebar-container {
					height: 50px; /*for IE, treats height as min-height*/
            }
			/* End hide from IE5-mac */

		
				#sidebar {
					background: #fff url(g-bk-corner.gif) no-repeat bottom left;
					color: #5c78a0;
					font-size: .8em;
					margin-right: 10px;
					border: solid #dbdbdb;
					border-width: 3px 1px 1px 1px;
					padding: 24px;
				}
                #sidebar-container:after { content: url("bk-clear.gif"); }

						.pagelet {
							width: 200px;
							word-wrap: break-word;
							overflow: hidden;
							margin-bottom: 15px;
						}

						#main {
							padding: 25px 18px 20px 18px;
							background: #fff url(g-bk-corner.gif) bottom left no-repeat;
							word-wrap: break-word;
							border: solid #dbdbdb;
							border-width: 3px 1px 1px 1px;
						}

				    #main .pagelet {
					    background: #fafafa url(g-bk-container.gif) bottom left no-repeat;
						padding: 10px;
					}
					
					.callout {
						float: left;
						width: 235px;
						padding: 0px;
					}
					
					#main .pagelet.bordered {
					    background: #fff url(g-bk-corner.gif) bottom left no-repeat;
						border: solid #dbdbdb;
						border-width: 3px 1px 1px 1px;
					}

					#sidebar .pagelet {
						padding-bottom: 15px;
					}

					#sidebar .pagelet.bordered {
						border:1px #dbdbdb solid;
					}

					#sidebar .pagelet.bordered p {
						padding:0px 5px;
					}

					.pagelet h4 {
						margin: 5px 0px;
						font-weight:bold;
					}

					#sidebar .pagelet h4 {
						background: #fff url(g-bk-arrow.gif) left center no-repeat;
						border: solid #dbdbdb;
						border-width: 3px 1px 1px 1px;
						padding: 3px 3px 3px 12px;
					}
					
					#sidebar .pagelet.bordered h4 {
						border-width:2px 0px 1px 0px;
					}

/* photo-page, html-page (in some cases), iframe-page don't have sidebar */
/* Most other pages have sidebars */
				body.allow-sidebar #main {
					float: left;
					width: 449px;
				}

				body.no-sidebar #main h2 {
					text-align: center;
					font-size: 1.5em;
				}

				body.allow-sidebar #main h2 {
					color: #888;
					font-size: 1.5em;
					background: #fff url(g-bk-arrow.gif) left center no-repeat;
					border: solid #dbdbdb;
					border-width: 3px 1px 1px 1px;
					padding: 3px 3px 3px 12px;
				}

					h2, h3 {
						margin-bottom: 15px;
						font-weight:normal;
					}

						.article {
							border-bottom: 1px solid #dbdbdb;
							background: url(g-bk-corner.gif) bottom left no-repeat;
							padding-bottom: 15px;
							overflow:auto;
							word-wrap:break-word;
						}

							.article-thumbnail {
								float:right;
							}

			#page-bottom {
					clear: both;
					background: #fff url(g-bk-corner.gif) no-repeat bottom left;
					padding: 15px 0px;
					border: 1px solid #dbdbdb;
					border-width: 1px 1px 0 1px;
			}

				#page-bottom p {
					padding: 0 15px 0px 25px;
					margin-bottom: 0;
				}

/* Other specific classes nested with an .article */

.ImageElement, .VideoElement {
	text-align: center; 
	clear: both;
}

/* Used on Photo Grid Pages ... */

.photogrid-index {
	text-align:center;
}


.photogrid-index a {
	color:#888;
	text-decoration:none;
}

.photogrid-index a:hover  {
	text-decoration:underline !important;
}


.gridItem {
	float:left;
	position:relative;
	width:149px;
	height:210px;
	overflow:hidden;
}

.gridItem h3 {
	font-size:1em;
	font-weight:normal;
    position:absolute;
	top: 163px; /* needs to leave 38px from the bottom of the gridItem */
	width: 149px;
}

body.no-sidebar .gridItem {
	margin:0px 14px;
}

.gridItem img {
    border: 1px solid rgb(80, 80, 80);
    margin: auto !important;
    padding:9px !important;
    display:block;
    position: absolute;
    top: 0;
    bottom: 40px;
    right: 0;
    left: 0;
}


/* IE Hack */

/* Hides from IE5-mac \*/
* html body.no-sidebar .gridItem {
	margin:0px 11px;
}

* html .gridItem img {
	position: relative;
	top:6px;
}

* html .gridItem h3 {
	position: relative;
	top: 8px;
}

/* End hide from IE5-mac */

/* Used on index summary pages */

.listing-index li h3 a {
	text-decoration:none;
	font-size:1em;
	font-weight:normal;
}

/* Individual Photo Pages */

.photo-navigation {
	position:relative;
	margin:-4px auto 20px auto;
	width: 324px;
	height: 50px;
}

    .photo-navigation div {
		position:absolute;
		height: 40px;
		width: 90px;
		text-align: center;
		padding:5px;
		border: 1px solid #dbdbdb;
    }

	.photo-navigation a {
		display:block;
		height: 40px;
		width: 90px;
	}

	#previous-photo {
		left:0px;		
	}
	#previous-photo a {
		background: url(g-button-previous.gif) no-repeat bottom center;
	}

	#next-photo {
		right:0px;
	}
	#next-photo a {
		background: url(g-button-next.gif) no-repeat bottom center;
	}

	#photo-list  {
		left:112px;
	}
	#photo-list a {
		background: url(g-button-list.gif) no-repeat bottom center;
	}

