/* 
   css Copyright © 2005-2012 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}
* html #sitemenu-content ul li {white-space: normal}
*:first-child+html #sitemenu-content ul li {white-space: normal}
#sitemenu-content ul ul li {white-space: normal}
#sitemenu-content span.in { position: relative; }

.photogrid-index-bottom { clear:left; }

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

.clear {
	clear: left;
	height: 0;
}

#page a:link { color: #660000;}
#page a:visited { color: #663300;}
#page a:hover { color: #FF3366;}
#page a:active { color: #FF3366;}


ul, ol  {
	padding:10px 10px 10px 3em;
}

.pagelet ul, .pagelet ol {
	padding:0px 0px 0px 2em;	
}

#page-content ul li {
	list-style-type: inherit;
	list-style-image:  url("bullet.gif");
}

#page-content ol>li {
	list-style-image: none;
}

/*body.no-IR #page-content{
	margin-top:100px;
}
*/

.hidden {
    display:none;
}

/* Images embedded in text.  "narrow" are 200 pixels wide or smaller. */
.narrow {
    float: right;
	margin: 5px 0 5px 10px;
}
img.wide {
	display:block;
	margin: 0 auto;
}
.narrow.left{
	margin: 2px 10px 5px 0;
}
.narrow.right{
	margin: 2px 0 5px 10px;
}

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

body {
	background: #CCFFCC url("back_drop.jpg") center repeat-y;
	font-size: 76%;
	font-family: Georgia, Times, "Times New Roman", serif;
	margin: 0;
	padding: 0;
	text-align: center;
	word-wrap:break-word;
}

		#page {
			background: url("branches.jpg") top center no-repeat;
			margin: 0 auto;
			position: relative;
			text-align: left;
			width: 730px;
			min-height:410px;
		}

			#page-top {
				width: inherit;
			}

				#title {
					width: inherit;
				}

					#logo-container {
						height:128px;
						width:210px;
						float:right;
					}

					#title h1 {
						background:  url("back_h1.gif") left top no-repeat;
						color: #660000;
						float: right;
						font-size: 1.8em;
						min-width:383px;
						max-width:440px;
						line-height: 24px;
						margin: 10px 20px 0 0;
						padding: 25px 0px 0px 30px;
						word-wrap:break-word;
						min-height:52px;
					}
					
					
					#title>h1.replaced {
						background-position:right top !important;
						padding-top:0px;
						margin-bottom:20px;
					}
					
					#title h1.TurnOffReplace {
						background:  url("back_h1.gif") 100% -10px no-repeat !important;
						text-align:right !important;
						max-width:420px;
						height:45px;
						padding-top:20px;
						margin-bottom:20px;
					}

						#title h1 a {
							color: #660000;
						    text-decoration:none;
						}

					#title img {
						float: right;
						padding: 10px 10px 0 0;
					}

					#title p {
						color: #006600;
						font-weight: bold;
						float: right;
						text-align: right;
						padding: 10px 0px 0 0px;
						margin-right:20px;
						width: 250px;
					}

				#sitemenu {
					float: right;
					margin: 0 0 10px 0;
					text-align: right;
					width: 100%;
				}

					#sitemenu-content {
						padding: 0 20px 0 100px;
					}

						#sitemenu-content ul {
						}

						#sitemenu-content li {
							display: inline;
						}

							#sitemenu-content a, 
							#sitemenu-content li.currentPage span.in  {
								font-weight: 600;
								padding: 4px;
							}

							#sitemenu-content ul li ul li a {
								padding: 0;
							} 
							
							#sitemenu-content ul li ul li.currentPage span.in  {
								padding: 5px;
							}

							#sitemenu-content a:link, 
							#sitemenu-content a:visited {
								color: #660000;
							}

							#sitemenu-content .currentParent > a:link, 
							#sitemenu-content .currentParent > a:visited {
								color: #000;
							}

							#sitemenu-content a:hover, 
							#sitemenu-content a:focus, 
							#sitemenu-content a:active {
								background: url("back_nav.gif") 50% 1px no-repeat;
								text-decoration: none;
							}

			#sitemenu li ul {
				z-index: 500;
				background: #eee;
				text-align: left;
			}

			#page-content {
				float: left;
				z-index:200;
				padding: 10px 0 10px 20px;
				margin-bottom:74px;
				position: relative;
				width: 710px;
			}
			
				#sidebar-container {
					background: url("box_nw.gif");
					border: 0px solid #000;
					padding: 0 20px 0 30px;
					margin-bottom:187px;
				/*	position: absolute;
					right: 0;
					top: 0; */
					float:right;
					width: 200px;
				}
				#sidebar {
					background: url("box_sw.gif") left bottom no-repeat;
					border: 0px solid red;
					margin: 0 -30px;
					padding: 0 20px 30px 30px;
					width: 200px;
				}

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

				    	.pagelet h4 {
							color: #006600;
							font-size: 1.1em;
							margin: 0;
							padding: 20px 0;
				    	}
						.pagelet.e h4 {
							background: url("divider_e.gif") bottom no-repeat;
						}
						.pagelet.o h4 {
							background: url("divider_o.gif") bottom no-repeat;
						}

				/* float main-content to ensure we can have floating images without clearing the sidebar */
				#main-content {
					float: left;
					width: 100%;
				}

/* photo-page, html-page (in some cases), iframe-page don't have sidebar */
				body.no-sidebar #main {
					padding-right:24px;
					padding-bottom:30px;
				}

/* Most other pages have sidebars */
				body.allow-sidebar #main {
					width: 452px;
				}


					#page-content h2 {
						background: url("back_h2.gif") left top no-repeat;
						color: #006600;
						font-size: 1.6em;
						line-height:1.8em;
						min-height:58px;
						margin: 10px 0 0 0;
						padding: 12px 24px 0px 30px;
					}
					
							.article {
								clear: left;
							}

							.article h3 {
								font-size: 1.1em;
								clear:left;
							}
							
							.article-info {
								clear:left;
							}

							.article-thumbnail {
								float: left;
								margin: 5px 10px 5px 0;
								clear:left;
							}

							.callout {
								float: left;
								margin: 10px 10px 10px 0;
							}
							
							.blockquote-container blockquote {
								margin: 0 0 0 10px;
								padding: 0em 10px;
								font-style: italic;
								border-left: 1px solid #600;
							}


			#page-bottom {
				background: url("flower.gif")  bottom right no-repeat;
				display: block;
				width:410px;
				height:77px;
				padding:110px 220px 0px 0px;
				margin: 0px .3em 0 0;
				position:absolute;
				bottom:0px;
				right:0px;
				text-align: right;
				z-index:100;
			}

			#page-bottom p, #page-bottom div {
				margin:0px;
			}



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

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

		.photo img {
			margin: 0 auto;
		}

		.caption {
			margin: 10px 0 0 0;
		}

/* Used on Photo Grid Pages ... */
.photogrid-index {
	/*float: left;*/
	text-align:center;
}

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


.gridItem {
	float:left;
	position:relative;
	width:135px;
	height:180px;	/* room for caption */
	overflow: hidden;
	margin: 6px;
}

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

.gridItem img {
    border: 1px solid rgb(80, 80, 80);
    margin: auto;
    display:block;
    position: absolute;
    top: 0;
    bottom: 40px;
    right: 0;
    left: 0;
}
#sidebar .photogrid-index{
	width:auto;
	margin-left:30px;
}

/* Hides from IE5-mac \*/
* html .gridItem img {
	position: relative;
	top:0px;
}

* html .gridItem h3 {
	position: relative;
	top: -15px;
}
/* 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 {
	float: left;
	margin: 0 auto;
	min-width:440px;
}
    .photo-navigation div {
		float: left;
		font-size: 1.2em;
		font-weight: 600;
		height: 60px;
		line-height: 60px;
		text-align: center;
		width: 235px;
		display:block;
	}

	.allow-sidebar .photo-navigation div {
		width:150px;
	}

	.allow-sidebar #previous-photo, .allow-sidebar #previous-photo a {
		background-position:0px 0px;
	}
	
	.allow-sidebar #next-photo, .allow-sidebar #next-photo a {
		background-position:-50px 0px;
	}
	
	.no-sidebar #photo-list {
		width:210px;
	}
	
	.allow-sidebar #photo-list  {
		width:130px;
	}
	

	.photo-navigation div a {
		width:100%;
		height:100%;
    	text-indent: -5000em;
		display:block;
	}

	#previous-photo	{
		background: url("previous-inactive.gif") 	center no-repeat;
	}
	#previous-photo a	{
		background: url("previous.gif")	center no-repeat;
	}
	
	#next-photo {
		background: url("next-inactive.gif") center no-repeat;
	}
	#next-photo a {
		background: url("next.gif") center no-repeat;
	}

	#photo-list {
		background: url("list-inactive.gif") center no-repeat;
	}
	#photo-list a {
		background: url("list.gif") center no-repeat;
	}
#next-photo, #photo-list, #previous-photo{ text-indent:-10000px;}

.text-navigation #previous-photo, .text-navigation #next-photo, .text-navigation  #photo-list, .text-navigation a, .text-navigation a:hover{
	background:none!important;
	font-weight:bold;
}

/* HACKS/SAFARI/CHROME */
@media screen and (-webkit-min-device-pixel-ratio:0)
{
 .narrow.right{clear:right;}
}
.no-page-title #main-content{margin-top:80px;}

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

