/* 
   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, .AudioElement.left { text-align:left; }
.ImageElement.center, .AudioElement.center { text-align:center; }
.ImageElement.right, .AudioElement.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; }

/* Keep tables with long content from pushing too far over */
table { word-break: break-all; }

/* 
   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; }

.clear { clear: both; height: 0; }
.hidden { display:none; }

a { color: #6699cc; }
#page-content a:hover { text-decoration: none; }

h1,h2,h3,h4,h5,h6 {
	font-family: Verdana,sans-serif;
	font-weight: normal;
	margin-top: .6em;
}

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

.narrow { display:block; clear:right; float:right; margin:5px 0 5px 10px;}
img.wide { display:block; clear: both;}
.narrow.left{
	margin:5px 10px 5px 0;
}
.narrow.right{
	margin:5px 0 5px 10px;
}

body {
	margin: 0;
	font-size: 76%;
	font-family: Georgia,Times,serif;
	background: #999999;
	word-wrap:break-word;
}

#page {
	margin: auto;
	width: 764px;
	}

#sidebar-container {
	width: 220px;
	float: right;
	word-wrap: break-word;
}

#sidebar {
	color: #fff;
	padding: 0 6px;
	min-height: 256px;
}
/*\*/
* html #sidebar { height: 256px; }
/**/
#sidebar h4 { color: #6699cc; font-weight:bold; }

#main {
	width: 485px;
	float: left;
	padding: 0 10px;
	min-height: 370px;
	voice-family: "\"}\"";
	voice-family: inherit;
	width: 465px;
}
/*\*/
* html #main { height: 370px; }
/**/

#page {
	color: #ffffff;
	width: 768px;
	border: 2px solid #fff;
	border-top: none;
	background: #333333  url(bottomgradient.jpg) no-repeat bottom center;
	voice-family: "\"}\"";
	voice-family: inherit;
	width: 764px;
}

#page-top {
	height: 262px;
	background: url(headerbg.jpg) no-repeat top left;
	position: relative;
}

.no-sidebar #page-top { height: 209px; background: url(shortheaderbg.jpg) no-repeat top left; }

	#title {
		vertical-align: middle;
		position: absolute;
		left: 28px;
		top: 40px;
		width: 708px;
		height: 147px;
	}

		.allow-sidebar #title {
		top: 92px;
	}
	
	#title h1 {
		margin: 45px 20px 0px 15px;
		font-size: 1.7em;
		color:white;
		text-shadow:black 2px 2px 2px;
		overflow: hidden;
	}
	
	* html #title h1 { font-weight: bold; }

	.has-logo h1 {
		width: 450px;
	}

	#title #logo-container {
		float:left;		
		height:128px;
		margin:10px;
	}

	#title img {
		padding-right:10px;
	}

	#title h1 a {
		position: static;
		display: inline;
		width: auto;
		height: auto;
		text-decoration:none;
		color: #ffffff;
	}
	#title h1 a:hover { color: #0755be; }

	#title p {
		width: 400px;
		max-height: 60px;
		font-size: 1em;
		color: #fff;
		position: absolute;
		top: -85px;
		left: 235px;
		text-align: right;
		overflow:hidden;
	}
	
	#title p a {
		color:#fff;
	}
	
	.no-sidebar #title p { margin-top: -32px; }

#sitemenu-content {
	width: 700px;
	height: 14px;
	position: absolute;
	left: 28px;
	bottom: 3px;
	font-size: .9em;
}
* html #sitemenu-content { 
	font-size: .8em; 
}

	#sitemenu-content ul {
		float: right;
		list-style: none;
		margin: 0;
		padding: 0;
		width: 700px;
		text-align:right;
	}

	#sitemenu-content ul li ul {
		background: #333;
		box-shadow: 3px 2px 3px #69c;
		-webkit-box-shadow: 3px 2px 3px #69c;
		-moz-box-shadow: 3px 2px 3px #69c;	
	}

	#sitemenu-content ul li ul li span.in {
		border-color: #666;
	}

	#sitemenu-content li {
		margin: 0 0 0 10px;
		padding: 0;
		display:inline;
		word-wrap:break-word!important;
		max-width:700px;
	}

		#sitemenu-content a,
		#sitemenu-content a:link span.in, 
		#sitemenu-content a:visited span.in { 
			text-decoration: none;
		}

		#sitemenu-content .currentPage span.in,
		#sitemenu-content .currentParent > a > span.in,
		#sitemenu-content .currentParent > span.in,
		#sitemenu-content ul ul a.selected span.in,
		#sitemenu-content a:hover span.in, 
		#sitemenu-content a:active span.in { 
			text-decoration: underline;
		}

		#sitemenu-content a span.in,
		#sitemenu-content a, 
		#sitemenu-content .currentPage span.in {
			color: #fff;
		}

		*:first-child+html #sitemenu-content > ul > li.hasSubmenu > a > span.in > .submenu-indicator,
		*:first-child+html #sitemenu-content > ul > li.hasSubmenu > span.in > .submenu-indicator {
			top: -3px;
		}
		
		#sitemenu-content ul li ul li span.in{
	border-bottom:solid 1px #555 !important;
}

#page-content { margin: 0 26px; }
/*\*/
* html #page-content { margin-top: -16px; }
/**/

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

	.pagelet h4 {
		height: 44px;
		line-height: 44px;
		padding: 0 6px;
		overflow:hidden;
	}

	.o h4 { background: url(sidebarbg.jpg) no-repeat;}
	.e h4 { background: url(sidebarbg.jpg) no-repeat;}

blockquote {
	margin: 0px;
	padding: 0px 8px;
	border-left: 3px double #999;
	font-style: italic;
}


#main {
	border-top: none;
	padding-bottom: 2em;
	float:left;
}

#main h2 {
	color: #6699cc;
}
.no-sidebar #main {
	width: 692px;
}

#photo-page #main img { border: 2px solid #fff; }
#photo-page .caption { color: #fff; padding: 2px 4px; text-align: center;}
#photo-page #page-bottom { padding-top: 30px; }

ul, ol {
	padding-left:28px;
}

dd {
	margin-left: 28px;
}

h2 {
	margin-top: 20px;
	font-size: 1.4em;
}
* html h2 { font-weight: bold; }

.has-photo-navigation h2 {
	margin-right:155px;
}

* html #page-content h3 { font-size: 1em; }
* html #page-content h4 { font-size: .9em; }
* html #page-content h5 { font-size: .8em; }

.article, .no-callouts {
	clear: left;
}

.article p {
	line-height: 1.4em;
}

.article-info {
	clear:left;
}

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

.callout-container .callout {
	clear: both;
	float: left;
	font-size: .9em;
	margin-right: 8px;
	margin-bottom: 12px;
	border-right: 1px solid #ccc;
	padding-right: 6px;
	padding-bottom: 6px;
	width: 200px;
	word-wrap: break-word;
}

.callout-container .callout p { line-height: 1.1em; }


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

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

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

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

.gridItem h3 {
	font-size:1em;
	font-weight:normal;
	position:absolute;
	margin:0px 7px;
	top: 137px; /* 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;
}

/* IE Hack */
/* Hides from IE5-mac \*/
* html .gridItem img {
	position: relative;
}

* html .gridItem h3 {
	position: relative;
	top: 0px;
}
/* End hide from IE5-mac */


/* Used on index summary pages */

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

/* Individual Photo Pages */

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

.photo-navigation {
	float: right;
	margin-top: -35px;
	margin-right: 16px;
}

* html .photo-navigation { 	margin-top: -46px; margin-right: 8px; }

	.photo-navigation a { 
		display: block;  
		text-indent: -5000px; 
		height:100%; 
		width:100%;
	}
    .photo-navigation div {
    	margin-left: 18px;
    	float: left;
		width: 33px;
		height: 20px;
    }

	#previous-photo	{
		background: url(prev-disabled.gif) no-repeat center center;
	}
	#previous-photo	a {
		background: url(prev.gif) no-repeat center center;
	}

	#next-photo {
		background: url(next-disabled.gif) no-repeat center center;
	}

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

	#photo-list {
		width: 33px;
		background: url(list-disabled.gif) no-repeat center center;
	}
	#photo-list a {
		width: 33px;
		background: url(list.gif) no-repeat center center;
	}

			#page-bottom {
				padding: 2px 30px 30px 30px;
			}

				#page-bottom p {
					margin: 0;
					font-size: .9em;
					color: #fff;
				}
				
				#page-bottom a {
					color: #fff;
					text-decoration:underline;
				}
.text-navigation #previous-photo, .text-navigation #next-photo, .text-navigation  #photo-list, .text-navigation a, .text-navigation a:hover{
	background:none!important;
	width:auto!important;
	font-weight:bold;
}
#next-photo, #photo-list, #previous-photo{ text-indent:-10000px;}
.whiteBackground p
{
	color:#333;
}
#sidebar h5.index-title{ margin:0;}	

.no-page-title .photo-navigation {margin-top:7px;}

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

