/* 
   css Copyright © 2005-2011 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. 
*/

/* IE7 hacks */

*:first-child+html .gridItem img {
	position:relative;
	top:0px;
}

*:first-child+html .gridItem h3 {
	position:relative;
	top:0px;
}

/* Navigation arrows */
div.text-navigation { text-align:center; margin-bottom:1em;}
div.text-navigation div { display:inline; margin:0px 0.5em; }
.collection-navigation .disabled-navigation { text-indent:-5000px; }

/* 2.0 wrap compatibility. 2.0-compatible designs can further adjust these if they need */
.wide { display:block; }

.narrow.left {   /* Some designs won't respect without !important */
    float:left!important;
    clear:left!important;
}
.narrow.right {
    float:right!important;
    clear:right!important;
}

.wide.left .graphic, img.wide.left { margin-left:0px; margin-right:auto; }
.wide.center .graphic, img.wide.center { margin-left:auto; margin-right:auto; }
.wide.right .graphic, img.wide.right { margin-left:auto; margin-right:0px; }

.ImageElement.left { text-align:left; }
.ImageElement.center { text-align:center; }
.ImageElement.right { text-align:right; }

/* Captions should align themselves with the graphic */
.graphic-container.left .caption { text-align:left; }
.graphic-container.center .caption { text-align:center; }
.graphic-container.right .caption { text-align:right; }

/* Inline iframes need to display as a block to layout right */
.graphic iframe { display:block; }

/* Pagelet photo grids should be generally be auto width (some 1.x designs hardcoded an exact width) */
.pagelet .photogrid-index { width:auto; }

/* For content like amazon which forces white background. Design SHOULD set color for A tag and text color. */
.whiteBackground
{
	background-color:white;
}

.article-info
{
	margin-bottom:1em;
}
 
/* Firefox reduce dotted lines on links */
.photo-navigation a:focus, .replaced a:focus {overflow:hidden;}

/* Disqus correction to prevent overflow scroll bars in some designs */
#dsq-content { overflow:hidden; }
#dsq-content .dsq-auth-header { width: auto!important; }
#dsq-content .dsq-by { margin: 4px 6px 0px 0px; }
#dsq-content .dsq-by a, #dsq-content .dsq-by a:hover { border: 0px none; }
#dsq-content h3 { margin:0px; }

/* Site menus. Don't wrap the top level items, and wrap sub-menu items normaly. */
#sitemenu-content ul li {white-space: nowrap}
#sitemenu-content ul ul li {white-space: normal}

/* 
   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-content a:link { color: #789632; font-weight: bold; text-decoration: none; }
#page-content a:visited { color: #96b06b; }
#page-content a:hover { color: #385709; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0 0; }

.hidden {
    display: none;
}

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

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

#main .pagelet img {
	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 left bottom; width: 747px; overflow: auto; border-color: #dbdbdb; border-style: none; border-width: 3px 1px 1px; }

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

					#title p {
						position: relative;
						top: 0;
						margin: 0;
						margin-left: 15px;
						width: 500px;
						padding: 4px;
					}

					h1 {
						position: relative;
						top: 0;
						left: 0;
						width: 500px;
						padding: 4px;
						font-size: 1.5em;
						margin-left: 15px;
						text-transform: uppercase;
					}

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

				#sitemenu-container {
					clear: both;
					margin-top: 9px;
					background: url(g-bk-header-small.jpg) no-repeat top;
					padding-top: 134px;
					border-bottom: 1px solid #dbdbdb;
					border-top: 1px solid #dbdbdb;
				}

				.home-page #sitemenu-container {
					padding-top: 265px;
					background: url(g-bk-header.jpg) no-repeat top;
				}

					#sitemenu-content {
							background: #fafafa;
							margin: 10px 0 0;
							border-top: 3px none #dbdbdb;
					}

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

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

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

							.currentPage span {
								font-weight: bold;
								padding-left: 12px;
								color: #96b06b;
							}

							#sitemenu-content a:link, #sitemenu-content a:visited { color: #96b06b; background-color: transparent; padding-left: 12px; text-decoration: none; }

							#sitemenu-content a:hover, a:focus, a:active {
								background: no-repeat left center;
								color: #648717;

							}

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

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

			ul ul li {
				border:none!important;
			}

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

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

			#page-content li:hover {
				background: transparent;
			}

            #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 left bottom; color: #96b06b; font-size: 0.8em; margin-right: 10px; border-width: 3px 1px 1px; padding: 24px; border-color: #dbdbdb; border-style: none; }
                #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; background: #fff url(g-bk-corner.gif) no-repeat left bottom; border-color: #dbdbdb; border-style: none; word-wrap: break-word; border-width: 3px 1px 1px; }

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

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

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

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

					.pagelet h4 {
						padding: 2px 4px;
						margin-bottom: 5px;
						font-weight:normal;
					}

					#sidebar .pagelet h4 { background: #fff url(g-bk-arrow.gif) no-repeat left center; border-width: 3px 1px 1px; padding: 3px 3px 3px 12px; border-color: #dbdbdb; border-style: none; }
					
					#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) no-repeat left center; border-width: 3px 1px 1px; padding: 3px 3px 3px 12px; border-color: #dbdbdb; border-style: none; }

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

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

							.article-thumbnail {
								float:right;
							}

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

				#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:#96b06b;
	text-decoration:none;
}

.photogrid-index a:hover  { color: #789632; 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;
}


.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 .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 {
	margin-left: 172px;
}

.allow-sidebar .photo-navigation {
	margin-left:41px;
}

    .photo-navigation div {
    	margin: 5px;
    	width:100px;
    	text-align:center;
    }

	#previous-photo, #next-photo, #photo-list {
		float: left;
		height: 40px;
		border: 1px solid #dbdbdb;
		padding: 5px;
	}

	#previous-photo a {
		display:block;
		height:40px;
		background: url(g-button-previous.gif) no-repeat bottom center;
	}

	#next-photo a {
		display:block;
		height:40px;
		background: url(g-button-next.gif) no-repeat bottom center;
	}

	#photo-list a {
		display:block;
		height:40px;
		background: url(g-button-list.gif) no-repeat bottom center;
	}


.callout-container, .graphic-container { clear:both; }


